-
Notifications
You must be signed in to change notification settings - Fork 39
library instability #85
Comments
it doesn't happen all the time... This is objectively... not good. :D |
0405a23 tried to fix this issue. |
after a bit of testing. This is definitely an improvement. I got just one crash so far. Same error message as the first message here. (low probability)
and got some of these errors, with no visible practical problem.
|
Confirming, this is happening on my Gentoo machine as well.
|
Some more error logs
|
This still happens with the arch linux build, usually from scrolling through library too fast
|
Yes, same error when scrolling fast through the library. |
Interesting development - I found a solution to the instability: Put everything in the library on an SSD. It seems that theres a relation between how long the spinup on my old mechanical drive takes to start feeding data and crashes in the library view. Since moving everything to an SSD, not only do I not get random hangs in library view but I have been completely crash free. Even when scrolling very fast which used to be a guaranteed crash. |
@cdglitch Can't confirm the solution, I'm on an SSD and still getting crashes. |
@epsilon-0 right you are, I had a crash earlier today. It has however gone from happening like 95% I used the library view to like 5% for me though |
@multiSnow The bug is in the multi-threaded code that handles the library. There's indeed some race condition going on. |
Found in the preferences one option relating to threads: "Maximum number of concurrent extraction threads". Setting this to 1 (or zero, it sets itself back to 1) does not fix things. I also found a way of reproducing the issue very quickly: Make a few collections with maybe 5-10 archives each and then rapidly click between them. On my old SATA SSD I can make it like 10 clicks tops before it locks up for a second and dies. |
Please try https://github.com/multiSnow/mcomix3/tree/slowdown and see whether everything goes well. |
I just tested and I am still getting crashes
|
branch https://github.com/multiSnow/mcomix3/tree/slowdown try to fix this issue. You can also subscribe https://github.com/multiSnow/mcomix3/commits/slowdown.atom to see new commit. |
Ive been getting it happening more frequently again for some reason so loaded up the python fault handler. The only thing that seems to be consistently doing anything with pixbufs is this
|
It's even worse now. It crashes now with:
The text was updated successfully, but these errors were encountered: