<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>322533</bug_id>
          
          <creation_ts>2013-07-18 15:35:24 +0000</creation_ts>
          <short_desc>Amarok crashes when disabling Free Music Charts script</short_desc>
          <delta_ts>2013-07-18 15:42:28 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>amarok</product>
          <component>general</component>
          <version>2.7.1</version>
          <rep_platform>openSUSE</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>321329</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>2.8</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Mariusz">fisiu82</reporter>
          <assigned_to name="Amarok Bugs">amarok-bugs-null</assigned_to>
          
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1384304</commentid>
    <comment_count>0</comment_count>
    <who name="Mariusz">fisiu82</who>
    <bug_when>2013-07-18 15:35:24 +0000</bug_when>
    <thetext>Application: amarok (2.7.1)
KDE Platform Version: 4.10.5 &quot;release 1&quot;
Qt Version: 4.8.4
Operating System: Linux 3.10.1-3.gb92a291-desktop i686
Distribution: &quot;openSUSE 12.3 (i586)&quot;

-- Information about the crash:
After unchecking Free Music Charts script (to disable it) amarok crashes immediatly after hitting &apos;Apply&apos; button.

Steps to reproduce:
1. Start Amarok and open its configuration.
2. Choose &apos;Scripts&apos; from configuration window.
3. Locate Free Music Charts and uncheck the box next to it.
4. Hit Apply button.

The crash can be reproduced every time.

-- Backtrace:
Application: Amarok (amarok), signal: Segmentation fault
Using host libthread_db library &quot;/lib/libthread_db.so.1&quot;.
[Current thread is 1 (Thread 0xaf4e7740 (LWP 2520))]

Thread 15 (Thread 0xa9d85b40 (LWP 2523)):
#0  0xb5584401 in poll () from /lib/libc.so.6
#1  0xb2cfaab6 in ?? () from /usr/lib/libpulse.so.0
#2  0xb2ce8d5a in pa_mainloop_poll () from /usr/lib/libpulse.so.0
#3  0xb2ce9599 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#4  0xb2ce9674 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#5  0xb2cfaa3e in ?? () from /usr/lib/libpulse.so.0
#6  0xb012d21a in ?? () from /usr/lib/pulseaudio/libpulsecommon-3.0.so
#7  0xb50f8b5e in start_thread () from /lib/libpthread.so.0
#8  0xb558f16e in clone () from /lib/libc.so.6

Thread 14 (Thread 0xa7c4db40 (LWP 2525)):
#0  0xb50fcb54 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0xb559c8b4 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libc.so.6
#2  0xa8406100 in my_service_thread_sleep () from /usr/lib/libmysqld.so.18
#3  0xa8099ad7 in ma_checkpoint_background () from /usr/lib/libmysqld.so.18
#4  0xb50f8b5e in start_thread () from /lib/libpthread.so.0
#5  0xb558f16e in clone () from /lib/libc.so.6

Thread 13 (Thread 0xa5dbcb40 (LWP 2526)):
#0  0xb55a23cd in clock_gettime () from /lib/libc.so.6
#1  0xb5801975 in do_gettime (frac=0xa5dbbf70, sec=0xa5dbbf68) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0xb58e83ae in QTimerInfoList::updateCurrentTime (this=0x99501c74) at kernel/qeventdispatcher_unix.cpp:354
#4  0x7fffffff in ?? ()
#5  0xb58e874a in QTimerInfoList::timerWait (this=0x99501c74, tm=...) at kernel/qeventdispatcher_unix.cpp:461
#6  0x7fffffff in ?? ()

Thread 12 (Thread 0x994ffb40 (LWP 2528)):
#0  0xb50fc792 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0xb559c85c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#2  0xb57a3550 in wait (time=4294967295, this=0x945de00) at thread/qwaitcondition_unix.cpp:86
#3  QWaitCondition::wait (this=0x945dd50, mutex=0x9488a78, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#4  0xb4d0b405 in ?? () from /usr/lib/libthreadweaver.so.4
#5  0xb4d0e24b in ?? () from /usr/lib/libthreadweaver.so.4
#6  0xb4d0af6a in ?? () from /usr/lib/libthreadweaver.so.4
#7  0xb4d0e3a4 in ?? () from /usr/lib/libthreadweaver.so.4
#8  0xb4d0ae63 in ?? () from /usr/lib/libthreadweaver.so.4
#9  0xb4d0cdf4 in ?? () from /usr/lib/libthreadweaver.so.4
#10 0xb4d0ceaa in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#11 0xb57a2f78 in QThreadPrivate::start (arg=0x9488738) at thread/qthread_unix.cpp:338
#12 0xb50f8b5e in start_thread () from /lib/libpthread.so.0
#13 0xb558f16e in clone () from /lib/libc.so.6

Thread 11 (Thread 0x98cffb40 (LWP 2531)):
#0  0xb50fc792 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0xb559c85c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#2  0xb57a3550 in wait (time=4294967295, this=0x945de00) at thread/qwaitcondition_unix.cpp:86
#3  QWaitCondition::wait (this=0x945dd50, mutex=0x9488a78, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#4  0xb4d0b405 in ?? () from /usr/lib/libthreadweaver.so.4
#5  0xb4d0e24b in ?? () from /usr/lib/libthreadweaver.so.4
#6  0xb4d0af6a in ?? () from /usr/lib/libthreadweaver.so.4
#7  0xb4d0e3a4 in ?? () from /usr/lib/libthreadweaver.so.4
#8  0xb4d0ae63 in ?? () from /usr/lib/libthreadweaver.so.4
#9  0xb4d0e3c0 in ?? () from /usr/lib/libthreadweaver.so.4
#10 0xb4d0ae63 in ?? () from /usr/lib/libthreadweaver.so.4
#11 0xb4d0e3c0 in ?? () from /usr/lib/libthreadweaver.so.4
#12 0xb4d0ae63 in ?? () from /usr/lib/libthreadweaver.so.4
#13 0xb4d0e3c0 in ?? () from /usr/lib/libthreadweaver.so.4
#14 0xb4d0ae63 in ?? () from /usr/lib/libthreadweaver.so.4
#15 0xb4d0e3c0 in ?? () from /usr/lib/libthreadweaver.so.4
#16 0xb4d0ae63 in ?? () from /usr/lib/libthreadweaver.so.4
#17 0xb4d0e3c0 in ?? () from /usr/lib/libthreadweaver.so.4
#18 0xb4d0ae63 in ?? () from /usr/lib/libthreadweaver.so.4
#19 0xb4d0cdf4 in ?? () from /usr/lib/libthreadweaver.so.4
#20 0xb4d0ceaa in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#21 0xb57a2f78 in QThreadPrivate::start (arg=0x9534340) at thread/qthread_unix.cpp:338
#22 0xb50f8b5e in start_thread () from /lib/libpthread.so.0
#23 0xb558f16e in clone () from /lib/libc.so.6

Thread 10 (Thread 0x984ffb40 (LWP 2532)):
#0  0xb50fc792 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0xb559c85c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#2  0xb57a3550 in wait (time=4294967295, this=0x945de00) at thread/qwaitcondition_unix.cpp:86
#3  QWaitCondition::wait (this=0x945dd50, mutex=0x9488a78, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#4  0xb4d0b405 in ?? () from /usr/lib/libthreadweaver.so.4
#5  0xb4d0e24b in ?? () from /usr/lib/libthreadweaver.so.4
#6  0xb4d0af6a in ?? () from /usr/lib/libthreadweaver.so.4
#7  0xb4d0e3a4 in ?? () from /usr/lib/libthreadweaver.so.4
#8  0xb4d0ae63 in ?? () from /usr/lib/libthreadweaver.so.4
#9  0xb4d0e3c0 in ?? () from /usr/lib/libthreadweaver.so.4
#10 0xb4d0ae63 in ?? () from /usr/lib/libthreadweaver.so.4
#11 0xb4d0e3c0 in ?? () from /usr/lib/libthreadweaver.so.4
#12 0xb4d0ae63 in ?? () from /usr/lib/libthreadweaver.so.4
#13 0xb4d0cdf4 in ?? () from /usr/lib/libthreadweaver.so.4
#14 0xb4d0ceaa in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#15 0xb57a2f78 in QThreadPrivate::start (arg=0x9564c40) at thread/qthread_unix.cpp:338
#16 0xb50f8b5e in start_thread () from /lib/libpthread.so.0
#17 0xb558f16e in clone () from /lib/libc.so.6

