Bug 295140 - Amarok crashes at start if MTP device is already connected to PC
Summary: Amarok crashes at start if MTP device is already connected to PC
Status: RESOLVED DUPLICATE of bug 295139
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: 2.4.3
Platform: openSUSE Linux
: NOR crash
Target Milestone: 2.6
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-01 14:47 UTC by Matthias Welwarsky
Modified: 2012-03-01 19:22 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Welwarsky 2012-03-01 14:47:23 UTC
Application: amarok (2.4.3)
KDE Platform Version: 4.7.4 (4.7.4) "release 11"
Qt Version: 4.7.4
Operating System: Linux 2.6.37.6-0.11-desktop x86_64
Distribution: "openSUSE 11.4 (x86_64)"

-- Information about the crash:
I launched Amarok with an MTP device (Archos A80S) already connected to the PC. It crashes immediately. If I connect the device while Amarok is already running, it works.

The crash can be reproduced every time.

-- Backtrace:
Application: Amarok (amarok), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f267f42c760 (LWP 29018))]

Thread 5 (Thread 0x7f2660f18700 (LWP 29023)):
#0  0x00007f267bb7a5a3 in poll () from /lib64/libc.so.6
#1  0x00007f26734f94df in ?? () from /usr/lib64/libpulse.so.0
#2  0x00007f26734eb2a6 in pa_mainloop_poll () from /usr/lib64/libpulse.so.0
#3  0x00007f26734eb8d9 in pa_mainloop_iterate () from /usr/lib64/libpulse.so.0
#4  0x00007f26734eb990 in pa_mainloop_run () from /usr/lib64/libpulse.so.0
#5  0x00007f26734f947b in ?? () from /usr/lib64/libpulse.so.0
#6  0x00007f266f384cf8 in ?? () from /usr/lib64/libpulsecommon-0.9.22.so
#7  0x00007f2679d19a3f in start_thread () from /lib64/libpthread.so.0
#8  0x00007f267bb8371d in clone () from /lib64/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f26571f7700 (LWP 29025)):
#0  0x00007f267bb7a5a3 in poll () from /lib64/libc.so.6
#1  0x00007f2675887114 in ?? () from /lib64/libglib-2.0.so.0
#2  0x00007f2675887650 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f267d171636 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#4  0x00007f267d145c22 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x00007f267d145e35 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00007f267d05abe4 in QThread::exec() () from /usr/lib64/libQtCore.so.4
#7  0x00007f267d127358 in ?? () from /usr/lib64/libQtCore.so.4
#8  0x00007f267d05d4d5 in ?? () from /usr/lib64/libQtCore.so.4
#9  0x00007f2679d19a3f in start_thread () from /lib64/libpthread.so.0
#10 0x00007f267bb8371d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f26557e8700 (LWP 29026)):
[KCrash Handler]
#6  0x00007f265d85adfd in op_reset_device (handle=0x7f2650011c40) at os/linux_usbfs.c:1217
#7  0x00007f265da64e12 in usb_reset (dev=0x7f2650011bd0) at core.c:742
#8  0x00007f265dc88aec in configure_usb_device (device=<value optimized out>, params=0x7f2650011760, usbinfo=0x7f2650000fc0) at libusb-glue.c:1917
#9  0x00007f265dc7de8a in LIBMTP_Open_Raw_Device (rawdevice=0xe13de0) at libmtp.c:1827
#10 0x00007f265debe674 in Meta::MtpHandler::iterateRawDevices (this=0xdf43a0, numrawdevices=1, rawdevices=0xe13de0) at /usr/src/debug/amarok-2.4.3/src/core-impl/collections/mtpcollection/handler/MtpHandler.cpp:224
#11 0x00007f265debfde4 in Meta::WorkerThread::run (this=0xdd8870) at /usr/src/debug/amarok-2.4.3/src/core-impl/collections/mtpcollection/handler/MtpHandler.cpp:1452
#12 0x00007f2679112ae1 in ThreadWeaver::JobRunHelper::runTheJob (this=0x7f26557e7da0, th=0xdea680, job=0xdd8870) at /usr/src/debug/kdelibs-4.7.4/threadweaver/Weaver/Job.cpp:106
#13 0x00007f2679112c1e in ThreadWeaver::Job::execute (this=0xdd8870, th=0xdea680) at /usr/src/debug/kdelibs-4.7.4/threadweaver/Weaver/Job.cpp:135
#14 0x00007f26791123ef in ThreadWeaver::ThreadRunHelper::run (this=0x7f26557e7e30, parent=0xe25390, th=0xdea680) at /usr/src/debug/kdelibs-4.7.4/threadweaver/Weaver/Thread.cpp:95
#15 0x00007f26791124a8 in ThreadWeaver::Thread::run (this=0xdea680) at /usr/src/debug/kdelibs-4.7.4/threadweaver/Weaver/Thread.cpp:142
#16 0x00007f267d05d4d5 in ?? () from /usr/lib64/libQtCore.so.4
#17 0x00007f2679d19a3f in start_thread () from /lib64/libpthread.so.0
#18 0x00007f267bb8371d in clone () from /lib64/libc.so.6
#19 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f2654fe7700 (LWP 29027)):
#0  0x00007f2679d1e38c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f267d05dbbb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007f2679110f44 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xe25390, th=0xe01750) at /usr/src/debug/kdelibs-4.7.4/threadweaver/Weaver/WeaverImpl.cpp:365
#3  0x00007f2679113643 in ThreadWeaver::WorkingHardState::applyForWork (this=0xdfe2d0, th=0xe01750) at /usr/src/debug/kdelibs-4.7.4/threadweaver/Weaver/WorkingHardState.cpp:71
#4  0x00007f267911241f in ThreadWeaver::ThreadRunHelper::run (this=0x7f2654fe6e30, parent=0xe25390, th=0xe01750) at /usr/src/debug/kdelibs-4.7.4/threadweaver/Weaver/Thread.cpp:87
#5  0x00007f26791124a8 in ThreadWeaver::Thread::run (this=0xe01750) at /usr/src/debug/kdelibs-4.7.4/threadweaver/Weaver/Thread.cpp:142
#6  0x00007f267d05d4d5 in ?? () from /usr/lib64/libQtCore.so.4
#7  0x00007f2679d19a3f in start_thread () from /lib64/libpthread.so.0
#8  0x00007f267bb8371d in clone () from /lib64/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f267f42c760 (LWP 29018)):
#0  0x00007f267bb7a5a3 in poll () from /lib64/libc.so.6
#1  0x00007f26769a3c2a in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007f26769a41a3 in ?? () from /usr/lib64/libxcb.so.1
#3  0x00007f26769a4234 in xcb_writev () from /usr/lib64/libxcb.so.1
#4  0x00007f267d998cc6 in _XSend () from /usr/lib64/libX11.so.6
#5  0x00007f267d999075 in _XFlush () from /usr/lib64/libX11.so.6
#6  0x00007f267d97847a in XFlush () from /usr/lib64/libX11.so.6
#7  0x00007f267c55a54f in QWidget::setCursor(QCursor const&) () from /usr/lib64/libQtGui.so.4
#8  0x00007f267c90e594 in ?? () from /usr/lib64/libQtGui.so.4
#9  0x00007f267c90fddf in QLineEdit::QLineEdit(QWidget*) () from /usr/lib64/libQtGui.so.4
#10 0x00007f267eeee2f9 in KLineEdit::KLineEdit(QWidget*) () from /usr/lib64/libkdeui.so.5
#11 0x00007f267eed1078 in KComboBox::setEditable(bool) () from /usr/lib64/libkdeui.so.5
#12 0x00007f267e53454a in Amarok::ComboBox::ComboBox (this=0xcf9800, parent=<value optimized out>) at /usr/src/debug/amarok-2.4.3/src/widgets/ComboBox.cpp:28
#13 0x00007f267e53e813 in SearchWidget::init (this=0xcf9850, parent=<value optimized out>, advanced=false) at /usr/src/debug/amarok-2.4.3/src/widgets/SearchWidget.cpp:68
#14 0x00007f267e53ed9a in SearchWidget::SearchWidget (this=0xcf9850, parent=0x0, caller=0xe15060, advanced=false) at /usr/src/debug/amarok-2.4.3/src/widgets/SearchWidget.cpp:44
#15 0x00007f267de24c6f in BrowserCategoryList::BrowserCategoryList (this=0xe15060, name=<value optimized out>, parent=<value optimized out>, sort=true) at /usr/src/debug/amarok-2.4.3/src/browsers/BrowserCategoryList.cpp:51
#16 0x00007f267e12c5e0 in ServiceBrowser::ServiceBrowser (this=0xe15060, name=<value optimized out>, parent=<value optimized out>) at /usr/src/debug/amarok-2.4.3/src/browsers/servicebrowser/ServiceBrowser.cpp:36
#17 0x00007f267e12c9b5 in ServiceBrowser::instance () at /usr/src/debug/amarok-2.4.3/src/browsers/servicebrowser/ServiceBrowser.cpp:28
#18 0x00007f267e11d2ea in ServicePluginManager::ServicePluginManager (this=0xda1090, parent=<value optimized out>) at /usr/src/debug/amarok-2.4.3/src/services/ServicePluginManager.cpp:32
#19 0x00007f267e437245 in Plugins::PluginManager::init (this=0xccbef0) at /usr/src/debug/amarok-2.4.3/src/PluginManager.cpp:87
#20 0x00007f267e4381c6 in Plugins::PluginManager::PluginManager (this=0xccbef0, parent=<value optimized out>) at /usr/src/debug/amarok-2.4.3/src/PluginManager.cpp:64
#21 0x00007f267e438347 in Plugins::PluginManager::instance () at /usr/src/debug/amarok-2.4.3/src/PluginManager.cpp:43
#22 0x00007f267e41ad35 in pluginManager (this=0xccad70) at /usr/src/debug/amarok-2.4.3/src/PluginManager.h:76
#23 MainWindow::MainWindow (this=0xccad70) at /usr/src/debug/amarok-2.4.3/src/MainWindow.cpp:139
#24 0x00007f267e3e1b49 in App::continueInit (this=0x7fff332f5260) at /usr/src/debug/amarok-2.4.3/src/App.cpp:542
#25 0x00007f267e3e324c in App::App (this=0x7fff332f5260) at /usr/src/debug/amarok-2.4.3/src/App.cpp:185
#26 0x000000000040e2f0 in main (argc=1, argv=0x7fff332f7868) at /usr/src/debug/amarok-2.4.3/src/main.cpp:287

Possible duplicates by query: bug 295139, bug 286458, bug 286368, bug 286357, bug 280576.

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2012-03-01 19:22:20 UTC
Please do not file the same report twice.

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