Bug 292714

Summary: Ark segmentation fault
Product: [Applications] ark Reporter: romain
Component: generalAssignee: Raphael Kubo da Costa <rakuco>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description romain 2012-01-28 19:17:20 UTC
Application: ark (2.18)
KDE Platform Version: 4.8.00 (4.8.0
Qt Version: 4.7.4
Operating System: Linux 3.0.0-15-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
I have open sda1.vfat-ptcl-img.gz.aa with Ark (Clonezilla  fille) and click on the name to extract it.
It was  making too many time so i closed Ark and it crashed.
This bug occur only when i close Ark before it finish to try to extract file.

I use kubuntu 11.10 with kde 4.8.

The crash can be reproduced every time.

-- Backtrace:
Application: Ark (ark), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f8b531e7780 (LWP 15434))]

Thread 2 (Thread 0x7f8b3f33e700 (LWP 15437)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f8b5014f9df in _L_lock_10501 () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007f8b5014dd71 in __GI___libc_free (mem=0x7f8b5046b1c0) at malloc.c:3736
#3  0x00007f8b5090e665 in socketNotifierSourceCheck (source=0x253c150) at kernel/qeventdispatcher_glib.cpp:92
#4  0x00007f8b4cc0e734 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f8b4cc0ef82 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f8b4cc0f429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f8b5090eed6 in QEventDispatcherGlib::processEvents (this=0x2367a30, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#8  0x00007f8b508e2cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#9  0x00007f8b508e2ef7 in QEventLoop::exec (this=0x7f8b3f33ddd0, flags=...) at kernel/qeventloop.cpp:201
#10 0x00007f8b507fa27f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#11 0x00007f8b508c5cbf in QInotifyFileSystemWatcherEngine::run (this=0x251fb50) at io/qfilesystemwatcher_inotify.cpp:248
#12 0x00007f8b507fcd05 in QThreadPrivate::start (arg=0x251fb50) at thread/qthread_unix.cpp:331
#13 0x00007f8b4d0e0efc in start_thread (arg=0x7f8b3f33e700) at pthread_create.c:304
#14 0x00007f8b501b289d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#15 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f8b531e7780 (LWP 15434)):
[KCrash Handler]
#6  malloc_consolidate (av=0x7f8b5046b1c0) at malloc.c:5161
#7  0x00007f8b5014a659 in malloc_consolidate (av=0x7f8b5046b1c0) at malloc.c:5115
#8  _int_free (av=0x7f8b5046b1c0, p=<optimized out>) at malloc.c:5034
#9  0x00007f8b5014dd7c in __GI___libc_free (mem=<optimized out>) at malloc.c:3738
#10 0x00007f8b513a1275 in QImageData::~QImageData (this=0x2698890, __in_chrg=<optimized out>) at image/qimage.cpp:264
#11 0x00007f8b513a1303 in QImage::~QImage (this=0x26967f0, __in_chrg=<optimized out>) at image/qimage.cpp:1321
#12 0x00007f8b513ca2cf in QRasterPixmapData::~QRasterPixmapData (this=0x26967c0, __in_chrg=<optimized out>) at image/qpixmap_raster.cpp:91
#13 0x00007f8b513ca309 in QRasterPixmapData::~QRasterPixmapData (this=0x26967c0, __in_chrg=<optimized out>) at image/qpixmap_raster.cpp:93
#14 0x00007f8b513bafb9 in ~QExplicitlySharedDataPointer (this=0x2680378, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qshareddata.h:161
#15 ~QExplicitlySharedDataPointer (this=0x2680378, __in_chrg=<optimized out>) at image/qpixmap.cpp:321
#16 QPixmap::~QPixmap (this=<optimized out>, __in_chrg=<optimized out>) at image/qpixmap.cpp:321
#17 0x00007f8b475d6e17 in QVector<QPixmap>::free (x=0x26802b0, this=<optimized out>) at /usr/include/qt4/QtCore/qvector.h:438
#18 0x00007f8b475d7c1e in ~QVector (this=0x23a3728, __in_chrg=<optimized out>) at /usr/include/qt4/QtCore/qvector.h:119
#19 ~TileSet (this=0x23a3720, __in_chrg=<optimized out>) at ../../../libs/oxygen/oxygentileset.h:77
#20 Oxygen::TileSet::~TileSet (this=0x23a3720, __in_chrg=<optimized out>) at ../../../libs/oxygen/oxygentileset.h:77
#21 0x00007f8b476122ef in clear (this=<optimized out>) at /usr/include/qt4/QtCore/qcache.h:139
#22 ~QCache (this=<optimized out>, __in_chrg=<optimized out>) at /usr/include/qt4/QtCore/qcache.h:103
#23 ~BaseCache (this=<optimized out>, __in_chrg=<optimized out>) at ../../../libs/oxygen/oxygenhelper.h:63
#24 clear (this=0x20956d0) at /usr/include/qt4/QtCore/qcache.h:139
#25 ~QCache (this=0x20956d0, __in_chrg=<optimized out>) at /usr/include/qt4/QtCore/qcache.h:103
#26 ~BaseCache (this=0x20956d0, __in_chrg=<optimized out>) at ../../../libs/oxygen/oxygenhelper.h:63
#27 ~Cache (this=0x20956d0, __in_chrg=<optimized out>) at ../../../libs/oxygen/oxygenhelper.h:112
#28 Oxygen::StyleHelper::~StyleHelper (this=0x2095370, __in_chrg=<optimized out>) at ../../../kstyles/oxygen/oxygenstylehelper.h:59
#29 0x00007f8b47612639 in Oxygen::StyleHelper::~StyleHelper (this=0x2095370, __in_chrg=<optimized out>) at ../../../kstyles/oxygen/oxygenstylehelper.h:59
#30 0x00007f8b475dcb5d in Oxygen::Style::~Style (this=0x2093b40, __in_chrg=<optimized out>) at ../../../kstyles/oxygen/oxygenstyle.cpp:198
#31 0x00007f8b475dcba9 in Oxygen::Style::~Style (this=0x2093b40, __in_chrg=<optimized out>) at ../../../kstyles/oxygen/oxygenstyle.cpp:198
#32 0x00007f8b512eee75 in QApplication::~QApplication (this=0x7ffface3ebc0, __in_chrg=<optimized out>) at kernel/qapplication.cpp:1168
#33 0x000000000040a517 in main (argc=4, argv=0x7ffface3f818) at ../../app/main.cpp:108

Possible duplicates by query: bug 291245, bug 290682.

Reported using DrKonqi
Comment 1 Raphael Kubo da Costa 2012-01-28 19:40:56 UTC
Crashing when Ark is closed while extracting is bug 193908, but the backtrace looks different. What happens if you change your widget style from Oxygen to something else and retry?
Comment 2 romain 2012-01-28 20:12:19 UTC
When i change to Androbit Ark crash too.

with this backtrace :

Application: Ark (ark), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fc408baa780 (LWP 16565))]

