Bug 214581 - Amarok crashed when moving a file with non-ASCII characters to collection
Summary: Amarok crashed when moving a file with non-ASCII characters to collection
Status: RESOLVED DUPLICATE of bug 200546
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: 2.2.0
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-14 21:53 UTC by schoenmann
Modified: 2009-11-15 21:27 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 schoenmann 2009-11-14 21:53:27 UTC
Application that crashed: amarok
Version of the application: 2.2.0
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-14-generic i686
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
In fact, Amarok crashes nearly every time it has to move files to the collection. After restarting it, the files all seem to be OK and in the right place.

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

Thread 12 (Thread 0xb5782b70 (LWP 15914)):
#0  0x001f1422 in __kernel_vsyscall ()
#1  0x04421142 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:179
#2  0x018db7e4 in __pthread_cond_timedwait (cond=0x8c91bc8, mutex=0x8c91bb0, abstime=0xb5782320) at forward.c:152
#3  0x070529ff in ?? () from /usr/lib/libxine.so.1
#4  0x0441c80e in start_thread (arg=0xb5782b70) at pthread_create.c:300
#5  0x018ce7ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 11 (Thread 0xb4f81b70 (LWP 15915)):
#0  0x01cf3e06 in *__GI_clock_gettime (clock_id=30375924, tp=0xb4f80fe8) at ../sysdeps/unix/clock_gettime.c:100
#1  0x05e0fbf3 in QTimerInfoList::getTime (this=0x8c94244, t=...) at kernel/qeventdispatcher_unix.cpp:339
#2  0x05e0fde1 in QTimerInfoList::updateCurrentTime (this=0x8c94244) at kernel/qeventdispatcher_unix.cpp:297
#3  0x05e1088c in QTimerInfoList::timerWait (this=0x8c94244, tm=...) at kernel/qeventdispatcher_unix.cpp:420
#4  0x05e0e210 in timerSourcePrepare (source=0x8c94210, timeout=0xb4f810dc) at kernel/qeventdispatcher_glib.cpp:141
#5  0x031c2f80 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#6  0x031c3341 in ?? () from /lib/libglib-2.0.so.0
#7  0x031c3853 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#8  0x05e0e067 in QEventDispatcherGlib::processEvents (this=0x8c3daa8, flags=...) at kernel/qeventdispatcher_glib.cpp:329
#9  0x05de1c79 in QEventLoop::processEvents (this=0xb4f812a4, flags=) at kernel/qeventloop.cpp:149
#10 0x05de20ca in QEventLoop::exec (this=0xb4f812a4, flags=...) at kernel/qeventloop.cpp:201
#11 0x05cefb73 in QThread::exec (this=0x8c3da50) at thread/qthread.cpp:487
#12 0x063e420a in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#13 0x05cf2e32 in QThreadPrivate::start (arg=0x8c3da50) at thread/qthread_unix.cpp:188
#14 0x0441c80e in start_thread (arg=0xb4f81b70) at pthread_create.c:300
#15 0x018ce7ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 10 (Thread 0xb4780b70 (LWP 15918)):
#0  0x001f1422 in __kernel_vsyscall ()
#1  0x018beecb in read () from /lib/tls/i686/cmov/libc.so.6
#2  0x02fe1932 in ?? () from /usr/lib/libasound.so.2
#3  0x02fde71d in snd_ctl_read () from /usr/lib/libasound.so.2
#4  0x02fdaaff in snd_hctl_handle_events () from /usr/lib/libasound.so.2
#5  0x02fe6911 in snd_mixer_handle_events () from /usr/lib/libasound.so.2
#6  0x0317ec89 in ?? () from /usr/lib/xine/plugins/1.26/xineplug_ao_out_alsa.so
#7  0x0441c80e in start_thread (arg=0xb4780b70) at pthread_create.c:300
#8  0x018ce7ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
The current source language is "auto; currently c".

