Bug 81582 - Try to move an mp3 from one folder to another - crashes konqueror
Summary: Try to move an mp3 from one folder to another - crashes konqueror
Status: RESOLVED FIXED
Alias: None
Product: kfile-plugins
Classification: Applications
Component: mp3 (show other bugs)
Version: unspecified
Platform: Slackware Linux
: NOR crash
Target Milestone: ---
Assignee: Multimedia Developers
URL:
Keywords:
: 82001 83350 86770 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-05-14 16:35 UTC by Abe Ezekowitz
Modified: 2004-08-08 00:36 UTC (History)
4 users (show)

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 Abe Ezekowitz 2004-05-14 16:35:06 UTC
Version:            (using KDE KDE 3.2.2)
Installed from:    Slackware Packages
Compiler:          gcc - unknown version 
OS:                Linux

When I attempt to move an MP3 from my hda drive to a network drive, Kongueror crashes and give a backtrace report. It seems to be with this particular file, as I was performing this operation withount incident all morning. Following is the text of the backtrace.

[New Thread 16384 (LWP 3475)]
0x412335c9 in waitpid () from /lib/libpthread.so.0
#0  0x412335c9 in waitpid () from /lib/libpthread.so.0
#1  0x407303cd in KCrash::defaultCrashHandler(int) ()
   from /opt/kde/lib/libkdecore.so.4
#2  0x41231c45 in __pthread_sighandler () from /lib/libpthread.so.0
#3  <signal handler called>
#4  0x4025294b in KFileMetaInfo::preferredGroups() const ()
   from /opt/kde/lib/libkio.so.4
#5  0x40253849 in KFileMetaInfo::item(QString const&) const ()
   from /opt/kde/lib/libkio.so.4
#6  0x41ab4895 in AudioPreview::initView(QString const&) ()
   from /opt/kde/lib/kde3/librenaudioplugin.so
#7  0x41ab3c46 in AudioPreview::AudioPreview(QWidget*, char const*, QString const&, QString const&) () from /opt/kde/lib/kde3/librenaudioplugin.so
#8  0x41ab5e12 in AudioPlugin::initialize(KIO::RenameDlg_Mode, QString const&, QString const&, QString const&, QString const&, unsigned long long, unsigned long long, long, long, long, long) () from /opt/kde/lib/kde3/librenaudioplugin.so
#9  0x401cdc67 in KIO::RenameDlg::RenameDlg(QWidget*, QString const&, QString const&, QString const&, KIO::RenameDlg_Mode, unsigned long long, unsigned long long, long, long, long, long, bool) () from /opt/kde/lib/libkio.so.4
#10 0x401cf587 in KIO::open_RenameDlg(QString const&, QString const&, QString const&, KIO::RenameDlg_Mode, QString&, unsigned long long, unsigned long long, long, long, long, long) () from /opt/kde/lib/libkio.so.4
#11 0x401c6e04 in Observer::open_RenameDlg(KIO::Job*, QString const&, QString const&, QString const&, KIO::RenameDlg_Mode, QString&, unsigned long long, unsigned long long, long, long, long, long) () from /opt/kde/lib/libkio.so.4
#12 0x40188938 in KIO::CopyJob::slotResult(KIO::Job*) ()
   from /opt/kde/lib/libkio.so.4
#13 0x40191245 in KIO::CopyJob::qt_invoke(int, QUObject*) ()
   from /opt/kde/lib/libkio.so.4
#14 0x40be7da3 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt/lib/libqt-mt.so.3
#15 0x4018d8c2 in KIO::Job::result(KIO::Job*) () from /opt/kde/lib/libkio.so.4
#16 0x40178662 in KIO::Job::emitResult() () from /opt/kde/lib/libkio.so.4
#17 0x40179aee in KIO::SimpleJob::slotFinished() ()
   from /opt/kde/lib/libkio.so.4
#18 0x40179e33 in KIO::SimpleJob::slotError(int, QString const&) ()
   from /opt/kde/lib/libkio.so.4
#19 0x4018e3ea in KIO::SimpleJob::qt_invoke(int, QUObject*) ()
   from /opt/kde/lib/libkio.so.4
#20 0x40be7da3 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt/lib/libqt-mt.so.3
#21 0x4016ca47 in KIO::SlaveInterface::error(int, QString const&) ()
   from /opt/kde/lib/libkio.so.4
