[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#610706: ark: crashes when opening/extracting rar-archives unsupported by unrar-free

Package: ark
Version: 4:4.4.5-1
Severity: normal

When trying to open or extract rar-archives that are not supported by unrar-
free while using unrar-free to provide /usr/bin/unrar Ark crashes. This
behaviour is not observed when either opening rar-archives that unrar-free can
extract or when using unrar-nonfree to provide /usr/bin/unrar.

What happens when you try to use unrar-free:

$ unrar --extract file.rar

Extracting from ~/file.rar

Extracting  archive.content                                     Failed

1 Failed

Opening the same file with ark leads to a crash.

$ gdb ark
GNU gdb (GDB) 7.0.1-debian
This GDB was configured as "i486-linux-gnu".
Reading symbols from /usr/bin/ark...(no debugging symbols found)...done.
(gdb) run file.rar
Starting program: /usr/bin/ark file.rar
[Thread debugging using libthread_db enabled]
[New Thread 0xb389cb70 (LWP 11334)]
[New Thread 0xb2effb70 (LWP 11335)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb389cb70 (LWP 11334)]
0xb6a2b8d5 in QDateTimeParser::fromString(QString const&, QDate*, QTime*) const
() from /usr/lib/libQtCore.so.4

There are no errors when opening files that unrar manages to extract or when
using unrar-nonfree.

It would be preferable for ark to give an error message stating that it cannot
open or extract the archive and if possible explain in the message that this is
due to the version of unrar being used.

-- System Information:
Debian Release: 6.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ark depends on:
ii  kdebase-runtime               4:4.4.5-1  runtime components from the offici
ii  libarchive1                   2.8.4-1    Single library to read/write tar, 
ii  libc6                         2.11.2-7   Embedded GNU C Library: Shared lib
ii  libkdecore5                   4:4.4.5-2  the KDE Platform Core Library
ii  libkdeui5                     4:4.4.5-2  the KDE Platform User Interface Li
ii  libkfile4                     4:4.4.5-2  the File Selection Dialog Library 
ii  libkhtml5                     4:4.4.5-2  the KHTML Web Content Rendering En
ii  libkio5                       4:4.4.5-2  the Network-enabled File Managemen
ii  libkonq5                      4:4.4.5-2  core libraries for Konqueror
ii  libkparts4                    4:4.4.5-2  the Framework for the KDE Platform
ii  libqt4-dbus                   4:4.6.3-4  Qt 4 D-Bus module
ii  libqtcore4                    4:4.6.3-4  Qt 4 core module
ii  libqtgui4                     4:4.6.3-4  Qt 4 GUI module
ii  libstdc++6                    4.4.5-8    The GNU Standard C++ Library v3

Versions of packages ark recommends:
ii  bzip2                      1.0.5-6       high-quality block-sorting file co
ii  p7zip-full                 9.04~dfsg.1-1 7z and 7za file archivers with hig
ii  unzip                      6.0-4         De-archiver for .zip files
ii  zip                        3.0-3         Archiver for .zip files

Versions of packages ark suggests:
pn  rar                <none>                (no description available)
ii  unrar-free         1:0.0.1+cvs20071127-1 Unarchiver for .rar files

-- no debconf information
Application: Ark (ark), signal: Segmentation fault
[Current thread is 1 (Thread 0xb5422710 (LWP 11486))]

Thread 3 (Thread 0xb2fb9b70 (LWP 11487)):
[KCrash Handler]
#6  QBasicAtomicInt::ref (this=0xb2fb8538, t=..., date=0x0, time=0xb2fb8708) at ../../include/QtCore/../../src/corelib/arch/qatomic_i386.h:120
#7  QString (this=0xb2fb8538, t=..., date=0x0, time=0xb2fb8708) at ../../include/QtCore/../../src/corelib/tools/qstring.h:715
#8  QDateTimeParser::fromString (this=0xb2fb8538, t=..., date=0x0, time=0xb2fb8708) at tools/qdatetime.cpp:5499
#9  0xb614a338 in QTime::fromString (string=..., format=...) at tools/qdatetime.cpp:1980
#10 0xb2fbcc2e in CliPlugin::readListLine (this=0xa1c29b0, line=...) at ../../../../ark/plugins/clirarplugin/cliplugin.cpp:150
#11 0xb76e12b0 in Kerfuffle::CliInterface::handleLine (this=0xa1c29b0, line=...) at ../../../ark/kerfuffle/cliinterface.cpp:523
#12 0xb76e1896 in Kerfuffle::CliInterface::readStdout (this=0xa1c29b0, handleAll=false) at ../../../ark/kerfuffle/cliinterface.cpp:468
#13 0xb76e1b83 in Kerfuffle::CliInterface::qt_metacall (this=0xa1c29b0, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xb2fb89bc) at ./cliinterface.moc:80
#14 0xb2fbc7d2 in CliPlugin::qt_metacall (this=0xa1c29b0, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xb2fb89bc) at ./cliplugin.moc:66
#15 0xb62327aa in QMetaObject::metacall (object=0xa1c29b0, cl=2992635905, idx=6, argv=0xb2fb89bc) at kernel/qmetaobject.cpp:237
#16 0xb62411bb in QMetaObject::activate (sender=0xa1cb710, m=0xb633f848, local_signal_index=5, argv=0x0) at kernel/qobject.cpp:3295
#17 0xb61c3627 in QProcess::readyReadStandardOutput (this=0xa1cb710) at .moc/release-shared/moc_qprocess.cpp:162
#18 0xb61c896f in QProcessPrivate::_q_canReadStandardOutput (this=0xa1cbc40) at io/qprocess.cpp:897
#19 0xb61c8de6 in QProcess::qt_metacall (this=0xa1cb710, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0xb2fb8bb8) at .moc/release-shared/moc_qprocess.cpp:107
#20 0xb6ebad1a in KProcess::qt_metacall (this=0xa1cb710, _c=QMetaObject::InvokeMetaMethod, _id=17, _a=0xb2fb8bb8) at ./kprocess.moc:69
#21 0xb62327aa in QMetaObject::metacall (object=0xa1cb710, cl=2992635905, idx=17, argv=0xb2fb8bb8) at kernel/qmetaobject.cpp:237
#22 0xb62411bb in QMetaObject::activate (sender=0xb2600740, m=0xb63416d0, local_signal_index=0, argv=0xb2fb8bb8) at kernel/qobject.cpp:3295
#23 0xb6293663 in QSocketNotifier::activated (this=0xb2600740, _t1=15) at .moc/release-shared/moc_qsocketnotifier.cpp:89
#24 0xb6248377 in QSocketNotifier::event (this=0xb2600740, e=0xb2fb9044) at kernel/qsocketnotifier.cpp:317
#25 0xb649d5cc in QApplicationPrivate::notify_helper (this=0x9f83028, receiver=0xb2600740, e=0xb2fb9044) at kernel/qapplication.cpp:4302
#26 0xb64a415e in QApplication::notify (this=0xbf987c2c, receiver=0xb2600740, e=0xb2fb9044) at kernel/qapplication.cpp:3706
#27 0xb721fbfa in KApplication::notify (this=0xbf987c2c, receiver=0xb2600740, event=0xb2fb9044) at ../../kdeui/kernel/kapplication.cpp:302
#28 0xb622d4cb in QCoreApplication::notifyInternal (this=0xbf987c2c, receiver=0xb2600740, event=0xb2fb9044) at kernel/qcoreapplication.cpp:726
#29 0xb625944a in QCoreApplication::sendEvent (source=0xa1c76b8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#30 socketNotifierSourceDispatch (source=0xa1c76b8) at kernel/qeventdispatcher_glib.cpp:110
#31 0xb57dd305 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#32 0xb57e0fe8 in ?? () from /lib/libglib-2.0.so.0
#33 0xb57e11c8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#34 0xb6259075 in QEventDispatcherGlib::processEvents (this=0xa1c7d90, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#35 0xb622bae9 in QEventLoop::processEvents (this=0xb2fb9290, flags=) at kernel/qeventloop.cpp:149
#36 0xb622bf3a in QEventLoop::exec (this=0xb2fb9290, flags=...) at kernel/qeventloop.cpp:201
#37 0xb612e629 in QThread::exec (this=0xa1c7e18) at thread/qthread.cpp:487
#38 0xb76cfff2 in Kerfuffle::ThreadExecution::run (this=0xa1c7e18) at ../../../ark/kerfuffle/threading.cpp:47
#39 0xb6130fbe in QThreadPrivate::start (arg=0xa1c7e18) at thread/qthread_unix.cpp:248
#40 0xb5887955 in start_thread () from /lib/i686/cmov/libpthread.so.0
#41 0xb5f50e7e in clone () from /lib/i686/cmov/libc.so.6

Thread 2 (Thread 0xb25ffb70 (LWP 11488)):
#0  0xb76ff424 in __kernel_vsyscall ()
#1  0xb5f4a011 in select () from /lib/i686/cmov/libc.so.6
#2  0xb620824c in QProcessManager::run (this=0xb6344390) at io/qprocess_unix.cpp:245
#3  0xb6130fbe in QThreadPrivate::start (arg=0xb6344390) at thread/qthread_unix.cpp:248
#4  0xb5887955 in start_thread () from /lib/i686/cmov/libpthread.so.0
#5  0xb5f50e7e in clone () from /lib/i686/cmov/libc.so.6

Thread 1 (Thread 0xb5422710 (LWP 11486)):
#0  0xb76ff424 in __kernel_vsyscall ()
#1  0xb5f43696 in poll () from /lib/i686/cmov/libc.so.6
#2  0xb552d0f0 in ?? () from /usr/lib/libxcb.so.1
#3  0xb552d6fb in ?? () from /usr/lib/libxcb.so.1
#4  0xb552da97 in xcb_writev () from /usr/lib/libxcb.so.1
#5  0xb5aa755c in _XSend () from /usr/lib/libX11.so.6
#6  0xb5aa7700 in _XReply () from /usr/lib/libX11.so.6
#7  0xb5a89d20 in XInternAtoms () from /usr/lib/libX11.so.6
#8  0xb737ca15 in create_atoms (dpy=0x9f9b1f0) at ../../kdeui/windowmanagement/kwindowsystem_x11.cpp:301
#9  0xb737ce0a in KWindowSystem::compositingActive () at ../../kdeui/windowmanagement/kwindowsystem_x11.cpp:764
#10 0xb522ffff in OxygenStyle::compositingActive (this=0x9ff45f8, widget=0xa1a36d0) at ../../../kstyles/oxygen/oxygen.cpp:6552
#11 OxygenStyle::hasAlphaChannel (this=0x9ff45f8, widget=0xa1a36d0) at ../../../kstyles/oxygen/oxygen.cpp:6559
#12 0xb5240e67 in OxygenStyle::eventFilter (this=0x9ff45f8, obj=0xa1a36d0, ev=0xbf9879d8) at ../../../kstyles/oxygen/oxygen.cpp:6151
#13 0xb622c76a in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x9f83028, receiver=0xa1a36d0, event=0xbf9879d8) at kernel/qcoreapplication.cpp:841
#14 0xb649d5a9 in QApplicationPrivate::notify_helper (this=0x9f83028, receiver=0xa1a36d0, e=0xbf9879d8) at kernel/qapplication.cpp:4298
#15 0xb64a41f9 in QApplication::notify (this=0xbf987c2c, receiver=0xa1a36d0, e=0xbf9879d8) at kernel/qapplication.cpp:4267
#16 0xb721fbfa in KApplication::notify (this=0xbf987c2c, receiver=0xa1a36d0, event=0xbf9879d8) at ../../kdeui/kernel/kapplication.cpp:302
#17 0xb622d4cb in QCoreApplication::notifyInternal (this=0xbf987c2c, receiver=0xa1a36d0, event=0xbf9879d8) at kernel/qcoreapplication.cpp:726
#18 0xb64fa6e9 in QCoreApplication::sendEvent (this=0xa1b5518, recursive=false, disableUpdates=false) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#19 QWidgetPrivate::sendPendingMoveAndResizeEvents (this=0xa1b5518, recursive=false, disableUpdates=false) at kernel/qwidget.cpp:7112
#20 0xb6501369 in QWidgetPrivate::show_helper (this=0xa1b5518) at kernel/qwidget.cpp:7163
#21 0xb65016b3 in QWidgetPrivate::show_recursive (this=0xa1b5518) at kernel/qwidget.cpp:7093
#22 0xb65017ac in QWidgetPrivate::showChildren (this=0xa01d378, spontaneous=false) at kernel/qwidget.cpp:7530
#23 0xb6501391 in QWidgetPrivate::show_helper (this=0xa01d378) at kernel/qwidget.cpp:7169
#24 0xb650393b in QWidget::setVisible (this=0xa01c048, visible=true) at kernel/qwidget.cpp:7444
#25 0x08050b60 in QWidget::show (argc=2, argv=0xbf987fc4) at /usr/include/qt4/QtGui/qwidget.h:485
#26 main (argc=2, argv=0xbf987fc4) at ../../../ark/app/main.cpp:205

Reply to: