Closed chrox closed 11 years ago
And more tests show that it crashes much more often in landscape mode than portrait mode. You can reproduce it by opening any pdf documents with TOC information and just selecting several TOC entries. It will crash randomly with these info:
Segmentation fault
or
*** glibc detected *** ./kpdfview: double free or corruption (!prev): 0x00655630 ***
or
*** glibc detected *** ./kpdfview: malloc(): smallbin double linked list corrupted: 0x007084a8 ***
or
kpdfview: malloc.c:4636: _int_malloc: Assertion `victim->bk_nextsize->fd_nextsize == victim' failed.
This bug also exists in kindlepdfviewer-v2012.04.2-676-g72eecac.zip, the very first version we introduced landscape screen mode.
um, heap corruption bug....
will take a look tomorrow :P
close for now
I didn't reproduce this bug in the emulator. But it happened in both pdf reader and epub reader on Kindle. Debug info says
or simply:
Segmentation fault
.