Thread 9 (Thread 0x97cffb40 (LWP 2533)):
#0  0xb50fc792 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0xb559c85c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#2  0xb57a3550 in wait (time=4294967295, this=0x945de00) at thread/qwaitcondition_unix.cpp:86
#3  QWaitCondition::wait (this=0x945dd50, mutex=0x9488a78, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#4  0xb4d0b405 in ?? () from /usr/lib/libthreadweaver.so.4
#5  0xb4d0e24b in ?? () from /usr/lib/libthreadweaver.so.4
#6  0xb4d0af6a in ?? () from /usr/lib/libthreadweaver.so.4
#7  0xb4d0e3a4 in ?? () from /usr/lib/libthreadweaver.so.4
#8  0xb4d0ae63 in ?? () from /usr/lib/libthreadweaver.so.4
#9  0xb4d0e3c0 in ?? () from /usr/lib/libthreadweaver.so.4
#10 0xb4d0ae63 in ?? () from /usr/lib/libthreadweaver.so.4
#11 0xb4d0e3c0 in ?? () from /usr/lib/libthreadweaver.so.4
#12 0xb4d0ae63 in ?? () from /usr/lib/libthreadweaver.so.4
#13 0xb4d0cdf4 in ?? () from /usr/lib/libthreadweaver.so.4
#14 0xb4d0ceaa in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#15 0xb57a2f78 in QThreadPrivate::start (arg=0x9543ac0) at thread/qthread_unix.cpp:338
#16 0xb50f8b5e in start_thread () from /lib/libpthread.so.0
#17 0xb558f16e in clone () from /lib/libc.so.6

Thread 8 (Thread 0x973e2b40 (LWP 2534)):
#0  0xb50fc792 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0xb559c85c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#2  0xb251465d in ?? () from /usr/lib/libQtWebKit.so.4
#3  0xb251468f in ?? () from /usr/lib/libQtWebKit.so.4
#4  0xb50f8b5e in start_thread () from /lib/libpthread.so.0
#5  0xb558f16e in clone () from /lib/libc.so.6

Thread 7 (Thread 0x96ac2b40 (LWP 2535)):
#0  0xb333ec00 in ?? () from /usr/lib/libglib-2.0.so.0
#1  0xb333eed8 in g_mutex_lock () from /usr/lib/libglib-2.0.so.0
#2  0xb32fd69d in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#3  0xb32fdb62 in ?? () from /usr/lib/libglib-2.0.so.0
#4  0xb32fdd31 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#5  0xb58e78af in QEventDispatcherGlib::processEvents (this=0x973a6b0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0xb58b439c in QEventLoop::processEvents (this=this@entry=0x96ac2258, flags=...) at kernel/qeventloop.cpp:149
#7  0xb58b4691 in QEventLoop::exec (this=0x96ac2258, flags=...) at kernel/qeventloop.cpp:204
#8  0xb579fb6c in QThread::exec (this=this@entry=0x9832ef8) at thread/qthread.cpp:542
#9  0xb579fccb in QThread::run (this=0x9832ef8) at thread/qthread.cpp:609
#10 0xb57a2f78 in QThreadPrivate::start (arg=0x9832ef8) at thread/qthread_unix.cpp:338
#11 0xb50f8b5e in start_thread () from /lib/libpthread.so.0
#12 0xb558f16e in clone () from /lib/libc.so.6

Thread 6 (Thread 0x958ffb40 (LWP 2539)):
#0  0xb50fc792 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0xb559c85c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#2  0xb477024d in ?? () from /usr/lib/libQtScript.so.4
#3  0xb477027f in ?? () from /usr/lib/libQtScript.so.4
#4  0xb50f8b5e in start_thread () from /lib/libpthread.so.0
#5  0xb558f16e in clone () from /lib/libc.so.6

Thread 5 (Thread 0x8bfffb40 (LWP 2561)):
#0  0xb50fc792 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0xb559c85c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#2  0xb57a3550 in wait (time=4294967295, this=0xa14a180) at thread/qwaitcondition_unix.cpp:86
#3  QWaitCondition::wait (this=0xa1caeec, mutex=0xa1caee8, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#4  0xb60f06cf in ?? () from /usr/lib/libQtGui.so.4
#5  0xb57a2f78 in QThreadPrivate::start (arg=0xa1caee0) at thread/qthread_unix.cpp:338
#6  0xb50f8b5e in start_thread () from /lib/libpthread.so.0
#7  0xb558f16e in clone () from /lib/libc.so.6

