Application: ark (2.19) KDE Platform Version: 4.14.3 Qt Version: 4.8.6 Operating System: Linux 3.17.4-300.fc21.x86_64 x86_64 Distribution (Platform): Fedora RPMs -- Information about the crash: Steps to reproduce: 1. Open the attached file using ark 2. Click on "test.odt" 3. Close the mainwindow (make sure the preview window is kept opened) Sometimes it crashes, sometimes it doesn't. When it crashes, i randomly get different backtraces. The crash can be reproduced sometimes. -- Backtrace: Application: Ark (ark), signal: Aborted Using host libthread_db library "/lib64/libthread_db.so.1". 81 T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS) [KCrash Handler] #6 0x00007fbfb73bd8c7 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55 #7 0x00007fbfb73bf52a in __GI_abort () at abort.c:89 #8 0x00007fbfb7401513 in __libc_message (do_abort=do_abort@entry=2, fmt=fmt@entry=0x7fbfb7510830 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:175 #9 0x00007fbfb7407ba8 in malloc_consolidate (str=0x7fbfb750e438 "corrupted double-linked list", ptr=<optimized out>, action=3) at malloc.c:4974 #10 0x00007fbfb7407ba8 in malloc_consolidate (av=av@entry=0x7fbfb7740cc0 <main_arena>) at malloc.c:4159 #11 0x00007fbfb7409d98 in _int_malloc (av=av@entry=0x7fbfb7740cc0 <main_arena>, bytes=bytes@entry=8193) at malloc.c:3420 #12 0x00007fbfb740ba92 in _int_realloc (av=av@entry=0x7fbfb7740cc0 <main_arena>, oldp=oldp@entry=0x255f870, oldsize=oldsize@entry=4112, nb=nb@entry=8208) at malloc.c:4282 #13 0x00007fbfb740db9e in __GI___libc_realloc (oldmem=0x255f880, bytes=8192) at malloc.c:3024 #14 0x00007fbfb822ad5f in QListData::realloc(int) (this=this@entry=0x1eb6f60, alloc=1021) at tools/qlist.cpp:221 #15 0x00007fbfb822ae10 in QListData::append(int) (this=0x1eb6f60, n=n@entry=1) at tools/qlist.cpp:243 #16 0x00007fbfb822ae6a in QListData::append() (this=<optimized out>) at tools/qlist.cpp:253 #17 0x00007fbfb831a325 in QList<QPostEvent>::append(QPostEvent const&) (this=0x1eb6f60, t=...) at ../../src/corelib/tools/qlist.h:519 #18 0x00007fbfb8318f2e in QCoreApplication::postEvent(QObject*, QEvent*, int) (ev=..., this=0x1eb6f60) at ../../src/corelib/thread/qthread_p.h:120 #19 0x00007fbfb8318f2e in QCoreApplication::postEvent(QObject*, QEvent*, int) (receiver=0x22641d0, event=0x2263960, priority=priority@entry=0) at kernel/qcoreapplication.cpp:1391 #20 0x00007fbfb8319027 in QCoreApplication::postEvent(QObject*, QEvent*) (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1311 #21 0x00007fbfb8327544 in QObject::deleteLater() (this=<optimized out>) at kernel/qobject.cpp:2115 #22 0x00007fbfa5ba8e05 in Oxygen::WidgetStateEngine::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (key=0x225f740, this=0x1f4d6c8) at /usr/src/debug/kde-workspace-4.11.14/kstyles/oxygen/animations/oxygendatamap.h:103 #23 0x00007fbfa5ba8e05 in Oxygen::WidgetStateEngine::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (object=0x225f740, this=0x1f4d6b0) at /usr/src/debug/kde-workspace-4.11.14/kstyles/oxygen/animations/oxygenwidgetstateengine.h:98 #24 0x00007fbfa5ba8e05 in Oxygen::WidgetStateEngine::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=0x1f4d6b0, _a=0x7fff9df207e0, _id=<optimized out>, _c=<optimized out>) at /usr/src/debug/kde-workspace-4.11.14/x86_64-redhat-linux-gnu/kstyles/oxygen/oxygenwidgetstateengine.moc:49 #25 0x00007fbfb8329f8c in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x225f740, m=m@entry=0x7fbfb8672240 <QObject::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff9df207e0) at kernel/qobject.cpp:3567 #26 0x00007fbfb832a9ff in QObject::destroyed(QObject*) (this=this@entry=0x225f740, _t1=_t1@entry=0x225f740) at .moc/release-shared/moc_qobject.cpp:148 #27 0x00007fbfb832eb97 in QObject::~QObject() (this=0x225f740, __in_chrg=<optimized out>) at kernel/qobject.cpp:871 #28 0x00007fbfb9547aa7 in QWidget::~QWidget() (this=0x225f740, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1554 #29 0x00007fbfb9983d89 in QToolButton::~QToolButton() (this=0x225f740, __in_chrg=<optimized out>) at widgets/qtoolbutton.cpp:409 #30 0x00007fbfb832ca38 in QObjectPrivate::deleteChildren() (this=this@entry=0x2271d40) at kernel/qobject.cpp:1935 #31 0x00007fbfb9547a13 in QWidget::~QWidget() (this=0x22711c0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1679 #32 0x00007fbfba35ea39 in KToolBar::~KToolBar() (this=0x22711c0, __in_chrg=<optimized out>) at /usr/src/debug/kdelibs-4.14.3/kdeui/widgets/ktoolbar.cpp:812 #33 0x00007fbfb832ca38 in QObjectPrivate::deleteChildren() (this=this@entry=0x1fc8ce0) at kernel/qobject.cpp:1935 #34 0x00007fbfb9547a13 in QWidget::~QWidget() (this=0x1fc8b40, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1679 #35 0x000000000040e06d in MainWindow::~MainWindow() (this=this@entry=0x1fc8b40, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/ark-4.14.3/app/mainwindow.cpp:67 #36 0x000000000040e109 in MainWindow::~MainWindow() (this=0x1fc8b40, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/ark-4.14.3/app/mainwindow.cpp:74 #37 0x00007fbfb832e618 in QObject::event(QEvent*) (this=0x1fc8b40, e=<optimized out>) at kernel/qobject.cpp:1203 #38 0x00007fbfb9548503 in QWidget::event(QEvent*) (this=0x1fc8b40, event=0x256e7f0) at kernel/qwidget.cpp:8859 #39 0x00007fbfb9921543 in QMainWindow::event(QEvent*) (this=this@entry=0x1fc8b40, event=event@entry=0x256e7f0) at widgets/qmainwindow.cpp:1478 #40 0x00007fbfba32ec01 in KMainWindow::event(QEvent*) (this=this@entry=0x1fc8b40, ev=ev@entry=0x256e7f0) at /usr/src/debug/kdelibs-4.14.3/kdeui/widgets/kmainwindow.cpp:1084 #41 0x00007fbfba36a769 in KXmlGuiWindow::event(QEvent*) (this=0x1fc8b40, ev=0x256e7f0) at /usr/src/debug/kdelibs-4.14.3/kdeui/xmlgui/kxmlguiwindow.cpp:126 #42 0x00007fbfb94f4f6c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=0x1ef1760, receiver=0x1fc8b40, e=0x256e7f0) at kernel/qapplication.cpp:4565 #43 0x00007fbfb94fb9b8 in QApplication::notify(QObject*, QEvent*) (this=this@entry=0x7fff9df21300, receiver=receiver@entry=0x1fc8b40, e=e@entry=0x256e7f0) at kernel/qapplication.cpp:4351 #44 0x00007fbfba2689ea in KApplication::notify(QObject*, QEvent*) (this=0x7fff9df21300, receiver=0x1fc8b40, event=0x256e7f0) at /usr/src/debug/kdelibs-4.14.3/kdeui/kernel/kapplication.cpp:311 #45 0x00007fbfb831543d in QCoreApplication::notifyInternal(QObject*, QEvent*) (this=0x7fff9df21300, receiver=receiver@entry=0x1fc8b40, event=event@entry=0x256e7f0) at kernel/qcoreapplication.cpp:953 #46 0x00007fbfb8318701 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (event=0x256e7f0, receiver=0x1fc8b40) at kernel/qcoreapplication.h:231 #47 0x00007fbfb8318701 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1eb6f30) at kernel/qcoreapplication.cpp:1577 #48 0x00007fbfb8318b93 in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470 #49 0x00007fbfb834452e in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) () at kernel/qcoreapplication.h:236 #50 0x00007fbfb834452e in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x1edd770) at kernel/qeventdispatcher_glib.cpp:300 #51 0x00007fbfb339eaeb in g_main_context_dispatch (context=0x1ef2180) at gmain.c:3111 #52 0x00007fbfb339eaeb in g_main_context_dispatch (context=context@entry=0x1ef2180) at gmain.c:3710 #53 0x00007fbfb339ee88 in g_main_context_iterate (context=context@entry=0x1ef2180, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3781 #54 0x00007fbfb339ef3c in g_main_context_iteration (context=0x1ef2180, may_block=1) at gmain.c:3842 #55 0x00007fbfb834469e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x1eb88b0, flags=...) at kernel/qeventdispatcher_glib.cpp:450 #56 0x00007fbfb9598346 in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207 #57 0x00007fbfb8313f91 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fff9df21230, flags=...) at kernel/qeventloop.cpp:149 #58 0x00007fbfb83142f5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fff9df21230, flags=...) at kernel/qeventloop.cpp:204 #59 0x00007fbfb83199c7 in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1225 #60 0x00007fbfb94f33ec in QApplication::exec() () at kernel/qapplication.cpp:3823 #61 0x000000000040a094 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/ark-4.14.3/app/main.cpp:209 Possible duplicates by query: bug 302042, bug 297307, bug 292714, bug 290682. Reported using DrKonqi
Created attachment 89778 [details] Test file
Created attachment 89779 [details] Backtrace 1
Created attachment 89780 [details] Backtrace 2
Created attachment 89781 [details] Backtrace 3
Created attachment 89782 [details] Backtrace 4
All backtraces indicate memory corruption. A valgrind trace would be nice to have.
Created attachment 89788 [details] Valgrind
(In reply to Christoph Feck from comment #6) > All backtraces indicate memory corruption. A valgrind trace would be nice to > have. Can't you reproduce it ? Like i said, it doesn't crash every time. You might have to retry the steps a number of times.
Created attachment 90964 [details] New crash information added by DrKonqi ark (2.19) on KDE Platform 4.14.3 using Qt 4.8.6 - What I was doing when the application crashed: Same behaviour for me. Downloaded my payslip, which is a zip with encrypted pdf content. I have opened the preview window providing document password. After some minutes I have closed the main window without closing the preview window before. And then crash occured. -- Backtrace (Reduced): #6 0x00000038a6a348c7 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55 #7 0x00000038a6a3652a in __GI_abort () at abort.c:89 [...] #9 0x00000038a6a7eba8 in malloc_consolidate (str=0x38a6b85438 "corrupted double-linked list", ptr=<optimized out>, action=3) at malloc.c:4974 #10 0x00000038a6a7eba8 in malloc_consolidate (av=av@entry=0x38a6db7cc0 <main_arena>) at malloc.c:4159 #11 0x00000038a6a8457b in __GI___libc_free (have_lock=0, p=<optimized out>, av=0x38a6db7cc0 <main_arena>) at malloc.c:4051
The preview dialog is now modal, so it's not possible anymore to trigger these kind of crashes.
Just for the record, even if I restore the preview dialog as modeless, the crash cannot be reproduced.