Bug 125547

Summary: when ark is previewing in xine a mp3 file and another ark is opened, it crashes
Product: [Applications] ark Reporter: Arthur B. <arthur.breitman_kde>
Component: generalAssignee: Harald Hvaal <metellius>
Status: RESOLVED DUPLICATE    
Severity: crash CC: rakuco
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Arthur B. 2006-04-14 04:27:36 UTC
Version:           2.6.2 (using KDE 3.5.2, Kubuntu Package 4:3.5.2-0ubuntu1 dapper)
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.15-20-386

Exactly Similar to bug 123082 that has been closed without much inquiry in the problem...
Download an archive (tested with zip) containing a mp3, select ' Open with ark '
double click on it
(for me it looks like ark uses xine to play it)
meanwhile download another archive, select ' Open with ark '
ark crashes, the new window doesn't appear.
Comment 1 Haris Kouzinopoulos 2006-04-14 13:59:26 UTC
Bug 123082 was closed because i couldn't reproduce it and no backtrace was provided. I still cannot reproduce it. Can you give us a valid backtrace?
Comment 2 Arthur B. 2006-04-22 03:39:05 UTC
I compiled from source with full debug info.
Here's an even simpler way to reproduce the crash.
1- compress a music with bzip2
2- ark blah.bz2
3- play the music
4- launch ark blah.bz2 again

Most of the time it says the backtrace is useless ( too corrupt ) but I managed to get one:
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1231812928 (LWP 25759)]
[New Thread -1328206928 (LWP 25772)]
[New Thread -1312891984 (LWP 25771)]
[New Thread -1304499280 (LWP 25770)]
[New Thread -1295905872 (LWP 25769)]
[New Thread -1285624912 (LWP 25768)]
[New Thread -1273132112 (LWP 25767)]
[New Thread -1264469072 (LWP 25766)]
[New Thread -1256039504 (LWP 25763)]
[New Thread -1243350096 (LWP 25762)]
[KCrash handler]
#6  0xb6ba1e84 in pthread_mutex_lock ()
   from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb6c0ca3c in XUnlockDisplay () from /usr/lib/libX11.so.6
#8  0xb6c27ec4 in XrmEnumerateDatabase () from /usr/lib/libX11.so.6
#9  0xb6c0bec9 in XKeysymToString () from /usr/lib/libX11.so.6
#10 0xb786c105 in KKeyServer::Sym::toString () from /usr/lib/libkdecore.so.4
#11 0xb786c683 in KKeyServer::Sym::toStringInternal ()
   from /usr/lib/libkdecore.so.4
#12 0xb786c727 in KKey::toStringInternal () from /usr/lib/libkdecore.so.4
#13 0xb786d39b in KKeySequence::toStringInternal ()
   from /usr/lib/libkdecore.so.4
#14 0xb786ebfe in KShortcut::toStringInternal () from /usr/lib/libkdecore.so.4
#15 0xb7b57b32 in KAction::initPrivate () from /usr/lib/libkdeui.so.4
#16 0xb7b5b817 in KAction::KAction () from /usr/lib/libkdeui.so.4
#17 0xb7fa7edb in MainWindow::setupActions (this=0x88c3178)
    at mainwindow.cpp:119
#18 0xb7fa95d5 in MainWindow (this=0x88c3178, name=0x0) at mainwindow.cpp:59
#19 0xb7fa61ec in ArkApplication::newInstance (this=0x80555e0)
    at arkapp.cpp:215
#20 0xb78a7610 in KUniqueApplication::processDelayed ()
   from /usr/lib/libkdecore.so.4
#21 0xb78a8d87 in KUniqueApplication::qt_invoke ()
   from /usr/lib/libkdecore.so.4
#22 0xb7fa502f in ArkApplication::qt_invoke (this=0x80555e0, _id=19, 
    _o=0xbfec9428) at arkapp.moc:77
#23 0xb7190e29 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#24 0xb7523e1a in QSignal::signal () from /usr/lib/libqt-mt.so.3
#25 0xb71ae5a0 in QSignal::activate () from /usr/lib/libqt-mt.so.3
#26 0xb71b6090 in QSingleShotTimer::event () from /usr/lib/libqt-mt.so.3
#27 0xb7126dc6 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#28 0xb7126fc2 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#29 0xb7895d7d in KApplication::notify () from /usr/lib/libkdecore.so.4
#30 0xb70b80ef in QApplication::sendEvent () from /usr/lib/libqt-mt.so.3
#31 0xb71187b3 in QEventLoop::activateTimers () from /usr/lib/libqt-mt.so.3
#32 0xb70cbeff in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#33 0xb713f8b7 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#34 0xb713f7da in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#35 0xb71258d5 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#36 0xb7fa484d in kdemain (argc=2, argv=0xbfec9b44) at main.cpp:122
#37 0x0804866e in main (argc=2, argv=0xbfec9b44) at ark.la.cpp:2


Here is also the debug output from the command line

arthurb@coin:~$ ark blah.mp3.bz2
Already running
ark (kdeutils): ArkPart::ArkPart
ark (kdeutils): ArkWidget::createFileListView
KCrash: Application 'ark' crashing...
ERROR: Communication problem with ark, it probably crashed.

when playing I also have the following warning... it's not what makes the app crash but maybe it is related:

kparts: WARNING: StatusBarExtension::removeStatusBarItem. Widget not found : [KPushButton pointer (0x8103d08) to widget CancelButton, geometry=100x30+0+0]


regards
Comment 3 Haris Kouzinopoulos 2006-04-29 02:38:41 UTC
I still cannot reproduce it :/
Before running again ark, did you close the previous ark window? 
Comment 4 Andreas Kling 2006-07-31 14:17:38 UTC

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