#22 0x4016b898 in KIO::SlaveInterface::dispatch(int, QMemArray<char> const&) ()
   from /opt/kde/lib/libkio.so.4
#23 0x4016af89 in KIO::SlaveInterface::dispatch() ()
   from /opt/kde/lib/libkio.so.4
#24 0x401688db in KIO::Slave::gotInput() () from /opt/kde/lib/libkio.so.4
#25 0x4016a4d0 in KIO::Slave::qt_invoke(int, QUObject*) ()
   from /opt/kde/lib/libkio.so.4
#26 0x40be7da3 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt/lib/libqt-mt.so.3
#27 0x40be7edc in QObject::activate_signal(int, int) ()
   from /usr/lib/qt/lib/libqt-mt.so.3
#28 0x40ef1418 in QSocketNotifier::activated(int) ()
   from /usr/lib/qt/lib/libqt-mt.so.3
#29 0x40c0252d in QSocketNotifier::event(QEvent*) ()
   from /usr/lib/qt/lib/libqt-mt.so.3
#30 0x40b8ec7d in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/lib/qt/lib/libqt-mt.so.3
#31 0x40b8e329 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/qt/lib/libqt-mt.so.3
#32 0x406a11bc in KApplication::notify(QObject*, QEvent*) ()
   from /opt/kde/lib/libkdecore.so.4
#33 0x40b7e802 in QEventLoop::activateSocketNotifiers() ()
   from /usr/lib/qt/lib/libqt-mt.so.3
#34 0x40b3d2b0 in QEventLoop::processEvents(unsigned) ()
   from /usr/lib/qt/lib/libqt-mt.so.3
#35 0x40b9fcfb in QEventLoop::enterLoop() () from /usr/lib/qt/lib/libqt-mt.so.3
#36 0x40b9fba4 in QEventLoop::exec() () from /usr/lib/qt/lib/libqt-mt.so.3
#37 0x40b8eef0 in QApplication::exec() () from /usr/lib/qt/lib/libqt-mt.so.3
#38 0x416350b6 in kdemain () from /opt/kde/lib/libkdeinit_konqueror.so
#39 0x415ef8e6 in kdeinitmain () from /opt/kde/lib/kde3/konqueror.so
#40 0x0804cfea in launch(int, char const*, char const*, char const*, int, char const*, bool, char const*, bool, char const*) ()
#41 0x0804df39 in handle_launcher_request(int) ()
#42 0x0804e48c in handle_requests(int) ()
#43 0x0804f4ba in main ()
#44 0x4138cd06 in __libc_start_main () from /lib/libc.so.6
Comment 1 Maksim Orlovich 2004-05-29 20:54:39 UTC
*** Bug 82001 has been marked as a duplicate of this bug. ***
Comment 2 Maksim Orlovich 2004-05-29 21:05:38 UTC
Reporters: do you have kdemultimedia (in particular kfile_mp3) installed?
Comment 3 Maksim Orlovich 2004-05-29 21:13:37 UTC
Confirm when w/o kdemultimedia/kfile-mp3
Comment 4 Maksim Orlovich 2004-05-29 21:23:41 UTC
CVS commit by orlovich: 

Don't crash if kfile_mp3 is not installed. Fixes #81582
CCMAIL:81582-done@bugs.kde.org
(This thing is pretty unhelpful if neither kfile-mp3 nor an embeddable player, such as kaboodle or kmplayer is installed, though)


  M +20 -17    audiopreview.cpp   1.11


--- kdeaddons/renamedlgplugins/audio/audiopreview.cpp  #1.10:1.11
@@ -83,4 +83,6 @@ void AudioPreview::initView( const QStri
 
   QString desc;
+  if (info.isValid()) 
+  {
   if (mimeptr->is("audio/x-mp3") || mimeptr->is("application/ogg"))
   {
@@ -101,4 +103,5 @@ void AudioPreview::initView( const QStri
     desc.append("0");
   desc.append(QString("%1\n").arg(length%60, 0, 10));
+  }
  
  description->setText( desc );


Comment 5 Maksim Orlovich 2004-06-14 15:04:01 UTC
*** Bug 83350 has been marked as a duplicate of this bug. ***
Comment 6 Maksim Orlovich 2004-08-08 00:36:24 UTC
*** Bug 86770 has been marked as a duplicate of this bug. ***