Bug 244540

Summary: Closed archive open from unmiunted device.
Product: [Applications] ark Reporter: damien.carol
Component: generalAssignee: Harald Hvaal <metellius>
Status: RESOLVED WORKSFORME    
Severity: crash CC: rakuco
Priority: NOR Keywords: investigated, triaged
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description damien.carol 2010-07-13 22:17:00 UTC
Application: ark (2.14)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-23-generic x86_64
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
I mount a hard drive.
Opened archive.
Close the archive but do not close ark.
Unmount drive
Close ark but ... epic fail.

 -- Backtrace:
Application: Ark (ark), signal: Segmentation fault
pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
	in ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
[Current thread is 1 (Thread 0x7f4cbb0a1760 (LWP 5100))]

Thread 3 (Thread 0x7f4cac07f710 (LWP 5103)):
[KCrash Handler]
#5  0x00007f4cbac9b8b7 in Kerfuffle::ReadOnlyArchiveInterface::error (this=0x7f4ca447f3c8, message=..., details=...) at ../../../ark/kerfuffle/archiveinterface.cpp:75
#6  0x00007f4cac2c8390 in LibArchiveInterface::list (this=0xae3f30) at ../../../../ark/plugins/libarchive/libarchivehandler.cpp:94
#7  0x00007f4cbac9d11f in Kerfuffle::ListJob::doWork (this=0xae2e90) at ../../../ark/kerfuffle/jobs.cpp:133
#8  0x00007f4cbac9c4b9 in Kerfuffle::Job::qt_metacall (this=0xae2e90, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7f4cac07e3f0) at ./jobs.moc:87
#9  0x00007f4cbac9e860 in Kerfuffle::ListJob::qt_metacall (this=0x7f4ca447f3c8, _c=58724352, _id=-1549274840, _a=0x650020) at ./jobs.moc:169
#10 0x00007f4cb8ae6e3f in QMetaObject::activate (sender=0x7f4cac07ee00, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x650020) at kernel/qobject.cpp:3293
#11 0x00007f4cb8ae3a63 in QObject::event (this=0x7f4cac07ee00, e=0x7f4cac07eb40) at kernel/qobject.cpp:1212
#12 0x00007f4cb8fa722c in QApplicationPrivate::notify_helper (this=0x741c90, receiver=0x7f4cac07ee00, e=0x7f4cac07eb40) at kernel/qapplication.cpp:4300
#13 0x00007f4cb8fad6fb in QApplication::notify (this=0x7fffe67ed5a0, receiver=0x7f4cac07ee00, e=0x7f4cac07eb40) at kernel/qapplication.cpp:4183
#14 0x00007f4cba153526 in KApplication::notify (this=0x7fffe67ed5a0, receiver=0x7f4cac07ee00, event=0x7f4cac07eb40) at ../../kdeui/kernel/kapplication.cpp:302
#15 0x00007f4cb8ad406c in QCoreApplication::notifyInternal (this=0x7fffe67ed5a0, receiver=0x7f4cac07ee00, event=0x7f4cac07eb40) at kernel/qcoreapplication.cpp:704
#16 0x00007f4cb8b00d42 in QCoreApplication::sendEvent (this=0x9d8120) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#17 QTimerInfoList::activateTimers (this=0x9d8120) at kernel/qeventdispatcher_unix.cpp:603
#18 0x00007f4cb8afd824 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#19 0x00007f4cb49518c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#20 0x00007f4cb4955748 in ?? () from /lib/libglib-2.0.so.0
#21 0x00007f4cb49558fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#22 0x00007f4cb8afd513 in QEventDispatcherGlib::processEvents (this=0x9d7ab0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#23 0x00007f4cb8ad2992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#24 0x00007f4cb8ad2d6c in QEventLoop::exec (this=0x7f4cac07edb0, flags=) at kernel/qeventloop.cpp:201
#25 0x00007f4cb89dcd59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#26 0x00007f4cbac9f08a in Kerfuffle::ThreadExecution::run (this=0x9d9080) at ../../../ark/kerfuffle/threading.cpp:47
#27 0x00007f4cb89df775 in QThreadPrivate::start (arg=0x9d9080) at thread/qthread_unix.cpp:248
#28 0x00007f4cb63579ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#29 0x00007f4cb83b56fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#30 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f4ca8e0b710 (LWP 5106)):
#0  0x00007f4cb83a8f83 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f4cb49554a9 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f4cb49558fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f4cb8afd566 in QEventDispatcherGlib::processEvents (this=0xa04ef0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007f4cb8ad2992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f4cb8ad2d6c in QEventLoop::exec (this=0x7f4ca8e0adb0, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f4cb89dcd59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007f4cb8ab3178 in QInotifyFileSystemWatcherEngine::run (this=0xb30420) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f4cb89df775 in QThreadPrivate::start (arg=0xb30420) at thread/qthread_unix.cpp:248
#9  0x00007f4cb63579ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f4cb83b56fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f4cbb0a1760 (LWP 5100)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f4cb89e072b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x9d9ab0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x9d9ab0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f4cb89df814 in QThread::wait (this=<value optimized out>, time=18446744073709551615) at thread/qthread_unix.cpp:619
#4  0x00007f4cbac9c8ec in ~Job (this=0xae2e90, __in_chrg=<value optimized out>) at ../../../ark/kerfuffle/jobs.cpp:56
#5  0x00007f4cbac9eda2 in ~ListJob (this=0xae2e90, __in_chrg=<value optimized out>) at ../../../ark/kerfuffle/jobs.h:83
#6  0x00007f4cb8ae2a5c in QObjectPrivate::deleteChildren (this=0xae2f40) at kernel/qobject.cpp:1986
#7  0x00007f4cb8ae9ae4 in ~QObject (this=<value optimized out>, __in_chrg=<value optimized out>) at kernel/qobject.cpp:975
#8  0x00007f4cbac9f70a in ~ArchiveBase (this=0xae6510, __in_chrg=<value optimized out>) at ../../../ark/kerfuffle/archivebase.cpp:53
#9  0x00007f4cac6f410d in ~ArchiveModel (this=0x8bbaf0, __in_chrg=<value optimized out>) at ../../../ark/part/archivemodel.cpp:199
#10 0x00007f4cb8ae2a5c in QObjectPrivate::deleteChildren (this=0x9e8410) at kernel/qobject.cpp:1986
#11 0x00007f4cb8ae9ae4 in ~QObject (this=<value optimized out>, __in_chrg=<value optimized out>) at kernel/qobject.cpp:975
#12 0x00007f4cbaa57002 in ~Part (this=0x9e81a0, __vtt_parm=0x7f4cac9037f8, __in_chrg=<value optimized out>) at ../../kparts/part.cpp:212
#13 0x00007f4cac6e71eb in ~Part (this=0x9e81a0, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../../ark/part/part.cpp:132
#14 0x000000000040aa2b in ~MainWindow (this=0x895020, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../../ark/app/mainwindow.cpp:74
#15 0x00007f4cb8ae3d6d in QObject::event (this=0x895020, e=0x9fb510) at kernel/qobject.cpp:1231
#16 0x00007f4cb8ffcbdf in QWidget::event (this=0x895020, event=0x9fb510) at kernel/qwidget.cpp:8455
#17 0x00007f4cb93bfcab in QMainWindow::event (this=0x895020, event=0x9fb510) at widgets/qmainwindow.cpp:1433
#18 0x00007f4cba26a6f3 in KXmlGuiWindow::event (this=0x9da02c, ev=0x80) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:131
#19 0x00007f4cb8fa722c in QApplicationPrivate::notify_helper (this=0x741c90, receiver=0x895020, e=0x9fb510) at kernel/qapplication.cpp:4300
#20 0x00007f4cb8fad6fb in QApplication::notify (this=0x7fffe67ed5a0, receiver=0x895020, e=0x9fb510) at kernel/qapplication.cpp:4183
#21 0x00007f4cba153526 in KApplication::notify (this=0x7fffe67ed5a0, receiver=0x895020, event=0x9fb510) at ../../kdeui/kernel/kapplication.cpp:302
#22 0x00007f4cb8ad406c in QCoreApplication::notifyInternal (this=0x7fffe67ed5a0, receiver=0x895020, event=0x9fb510) at kernel/qcoreapplication.cpp:704
#23 0x00007f4cb8ad67e7 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x728c30) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#24 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x728c30) at kernel/qcoreapplication.cpp:1345
#25 0x00007f4cb8afd9d3 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#26 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#27 0x00007f4cb49518c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#28 0x00007f4cb4955748 in ?? () from /lib/libglib-2.0.so.0
#29 0x00007f4cb49558fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#30 0x00007f4cb8afd513 in QEventDispatcherGlib::processEvents (this=0x728380, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#31 0x00007f4cb905746e in QGuiEventDispatcherGlib::processEvents (this=0x9da02c, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#32 0x00007f4cb8ad2992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#33 0x00007f4cb8ad2d6c in QEventLoop::exec (this=0x7fffe67ed4f0, flags=) at kernel/qeventloop.cpp:201
#34 0x00007f4cb8ad6aab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#35 0x0000000000409c97 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../../ark/app/main.cpp:210

