Bug 212229 - Okular crashed with eps-embedded dvi file
Summary: Okular crashed with eps-embedded dvi file
Status: RESOLVED DUPLICATE of bug 196207
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-28 20:56 UTC by Orestes Bueno
Modified: 2009-12-26 18:37 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
test dvi file with eps images (5.25 KB, application/octet-stream)
2009-10-28 23:37 UTC, Orestes Bueno
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Orestes Bueno 2009-10-28 20:56:54 UTC
Application that crashed: okular
Version of the application: 0.9.2
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-14-generic x86_64
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
Just using okular to view a dvi file, with some eps images embedded... i'm using okular 4.3.2-0ubuntu1 in ubuntu karmic x64

 -- Backtrace:
Application: Okular (okular), signal: Aborted
The current source language is "auto; currently c".
[Current thread is 1 (Thread 0x7fe8c9a6b750 (LWP 4339))]

Thread 2 (Thread 0x7fe8b2890910 (LWP 4340)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007fe8c6e68a93 in _L_lock_9264 () from /lib/libc.so.6
#2  0x00007fe8c6e66701 in *__GI___libc_free (mem=0x7fe8c7156e40) at malloc.c:3714
#3  0x00007fe8c3a284e3 in ?? () from /lib/libglib-2.0.so.0
#4  0x00007fe8c818cce2 in ~QEventDispatcherGlib (this=0xe9a250, __in_chrg=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:289
#5  0x00007fe8c807d5fc in QThreadPrivate::finish (arg=<value optimized out>) at thread/qthread_unix.cpp:212
#6  0x00007fe8c807d44d in ~__pthread_cleanup_class (arg=0xb618b0) at /usr/include/pthread.h:535
#7  QThreadPrivate::start (arg=0xb618b0) at thread/qthread_unix.cpp:190
#8  0x00007fe8c37d7a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007fe8c6ecb7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fe8c9a6b750 (LWP 4339)):
[KCrash Handler]
#5  0x00007fe8c6e1f4b5 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#6  0x00007fe8c6e22f50 in *__GI_abort () at abort.c:92
#7  0x00007fe8c6e57c97 in __libc_message (do_abort=<value optimized out>, fmt=<value optimized out>) at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#8  0x00007fe8c6e61dd6 in malloc_printerr (action=3, str=0x7fe8c6f207da "free(): invalid pointer", ptr=<value optimized out>) at malloc.c:6217
#9  0x00007fe8c6e6670c in *__GI___libc_free (mem=<value optimized out>) at malloc.c:3716
#10 0x00007fe8b580ed29 in Okular::Document::closeDocument() () from /usr/lib/libokularcore.so.1
#11 0x00007fe8b5ac411d in Part::closeUrl (this=0xdfafc0) at ../../okular/part.cpp:1096
#12 0x00007fe8c9660fcf in KParts::ReadOnlyPart::openUrl (this=0xdfafc0, url=...) at ../../kparts/part.cpp:537
#13 0x00007fe8b5aced4e in Part::slotDoFileDirty (this=0xdfafc0) at ../../okular/part.cpp:1192
#14 0x00007fe8b5acf34d in Part::qt_metacall (this=0xdfafc0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff2a43daf0) at ./part.moc:216
#15 0x00007fe8c8178ddc in QMetaObject::activate (sender=0x1095bc0, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0xffffffffffffffff) at kernel/qobject.cpp:3113
#16 0x00007fe8c76060a7 in QAction::triggered (this=0x10f3, _t1=false) at .moc/release-shared/moc_qaction.cpp:236
#17 0x00007fe8c76074ef in QAction::activate (this=0x1095bc0, event=<value optimized out>) at kernel/qaction.cpp:1160
#18 0x00007fe8c7609fa7 in QAction::event (this=0x10f3, e=<value optimized out>) at kernel/qaction.cpp:1079
#19 0x00007fe8c8ca617d in KAction::event (this=0x10f3, event=0x7fff2a43dff0) at ../../kdeui/actions/kaction.cpp:88
#20 0x00007fe8c760befc in QApplicationPrivate::notify_helper (this=0xb5cdb0, receiver=0x1095bc0, e=0x7fff2a43dff0) at kernel/qapplication.cpp:4056
#21 0x00007fe8c76131ce in QApplication::notify (this=0x7fff2a440640, receiver=0x1095bc0, e=0x7fff2a43dff0) at kernel/qapplication.cpp:4021
#22 0x00007fe8c8d77ab6 in KApplication::notify (this=0x7fff2a440640, receiver=0x1095bc0, event=0x7fff2a43dff0) at ../../kdeui/kernel/kapplication.cpp:302
#23 0x00007fe8c8163c2c in QCoreApplication::notifyInternal (this=0x7fff2a440640, receiver=0x1095bc0, event=0x7fff2a43dff0) at kernel/qcoreapplication.cpp:610
#24 0x00007fe8c7640666 in QCoreApplication::sendEvent (this=<value optimized out>, e=0x7fff2a43e480) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#25 QShortcutMap::dispatchEvent (this=<value optimized out>, e=0x7fff2a43e480) at kernel/qshortcutmap.cpp:884
#26 0x00007fe8c76424f7 in QShortcutMap::tryShortcutEvent (this=0xb5cec8, o=<value optimized out>, e=0x7fff2a43e480) at kernel/qshortcutmap.cpp:369
#27 0x00007fe8c7613e6e in QApplication::notify (this=0x7fff2a440640, receiver=0xfc1e50, e=0x7fff2a43e480) at kernel/qapplication.cpp:3645
#28 0x00007fe8c8d77ab6 in KApplication::notify (this=0x7fff2a440640, receiver=0xfc1e50, event=0x7fff2a43e480) at ../../kdeui/kernel/kapplication.cpp:302
#29 0x00007fe8c8163c2c in QCoreApplication::notifyInternal (this=0x7fff2a440640, receiver=0xfc1e50, event=0x7fff2a43e480) at kernel/qcoreapplication.cpp:610
#30 0x00007fe8c769cdfa in QKeyMapper::sendKeyEvent (keyWidget=0xfc1e50, grab=<value optimized out>, type=QEvent::KeyPress, code=16777268, modifiers=<value optimized out>, text=..., autorepeat=false, 
    count=1, nativeScanCode=71, nativeVirtualKey=65474, nativeModifiers=0) at kernel/qkeymapper_x11.cpp:1861
