rschroll / beru

The Basic Epub Reader for Ubuntu
http://rschroll.github.io/beru/
GNU General Public License v3.0
25 stars 12 forks source link

beru crashes when ebook opened a second time #79

Closed rhersel closed 9 years ago

rhersel commented 9 years ago

On my bq Auquaris E4.5 Ubuntu Edition mobile phone, beru can open any epub but only for the first time. Whenever I open it a second time, beru crashes without any error message.

rschroll commented 9 years ago

That's weird.

There should be some log files in ~/.cache/upstart/. If you could post them here or email them to me (rschroll at gmail), they may give us some clues.

rhersel commented 9 years ago

Yesterday I deleted the database to see if this makes any difference. Same behaviour: first time you open a book it is ok, second time it crashes. I will provide the log files as soon as possible.

rhersel commented 9 years ago

Here are all the beru related files from ~/.cache/upstart/. Let me know if you need other files: https://owncloud.rum3ber.ch/public.php?service=files&t=34656868aba4de7ef88c15d2919f7aca

rhersel commented 9 years ago

I re-installed Beru completely and so far I don't see this problem anymore. Seems to me that the issue was rather caused by settings: grey-on-dark background is not visible (black-on-black) and font size changes crashes Beru. I will investigate further.

rschroll commented 9 years ago

The database issue may be a big clue. Which database did you delete, BeruBookSettings.db or the ones in Databases/? If it was both, try deleting them one at a time and see which restores functionality.
Perhaps there's a database corruption issue.

Those are indeed the files from .cache/upstart that I wanted.
Unfortunately, they don't tell me anything useful.

I didn't understand your last comment -- have you found a way to cause a crash by changing the settings, or are you speculating that those used to cause the crash?

rhersel commented 9 years ago

Regarding my last comment: reinstalling Beru fixed the issues that I had before (for whatever reason). So let's close this thread. Regarding the 'dark background' issue I will open a new one.