Bug 273285 - double clicking file, then closing one window before both load into ark crashes ark.
Summary: double clicking file, then closing one window before both load into ark cras...
Status: RESOLVED DUPLICATE of bug 193908
Alias: None
Product: ark
Classification: Applications
Component: general (show other bugs)
Version: 2.16
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Raphael Kubo da Costa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-14 19:35 UTC by paul summers
Modified: 2011-05-15 04:15 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description paul summers 2011-05-14 19:35:09 UTC
Application: ark (2.16)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-8-generic-pae i686
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:
I double clicked the file, then closed the top one.
- Unusual behavior I noticed:

double clicking the file, opens two ark instances, if i wait for both, they will open and there isn't a crash.
but if you close one while the file is being open(loaded), it crashes.

The crash can be reproduced every time.

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

Thread 2 (Thread 0xb1f62b70 (LWP 3710)):
[KCrash Handler]
#7  Kerfuffle::ReadOnlyArchiveInterface::entry (this=0x8ec9ff8, archiveEntry=...) at ../../../ark/kerfuffle/archiveinterface.cpp:83
#8  0xb221b5c8 in LibArchiveInterface::emitEntryFromArchiveEntry (this=0x8ec9ff8, aentry=0x8d9a810) at ../../../../ark/plugins/libarchive/libarchivehandler.cpp:649
#9  0xb221dcf3 in LibArchiveInterface::list (this=0x8ec9ff8) at ../../../../ark/plugins/libarchive/libarchivehandler.cpp:115
#10 0xb780fe85 in Kerfuffle::ListJob::doWork (this=0x8ec81a0) at ../../../ark/kerfuffle/jobs.cpp:158
#11 0xb7810ee1 in Kerfuffle::ListJob::qt_metacall (this=0x8ec81a0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xb1f61ecc) at ./jobs.moc:176
#12 0xb63076ba in QMetaObject::metacall (object=0x8ec81a0, cl=QMetaObject::InvokeMetaMethod, idx=31, argv=0xb1f61ecc) at kernel/qmetaobject.cpp:237
#13 0xb630a641 in QMetaMethod::invoke (this=0xb1f6205c, object=0x8ec81a0, connectionType=Qt::DirectConnection, returnValue=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1578
#14 0xb630b36d in QMetaObject::invokeMethod (obj=0x8ec81a0, member=0xb7821603 "doWork", type=Qt::DirectConnection, ret=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1151
#15 0xb780fb8e in invokeMethod (this=0x8ea9de0) at /usr/include/qt4/QtCore/qobjectdefs.h:408
#16 Kerfuffle::Job::Private::run (this=0x8ea9de0) at ../../../ark/kerfuffle/jobs.cpp:54
#17 0xb620cda2 in QThreadPrivate::start (arg=0x8ea9de0) at thread/qthread_unix.cpp:320
#18 0xb5858e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#19 0xb602f73e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb51e6710 (LWP 3708)):
#0  0xb783d424 in __kernel_vsyscall ()
#1  0xb585d48c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb603d3fd in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb620d467 in wait (this=0x8ec9540, mutex=0x8ec9528, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x8ec9540, mutex=0x8ec9528, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0xb620c4cf in QThread::wait (this=0x8ea9de0, time=4294967295) at thread/qthread_unix.cpp:722
#6  0xb780fa13 in Kerfuffle::Job::~Job (this=0x8ec81a0, __in_chrg=<value optimized out>) at ../../../ark/kerfuffle/jobs.cpp:81
#7  0xb7811aff in ~ListJob (this=0x8ec81a0, __in_chrg=<value optimized out>) at ../../../ark/kerfuffle/jobs.h:85
#8  Kerfuffle::ListJob::~ListJob (this=0x8ec81a0, __in_chrg=<value optimized out>) at ../../../ark/kerfuffle/jobs.h:85
#9  0xb6314b87 in QObjectPrivate::deleteChildren (this=0x8ec3078) at kernel/qobject.cpp:1964
#10 0xb631939f in QObject::~QObject (this=0x8e9b0b8, __in_chrg=<value optimized out>) at kernel/qobject.cpp:946
#11 0xb7812bd0 in ~Archive (this=0x8e9b0b8, __in_chrg=<value optimized out>) at ../../../ark/kerfuffle/archive.h:90
#12 Kerfuffle::ArchiveBase::~ArchiveBase (this=0x8e9b0b8, __in_chrg=<value optimized out>) at ../../../ark/kerfuffle/archivebase.cpp:51
#13 0xb7812c02 in Kerfuffle::ArchiveBase::~ArchiveBase (this=0x8e9b0b8, __in_chrg=<value optimized out>) at ../../../ark/kerfuffle/archivebase.cpp:53
#14 0xb2d9e23d in ArchiveModel::~ArchiveModel (this=0x8cc3770, __in_chrg=<value optimized out>) at ../../../ark/part/archivemodel.cpp:212
#15 0xb2d9e2a2 in ArchiveModel::~ArchiveModel (this=0x8cc3770, __in_chrg=<value optimized out>) at ../../../ark/part/archivemodel.cpp:217
#16 0xb6314b87 in QObjectPrivate::deleteChildren (this=0x8cc2cd8) at kernel/qobject.cpp:1964
#17 0xb631939f in QObject::~QObject (this=0x8cc9428, __in_chrg=<value optimized out>) at kernel/qobject.cpp:946
#18 0xb7743805 in KParts::Part::~Part (this=0x8cc9428, __vtt_parm=0xb2dab5ac, __in_chrg=<value optimized out>) at ../../kparts/part.cpp:190
#19 0xb7744b3a in KParts::ReadOnlyPart::~ReadOnlyPart (this=0x8cc9428, __vtt_parm=0xb2dab5a8, __in_chrg=<value optimized out>) at ../../kparts/part.cpp:462
#20 0xb7744c7f in KParts::ReadWritePart::~ReadWritePart (this=0x8cc9428, __vtt_parm=0xb2dab5a4, __in_chrg=<value optimized out>) at ../../kparts/part.cpp:775
#21 0xb2d8eb22 in Ark::Part::~Part (this=0x8cc9428, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../../ark/part/part.cpp:130
#22 0xb2d8eba2 in Ark::Part::~Part (this=0x8cc9428, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../../ark/part/part.cpp:136
#23 0x080546f1 in MainWindow::~MainWindow (this=0x8c88f38, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../../ark/app/mainwindow.cpp:72
#24 0x080547c2 in MainWindow::~MainWindow (this=0x8c88f38, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../../ark/app/mainwindow.cpp:74
#25 0xb6313bc5 in qDeleteInEventHandler (o=0x8c88f38) at kernel/qobject.cpp:3995
#26 0xb63163e8 in QObject::event (this=0x8c88f38, e=0xb16c43a0) at kernel/qobject.cpp:1209
#27 0xb6835b62 in QWidget::event (this=0x8c88f38, event=0xb16c43a0) at kernel/qwidget.cpp:8718
#28 0xb6c44a97 in QMainWindow::event (this=0x8c88f38, event=0xb16c43a0) at widgets/qmainwindow.cpp:1480
#29 0xb73ea2bc in KMainWindow::event (this=0x8c88f38, ev=0xb16c43a0) at ../../kdeui/widgets/kmainwindow.cpp:1100
#30 0xb742ab5f in KXmlGuiWindow::event (this=0x8c88f38, ev=0xb16c43a0) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#31 0xb67ddd24 in QApplicationPrivate::notify_helper (this=0x8bf8db0, receiver=0x8c88f38, e=0xb16c43a0) at kernel/qapplication.cpp:4462
#32 0xb67e297b in QApplication::notify (this=0xbf9473ec, receiver=0x8c88f38, e=0xb16c43a0) at kernel/qapplication.cpp:4427
#33 0xb730f3ca in KApplication::notify (this=0xbf9473ec, receiver=0x8c88f38, event=0xb16c43a0) at ../../kdeui/kernel/kapplication.cpp:311
#34 0xb63010bb in QCoreApplication::notifyInternal (this=0xbf9473ec, receiver=0x8c88f38, event=0xb16c43a0) at kernel/qcoreapplication.cpp:731
#35 0xb6304c79 in sendEvent (receiver=0x0, event_type=0, data=0x8bc0f50) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#36 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8bc0f50) at kernel/qcoreapplication.cpp:1372
#37 0xb6304e0d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1265
#38 0xb632e3c4 in sendPostedEvents (s=0x8bfbed0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#39 postEventSourceDispatch (s=0x8bfbed0) at kernel/qeventdispatcher_glib.cpp:277
#40 0xb57a5aa8 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#41 0xb57a6270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#42 0xb57a6524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#43 0xb632e53c in QEventDispatcherGlib::processEvents (this=0x8bc0aa8, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#44 0xb6891775 in QGuiEventDispatcherGlib::processEvents (this=0x8bc0aa8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#45 0xb6300289 in QEventLoop::processEvents (this=0xbf9472f4, flags=...) at kernel/qeventloop.cpp:149
#46 0xb6300522 in QEventLoop::exec (this=0xbf9472f4, flags=...) at kernel/qeventloop.cpp:201
#47 0xb6304ecc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#48 0xb67db8e7 in QApplication::exec () at kernel/qapplication.cpp:3736
#49 0x08053a27 in main (argc=) at ../../../ark/app/main.cpp:209

Possible duplicates by query: bug 272016, bug 269204, bug 269186, bug 268438, bug 268003.

Reported using DrKonqi
Comment 1 Raphael Kubo da Costa 2011-05-15 04:15:24 UTC

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