Thread 4 (Thread 0x8b7ffb40 (LWP 2562)):
#0  0xb559ca87 in pthread_mutex_unlock () from /lib/libc.so.6
#1  0xb333ef20 in g_mutex_unlock () from /usr/lib/libglib-2.0.so.0
#2  0xb32fd3e5 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#3  0xb32fdacf in ?? () from /usr/lib/libglib-2.0.so.0
#4  0xb32fdd31 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#5  0xb58e78af in QEventDispatcherGlib::processEvents (this=0xa5481870, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0xb58b439c in QEventLoop::processEvents (this=this@entry=0x8b7ff228, flags=...) at kernel/qeventloop.cpp:149
#7  0xb58b4691 in QEventLoop::exec (this=0x8b7ff228, flags=...) at kernel/qeventloop.cpp:204
#8  0xb579fb6c in QThread::exec (this=0x9fe7090) at thread/qthread.cpp:542
#9  0xb589299d in QInotifyFileSystemWatcherEngine::run (this=0x9fe7090) at io/qfilesystemwatcher_inotify.cpp:256
#10 0xb57a2f78 in QThreadPrivate::start (arg=0x9fe7090) at thread/qthread_unix.cpp:338
#11 0xb50f8b5e in start_thread () from /lib/libpthread.so.0
#12 0xb558f16e in clone () from /lib/libc.so.6

Thread 3 (Thread 0x8a550b40 (LWP 2565)):
#0  0xb50fc792 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0xb559c85c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#2  0xb57a3550 in wait (time=4294967295, this=0x9fc4648) at thread/qwaitcondition_unix.cpp:86
#3  QWaitCondition::wait (this=0x9fc5cbc, mutex=0x9fc5cb8, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#4  0xb60f06cf in ?? () from /usr/lib/libQtGui.so.4
#5  0xb57a2f78 in QThreadPrivate::start (arg=0x9fc5cb0) at thread/qthread_unix.cpp:338
#6  0xb50f8b5e in start_thread () from /lib/libpthread.so.0
#7  0xb558f16e in clone () from /lib/libc.so.6

Thread 2 (Thread 0x89d50b40 (LWP 2566)):
#0  0xb559ca64 in pthread_mutex_lock () from /lib/libc.so.6
#1  0xb333eee0 in g_mutex_lock () from /usr/lib/libglib-2.0.so.0
#2  0xb32fd406 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#3  0xb32fdacf in ?? () from /usr/lib/libglib-2.0.so.0
#4  0xb32fdd31 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#5  0xb58e78af in QEventDispatcherGlib::processEvents (this=0x995231e8, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0xb58b439c in QEventLoop::processEvents (this=this@entry=0x89d50228, flags=...) at kernel/qeventloop.cpp:149
#7  0xb58b4691 in QEventLoop::exec (this=0x89d50228, flags=...) at kernel/qeventloop.cpp:204
#8  0xb579fb6c in QThread::exec (this=0x99c5f60) at thread/qthread.cpp:542
#9  0xb589299d in QInotifyFileSystemWatcherEngine::run (this=0x99c5f60) at io/qfilesystemwatcher_inotify.cpp:256
#10 0xb57a2f78 in QThreadPrivate::start (arg=0x99c5f60) at thread/qthread_unix.cpp:338
#11 0xb50f8b5e in start_thread () from /lib/libpthread.so.0
#12 0xb558f16e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xaf4e7740 (LWP 2520)):
[KCrash Handler]
#5  findNode (akey=&lt;synthetic pointer&gt;, this=0xb0bf6d0) at /usr/include/QtCore/qmap.h:487
#6  value (akey=&lt;synthetic pointer&gt;, this=0xb0bf6d0) at /usr/include/QtCore/qmap.h:502
#7  Collections::ServiceCollection::albumById (this=0xb0bf6a0, id=1) at /usr/src/debug/amarok-2.7.1/src/services/ServiceCollection.cpp:133
#8  0xb6a650f5 in Collections::ScriptableServiceQueryMaker::fetchTracks (this=0xae94ce8) at /usr/src/debug/amarok-2.7.1/src/services/scriptable/ScriptableServiceQueryMaker.cpp:315
#9  0x08d798a8 in ?? ()

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1384312</commentid>
    <comment_count>1</comment_count>
    <who name="Mark Kretschmann">kretschmann</who>
    <bug_when>2013-07-18 15:42:28 +0000</bug_when>
    <thetext>Thanks, this was already fixed in 2.8-beta.

*** This bug has been marked as a duplicate of bug 321329 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>