[Okular-devel] [Bug 183539] New: Okular crashes while opening a CHM file

Diego panda84 at inwind.it
Sat Feb 7 10:49:16 CET 2009


http://bugs.kde.org/show_bug.cgi?id=183539

           Summary: Okular crashes while opening a CHM file
           Product: okular
           Version: 0.8
          Platform: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: okular-devel at kde.org
        ReportedBy: panda84 at inwind.it


Version:           0.8 (using 4.2.00 (KDE 4.2.0), 4.2.0-9.fc10 Fedora)
Compiler:          gcc
OS:                Linux (i686) release 2.6.27.12-170.2.5.fc10.i686

Okular crashes when loading a CHM file: it doesn't even show anything.
Click on the file, Okular opens, some seconds passes while Okular tries to load
the file and then a crash notification appears. I managed to get a complete
backtrace. (To me) it seems this is different from bug #175258 and bug #183363.

The file is copyrighted so please drop me an email and I'll send you the link
privately.



Applicazione: Okular (okular), segnale SIGABRT
[Current thread is 1 (Thread 0xb7f2a770 (LWP 3338))]

Thread 2 (Thread 0xb3e0db90 (LWP 3340)):
#0  0x0060c416 in __kernel_vsyscall ()
#1  0x008f5432 in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/lib/libpthread.so.0
#2  0x040b577c in QWaitConditionPrivate::wait () at
thread/qwaitcondition_unix.cpp:80
#3  QWaitCondition::wait (this=0x91f4eb0, mutex=0x91f4eac, time=30000) at
thread/qwaitcondition_unix.cpp:154
#4  0x040aa946 in QThreadPoolThread::run (this=0x91f5018) at
concurrent/qthreadpool.cpp:135
#5  0x040b475e in QThreadPrivate::start (arg=0x91f5018) at
thread/qthread_unix.cpp:185
#6  0x008f151f in start_thread () from /lib/libpthread.so.0
#7  0x0082704e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb7f2a770 (LWP 3338)):
[KCrash Handler]
#6  0x0060c416 in __kernel_vsyscall ()
#7  0x0076e460 in raise () from /lib/libc.so.6
#8  0x0076fe28 in abort () from /lib/libc.so.6
#9  0x007b23d3 in malloc_printerr () from /lib/libc.so.6
#10 0x007b42f5 in free () from /lib/libc.so.6
#11 0x040aefed in qFree (ptr=0x95019f0) at global/qmalloc.cpp:56
#12 0x0304a28b in ~QByteArray () at /usr/include/QtCore/qbytearray.h:364
#13 ~Private () at
/usr/src/debug/kdelibs-4.2.0/kdecore/compression/kfilterdev.cpp:30
#14 ~KFilterDev (this=0x9335c10) at
/usr/src/debug/kdelibs-4.2.0/kdecore/compression/kfilterdev.cpp:60
#15 0x05a5caff in ~KHTMLPageCacheEntry (this=0x937e140) at
/usr/src/debug/kdelibs-4.2.0/khtml/khtml_pagecache.cpp:94
#16 0x05a5db94 in KHTMLPageCache::createCacheEntry (this=0x931b610) at
/usr/src/debug/kdelibs-4.2.0/khtml/khtml_pagecache.cpp:158
#17 0x05a14ac4 in KHTMLPart::slotData (this=0x92a2720, kio_job=0x94f5310,
data=@0xbfa51874) at /usr/src/debug/kdelibs-4.2.0/khtml/khtml_part.cpp:1688
#18 0x05a30f47 in KHTMLPart::qt_metacall (this=0x92a2720,
_c=QMetaObject::InvokeMetaMethod, _id=19, _a=0xbfa515f8) at
/usr/src/debug/kdelibs-4.2.0/i386-redhat-linux-gnu/khtml/khtml_part.moc:264
#19 0x041b9df0 in QMetaObject::activate (sender=0x94f5310,
from_signal_index=40, to_signal_index=40, argv=0xbfa515f8) at
kernel/qobject.cpp:3031
#20 0x041bab72 in QMetaObject::activate (sender=0x94f5310, m=0x3b03590,
local_signal_index=0, argv=0xbfa515f8) at kernel/qobject.cpp:3101
#21 0x03942f39 in KIO::TransferJob::data (this=0x94f5310, _t1=0x94f5310,
_t2=@0xbfa51874) at
/usr/src/debug/kdelibs-4.2.0/i386-redhat-linux-gnu/kio/jobclasses.moc:356
#22 0x03943872 in KIO::TransferJob::slotData (this=0x94f5310,
_data=@0xbfa51874) at /usr/src/debug/kdelibs-4.2.0/kio/kio/job.cpp:917
#23 0x0394da25 in KIO::TransferJob::qt_metacall (this=0x94f5310,
_c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbfa5171c) at
/usr/src/debug/kdelibs-4.2.0/i386-redhat-linux-gnu/kio/jobclasses.moc:337
#24 0x041b9df0 in QMetaObject::activate (sender=0x937c9f0, from_signal_index=4,
to_signal_index=4, argv=0xbfa5171c) at kernel/qobject.cpp:3031
#25 0x041bab72 in QMetaObject::activate (sender=0x937c9f0, m=0x3b06064,
local_signal_index=0, argv=0xbfa5171c) at kernel/qobject.cpp:3101
#26 0x039fc1a3 in KIO::SlaveInterface::data (this=0x937c9f0, _t1=@0xbfa51874)
at
/usr/src/debug/kdelibs-4.2.0/i386-redhat-linux-gnu/kio/slaveinterface.moc:138
#27 0x039fed74 in KIO::SlaveInterface::dispatch (this=0x937c9f0, _cmd=100,
rawdata=@0xbfa51874) at
/usr/src/debug/kdelibs-4.2.0/kio/kio/slaveinterface.cpp:163
#28 0x039fc697 in KIO::SlaveInterface::dispatch (this=0x937c9f0) at
/usr/src/debug/kdelibs-4.2.0/kio/kio/slaveinterface.cpp:91
#29 0x039eefb0 in KIO::Slave::gotInput (this=0x937c9f0) at
/usr/src/debug/kdelibs-4.2.0/kio/kio/slave.cpp:322
#30 0x039ef323 in KIO::Slave::qt_metacall (this=0x937c9f0,
_c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfa51968) at
/usr/src/debug/kdelibs-4.2.0/i386-redhat-linux-gnu/kio/slave.moc:75
#31 0x041b9df0 in QMetaObject::activate (sender=0x954c6f0, from_signal_index=4,
to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3031
#32 0x041bab72 in QMetaObject::activate (sender=0x954c6f0, m=0x3b02b40,
local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3101
#33 0x03918b87 in KIO::Connection::readyRead (this=0x954c6f0) at
/usr/src/debug/kdelibs-4.2.0/i386-redhat-linux-gnu/kio/connection.moc:84
#34 0x0391a5b3 in KIO::ConnectionPrivate::dequeue (this=0x939dbc8) at
/usr/src/debug/kdelibs-4.2.0/kio/kio/connection.cpp:82
#35 0x0391ac06 in KIO::Connection::qt_metacall (this=0x954c6f0,
_c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x93b10f8) at
/usr/src/debug/kdelibs-4.2.0/i386-redhat-linux-gnu/kio/connection.moc:72
#36 0x041b2f8b in QMetaCallEvent::placeMetaCall (this=0x96ff170,
object=0x954c6f0) at kernel/qobject.cpp:529
#37 0x041b4b01 in QObject::event (this=0x954c6f0, e=0x96ff170) at
kernel/qobject.cpp:1155
#38 0x065b068c in QApplicationPrivate::notify_helper (this=0x8df80c8,
receiver=0x954c6f0, e=0x96ff170) at kernel/qapplication.cpp:3803
#39 0x065b84ce in QApplication::notify (this=0xbfa5300c, receiver=0x954c6f0,
e=0x96ff170) at kernel/qapplication.cpp:3393
#40 0x0369efdd in KApplication::notify (this=0xbfa5300c, receiver=0x954c6f0,
event=0x96ff170) at
/usr/src/debug/kdelibs-4.2.0/kdeui/kernel/kapplication.cpp:307
#41 0x041a51c1 in QCoreApplication::notifyInternal (this=0xbfa5300c,
receiver=0x954c6f0, event=0x96ff170) at kernel/qcoreapplication.cpp:587
#42 0x041a5e45 in QCoreApplication::sendEvent () at
../../src/corelib/kernel/qcoreapplication.h:209
#43 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0,
data=0x8ded530) at kernel/qcoreapplication.cpp:1198
#44 0x041a603d in QCoreApplication::sendPostedEvents (receiver=0x0,
event_type=0) at kernel/qcoreapplication.cpp:1091
#45 0x041cfbaf in QCoreApplication::sendPostedEvents () at
../../src/corelib/kernel/qcoreapplication.h:214
#46 postEventSourceDispatch (s=0x8dfa320) at
kernel/qeventdispatcher_glib.cpp:205
#47 0x03fbb238 in g_main_dispatch () at gmain.c:2144
#48 IA__g_main_context_dispatch (context=0x8dfa298) at gmain.c:2697
#49 0x03fbe8e3 in g_main_context_iterate (context=0x8dfa298, block=1,
dispatch=1, self=0x8df7cf0) at gmain.c:2778
#50 0x03fbeaa1 in IA__g_main_context_iteration (context=0x8dfa298, may_block=1)
at gmain.c:2841
#51 0x041cf7f8 in QEventDispatcherGlib::processEvents (this=0x8df7978, flags={i
= 4}) at kernel/qeventdispatcher_glib.cpp:319
#52 0x06649515 in QGuiEventDispatcherGlib::processEvents (this=0x8df7978,
flags={i = 4}) at kernel/qguieventdispatcher_glib.cpp:198
#53 0x041a388a in QEventLoop::processEvents (this=0xbfa520b8, flags={i = 4}) at
kernel/qeventloop.cpp:143
#54 0x041a3a4a in QEventLoop::exec (this=0xbfa520b8, flags={i = 0}) at
kernel/qeventloop.cpp:194
#55 0x0102b97e in CHMGenerator::preparePageForSyncOperation (this=0x91f5ca0,
zoom=100, url=@0x92a161c) at
/usr/src/debug/kdegraphics-4.2.0/okular/generators/chm/generator_chm.cpp:170
#56 0x0102c8b4 in CHMGenerator::loadDocument (this=0x91f5ca0,
fileName=@0xbfa52668, pagesVector=@0x8f5511c) at
/usr/src/debug/kdegraphics-4.2.0/okular/generators/chm/generator_chm.cpp:133
#57 0x00fb6aa1 in Okular::DocumentPrivate::openDocumentInternal
(this=0x8f55068, offer=@0xbfa52420, isstdin=false, docFile=@0xbfa52668,
filedata=@0xbfa524a0)
    at /usr/src/debug/kdegraphics-4.2.0/okular/core/document.cpp:643
#58 0x00fbea24 in Okular::Document::openDocument (this=0x8f284e0,
docFile=@0xbfa52668, url=@0xbfa525dc, _mime=@0xbfa52688) at
/usr/src/debug/kdegraphics-4.2.0/okular/core/document.cpp:1593
#59 0x00e357ec in Part::openFile (this=0x8f04628) at
/usr/src/debug/kdegraphics-4.2.0/okular/part.cpp:874
#60 0x0065fb3a in KParts::ReadOnlyPart::openUrl (this=0x8f04628,
url=@0x8e6050c) at /usr/src/debug/kdelibs-4.2.0/kparts/part.cpp:558
#61 0x00e3075c in Part::openUrl (this=0x8f04628, url=@0x8e6050c) at
/usr/src/debug/kdegraphics-4.2.0/okular/part.cpp:970
#62 0x0804f602 in Shell::openUrl (this=0x8e604c0, url=@0x8e6050c, page=0) at
/usr/src/debug/kdegraphics-4.2.0/okular/shell/shell.cpp:131
#63 0x0804f71b in Shell::delayedOpen (this=0x8e604c0) at
/usr/src/debug/kdegraphics-4.2.0/okular/shell/shell.cpp:114
#64 0x080504ab in Shell::qt_metacall (this=0x8e604c0,
_c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbfa52888) at
/usr/src/debug/kdegraphics-4.2.0/i386-redhat-linux-gnu/okular/shell/shell.moc:90
#65 0x041b9df0 in QMetaObject::activate (sender=0x91ea910, from_signal_index=4,
to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3031
#66 0x041bab72 in QMetaObject::activate (sender=0x91ea910, m=0x428b368,
local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3101
#67 0x041c0147 in QSingleShotTimer::timeout (this=0x91ea910) at
.moc/release-shared/qtimer.moc:74
#68 0x041c026c in QSingleShotTimer::timerEvent (this=0x91ea910) at
kernel/qtimer.cpp:294
#69 0x041b48cf in QObject::event (this=0x91ea910, e=0xbfa52d1c) at
kernel/qobject.cpp:1120
#70 0x065b068c in QApplicationPrivate::notify_helper (this=0x8df80c8,
receiver=0x91ea910, e=0xbfa52d1c) at kernel/qapplication.cpp:3803
#71 0x065b84ce in QApplication::notify (this=0xbfa5300c, receiver=0x91ea910,
e=0xbfa52d1c) at kernel/qapplication.cpp:3393
#72 0x0369efdd in KApplication::notify (this=0xbfa5300c, receiver=0x91ea910,
event=0xbfa52d1c) at
/usr/src/debug/kdelibs-4.2.0/kdeui/kernel/kapplication.cpp:307
#73 0x041a51c1 in QCoreApplication::notifyInternal (this=0xbfa5300c,
receiver=0x91ea910, event=0xbfa52d1c) at kernel/qcoreapplication.cpp:587
#74 0x041d3081 in QCoreApplication::sendEvent () at
../../src/corelib/kernel/qcoreapplication.h:209
#75 QTimerInfoList::activateTimers (this=0x8dfadcc) at
kernel/qeventdispatcher_unix.cpp:557
#76 0x041cf8a0 in timerSourceDispatch (source=0x8dfad98) at
kernel/qeventdispatcher_glib.cpp:160
#77 0x03fbb238 in g_main_dispatch () at gmain.c:2144
#78 IA__g_main_context_dispatch (context=0x8dfa298) at gmain.c:2697
#79 0x03fbe8e3 in g_main_context_iterate (context=0x8dfa298, block=1,
dispatch=1, self=0x8df7cf0) at gmain.c:2778
#80 0x03fbeaa1 in IA__g_main_context_iteration (context=0x8dfa298, may_block=1)
at gmain.c:2841
#81 0x041cf7f8 in QEventDispatcherGlib::processEvents (this=0x8df7978, flags={i
= 4}) at kernel/qeventdispatcher_glib.cpp:319
#82 0x06649515 in QGuiEventDispatcherGlib::processEvents (this=0x8df7978,
flags={i = 4}) at kernel/qguieventdispatcher_glib.cpp:198
#83 0x041a388a in QEventLoop::processEvents (this=0xbfa52f40, flags={i = 4}) at
kernel/qeventloop.cpp:143
#84 0x041a3a4a in QEventLoop::exec (this=0xbfa52f40, flags={i = 0}) at
kernel/qeventloop.cpp:194
#85 0x041a6105 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:845
#86 0x065b0507 in QApplication::exec () at kernel/qapplication.cpp:3331
#87 0x0804dc47 in main (argc=) at
/usr/src/debug/kdegraphics-4.2.0/okular/shell/main.cpp:81


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Okular-devel mailing list