Bug 358508 - Ark crashes when closing a package while opening a file from it
Summary: Ark crashes when closing a package while opening a file from it
Status: RESOLVED WORKSFORME
Alias: None
Product: ark
Classification: Applications
Component: general (show other bugs)
Version: 2.19
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Elvis Angelaccio
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-01-24 23:48 UTC by sedrubal
Modified: 2016-01-25 13:57 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sedrubal 2016-01-24 23:48:47 UTC
Application: ark (2.19)
KDE Platform Version: 4.14.14
Qt Version: 4.8.7
Operating System: Linux 4.3.3-300.fc23.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
- What I was doing when the application crashed:

I closed ark while one file was opened in the preview (pdf) and I opened another large pdf. During the opening I closed ark and a bit later the first pdf closed and ark crashed.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Ark (ark), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
84	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[KCrash Handler]
#6  0x0000558e62cdf905 in MainWindow::updateActions() (this=0x558e646d9a00) at ../../app/mainwindow.cpp:178
#7  0x00007f73679bea80 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=0x558e64866d20, m=m@entry=0x7f734e7d4600 <Ark::Part::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x0) at kernel/qobject.cpp:3567
#8  0x00007f734e5acd23 in Ark::Part::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (this=<optimized out>) at moc_part.cpp:187
#9  0x00007f734e5acd23 in Ark::Part::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at moc_part.cpp:99
#10 0x00007f73679c4821 in QObject::event(QEvent*) (this=0x558e64866d20, e=<optimized out>) at kernel/qobject.cpp:1222
#11 0x00007f73688f193c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x558e645e1210, receiver=receiver@entry=0x558e64866d20, e=e@entry=0x7f7344013970) at kernel/qapplication.cpp:4565
#12 0x00007f73688f8796 in QApplication::notify(QObject*, QEvent*) (this=this@entry=0x7ffcabdb6fc0, receiver=receiver@entry=0x558e64866d20, e=e@entry=0x7f7344013970) at kernel/qapplication.cpp:4351
#13 0x00007f736967d54a in KApplication::notify(QObject*, QEvent*) (this=0x7ffcabdb6fc0, receiver=0x558e64866d20, event=0x7f7344013970) at ../../kdeui/kernel/kapplication.cpp:311
#14 0x00007f73679aa8dd in QCoreApplication::notifyInternal(QObject*, QEvent*) (this=0x7ffcabdb6fc0, receiver=receiver@entry=0x558e64866d20, event=event@entry=0x7f7344013970) at kernel/qcoreapplication.cpp:955
#15 0x00007f73679adef6 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (event=0x7f7344013970, receiver=0x558e64866d20) at kernel/qcoreapplication.h:231
#16 0x00007f73679adef6 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x558e6459cf50) at kernel/qcoreapplication.cpp:1579
#17 0x00007f73679ae1d3 in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1472
#18 0x00007f73679dad1e in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) () at kernel/qcoreapplication.h:236
#19 0x00007f73679dad1e in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x558e645caf70) at kernel/qeventdispatcher_glib.cpp:300
#20 0x00007f7362399e3a in g_main_context_dispatch (context=0x558e645e14f0) at gmain.c:3154
#21 0x00007f7362399e3a in g_main_context_dispatch (context=context@entry=0x558e645e14f0) at gmain.c:3769
#22 0x00007f736239a1d0 in g_main_context_iterate (context=context@entry=0x558e645e14f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3840
#23 0x00007f736239a27c in g_main_context_iteration (context=0x558e645e14f0, may_block=may_block@entry=1) at gmain.c:3901
#24 0x00007f73679dae8e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x558e6459e820, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#25 0x00007f736899a3e6 in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#26 0x00007f73679a9151 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffcabdb6010, flags=...) at kernel/qeventloop.cpp:149
#27 0x00007f73679a94c5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7ffcabdb6010, flags=...) at kernel/qeventloop.cpp:204
#28 0x00007f7349845baf in Okular::Document::closeDocument() () at /lib64/libokularcore.so.6
#29 0x00007f7349b1f324 in Okular::Part::closeUrl(bool) () at /usr/lib64/kde4/okularpart.so
#30 0x00007f7349b1fc3a in Okular::Part::~Part() () at /usr/lib64/kde4/okularpart.so
#31 0x00007f7349b1fc99 in Okular::Part::~Part() () at /usr/lib64/kde4/okularpart.so
#32 0x00007f736a56f239 in KParts::Part::slotWidgetDestroyed() (this=0x558e6504f110) at ../../kparts/part.cpp:353
#33 0x00007f73679bea80 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x558e65066910, m=m@entry=0x7f7367d07160 <QObject::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffcabdb6290) at kernel/qobject.cpp:3567
#34 0x00007f73679bf36f in QObject::destroyed(QObject*) (this=this@entry=0x558e65066910, _t1=_t1@entry=0x558e65066910) at .moc/release-shared/moc_qobject.cpp:148
#35 0x00007f73679c4de7 in QObject::~QObject() (this=0x558e65066910, __in_chrg=<optimized out>) at kernel/qobject.cpp:871
#36 0x00007f7368947bb1 in QWidget::~QWidget() (this=0x558e65066910, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1554
#37 0x00007f7349ba2199 in Sidebar::~Sidebar() () at /usr/lib64/kde4/okularpart.so
#38 0x00007f73679c2d21 in QObjectPrivate::deleteChildren() (this=this@entry=0x558e64ec6ab0) at kernel/qobject.cpp:1935
#39 0x00007f7368947b12 in QWidget::~QWidget() (this=0x558e64d43680, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1679
#40 0x00007f736977dfe9 in KVBox::~KVBox() (this=0x558e64d43680, __in_chrg=<optimized out>) at ../../kdeui/widgets/kvbox.cpp:29
#41 0x00007f73679c2d21 in QObjectPrivate::deleteChildren() (this=this@entry=0x558e650400e0) at kernel/qobject.cpp:1935
#42 0x00007f7368947b12 in QWidget::~QWidget() (this=0x558e64ed0e50, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1679
#43 0x00007f734e5bbff4 in ArkViewer::~ArkViewer() (this=0x558e64ed0e50, __in_chrg=<optimized out>) at ../../part/arkviewer.cpp:56
#44 0x00007f734e5bbff4 in ArkViewer::~ArkViewer() (this=0x558e64ed0e50, __in_chrg=<optimized out>) at ../../part/arkviewer.cpp:58
#45 0x00007f73679c2d21 in QObjectPrivate::deleteChildren() (this=this@entry=0x558e6486a350) at kernel/qobject.cpp:1935
#46 0x00007f7368947b12 in QWidget::~QWidget() (this=0x558e6486c580, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1679
#47 0x00007f7368d69149 in QSplitter::~QSplitter() (this=0x558e6486c580, __in_chrg=<optimized out>) at widgets/qsplitter.cpp:1056
#48 0x00007f736a56fa2f in KParts::Part::~Part() (this=0x558e64866d20, __vtt_parm=0x7f734e7d3320 <VTT for Ark::Part+24>, __in_chrg=<optimized out>) at ../../kparts/part.cpp:209
#49 0x00007f734e5aeadd in Ark::Part::~Part() (this=0x558e64866d20, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../part/part.cpp:140
#50 0x00007f734e5aeb39 in Ark::Part::~Part() (this=0x558e64866d20, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../part/part.cpp:147
#51 0x0000558e62ce001e in MainWindow::~MainWindow() (this=this@entry=0x558e646d9a00, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../app/mainwindow.cpp:75
#52 0x0000558e62ce00f9 in MainWindow::~MainWindow() (this=0x558e646d9a00, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../app/mainwindow.cpp:77
#53 0x00007f73679c4848 in QObject::event(QEvent*) (this=this@entry=0x558e646d9a00, e=e@entry=0x558e6520fdd0) at kernel/qobject.cpp:1203
#54 0x00007f73689485ac in QWidget::event(QEvent*) (this=this@entry=0x558e646d9a00, event=event@entry=0x558e6520fdd0) at kernel/qwidget.cpp:8859
#55 0x00007f7368d28393 in QMainWindow::event(QEvent*) (this=this@entry=0x558e646d9a00, event=event@entry=0x558e6520fdd0) at widgets/qmainwindow.cpp:1478
#56 0x00007f73697459a1 in KMainWindow::event(QEvent*) (this=this@entry=0x558e646d9a00, ev=ev@entry=0x558e6520fdd0) at ../../kdeui/widgets/kmainwindow.cpp:1126
#57 0x00007f7369783069 in KXmlGuiWindow::event(QEvent*) (this=0x558e646d9a00, ev=0x558e6520fdd0) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#58 0x00007f73688f193c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x558e645e1210, receiver=receiver@entry=0x558e646d9a00, e=e@entry=0x558e6520fdd0) at kernel/qapplication.cpp:4565
#59 0x00007f73688f8796 in QApplication::notify(QObject*, QEvent*) (this=this@entry=0x7ffcabdb6fc0, receiver=receiver@entry=0x558e646d9a00, e=e@entry=0x558e6520fdd0) at kernel/qapplication.cpp:4351
#60 0x00007f736967d54a in KApplication::notify(QObject*, QEvent*) (this=0x7ffcabdb6fc0, receiver=0x558e646d9a00, event=0x558e6520fdd0) at ../../kdeui/kernel/kapplication.cpp:311
#61 0x00007f73679aa8dd in QCoreApplication::notifyInternal(QObject*, QEvent*) (this=0x7ffcabdb6fc0, receiver=receiver@entry=0x558e646d9a00, event=event@entry=0x558e6520fdd0) at kernel/qcoreapplication.cpp:955
#62 0x00007f73679adef6 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (event=0x558e6520fdd0, receiver=0x558e646d9a00) at kernel/qcoreapplication.h:231
#63 0x00007f73679adef6 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x558e6459cf50) at kernel/qcoreapplication.cpp:1579
#64 0x00007f73679ae1d3 in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1472
#65 0x00007f73679dad1e in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) () at kernel/qcoreapplication.h:236
#66 0x00007f73679dad1e in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x558e645caf70) at kernel/qeventdispatcher_glib.cpp:300
#67 0x00007f7362399e3a in g_main_context_dispatch (context=0x558e645e14f0) at gmain.c:3154
#68 0x00007f7362399e3a in g_main_context_dispatch (context=context@entry=0x558e645e14f0) at gmain.c:3769
#69 0x00007f736239a1d0 in g_main_context_iterate (context=context@entry=0x558e645e14f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3840
#70 0x00007f736239a27c in g_main_context_iteration (context=0x558e645e14f0, may_block=may_block@entry=1) at gmain.c:3901
#71 0x00007f73679dae8e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x558e6459e820, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#72 0x00007f736899a3e6 in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#73 0x00007f73679a9151 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffcabdb6eb0, flags=...) at kernel/qeventloop.cpp:149
#74 0x00007f73679a94c5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffcabdb6eb0, flags=...) at kernel/qeventloop.cpp:204
#75 0x00007f73679af069 in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1227
#76 0x0000558e62cdb2dd in main(int, char**) (argc=<optimized out>, argv=0x7ffcabdb70f8) at ../../app/main.cpp:206

Reported using DrKonqi
Comment 1 Elvis Angelaccio 2016-01-25 08:57:26 UTC
Hi. Any chance you can share this archive?
Comment 2 sedrubal 2016-01-25 13:39:53 UTC
Mh sorry, no. It's quite private...

But I couldn't reproduce it anyway. If you don't find the problem in the backtrace, you can close this...
Comment 3 Elvis Angelaccio 2016-01-25 13:57:34 UTC
(In reply to sederic from comment #2)
> Mh sorry, no. It's quite private...
> 
> But I couldn't reproduce it anyway. If you don't find the problem in the
> backtrace, you can close this...

I see. The backtrace gives an indication where the bug might be, but we'd need to reproduce it first.
Closing for now, feel free to open another report if you manage to reproduce the crash.