Reported using DrKonqi
Comment 1 Raphael Kubo da Costa 2010-07-21 04:13:38 UTC
(In reply to comment #0)
> -- Information about the crash:
> I mount a hard drive.
> Opened archive.
> Close the archive but do not close ark.
> Unmount drive
> Close ark but ... epic fail.

What do you mean by "closed the archive but do not close ark"?
Comment 2 damien.carol 2010-07-21 18:15:54 UTC
yes !

I'm sorry, I'm not a native english speaker.

Regards,

Damien Carol

2010/7/21 Raphael Kubo da Costa <kubito@gmail.com>

> https://bugs.kde.org/show_bug.cgi?id=244540
>
>
>
>
>
> --- Comment #1 from Raphael Kubo da Costa <kubito gmail com>  2010-07-21
> 04:13:38 ---
> (In reply to comment #0)
> > -- Information about the crash:
> > I mount a hard drive.
> > Opened archive.
> > Close the archive but do not close ark.
> > Unmount drive
> > Close ark but ... epic fail.
>
> What do you mean by "closed the archive but do not close ark"?
>
> --
> Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You reported the bug.
>
Comment 3 Raphael Kubo da Costa 2010-07-23 02:37:15 UTC
Alright, but please notice that my question was not a "yes/no" question :)

I did not understand what you meant by "closed the archive but do not close ark", as I don't see how that is possible.
Comment 4 damien.carol 2010-07-23 11:03:10 UTC
I can reproduce this bug.
I will redo it.
do you want the archive that make ark crash ?

Wait and see.

Regards,

Damien Carol
ps: I'm in GMT+1 zone, so be patient...

2010/7/23 Raphael Kubo da Costa <kubito@gmail.com>

> https://bugs.kde.org/show_bug.cgi?id=244540
>
>
>
>
>
> --- Comment #3 from Raphael Kubo da Costa <kubito gmail com>  2010-07-23
> 02:37:15 ---
> Alright, but please notice that my question was not a "yes/no" question :)
>
> I did not understand what you meant by "closed the archive but do not close
> ark", as I don't see how that is possible.
>
> --
> Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You reported the bug.
>
Comment 5 Raphael Kubo da Costa 2010-07-23 17:11:18 UTC
OK, please attach the file that causes this crash to the report.
Comment 6 Raphael Kubo da Costa 2010-08-05 05:15:05 UTC
Closing while the file is not provided.
Comment 7 Andrew Crouthamel 2018-09-20 22:10:42 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 8 Andrew Crouthamel 2018-10-21 04:50:33 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!