Bug 355757 - Ark crashed while opening a docx
Summary: Ark crashed while opening a docx
Status: RESOLVED FIXED
Alias: None
Product: ark
Classification: Applications
Component: general (show other bugs)
Version: 2.19
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Raphael Kubo da Costa
URL:
Keywords: drkonqi
: 356475 357109 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-11-22 22:32 UTC by sedrubal
Modified: 2015-12-23 21:56 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
A zip containing a test docx (3.52 KB, application/zip)
2015-11-24 02:11 UTC, sedrubal
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sedrubal 2015-11-22 22:32:46 UTC
Application: ark (2.19)
KDE Platform Version: 4.14.14
Qt Version: 4.8.7
Operating System: Linux 4.2.6-300.fc23.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
- What I was doing when the application crashed:
I tried to open a docx from a not extracted archieve. I hoped, ark would extract the single file and open libreoffice or calligra.
- Unusual behavior I noticed:
Ark reported a weird error, I can't really remember. I thought he missinterpreted the docx file. After closing this message box ark continued working, but then I saw the error reporting window...

-- 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  0x0000000000000000 in  ()
#7  0x00007f41034b1c3a in QWidget::ensurePolished() const (this=0x560c8ecd6a40) at kernel/qwidget.cpp:9733
#8  0x00007f41038d5c79 in QSplitter::sizes() const (this=<optimized out>) at widgets/qsplitter.cpp:1649
#9  0x00007f40e907b84b in Ark::Part::saveSplitterSizes() () at /usr/lib64/kde4/arkpart.so
#10 0x00007f40e907ba99 in Ark::Part::~Part() () at /usr/lib64/kde4/arkpart.so
#11 0x00007f40e907bb39 in Ark::Part::~Part() () at /usr/lib64/kde4/arkpart.so
#12 0x00007f410252fd21 in QObjectPrivate::deleteChildren() (this=this@entry=0x560c8ec23520) at kernel/qobject.cpp:1935
#13 0x00007f41034b4b12 in QWidget::~QWidget() (this=0x560c8ec24be0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1679
#14 0x00007f40e9088ff4 in ArkViewer::~ArkViewer() () at /usr/lib64/kde4/arkpart.so
#15 0x00007f410252fd21 in QObjectPrivate::deleteChildren() (this=this@entry=0x560c8e9ed2c0) at kernel/qobject.cpp:1935
#16 0x00007f41034b4b12 in QWidget::~QWidget() (this=0x560c8e9ee3e0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1679
#17 0x00007f41038d6149 in QSplitter::~QSplitter() (this=0x560c8e9ee3e0, __in_chrg=<optimized out>) at widgets/qsplitter.cpp:1056
#18 0x00007f41050dca2f in KParts::Part::~Part() (this=0x560c8ea54f00, __vtt_parm=0x7f40e92a0320, __in_chrg=<optimized out>) at ../../kparts/part.cpp:209
#19 0x00007f40e907badd in Ark::Part::~Part() () at /usr/lib64/kde4/arkpart.so
#20 0x00007f40e907bb39 in Ark::Part::~Part() () at /usr/lib64/kde4/arkpart.so
#21 0x0000560c8cb8101e in MainWindow::~MainWindow() ()
#22 0x0000560c8cb810f9 in MainWindow::~MainWindow() ()
#23 0x00007f4102531848 in QObject::event(QEvent*) (this=this@entry=0x560c8e971f10, e=e@entry=0x560c8ebc6480) at kernel/qobject.cpp:1203
#24 0x00007f41034b55ac in QWidget::event(QEvent*) (this=this@entry=0x560c8e971f10, event=event@entry=0x560c8ebc6480) at kernel/qwidget.cpp:8859
#25 0x00007f4103895393 in QMainWindow::event(QEvent*) (this=this@entry=0x560c8e971f10, event=event@entry=0x560c8ebc6480) at widgets/qmainwindow.cpp:1478
#26 0x00007f41042b29a1 in KMainWindow::event(QEvent*) (this=this@entry=0x560c8e971f10, ev=ev@entry=0x560c8ebc6480) at ../../kdeui/widgets/kmainwindow.cpp:1126
#27 0x00007f41042f0069 in KXmlGuiWindow::event(QEvent*) (this=0x560c8e971f10, ev=0x560c8ebc6480) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#28 0x00007f410345e93c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=0x560c8e83c600, receiver=0x560c8e971f10, e=0x560c8ebc6480) at kernel/qapplication.cpp:4565
#29 0x00007f4103465796 in QApplication::notify(QObject*, QEvent*) (this=this@entry=0x7ffd7c5f5660, receiver=receiver@entry=0x560c8e971f10, e=e@entry=0x560c8ebc6480) at kernel/qapplication.cpp:4351
#30 0x00007f41041ea54a in KApplication::notify(QObject*, QEvent*) (this=0x7ffd7c5f5660, receiver=0x560c8e971f10, event=0x560c8ebc6480) at ../../kdeui/kernel/kapplication.cpp:311
#31 0x00007f41025178dd in QCoreApplication::notifyInternal(QObject*, QEvent*) (this=0x7ffd7c5f5660, receiver=receiver@entry=0x560c8e971f10, event=event@entry=0x560c8ebc6480) at kernel/qcoreapplication.cpp:955
#32 0x00007f410251aef6 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (event=0x560c8ebc6480, receiver=0x560c8e971f10) at kernel/qcoreapplication.h:231
#33 0x00007f410251aef6 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x560c8e7fdf50) at kernel/qcoreapplication.cpp:1579
#34 0x00007f410251b1d3 in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1472
#35 0x00007f4102547d1e in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) () at kernel/qcoreapplication.h:236
#36 0x00007f4102547d1e in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x560c8e82c670) at kernel/qeventdispatcher_glib.cpp:300
#37 0x00007f40fcf14e3a in g_main_context_dispatch (context=0x560c8e841c90) at gmain.c:3154
#38 0x00007f40fcf14e3a in g_main_context_dispatch (context=context@entry=0x560c8e841c90) at gmain.c:3769
#39 0x00007f40fcf151d0 in g_main_context_iterate (context=context@entry=0x560c8e841c90, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3840
#40 0x00007f40fcf1527c in g_main_context_iteration (context=0x560c8e841c90, may_block=may_block@entry=1) at gmain.c:3901
#41 0x00007f4102547e8e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x560c8e7ff820, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#42 0x00007f41035073e6 in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#43 0x00007f4102516151 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffd7c5f5550, flags=...) at kernel/qeventloop.cpp:149
#44 0x00007f41025164c5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffd7c5f5550, flags=...) at kernel/qeventloop.cpp:204
#45 0x00007f410251c069 in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1227
#46 0x0000560c8cb7c2dd in main ()

