GNOME Bugzilla – Bug 637898
evince crashed on opening djview document
Last modified: 2011-11-15 16:18:32 UTC
Created attachment 176976 [details] back trace When I open djview document evince crushes with no message. When running evince from console it writes: ** (evince:2472): WARNING **: DjvuLibre error: [1-15108] Corrupted IFF file (Illegal chunk id). ** (evince:2472): WARNING **: DjvuLibre error: IFFByteStream.cpp:251 ** several times and at last: EvinceDocument:ERROR:ev-document-misc.c:58:ev_document_misc_get_thumbnail_frame: assertion failed: (width_r >= 0 && height_r >= 0) -- I can send djview file on email if needed.
Thanks for taking the time to report this bug. Unfortunately, that stack trace is missing some elements that will help a lot to solve the problem, so it will be hard for the developers to fix that crash. Can you get us a stack trace with debugging symbols? Please see http://live.gnome.org/GettingTraces for more information on how to do so. Thanks in advance!
Created attachment 177029 [details] back trace (more info) I've recompiled evince with -g and -gdb flags still not all information gived. I don't know how to check what packages should I recompile with debug flags and ustripped. As additional info it seems that some pages in file has different kind of pages (in djview first pages have very large size, while others are normal). File is too big to attach it into bugzilla. I'll try to get some pages from it and if evince will fail then I'll attach them also (maybe it will be easier for developers to get information).
It seems this is a problem with djvu libre. Please try to open the file with djvu libre viewer to see if you also have a problem. Also, if you can get the file to reproduce the problem into some server so we can try, that would help a lot.
Is ''djview'' program is djview libre viewer - if it is than there is no crashes, but first pages seems strange. File: http://ompldr.org/vNnB3bA
Confirming crash in 2.32 with attachment in comment 4. You need debug info for djvulibre installed. (gdb) run Starting program: /usr/bin/evince [Thread debugging using libthread_db enabled] [New Thread 0xb7d6cb70 (LWP 19863)] [New Thread 0xb73ffb70 (LWP 19864)] [New Thread 0xb6bfeb70 (LWP 19865)] [Thread 0xb6bfeb70 (LWP 19865) exited] [New Thread 0xb6bfeb70 (LWP 19866)] [Thread 0xb6bfeb70 (LWP 19866) exited] [New Thread 0xb6bfeb70 (LWP 19867)] [New Thread 0xb1ef3b70 (LWP 19868)] [Thread 0xb6bfeb70 (LWP 19867) exited] [Thread 0xb1ef3b70 (LWP 19868) exited] [New Thread 0xb1ef3b70 (LWP 19869)] [New Thread 0xb6bfeb70 (LWP 19870)] [Thread 0xb6bfeb70 (LWP 19870) exited] [Thread 0xb73ffb70 (LWP 19864) exited] [New Thread 0xb73ffb70 (LWP 19875)] [New Thread 0xb6bfeb70 (LWP 19876)] [Thread 0xb73ffb70 (LWP 19875) exited] [New Thread 0xb73ffb70 (LWP 19877)] [Thread 0xb73ffb70 (LWP 19877) exited] ** (evince:19860): WARNING **: DjvuLibre error: ** Unrecognized DjVu Message: ** Message name: \u0003IFFByteStream.corrupt_id ** (evince:19860): WARNING **: DjvuLibre error: IFFByteStream.cpp:251 ** (evince:19860): WARNING **: DjvuLibre error: ** Unrecognized DjVu Message: ** Message name: \u0003IFFByteStream.corrupt_id ** (evince:19860): WARNING **: DjvuLibre error: IFFByteStream.cpp:251 ** (evince:19860): WARNING **: DjvuLibre error: ** Unrecognized DjVu Message: ** Message name: \u0003IFFByteStream.corrupt_id ** (evince:19860): WARNING **: DjvuLibre error: IFFByteStream.cpp:251 ** (evince:19860): WARNING **: DjvuLibre error: ** Unrecognized DjVu Message: ** Message name: \u0003IFFByteStream.corrupt_id ** (evince:19860): WARNING **: DjvuLibre error: IFFByteStream.cpp:251 ** (evince:19860): WARNING **: DjvuLibre error: ** Unrecognized DjVu Message: ** Message name: \u0003IFFByteStream.corrupt_id ** (evince:19860): WARNING **: DjvuLibre error: IFFByteStream.cpp:251 ** (evince:19860): WARNING **: DjvuLibre error: ** Unrecognized DjVu Message: ** Message name: \u0003IFFByteStream.corrupt_id ** (evince:19860): WARNING **: DjvuLibre error: IFFByteStream.cpp:251 ** (evince:19860): WARNING **: DjvuLibre error: ** Unrecognized DjVu Message: ** Message name: \u0003IFFByteStream.corrupt_id ** (evince:19860): WARNING **: DjvuLibre error: IFFByteStream.cpp:251 ** (evince:19860): WARNING **: DjvuLibre error: ** Unrecognized DjVu Message: ** Message name: \u0003IFFByteStream.corrupt_id ** (evince:19860): WARNING **: DjvuLibre error: IFFByteStream.cpp:251 ** (evince:19860): WARNING **: DjvuLibre error: ** Unrecognized DjVu Message: ** Message name: \u0003IFFByteStream.corrupt_id ** (evince:19860): WARNING **: DjvuLibre error: IFFByteStream.cpp:251 ** (evince:19860): WARNING **: DjvuLibre error: ** Unrecognized DjVu Message: ** Message name: \u0003IFFByteStream.corrupt_id ** (evince:19860): WARNING **: DjvuLibre error: IFFByteStream.cpp:251 ** (evince:19860): WARNING **: DjvuLibre error: ** Unrecognized DjVu Message: ** Message name: \u0003IFFByteStream.corrupt_id ** (evince:19860): WARNING **: DjvuLibre error: IFFByteStream.cpp:251 ** (evince:19860): WARNING **: DjvuLibre error: ** Unrecognized DjVu Message: ** Message name: \u0003IFFByteStream.corrupt_id ** (evince:19860): WARNING **: DjvuLibre error: IFFByteStream.cpp:251 ** (evince:19860): WARNING **: DjvuLibre error: ** Unrecognized DjVu Message: ** Message name: \u0003IFFByteStream.corrupt_id ** (evince:19860): WARNING **: DjvuLibre error: IFFByteStream.cpp:251 ** (evince:19860): WARNING **: DjvuLibre error: ** Unrecognized DjVu Message: ** Message name: \u0003IFFByteStream.corrupt_id ** (evince:19860): WARNING **: DjvuLibre error: IFFByteStream.cpp:251 ** (evince:19860): WARNING **: DjvuLibre error: ** Unrecognized DjVu Message: ** Message name: \u0003IFFByteStream.corrupt_id ** (evince:19860): WARNING **: DjvuLibre error: IFFByteStream.cpp:251 ** (evince:19860): WARNING **: DjvuLibre error: ** Unrecognized DjVu Message: ** Message name: \u0003IFFByteStream.corrupt_id ** (evince:19860): WARNING **: DjvuLibre error: IFFByteStream.cpp:251 ** (evince:19860): WARNING **: DjvuLibre error: ** Unrecognized DjVu Message: ** Message name: \u0003IFFByteStream.corrupt_id ** (evince:19860): WARNING **: DjvuLibre error: IFFByteStream.cpp:251 ** (evince:19860): WARNING **: DjvuLibre error: ** Unrecognized DjVu Message: ** Message name: \u0003IFFByteStream.corrupt_id ** (evince:19860): WARNING **: DjvuLibre error: IFFByteStream.cpp:251 ** EvinceDocument:ERROR:ev-document-misc.c:59:create_thumbnail_frame: assertion failed: (width_r >= 0 && height_r >= 0) Program received signal SIGABRT, Aborted. 0x00110416 in __kernel_vsyscall () (gdb) thread apply all bt
+ Trace 225339
Thread 1 (Thread 0xb7fc9850 (LWP 19860))
255 dup2 (fileno (stdout), 1); 256 freopen ("CONOUT$", "w", stderr); 257 dup2 (fileno (stderr), 2); 258 259 } 260 } 261 #endif 262 263 /* Init glib threads asap */ 264 if (!g_thread_supported ()) (gdb)
This is fixed by commit 3d8180a605e8c98172e9e0e739e22b7f50ed7bad