#31 0x00007fe8c769f370 in QKeyMapperPrivate::translateKeyEvent (this=0xb9cd70, keyWidget=0xfc1e50, event=<value optimized out>, grab=243) at kernel/qkeymapper_x11.cpp:1831
#32 0x00007fe8c7677493 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff2a440260) at kernel/qapplication_x11.cpp:3443
#33 0x00007fe8c76a0d0c in x11EventSourceDispatch (s=<value optimized out>, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#34 0x00007fe8c3a28bbe in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#35 0x00007fe8c3a2c588 in ?? () from /lib/libglib-2.0.so.0
#36 0x00007fe8c3a2c6b0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#37 0x00007fe8c818c1a6 in QEventDispatcherGlib::processEvents (this=0xb43d20, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#38 0x00007fe8c76a04be in QGuiEventDispatcherGlib::processEvents (this=0x10f3, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#39 0x00007fe8c8162532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#40 0x00007fe8c8162904 in QEventLoop::exec (this=0x7fff2a440590, flags=) at kernel/qeventloop.cpp:201
#41 0x00007fe8c8164ab9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#42 0x000000000040881c in main (argc=<value optimized out>, argv=<value optimized out>) at ../../../okular/shell/main.cpp:81
The current source language is "auto; currently asm".
The current source language is "auto; currently c".

This bug may be a duplicate of or related to bug 211765

Reported using DrKonqi
Comment 1 Albert Astals Cid 2009-10-28 23:07:14 UTC
Can you share that document with us?
Comment 2 Orestes Bueno 2009-10-28 23:37:57 UTC
Created attachment 37938 [details]
test dvi file with eps images
Comment 3 Orestes Bueno 2009-10-28 23:38:43 UTC
Sorry, i can't... i don't own most of the information written in the document... besides, i can't figure out how to reproduce the crash with the same document.


What i can do is to create another dvi with the same images and some random text... so i'm attaching it here
Comment 4 Albert Astals Cid 2009-10-29 00:01:52 UTC
Yeah, if you can't reproduce the crash it's not of much use :-/

Do i understand the file was modified while you where viewing it?
Comment 5 Orestes Bueno 2009-10-29 00:10:13 UTC
Yes. But the page that okular was showing while updating the dvi didn't contain any eps at all.

(Sorry about the english btw.)
Comment 6 Albert Astals Cid 2009-10-29 00:14:58 UTC
So it crashed while you updated a dvi from not having eps to have embedded eps?
Comment 7 Orestes Bueno 2009-10-29 00:34:42 UTC
No, i said that just the page that okular was showing at the moment of the update (say, page 11) didn't contain any eps. But there were other pages which had eps embedded (page 7, for instance). 

When i switched to okular after update the .dvi, okular just showed blank pages, so i pressed F5 to try to reload... but it crashed.
Comment 8 Pino Toscano 2009-12-26 18:37:13 UTC

*** This bug has been marked as a duplicate of bug 196207 ***