Thread 2 (Thread 0x7fc3f4d01700 (LWP 16568)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007fc405b129df in _L_lock_10501 () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007fc405b10d71 in __GI___libc_free (mem=0x7fc405e2e1c0) at malloc.c:3736
#3  0x00007fc4062d1665 in socketNotifierSourceCheck (source=0xca2f50) at kernel/qeventdispatcher_glib.cpp:92
#4  0x00007fc4025d1734 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fc4025d1f82 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007fc4025d2429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007fc4062d1ed6 in QEventDispatcherGlib::processEvents (this=0x819670, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#8  0x00007fc4062a5cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#9  0x00007fc4062a5ef7 in QEventLoop::exec (this=0x7fc3f4d00dd0, flags=...) at kernel/qeventloop.cpp:201
#10 0x00007fc4061bd27f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#11 0x00007fc406288cbf in QInotifyFileSystemWatcherEngine::run (this=0xc94340) at io/qfilesystemwatcher_inotify.cpp:248
#12 0x00007fc4061bfd05 in QThreadPrivate::start (arg=0xc94340) at thread/qthread_unix.cpp:331
#13 0x00007fc402aa3efc in start_thread (arg=0x7fc3f4d01700) at pthread_create.c:304
#14 0x00007fc405b7589d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#15 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fc408baa780 (LWP 16565)):
[KCrash Handler]
#6  0x00007fc405b0cdc4 in malloc_consolidate (av=0x7fc405e2e1c0) at malloc.c:5161
#7  0x00007fc405b0d659 in malloc_consolidate (av=0x7fc405e2e1c0) at malloc.c:5115
#8  _int_free (av=0x7fc405e2e1c0, p=<optimized out>) at malloc.c:5034
#9  0x00007fc405b10d7c in __GI___libc_free (mem=<optimized out>) at malloc.c:3738
#10 0x00007fc406d64275 in QImageData::~QImageData (this=0xd1c300, __in_chrg=<optimized out>) at image/qimage.cpp:264
#11 0x00007fc406d64303 in QImage::~QImage (this=0xd17d90, __in_chrg=<optimized out>) at image/qimage.cpp:1321
#12 0x00007fc406d8d2cf in QRasterPixmapData::~QRasterPixmapData (this=0xd17d60, __in_chrg=<optimized out>) at image/qpixmap_raster.cpp:91
#13 0x00007fc406d8d309 in QRasterPixmapData::~QRasterPixmapData (this=0xd17d60, __in_chrg=<optimized out>) at image/qpixmap_raster.cpp:93
#14 0x00007fc406d7dfb9 in ~QExplicitlySharedDataPointer (this=0xd27ec0, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qshareddata.h:161
#15 ~QExplicitlySharedDataPointer (this=0xd27ec0, __in_chrg=<optimized out>) at image/qpixmap.cpp:321
#16 QPixmap::~QPixmap (this=<optimized out>, __in_chrg=<optimized out>) at image/qpixmap.cpp:321
#17 0x00007fc3fcf99e17 in QVector<QPixmap>::free (x=0xd27de0, this=<optimized out>) at /usr/include/qt4/QtCore/qvector.h:438
#18 0x00007fc3fcf9ac1e in ~QVector (this=0xd0b7c8, __in_chrg=<optimized out>) at /usr/include/qt4/QtCore/qvector.h:119
#19 ~TileSet (this=0xd0b7c0, __in_chrg=<optimized out>) at ../../../libs/oxygen/oxygentileset.h:77
#20 Oxygen::TileSet::~TileSet (this=0xd0b7c0, __in_chrg=<optimized out>) at ../../../libs/oxygen/oxygentileset.h:77
#21 0x00007fc3fcfd2dc7 in QCache<unsigned long long, Oxygen::TileSet>::clear (this=0x798300) at /usr/include/qt4/QtCore/qcache.h:139
#22 0x00007fc3fcfd48d3 in ~QCache (this=0x798300, __in_chrg=<optimized out>) at /usr/include/qt4/QtCore/qcache.h:103
#23 ~BaseCache (this=0x798300, __in_chrg=<optimized out>) at ../../../libs/oxygen/oxygenhelper.h:63
#24 Oxygen::StyleHelper::~StyleHelper (this=0x797d60, __in_chrg=<optimized out>) at ../../../kstyles/oxygen/oxygenstylehelper.h:59
#25 0x00007fc3fcfd5639 in Oxygen::StyleHelper::~StyleHelper (this=0x797d60, __in_chrg=<optimized out>) at ../../../kstyles/oxygen/oxygenstylehelper.h:59
#26 0x00007fc3fcf9fb5d in Oxygen::Style::~Style (this=0x72ce30, __in_chrg=<optimized out>) at ../../../kstyles/oxygen/oxygenstyle.cpp:198
#27 0x00007fc3fcf9fba9 in Oxygen::Style::~Style (this=0x72ce30, __in_chrg=<optimized out>) at ../../../kstyles/oxygen/oxygenstyle.cpp:198
#28 0x00007fc406cb1e75 in QApplication::~QApplication (this=0x7fff83760230, __in_chrg=<optimized out>) at kernel/qapplication.cpp:1168
#29 0x000000000040a517 in main (argc=4, argv=0x7fff83760e88) at ../../app/main.cpp:108
Comment 3 Raphael Kubo da Costa 2012-01-28 20:19:03 UTC
(In reply to comment #2)
> When i change to Androbit Ark crash too.

Isn't Androbit a desktop theme? I was talking about widget styles (System Settings -> Application Appearance -> Style).
Comment 4 romain 2012-01-29 22:06:27 UTC
Ho okay sorry. When i change for Cleanlooks, i have this backtrace :

Application: Ark (ark), signal: Aborted
[Current thread is 1 (Thread 0x7f2b038fd780 (LWP 19743))]

Thread 2 (Thread 0x7f2aeff28700 (LWP 19747)):
#0  0x00007f2afd323f98 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f2afd324dfd in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2afd325429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2b01024f3e in QEventDispatcherGlib::processEvents (this=0x266fcb0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f2b00ff8cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f2b00ff8ef7 in QEventLoop::exec (this=0x7f2aeff27dd0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f2b00f1027f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007f2b00fdbcbf in QInotifyFileSystemWatcherEngine::run (this=0x2a89310) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f2b00f12d05 in QThreadPrivate::start (arg=0x2a89310) at thread/qthread_unix.cpp:331
#9  0x00007f2afd7f6efc in start_thread (arg=0x7f2aeff28700) at pthread_create.c:304
#10 0x00007f2b008c889d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f2b038fd780 (LWP 19743)):
[KCrash Handler]
#6  0x00007f2b0081d3a5 in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f2b00820b0b in __GI_abort () at abort.c:92
#8  0x00007f2b00855113 in __libc_message (do_abort=2, fmt=0x7f2b009460d8 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#9  0x00007f2b0085fa96 in malloc_printerr (action=3, str=0x7f2b009430d2 "corrupted double-linked list", ptr=<optimized out>) at malloc.c:6283
#10 0x00007f2b0085fea0 in malloc_consolidate (av=0x7f2ae8000020) at malloc.c:5169
#11 0x00007f2b00860659 in malloc_consolidate (av=0x7f2ae8000020) at malloc.c:5115
#12 _int_free (av=0x7f2ae8000020, p=<optimized out>) at malloc.c:5034
#13 0x00007f2b00863d7c in __GI___libc_free (mem=<optimized out>) at malloc.c:3738
#14 0x00007f2b01e6b8e9 in ~QVector (this=0x29c81a0, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qvector.h:119
#15 QToolBarLayout::~QToolBarLayout (this=0x29c8160, __in_chrg=<optimized out>) at widgets/qtoolbarlayout.cpp:98
#16 0x00007f2b01e6b939 in QToolBarLayout::~QToolBarLayout (this=0x29c8160, __in_chrg=<optimized out>) at widgets/qtoolbarlayout.cpp:108
#17 0x00007f2b01a46fff in QWidget::~QWidget (this=0x29c7ec0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1563
#18 0x00007f2b02801ba9 in KToolBar::~KToolBar (this=0x29c7ec0, __in_chrg=<optimized out>) at ../../kdeui/widgets/ktoolbar.cpp:790
#19 0x00007f2b0100bd75 in QObjectPrivate::deleteChildren (this=0x2687be0) at kernel/qobject.cpp:1955
#20 0x00007f2b01a4712a in QWidget::~QWidget (this=0x264d400, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1651
#21 0x000000000040ddab in MainWindow::~MainWindow (this=0x264d400, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../app/mainwindow.cpp:67
#22 0x000000000040de39 in MainWindow::~MainWindow (this=0x264d400, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../app/mainwindow.cpp:74
#23 0x00007f2b01010a88 in QObject::event (this=0x264d400, e=<optimized out>) at kernel/qobject.cpp:1200
#24 0x00007f2b01a4b73b in QWidget::event (this=0x264d400, event=0x264a490) at kernel/qwidget.cpp:8754
#25 0x00007f2b01e0ddab in QMainWindow::event (this=0x264d400, event=0x264a490) at widgets/qmainwindow.cpp:1478
#26 0x00007f2b0280cde8 in KXmlGuiWindow::event (this=0x264d400, ev=0x264a490) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#27 0x00007f2b019fb474 in notify_helper (e=0x264a490, receiver=0x264d400, this=0x255aac0) at kernel/qapplication.cpp:4486
#28 QApplicationPrivate::notify_helper (this=0x255aac0, receiver=0x264d400, e=0x264a490) at kernel/qapplication.cpp:4458
#29 0x00007f2b01a002e1 in QApplication::notify (this=0x7fff34c63dc0, receiver=0x264d400, e=0x264a490) at kernel/qapplication.cpp:4365
#30 0x00007f2b02710ae6 in KApplication::notify (this=0x7fff34c63dc0, receiver=0x264d400, event=0x264a490) at ../../kdeui/kernel/kapplication.cpp:311
#31 0x00007f2b00ff9afc in QCoreApplication::notifyInternal (this=0x7fff34c63dc0, receiver=0x264d400, event=0x264a490) at kernel/qcoreapplication.cpp:787
#32 0x00007f2b00ffd51f in sendEvent (event=0x264a490, receiver=0x264d400) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#33 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x252c8b0) at kernel/qcoreapplication.cpp:1428
#34 0x00007f2b01024a73 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#35 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#36 0x00007f2afd324a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007f2afd325258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007f2afd325429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007f2b01024ed6 in QEventDispatcherGlib::processEvents (this=0x252dfa0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#40 0x00007f2b01aa310e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#41 0x00007f2b00ff8cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#42 0x00007f2b00ff8ef7 in QEventLoop::exec (this=0x7fff34c63d50, flags=...) at kernel/qeventloop.cpp:201
#43 0x00007f2b00ffd789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#44 0x000000000040a738 in main (argc=4, argv=0x7fff34c64a18) at ../../app/main.cpp:209
Comment 5 Raphael Kubo da Costa 2012-01-29 22:31:37 UTC
Thanks for the investigation. The backtraces look quite weird, but judging from your description of how to reproduce the crash, it's probably "just" bug 193908, so I'm marking this report as a duplicate of it.

*** This bug has been marked as a duplicate of bug 193908 ***