Reported using DrKonqi
Comment 1 Elvis Angelaccio 2015-11-23 13:08:52 UTC
Could you provide us the archive that caused the crash?
Comment 2 sedrubal 2015-11-24 02:10:47 UTC
Ok, I can now reproduce this bug every time:

1. mkdir test
2. open libreoffice and save a (empty) test/test.docx
3. zip -r test.zip test
4. ark test.zip
5. double click on test.docx inside ark

You will see a second instance of ark displaying the content of the docx file (as docx seems to be a archive, too - I didn't know that).

Mh ok, this is not, what you wanted to see:
6. close the second ark
7. close the ark containing the test.zip (because you are frustrated ;) )

You will get a message of the systems crash reporting tool (or at least I get this message every time ;) )
Comment 3 sedrubal 2015-11-24 02:11:38 UTC
Created attachment 95681 [details]
A zip containing a test docx
Comment 4 Elvis Angelaccio 2015-11-24 11:29:38 UTC
Sounds like a duplicate of #341187, even though the backtrace is different. I will investigate (btw the crash is not reproducible with Ark 15.12).
Comment 5 Elvis Angelaccio 2015-11-24 11:55:51 UTC
Just to be sure: can you provide the backtrace that you get after reproducing the crash as you described in comment #2?
Comment 6 sedrubal 2015-11-24 14:30:13 UTC
Yes, of course:

-- 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  0x0000000000000000 in  ()
#7  0x00007fecbb091c3a in QWidget::ensurePolished() const (this=0x55d005abd9a0) at kernel/qwidget.cpp:9733
#8  0x00007fecbb4b5c79 in QSplitter::sizes() const (this=<optimized out>) at widgets/qsplitter.cpp:1649
#9  0x00007feca0c5b84b in Ark::Part::saveSplitterSizes() () at /usr/lib64/kde4/arkpart.so
#10 0x00007feca0c5ba99 in Ark::Part::~Part() () at /usr/lib64/kde4/arkpart.so
#11 0x00007feca0c5bb39 in Ark::Part::~Part() () at /usr/lib64/kde4/arkpart.so
#12 0x00007fecba10fd21 in QObjectPrivate::deleteChildren() (this=this@entry=0x55d005b676f0) at kernel/qobject.cpp:1935
#13 0x00007fecbb094b12 in QWidget::~QWidget() (this=0x55d005b67120, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1679
#14 0x00007feca0c68ff4 in ArkViewer::~ArkViewer() () at /usr/lib64/kde4/arkpart.so
#15 0x00007fecba10fd21 in QObjectPrivate::deleteChildren() (this=this@entry=0x55d0058fb450) at kernel/qobject.cpp:1935
#16 0x00007fecbb094b12 in QWidget::~QWidget() (this=0x55d0058f8fc0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1679
#17 0x00007fecbb4b6149 in QSplitter::~QSplitter() (this=0x55d0058f8fc0, __in_chrg=<optimized out>) at widgets/qsplitter.cpp:1056
#18 0x00007fecbccbca2f in KParts::Part::~Part() (this=0x55d0058f4c40, __vtt_parm=0x7feca0e80320, __in_chrg=<optimized out>) at ../../kparts/part.cpp:209
#19 0x00007feca0c5badd in Ark::Part::~Part() () at /usr/lib64/kde4/arkpart.so
#20 0x00007feca0c5bb39 in Ark::Part::~Part() () at /usr/lib64/kde4/arkpart.so
#21 0x000055d003bd501e in MainWindow::~MainWindow() ()
#22 0x000055d003bd50f9 in MainWindow::~MainWindow() ()
#23 0x00007fecba111848 in QObject::event(QEvent*) (this=this@entry=0x55d0057d9ff0, e=e@entry=0x55d005b6bb90) at kernel/qobject.cpp:1203
#24 0x00007fecbb0955ac in QWidget::event(QEvent*) (this=this@entry=0x55d0057d9ff0, event=event@entry=0x55d005b6bb90) at kernel/qwidget.cpp:8859
#25 0x00007fecbb475393 in QMainWindow::event(QEvent*) (this=this@entry=0x55d0057d9ff0, event=event@entry=0x55d005b6bb90) at widgets/qmainwindow.cpp:1478
#26 0x00007fecbbe929a1 in KMainWindow::event(QEvent*) (this=this@entry=0x55d0057d9ff0, ev=ev@entry=0x55d005b6bb90) at ../../kdeui/widgets/kmainwindow.cpp:1126
#27 0x00007fecbbed0069 in KXmlGuiWindow::event(QEvent*) (this=0x55d0057d9ff0, ev=0x55d005b6bb90) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#28 0x00007fecbb03e93c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=0x55d0056e32b0, receiver=0x55d0057d9ff0, e=0x55d005b6bb90) at kernel/qapplication.cpp:4565
#29 0x00007fecbb045796 in QApplication::notify(QObject*, QEvent*) (this=this@entry=0x7ffde063b9c0, receiver=receiver@entry=0x55d0057d9ff0, e=e@entry=0x55d005b6bb90) at kernel/qapplication.cpp:4351
#30 0x00007fecbbdca54a in KApplication::notify(QObject*, QEvent*) (this=0x7ffde063b9c0, receiver=0x55d0057d9ff0, event=0x55d005b6bb90) at ../../kdeui/kernel/kapplication.cpp:311
#31 0x00007fecba0f78dd in QCoreApplication::notifyInternal(QObject*, QEvent*) (this=0x7ffde063b9c0, receiver=receiver@entry=0x55d0057d9ff0, event=event@entry=0x55d005b6bb90) at kernel/qcoreapplication.cpp:955
#32 0x00007fecba0faef6 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (event=0x55d005b6bb90, receiver=0x55d0057d9ff0) at kernel/qcoreapplication.h:231
#33 0x00007fecba0faef6 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x55d00569ff50) at kernel/qcoreapplication.cpp:1579
#34 0x00007fecba0fb1d3 in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1472
#35 0x00007fecba127d1e in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) () at kernel/qcoreapplication.h:236
#36 0x00007fecba127d1e in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x55d0056ce670) at kernel/qeventdispatcher_glib.cpp:300
#37 0x00007fecb4af4e3a in g_main_context_dispatch (context=0x55d0056e3b90) at gmain.c:3154
#38 0x00007fecb4af4e3a in g_main_context_dispatch (context=context@entry=0x55d0056e3b90) at gmain.c:3769
#39 0x00007fecb4af51d0 in g_main_context_iterate (context=context@entry=0x55d0056e3b90, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3840
#40 0x00007fecb4af527c in g_main_context_iteration (context=0x55d0056e3b90, may_block=may_block@entry=1) at gmain.c:3901
#41 0x00007fecba127e8e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x55d0056a1820, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#42 0x00007fecbb0e73e6 in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#43 0x00007fecba0f6151 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffde063b8b0, flags=...) at kernel/qeventloop.cpp:149
#44 0x00007fecba0f64c5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffde063b8b0, flags=...) at kernel/qeventloop.cpp:204
#45 0x00007fecba0fc069 in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1227
#46 0x000055d003bd02dd in main ()
Comment 7 Elvis Angelaccio 2015-11-25 20:15:03 UTC
I can confirm that the crash is reproducible on Fedora 23 with KDE4 and Ark 15.04.3, with any archive which contains another archive (i.e. not necessarily docx files).
While the issue is exactly the same described in bug #341187, I'm not marking this report as duplicate because, for some reason, the backtrace is different. Since I cannot reproduce it on Ark 15.12, I'm assuming that the bug got fixed somewhere in the past months.
Comment 8 Elvis Angelaccio 2015-12-11 09:28:00 UTC
*** Bug 356475 has been marked as a duplicate of this bug. ***
Comment 9 Elvis Angelaccio 2015-12-23 21:56:19 UTC
*** Bug 357109 has been marked as a duplicate of this bug. ***