Thread 9 (Thread 0xb3dffb70 (LWP 15919)):
#0  0x001f1422 in __kernel_vsyscall ()
#1  0x04420e15 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x018db78d in __pthread_cond_wait (cond=0x8cb53f8, mutex=0x8cb53e0) at forward.c:139
#3  0x070635ee in ?? () from /usr/lib/libxine.so.1
#4  0x0441c80e in start_thread (arg=0xb3dffb70) at pthread_create.c:300
#5  0x018ce7ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 8 (Thread 0xb33ffb70 (LWP 15920)):
#0  0x001f1422 in __kernel_vsyscall ()
#1  0x04420e15 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x018db78d in __pthread_cond_wait (cond=0xb3e1ea68, mutex=0xb3e1ea50) at forward.c:139
#3  0x070635ee in ?? () from /usr/lib/libxine.so.1
#4  0x0441c80e in start_thread (arg=0xb33ffb70) at pthread_create.c:300
#5  0x018ce7ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 7 (Thread 0xb2bfeb70 (LWP 15921)):
#0  0x001f1422 in __kernel_vsyscall ()
#1  0x04420e15 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x018db78d in __pthread_cond_wait (cond=0x8e7dbd8, mutex=0x8e7dbc0) at forward.c:139
#3  0x070635ee in ?? () from /usr/lib/libxine.so.1
#4  0x0441c80e in start_thread (arg=0xb2bfeb70) at pthread_create.c:300
#5  0x018ce7ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 6 (Thread 0xb1d07b70 (LWP 15923)):
#0  0x001f1422 in __kernel_vsyscall ()
#1  0x018c7981 in select () from /lib/tls/i686/cmov/libc.so.6
#2  0x0707bbe0 in xine_usec_sleep () from /usr/lib/libxine.so.1
#3  0x07060011 in ?? () from /usr/lib/libxine.so.1
#4  0x0441c80e in start_thread (arg=0xb1d07b70) at pthread_create.c:300
#5  0x018ce7ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 5 (Thread 0xb086fb70 (LWP 15924)):
[KCrash Handler]
#6  Dynamic::CustomBias::reevaluate (this=0x99a5290, oldEnergy=0.90000000000000002, oldPlaylist=..., newTrack=..., newTrackPos=51, context=...)
    at /build/buildd/amarok-2.2.0/src/dynamic/CustomBias.cpp:112
#7  0x0077aa58 in Dynamic::BiasSolver::recalculateEnergy (this=0xd16cdc0, playlist=..., mutation=..., mutationPos=51) at /build/buildd/amarok-2.2.0/src/dynamic/BiasSolver.cpp:512
#8  0x0077d495 in Dynamic::BiasSolver::sa_optimize (this=0xd16cdc0, playlist=..., i=1000, updateStatus=true) at /build/buildd/amarok-2.2.0/src/dynamic/BiasSolver.cpp:232
#9  0x0077e8c3 in Dynamic::BiasSolver::run (this=0xd16cdc0) at /build/buildd/amarok-2.2.0/src/dynamic/BiasSolver.cpp:178
#10 0x0048837d in ThreadWeaver::JobRunHelper::runTheJob (this=0xb086f26c, th=0x99803e0, job=0xd16cdc0) at ../../../threadweaver/Weaver/Job.cpp:106
#11 0x004886e1 in ThreadWeaver::Job::execute (this=0xd16cdc0, th=0x99803e0) at ../../../threadweaver/Weaver/Job.cpp:135
#12 0x0048738a in ThreadWeaver::ThreadRunHelper::run (this=0xb086f2f4, parent=0x997fd88, th=0x99803e0) at ../../../threadweaver/Weaver/Thread.cpp:95
#13 0x004879db in ThreadWeaver::Thread::run (this=0x99803e0) at ../../../threadweaver/Weaver/Thread.cpp:142
#14 0x05cf2e32 in QThreadPrivate::start (arg=0x99803e0) at thread/qthread_unix.cpp:188
#15 0x0441c80e in start_thread (arg=0xb086fb70) at pthread_create.c:300
#16 0x018ce7ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 4 (Thread 0xb006eb70 (LWP 15925)):
#0  0x001f1422 in __kernel_vsyscall ()
#1  0x04420e15 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x018db78d in __pthread_cond_wait (cond=0x8ad3f50, mutex=0x8ad3f38) at forward.c:139
#3  0x05cf24d2 in QMutexPrivate::wait (this=0x8ad3f20, timeout=-1) at thread/qmutex_unix.cpp:80
#4  0x05cedba2 in QMutex::lock (this=0x8ad3a4c) at thread/qmutex.cpp:207
#5  0x05df4d45 in QOrderedMutexLocker::relock (sender=0x8bfc978, signal_index=6, receiver=0xd192f64, method_index=4, type=0, types=0x0)
    at ../../include/QtCore/private/../../../src/corelib/thread/qorderedmutexlocker_p.h:82
#6  QOrderedMutexLocker (sender=0x8bfc978, signal_index=6, receiver=0xd192f64, method_index=4, type=0, types=0x0)
    at ../../include/QtCore/private/../../../src/corelib/thread/qorderedmutexlocker_p.h:72
#7  QMetaObject::connect (sender=0x8bfc978, signal_index=6, receiver=0xd192f64, method_index=4, type=0, types=0x0) at kernel/qobject.cpp:2799
#8  0x05df5236 in QObject::connect (sender=0x8bfc978, signal=0x5e752c2 "2aboutToClose()", receiver=0xd192f64, method=0x5e752b3 "1flushStream()", type=Qt::AutoConnection) at kernel/qobject.cpp:2547
#9  0x05d89ae5 in QDeviceClosedNotifier::setupDevice (this=0xd0a6778, device=0x8bfc978) at io/qtextstream.cpp:332
#10 QTextStream (this=0xd0a6778, device=0x8bfc978) at io/qtextstream.cpp:997
#11 0x002b43d5 in Stream () at /usr/include/qt4/QtCore/qdebug.h:64
#12 QDebug () at /usr/include/qt4/QtCore/qdebug.h:75
#13 kDebugDevNull () at ../../kdecore/io/kdebug.cpp:616
#14 0xb1ee76fe in dbgstream () at /build/buildd/amarok-2.2.0/src/collection/mysqlecollection/../../Debug.h:113
#15 error () at /build/buildd/amarok-2.2.0/src/collection/mysqlecollection/../../Debug.h:135
#16 0xb1ee7e1f in MySqlCollection::reportError (this=0x8e2d6e8, message=...) at /build/buildd/amarok-2.2.0/src/collection/mysql-shared/MySqlCollection.cpp:217
#17 0xb1ee989f in MySqlCollection::query (this=0x8e2d6e8, statement=...) at /build/buildd/amarok-2.2.0/src/collection/mysql-shared/MySqlCollection.cpp:123
#18 0xb1ed6037 in Meta::SqlTrack::getTrackFromUid (uid=..., collection=0x8e2d6e8) at /build/buildd/amarok-2.2.0/src/collection/sqlcollection/SqlMeta.cpp:278
#19 0xb1eccf7f in SqlRegistry::getTrackFromUid (this=0x8e2d698, uid=...) at /build/buildd/amarok-2.2.0/src/collection/sqlcollection/SqlRegistry.cpp:136
#20 0xb1eb937e in SqlCollection::trackForUrl (this=0x8e2d6e8, url=...) at /build/buildd/amarok-2.2.0/src/collection/sqlcollection/SqlCollection.cpp:180
#21 0x0077ac13 in Dynamic::BiasSolver::trackForUid (this=0xd168f50, uid=...) at /build/buildd/amarok-2.2.0/src/dynamic/BiasSolver.cpp:756
#22 0x0077b01b in Dynamic::BiasSolver::getRandomTrack (this=0xd168f50, subset=...) at /build/buildd/amarok-2.2.0/src/dynamic/BiasSolver.cpp:732
#23 0x0077c7ba in Dynamic::BiasSolver::generateInitialPlaylist (this=0xd168f50, optimal=@0xb006e1bf) at /build/buildd/amarok-2.2.0/src/dynamic/BiasSolver.cpp:709
#24 0x0077e893 in Dynamic::BiasSolver::run (this=0xd168f50) at /build/buildd/amarok-2.2.0/src/dynamic/BiasSolver.cpp:172
#25 0x0048837d in ThreadWeaver::JobRunHelper::runTheJob (this=0xb006e26c, th=0xb3efffc8, job=0xd168f50) at ../../../threadweaver/Weaver/Job.cpp:106
#26 0x004886e1 in ThreadWeaver::Job::execute (this=0xd168f50, th=0xb3efffc8) at ../../../threadweaver/Weaver/Job.cpp:135
#27 0x0048738a in ThreadWeaver::ThreadRunHelper::run (this=0xb006e2f4, parent=0x997fd88, th=0xb3efffc8) at ../../../threadweaver/Weaver/Thread.cpp:95
#28 0x004879db in ThreadWeaver::Thread::run (this=0xb3efffc8) at ../../../threadweaver/Weaver/Thread.cpp:142
#29 0x05cf2e32 in QThreadPrivate::start (arg=0xb3efffc8) at thread/qthread_unix.cpp:188
#30 0x0441c80e in start_thread (arg=0xb006eb70) at pthread_create.c:300
#31 0x018ce7ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xaf86db70 (LWP 15926)):
#0  0x001f1422 in __kernel_vsyscall ()
#1  0x04420e15 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x018db78d in __pthread_cond_wait (cond=0x8e2d608, mutex=0x8e2d5f0) at forward.c:139
#3  0x05cf24d2 in QMutexPrivate::wait (this=0x8e2d5d8, timeout=-1) at thread/qmutex_unix.cpp:80
#4  0x05cedba2 in QMutex::lock (this=0x8e2d6bc) at thread/qmutex.cpp:207
#5  0xb1ecce7a in QMutexLocker::relock (this=0x8e2d698, uid=...) at /usr/include/qt4/QtCore/qmutex.h:120
#6  QMutexLocker (this=0x8e2d698, uid=...) at /usr/include/qt4/QtCore/qmutex.h:102
#7  SqlRegistry::getTrackFromUid (this=0x8e2d698, uid=...) at /build/buildd/amarok-2.2.0/src/collection/sqlcollection/SqlRegistry.cpp:130
#8  0xb1eb937e in SqlCollection::trackForUrl (this=0x8e2d6e8, url=...) at /build/buildd/amarok-2.2.0/src/collection/sqlcollection/SqlCollection.cpp:180
#9  0x0077ac13 in Dynamic::BiasSolver::trackForUid (this=0xd16af88, uid=...) at /build/buildd/amarok-2.2.0/src/dynamic/BiasSolver.cpp:756
#10 0x0077b01b in Dynamic::BiasSolver::getRandomTrack (this=0xd16af88, subset=...) at /build/buildd/amarok-2.2.0/src/dynamic/BiasSolver.cpp:732
#11 0x0077c901 in Dynamic::BiasSolver::generateInitialPlaylist (this=0xd16af88, optimal=@0xaf86d1bf) at /build/buildd/amarok-2.2.0/src/dynamic/BiasSolver.cpp:598
#12 0x0077e893 in Dynamic::BiasSolver::run (this=0xd16af88) at /build/buildd/amarok-2.2.0/src/dynamic/BiasSolver.cpp:172
#13 0x0048837d in ThreadWeaver::JobRunHelper::runTheJob (this=0xaf86d26c, th=0x9983848, job=0xd16af88) at ../../../threadweaver/Weaver/Job.cpp:106
#14 0x004886e1 in ThreadWeaver::Job::execute (this=0xd16af88, th=0x9983848) at ../../../threadweaver/Weaver/Job.cpp:135
#15 0x0048738a in ThreadWeaver::ThreadRunHelper::run (this=0xaf86d2f4, parent=0x997fd88, th=0x9983848) at ../../../threadweaver/Weaver/Thread.cpp:95
#16 0x004879db in ThreadWeaver::Thread::run (this=0x9983848) at ../../../threadweaver/Weaver/Thread.cpp:142
#17 0x05cf2e32 in QThreadPrivate::start (arg=0x9983848) at thread/qthread_unix.cpp:188
#18 0x0441c80e in start_thread (arg=0xaf86db70) at pthread_create.c:300
#19 0x018ce7ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xaf06cb70 (LWP 15927)):
#0  0x001f1422 in __kernel_vsyscall ()
#1  0x04423829 in __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/lowlevellock.S:142
#2  0x0441ef3b in _L_lock_752 () from /lib/tls/i686/cmov/libpthread.so.0
#3  0x0441ed51 in __pthread_mutex_lock (mutex=0x8b89a24) at pthread_mutex_lock.c:61
#4  0x018db956 in pthread_mutex_lock (mutex=0x8b89a24) at forward.c:182
#5  0x031c0d19 in g_main_context_wakeup () from /lib/libglib-2.0.so.0
#6  0x05e0dd5d in QEventDispatcherGlib::wakeUp (this=0x8ad3bf0) at kernel/qeventdispatcher_glib.cpp:483
#7  0x05de3472 in QCoreApplication::postEvent (receiver=0x99a3740, event=0xb34b4b50, priority=0) at kernel/qcoreapplication.cpp:1069
#8  0x05de363c in QCoreApplication::postEvent (receiver=0x99a3740, event=0xb34b4b50) at kernel/qcoreapplication.cpp:973
#9  0x05df45b5 in queued_activate (sender=<value optimized out>, signal=<value optimized out>, c=..., argv=0xaf06c038, semaphore=0x0) at kernel/qobject.cpp:3015
#10 0x05df9187 in QMetaObject::activate (sender=0xd1708b8, from_signal_index=8, to_signal_index=8, argv=0xaf06c038) at kernel/qobject.cpp:3086
#11 0x05df9ec2 in QMetaObject::activate (sender=0xd1708b8, m=0xa4ecb0, local_signal_index=1, argv=0xaf06c038) at kernel/qobject.cpp:3187
#12 0x00579a93 in Dynamic::BiasSolver::statusUpdate (this=0xd1708b8, _t1=1) at /build/buildd/amarok-2.2.0/obj-i486-linux-gnu/src/moc_BiasSolver.cpp:99
#13 0x0077cec9 in Dynamic::BiasSolver::generateInitialPlaylist (this=0xd1708b8, optimal=@0xaf06c1bf) at /build/buildd/amarok-2.2.0/src/dynamic/BiasSolver.cpp:712
#14 0x0077e893 in Dynamic::BiasSolver::run (this=0xd1708b8) at /build/buildd/amarok-2.2.0/src/dynamic/BiasSolver.cpp:172
#15 0x0048837d in ThreadWeaver::JobRunHelper::runTheJob (this=0xaf06c26c, th=0x99cd110, job=0xd1708b8) at ../../../threadweaver/Weaver/Job.cpp:106
#16 0x004886e1 in ThreadWeaver::Job::execute (this=0xd1708b8, th=0x99cd110) at ../../../threadweaver/Weaver/Job.cpp:135
#17 0x0048738a in ThreadWeaver::ThreadRunHelper::run (this=0xaf06c2f4, parent=0x997fd88, th=0x99cd110) at ../../../threadweaver/Weaver/Thread.cpp:95
#18 0x004879db in ThreadWeaver::Thread::run (this=0x99cd110) at ../../../threadweaver/Weaver/Thread.cpp:142
#19 0x05cf2e32 in QThreadPrivate::start (arg=0x99cd110) at thread/qthread_unix.cpp:188
#20 0x0441c80e in start_thread (arg=0xaf06cb70) at pthread_create.c:300
#21 0x018ce7ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb770e710 (LWP 15913)):
#0  0x001f1422 in __kernel_vsyscall ()
#1  0x018beecb in read () from /lib/tls/i686/cmov/libc.so.6
#2  0x031c2c10 in g_main_context_check () from /lib/libglib-2.0.so.0
#3  0x031c346c in ?? () from /lib/libglib-2.0.so.0
#4  0x031c3853 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x05e0e02c in QEventDispatcherGlib::processEvents (this=0x8ad3bf0, flags=...) at kernel/qeventdispatcher_glib.cpp:327
#6  0x01025be5 in QGuiEventDispatcherGlib::processEvents (this=0x8ad3bf0, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#7  0x05de1c79 in QEventLoop::processEvents (this=0xbfe10c94, flags=) at kernel/qeventloop.cpp:149
#8  0x05de20ca in QEventLoop::exec (this=0xbfe10c94, flags=...) at kernel/qeventloop.cpp:201
#9  0x05de453f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#10 0x00f84dd7 in QApplication::exec () at kernel/qapplication.cpp:3525
#11 0x08051e49 in main (argc=1, argv=0xbfe11534) at /build/buildd/amarok-2.2.0/src/main.cpp:225

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2009-11-15 21:27:22 UTC

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