Open monsta opened 8 years ago
I don't know how, but this issue evaded me for the longest time, as in I missed the notification back in February(my fault as I was busy with university work and didn't check notifications for a month) and when I checked a bunch of them in the next month I didn't catch this. I'll fix it as soon as possible.
Thanks - would be nice to fix it, and I'm not really familiar with these parts of code.
fedora downstream report https://bugzilla.redhat.com/show_bug.cgi?id=1279102
@rootAvish: any progress on this?
Looks like I'll have to remove the thumbnails interface from epub backend completely. That code is incorrect anyway, so users would notice only the disappearance of segfault :smile:
Added workaround for now: https://github.com/mate-desktop/atril/commit/b479e541d113881b10ef7c0641688d62600c79a9
Fixed with https://github.com/mate-desktop/atril/pull/299 ?
Nope. Still crashes if I enable the thumbnail generation for epubs again (revert https://github.com/mate-desktop/atril/commit/b479e541d113881b10ef7c0641688d62600c79a9). Looking at https://github.com/mate-desktop/atril/pull/299/commits/e3dc6ac882c947b1315ed78630450e9bc20e6bb6, I see that it only changed some spacing in the crashy code...
Originally reported at https://bugs.launchpad.net/bugs/1540018, reproduced by running atril-thumbnailer manually in LMDE 2.
Stacktrace:
@rootAvish: please take a look at this piece of code. This is not right.
In other parts of the same file,
backend_page
is treated as a pointer togchar
. So it should not be passed to a function that expects a pointer tocairo_surface_t
. :confused: