https://bugs.kde.org/show_bug.cgi?id=323721
Bug ID: 323721 Summary: Okular crashes on corrupted pdf Classification: Unclassified Product: okular Version: 0.16.5 Platform: Debian unstable OS: Linux Status: UNCONFIRMED Keywords: drkonqi Severity: crash Priority: NOR Component: general Assignee: okular-devel@kde.org Reporter: f.pre...@alice.it Application: okular (0.16.5) KDE Platform Version: 4.10.5 Qt Version: 4.8.5 Operating System: Linux 3.10.5-desktop-f x86_64 Distribution: SolydK -- Information about the crash: - What I was doing when the application crashed: I tried to open a file which had the extension .pdf but whose content was actually only made of null characters (0x00). The okular window initially appeared; then, instead of displaying the window "this file is not valid" (as it used to), it just crashed The crash can be reproduced every time. -- Backtrace: Application: Okular (okular), signal: Bus error Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [KCrash Handler] #6 __strncmp_sse2 () at ../sysdeps/x86_64/multiarch/../strcmp.S:212 #7 0x00007fc3eb818c76 in qstrncmp (len=<optimized out>, str2=0x1ec83c8 "$kico_draw-text_22_1:1:trans", str1=<optimized out>) at /usr/include/qt4/QtCore/qbytearray.h:104 #8 findNamedEntry (key=..., this=0x7fc3dfb25000) at ../../kdecore/util/kshareddatacache.cpp:786 #9 KSharedDataCache::find (this=0x19ccb00, key=..., destination=destination@entry=0x7fff743884b0) at ../../kdecore/util/kshareddatacache.cpp:1637 #10 0x00007fc3ec968cb0 in KIconLoaderPrivate::findCachedPixmapWithPath (this=0x19cf630, key=..., data=..., path=...) at ../../kdeui/icons/kiconloader.cpp:854 #11 0x00007fc3ec968ffa in KIconLoader::loadIcon (this=0x19b6210, _name=..., group=group@entry=KIconLoader::Desktop, size=22, state=2, overlays=..., path_store=path_store@entry=0x0, canReturnNull=canReturnNull@entry=false) at ../../kdeui/icons/kiconloader.cpp:1149 #12 0x00007fc3ec96113e in KIconEngine::pixmap (this=<optimized out>, size=..., mode=<optimized out>, state=<optimized out>) at ../../kdeui/icons/kiconengine.cpp:104 #13 0x00007fc3ebd2f925 in QIcon::pixmap (this=this@entry=0x7fff74388ab8, size=..., mode=<optimized out>, state=<optimized out>) at image/qicon.cpp:684 #14 0x00007fc3ebf9974c in QCommonStyle::drawControl (this=this@entry=0x1931350, element=element@entry=QStyle::CE_ToolButtonLabel, opt=opt@entry=0x7fff74388a70, p=p@entry=0x7fff74388d00, widget=0x1d604b0) at styles/qcommonstyle.cpp:1592 #15 0x00007fc3e07cdc8a in Oxygen::Style::drawToolButtonLabelControl (this=0x1931350, option=0x7fff74388c10, painter=0x7fff74388d00, widget=<optimized out>) at ../../../kstyles/oxygen/oxygenstyle.cpp:7265 #16 0x00007fc3e07bf729 in Oxygen::Style::drawToolButtonComplexControl (this=0x1931350, option=0x7fff74388d20, painter=0x7fff74388d00, widget=0x1d604b0) at ../../../kstyles/oxygen/oxygenstyle.cpp:7970 #17 0x00007fc3e07cdaee in Oxygen::Style::drawComplexControl (this=0x1931350, element=QStyle::CC_ToolButton, option=0x7fff74388d20, painter=0x7fff74388d00, widget=0x1d604b0) at ../../../kstyles/oxygen/oxygenstyle.cpp:1169 #18 0x00007fc3ec0f3c59 in drawComplexControl (opt=..., cc=QStyle::CC_ToolButton, this=0x7fff74388d00) at ../../include/QtGui/../../src/gui/painting/qstylepainter.h:94 #19 QToolButton::paintEvent (this=0x1d604b0) at widgets/qtoolbutton.cpp:553 #20 0x00007fc3ebcdeaf4 in QWidget::event (this=0x1d604b0, event=0x7fff74389180) at kernel/qwidget.cpp:8533 #21 0x00007fc3ebc8f70c in QApplicationPrivate::notify_helper (this=this@entry=0x18e6de0, receiver=receiver@entry=0x1d604b0, e=e@entry=0x7fff74389180) at kernel/qapplication.cpp:4567 #22 0x00007fc3ebc95d80 in QApplication::notify (this=this@entry=0x7fff7438b110, receiver=receiver@entry=0x1d604b0, e=e@entry=0x7fff74389180) at kernel/qapplication.cpp:4353 #23 0x00007fc3ec9b2cfa in KApplication::notify (this=0x7fff7438b110, receiver=0x1d604b0, event=0x7fff74389180) at ../../kdeui/kernel/kapplication.cpp:311 #24 0x00007fc3eb28ab5d in QCoreApplication::notifyInternal (this=0x7fff7438b110, receiver=receiver@entry=0x1d604b0, event=event@entry=0x7fff74389180) at kernel/qcoreapplication.cpp:949 #25 0x00007fc3ebcd9201 in sendSpontaneousEvent (event=0x7fff74389180, receiver=0x1d604b0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234 #26 QWidgetPrivate::drawWidget (this=this@entry=0x1d605b0, pdev=pdev@entry=0x1e6ce40, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0x1d12d30) at kernel/qwidget.cpp:5599 #27 0x00007fc3ebcd9c30 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x1d2c350, pdev=pdev@entry=0x1e6ce40, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0x1d12d30) at kernel/qwidget.cpp:5808 #28 0x00007fc3ebcd8dbc in QWidgetPrivate::drawWidget (this=this@entry=0x1d2c350, pdev=pdev@entry=0x1e6ce40, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0x1d12d30) at kernel/qwidget.cpp:5652 #29 0x00007fc3ebcd9c30 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x1a899f0, pdev=pdev@entry=0x1e6ce40, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0x1d12d30) at kernel/qwidget.cpp:5808 #30 0x00007fc3ebcd8dbc in QWidgetPrivate::drawWidget (this=0x1a899f0, pdev=0x1e6ce40, rgn=..., offset=..., flags=flags@entry=5, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0x1d12d30) at kernel/qwidget.cpp:5652 #31 0x00007fc3ebe9829e in QWidgetBackingStore::sync (this=this@entry=0x1d12d30) at painting/qbackingstore.cpp:1373 #32 0x00007fc3ebe98615 in QWidgetBackingStore::sync (this=0x1d12d30, exposedWidget=0x1d522a0, exposedRegion=...) at painting/qbackingstore.cpp:1161 #33 0x00007fc3ebcce712 in QWidgetPrivate::syncBackingStore (this=this@entry=0x1d2f090, region=...) at kernel/qwidget.cpp:1903 #34 0x00007fc3ebcf9608 in QETWidget::translatePaintEvent (this=this@entry=0x1d522a0, event=event@entry=0x7fff74389d50) at kernel/qapplication_x11.cpp:5258 #35 0x00007fc3ebd06486 in QApplication::x11ProcessEvent (this=0x7fff7438b110, event=event@entry=0x7fff74389d50) at kernel/qapplication_x11.cpp:3561 #36 0x00007fc3ebd2d792 in x11EventSourceDispatch (s=0x18e8400, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146 #37 0x00007fc3e74bfea6 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #38 0x00007fc3e74c01f8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #39 0x00007fc3e74c029c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #40 0x00007fc3eb2b7ce5 in QEventDispatcherGlib::processEvents (this=0x18a1b30, flags=...) at kernel/qeventdispatcher_glib.cpp:425 #41 0x00007fc3ebd2d846 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #42 0x00007fc3eb2897bf in QEventLoop::processEvents (this=this@entry=0x7fff7438a140, flags=...) at kernel/qeventloop.cpp:149 #43 0x00007fc3eb289ab5 in QEventLoop::exec (this=this@entry=0x7fff7438a140, flags=...) at kernel/qeventloop.cpp:204 #44 0x00007fc3ec1328cc in QDialog::exec (this=0x1dee5a0) at dialogs/qdialog.cpp:562 #45 0x00007fc3ec926202 in KMessageBox::createKMessageBox (dialog=dialog@entry=0x1dee5a0, icon=..., text=..., strlist=..., ask=..., checkboxReturn=checkboxReturn@entry=0x0, options=..., details=..., notifyType=notifyType@entry=QMessageBox::Critical) at ../../kdeui/dialogs/kmessagebox.cpp:344 #46 0x00007fc3ec926441 in KMessageBox::createKMessageBox (dialog=dialog@entry=0x1dee5a0, icon=icon@entry=QMessageBox::Critical, text=..., strlist=..., ask=..., checkboxReturn=checkboxReturn@entry=0x0, options=..., details=...) at ../../kdeui/dialogs/kmessagebox.cpp:159 #47 0x00007fc3ec926657 in KMessageBox::errorListWId (parent_id=65011799, text=..., strlist=..., caption=..., options=...) at ../../kdeui/dialogs/kmessagebox.cpp:854 #48 0x00007fc3ec92676a in KMessageBox::error (parent=<optimized out>, text=..., caption=..., options=...) at ../../kdeui/dialogs/kmessagebox.cpp:821 #49 0x00007fc3db849d81 in ?? () from /usr/lib/kde4/okularpart.so #50 0x000000000040b14d in _start () Possible duplicates by query: bug 311735, bug 309663. Reported using DrKonqi -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ Okular-devel mailing list Okular-devel@kde.org https://mail.kde.org/mailman/listinfo/okular-devel