https://bugs.kde.org/show_bug.cgi?id=385028
Bug ID: 385028 Summary: Attempting to extract password-protected 7zip file with wrong password crashes Ark Product: ark Version: 17.04.3 Platform: Compiled Sources OS: Linux Status: UNCONFIRMED Keywords: drkonqi Severity: crash Priority: NOR Component: general Assignee: elvis.angelac...@kde.org Reporter: marti...@posteo.de CC: rthoms...@gmail.com Target Milestone: --- Application: ark (17.04.3) (Compiled from sources) Qt Version: 5.7.1 Frameworks Version: 5.37.0 Operating System: Linux 4.12.12-gentoo x86_64 Distribution (Platform): Gentoo Packages -- Information about the crash: - What I was doing when the application crashed: I tried to extract a file from a password-protected 7-zip archive, but accidentally entered the wrong password. Ark crashed on the second attempt as well (using a deliberately wrong password). The crash can be reproduced every time. -- Backtrace: Application: Ark (ark), signal: Segmentation fault Using host libthread_db library "/lib64/libthread_db.so.1". [Current thread is 1 (Thread 0x7f2ae28a2800 (LWP 1700))] Thread 3 (Thread 0x7f2ad57b0700 (LWP 1702)): #0 0x00007f2aee886d7d in poll () at ../sysdeps/unix/syscall-template.S:84 #1 0x00007f2ae9d5f80c in g_main_context_poll (priority=2147483647, n_fds=1, fds=0x7f2ad0003020, timeout=<optimized out>, context=0x7f2ad0000990) at /var/tmp/portage/dev-libs/glib-2.50.3-r1/work/glib-2.50.3/glib/gmain.c:4228 #2 g_main_context_iterate (context=context@entry=0x7f2ad0000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /var/tmp/portage/dev-libs/glib-2.50.3-r1/work/glib-2.50.3/glib/gmain.c:3924 #3 0x00007f2ae9d5f91c in g_main_context_iteration (context=0x7f2ad0000990, may_block=may_block@entry=1) at /var/tmp/portage/dev-libs/glib-2.50.3-r1/work/glib-2.50.3/glib/gmain.c:3990 #4 0x00007f2aef1c597b in QEventDispatcherGlib::processEvents (this=0x7f2ad00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425 #5 0x00007f2aef1774ea in QEventLoop::exec (this=this@entry=0x7f2ad57afd90, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212 #6 0x00007f2aeefdc014 in QThread::exec (this=this@entry=0x7f2af2014d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:507 #7 0x00007f2af1fa06a5 in QDBusConnectionManager::run (this=0x7f2af2014d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178 #8 0x00007f2aeefe027c in QThreadPrivate::start (arg=0x7f2af2014d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:368 #9 0x00007f2aeba3b3d4 in start_thread (arg=0x7f2ad57b0700) at pthread_create.c:333 #10 0x00007f2aee88fe3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 2 (Thread 0x7f2adff0a700 (LWP 1701)): #0 0x00007f2aee886d7d in poll () at ../sysdeps/unix/syscall-template.S:84 #1 0x00007f2ae8cee862 in poll (__timeout=-1, __nfds=1, __fds=0x7f2adff09cc0) at /usr/include/bits/poll2.h:46 #2 _xcb_conn_wait (c=c@entry=0xaaf990, cond=cond@entry=0xaaf9d0, vector=vector@entry=0x0, count=count@entry=0x0) at /var/tmp/portage/x11-libs/libxcb-1.12-r2/work/libxcb-1.12/src/xcb_conn.c:479 #3 0x00007f2ae8cf0677 in xcb_wait_for_event (c=0xaaf990) at /var/tmp/portage/x11-libs/libxcb-1.12-r2/work/libxcb-1.12/src/xcb_in.c:693 #4 0x00007f2ae2470b69 in QXcbEventReader::run (this=0xaba050) at qxcbconnection.cpp:1343 #5 0x00007f2aeefe027c in QThreadPrivate::start (arg=0xaba050) at thread/qthread_unix.cpp:368 #6 0x00007f2aeba3b3d4 in start_thread (arg=0x7f2adff0a700) at pthread_create.c:333 #7 0x00007f2aee88fe3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 1 (Thread 0x7f2ae28a2800 (LWP 1700)): [KCrash Handler] #6 std::__atomic_base<int>::load (__m=std::memory_order_relaxed, this=0x300000656d614e) at /usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include/g++-v5/bits/atomic_base.h:396 #7 QAtomicOps<int>::load<int> (_q_value=...) at ../../include/QtCore/../../src/corelib/arch/qatomic_cxx11.h:227 #8 QBasicAtomicInteger<int>::load (this=0x300000656d614e) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:99 #9 QtPrivate::RefCount::ref (this=0x300000656d614e) at ../../include/QtCore/../../src/corelib/tools/qrefcount.h:55 #10 QList<QByteArray>::QList (this=0x127c9b8, l=...) at ../../include/QtCore/../../src/corelib/tools/qlist.h:805 #11 0x00007f2aef0c7ddf in QRingBuffer::QRingBuffer (this=0x127c9b8) at ../../include/QtCore/5.7.1/QtCore/private/../../../../../src/corelib/tools/qringbuffer_p.h:63 #12 QVector<QRingBuffer>::reallocData (this=0x10992a0, asize=4, aalloc=<optimized out>, options=...) at ../../include/QtCore/../../src/corelib/tools/qvector.h:559 #13 0x00007f2aef0d08f6 in QVector<QRingBuffer>::detach (this=0x10992a0) at ../../include/QtCore/../../src/corelib/tools/qvector.h:390 #14 QVector<QRingBuffer>::data (this=0x10992a0) at ../../include/QtCore/../../src/corelib/tools/qvector.h:129 #15 QVector<QRingBuffer>::operator[] (i=0, this=0x10992a0) at ../../include/QtCore/../../src/corelib/tools/qvector.h:438 #16 QProcessPrivate::tryReadFromChannel (this=this@entry=0x1099220, channel=channel@entry=0x1099348) at io/qprocess.cpp:1020 #17 0x00007f2aef0d0b0c in QProcessPrivate::_q_canReadStandardOutput (this=this@entry=0x1099220) at io/qprocess.cpp:1083 #18 0x00007f2aef11dc5e in QProcessPrivate::waitForFinished (this=this@entry=0x1099220, msecs=msecs@entry=5) at io/qprocess_unix.cpp:889 #19 0x00007f2aef0caedf in QProcess::waitForFinished (this=<optimized out>, msecs=msecs@entry=5) at io/qprocess.cpp:1922 #20 0x00007f2af1c4cb04 in Kerfuffle::CliInterface::killProcess (this=this@entry=0x1002760, emitFinished=emitFinished@entry=true) at /var/tmp/portage/kde-apps/ark-17.04.3/work/ark-17.04.3/kerfuffle/cliinterface.cpp:696 #21 0x00007f2af1c52a20 in Kerfuffle::CliInterface::readStdout (this=0x1002760, handleAll=<optimized out>) at /var/tmp/portage/kde-apps/ark-17.04.3/work/ark-17.04.3/kerfuffle/cliinterface.cpp:803 #22 0x00007f2aef19ecb2 in QtPrivate::QSlotObjectBase::call (a=0x7ffc5c4c8820, r=0x1002760, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:101 #23 QMetaObject::activate (sender=sender@entry=0x10b06b0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=6, argv=argv@entry=0x0) at kernel/qobject.cpp:3723 #24 0x00007f2aef19f2f7 in QMetaObject::activate (sender=sender@entry=0x10b06b0, m=m@entry=0x7f2aef3aa1c0 <QProcess::staticMetaObject>, local_signal_index=local_signal_index@entry=6, argv=argv@entry=0x0) at kernel/qobject.cpp:3602 #25 0x00007f2aef0ca4e3 in QProcess::readyReadStandardOutput (this=this@entry=0x10b06b0) at .moc/moc_qprocess.cpp:359 #26 0x00007f2aef0d0a90 in QProcessPrivate::tryReadFromChannel (this=0x1099220, channel=0x1099348) at io/qprocess.cpp:1072 #27 0x00007f2aef0d0e00 in QProcessPrivate::_q_canReadStandardOutput (this=<optimized out>) at io/qprocess.cpp:1083 #28 QProcess::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=0x7ffc5c4c8a10) at .moc/moc_qprocess.cpp:205 #29 0x00007f2aef19e977 in QMetaObject::activate (sender=sender@entry=0x10b9610, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffc5c4c8a10) at kernel/qobject.cpp:3740 #30 0x00007f2aef19f2f7 in QMetaObject::activate (sender=sender@entry=0x10b9610, m=m@entry=0x7f2aef3ae680 <QSocketNotifier::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffc5c4c8a10) at kernel/qobject.cpp:3602 #31 0x00007f2aef20e64e in QSocketNotifier::activated (this=this@entry=0x10b9610, _t1=16) at .moc/moc_qsocketnotifier.cpp:135 #32 0x00007f2aef1aac3b in QSocketNotifier::event (this=0x10b9610, e=<optimized out>) at kernel/qsocketnotifier.cpp:266 #33 0x00007f2aef9a7acc in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x10b9610, e=0x7ffc5c4c8c80) at kernel/qapplication.cpp:3799 #34 0x00007f2aef9af46e in QApplication::notify (this=0x7ffc5c4c8ff0, receiver=0x10b9610, e=0x7ffc5c4c8c80) at kernel/qapplication.cpp:3556 #35 0x00007f2aef17853a in QCoreApplication::notifyInternal2 (receiver=0x10b9610, event=event@entry=0x7ffc5c4c8c80) at kernel/qcoreapplication.cpp:988 #36 0x00007f2aef1c62af in QCoreApplication::sendEvent (event=0x7ffc5c4c8c80, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231 #37 socketNotifierSourceDispatch (source=0xaecf70) at kernel/qeventdispatcher_glib.cpp:106 #38 0x00007f2ae9d5f617 in g_main_dispatch (context=0x7f2ad80016f0) at /var/tmp/portage/dev-libs/glib-2.50.3-r1/work/glib-2.50.3/glib/gmain.c:3203 #39 g_main_context_dispatch (context=context@entry=0x7f2ad80016f0) at /var/tmp/portage/dev-libs/glib-2.50.3-r1/work/glib-2.50.3/glib/gmain.c:3856 #40 0x00007f2ae9d5f870 in g_main_context_iterate (context=context@entry=0x7f2ad80016f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /var/tmp/portage/dev-libs/glib-2.50.3-r1/work/glib-2.50.3/glib/gmain.c:3929 #41 0x00007f2ae9d5f91c in g_main_context_iteration (context=0x7f2ad80016f0, may_block=may_block@entry=1) at /var/tmp/portage/dev-libs/glib-2.50.3-r1/work/glib-2.50.3/glib/gmain.c:3990 #42 0x00007f2aef1c595f in QEventDispatcherGlib::processEvents (this=0xae0190, flags=...) at kernel/qeventdispatcher_glib.cpp:423 #43 0x00007f2aef1774ea in QEventLoop::exec (this=this@entry=0x7ffc5c4c8ea0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212 #44 0x00007f2aef17eefc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1261 #45 0x00007f2aef49e54c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1633 #46 0x00007f2aef9a7a25 in QApplication::exec () at kernel/qapplication.cpp:2975 #47 0x000000000040c2b2 in main (argc=2, argv=<optimized out>) at /var/tmp/portage/kde-apps/ark-17.04.3/work/ark-17.04.3/app/main.cpp:301 Possible duplicates by query: bug 384419, bug 372712. Reported using DrKonqi -- You are receiving this mail because: You are watching all bug changes.