Bug 228000 - Dragging Saved Playlist to Playlist causes immediate crash in 2.2.2.90
Summary: Dragging Saved Playlist to Playlist causes immediate crash in 2.2.2.90
Status: RESOLVED DUPLICATE of bug 226290
Alias: None
Product: amarok
Classification: Applications
Component: Playlists/Saved Playlists (show other bugs)
Version: 2.2.90
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-22 06:32 UTC by Valorie Zimmerman
Modified: 2010-02-22 23:20 UTC (History)
2 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 Valorie Zimmerman 2010-02-22 06:32:58 UTC
Application: amarok (2.2.2.90)
KDE Platform Version: 4.4.00 (KDE 4.4.0)
Qt Version: 4.6.1
Operating System: Linux 2.6.31-19-generic x86_64
Distribution: Ubuntu 9.10

-- Information about the crash:
I have only one saved playlist (a radio stream) so was dragging it over to the empty playlist. Amarok crashed with a segfault both times I tried this.

The crash can be reproduced every time.

 -- Backtrace:
Application: Amarok (amarok), signal: Segmentation fault
The current source language is "auto; currently c".
[Current thread is 1 (Thread 0x7ffff7fb3810 (LWP 13006))]

Thread 15 (Thread 0x7fffe1040910 (LWP 13007)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007fffe5df5c91 in metronom_sync_loop (this=0x8d1040) at metronom.c:870
#2  0x00007ffff3021a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007ffff4ef780d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 14 (Thread 0x7fffdf4c0910 (LWP 13008)):
#0  pthread_mutex_lock (mutex=0x8ecea8) at forward.c:182
#1  0x00007fffee647df5 in IA__g_main_context_prepare (context=0x8ecea0, priority=<value optimized out>) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2282
#2  0x00007fffee648191 in g_main_context_iterate (context=0x8ecea0, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>)
    at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2571
#3  0x00007fffee6486c0 in IA__g_main_context_iteration (context=0x8ecea0, may_block=1) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2654
#4  0x00007ffff58454b6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x00007ffff581a862 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x00007ffff581ac3c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#7  0x00007ffff5724d29 in QThread::exec() () from /usr/lib/libQtCore.so.4
#8  0x00007fffe6051570 in Phonon::Xine::XineThread::run (this=0x8d38f0) at ../../xine/xinethread.cpp:143
#9  0x00007ffff5727745 in ?? () from /usr/lib/libQtCore.so.4
#10 0x00007ffff3021a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#11 0x00007ffff4ef780d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 13 (Thread 0x7fffda8ad910 (LWP 13014)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fffe5e06983 in fifo_peek_int (this_gen=<value optimized out>) at audio_out.c:348
#2  fifo_peek (this_gen=<value optimized out>) at audio_out.c:388
#3  ao_loop (this_gen=<value optimized out>) at audio_out.c:1015
#4  0x00007ffff3021a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#5  0x00007ffff4ef780d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 12 (Thread 0x7fffde6a8910 (LWP 13015)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fffe5e06983 in fifo_peek_int (this_gen=<value optimized out>) at audio_out.c:348
#2  fifo_peek (this_gen=<value optimized out>) at audio_out.c:388
#3  ao_loop (this_gen=<value optimized out>) at audio_out.c:1015
#4  0x00007ffff3021a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#5  0x00007ffff4ef780d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 11 (Thread 0x7fffddea7910 (LWP 13016)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fffe5e06983 in fifo_peek_int (this_gen=<value optimized out>) at audio_out.c:348
#2  fifo_peek (this_gen=<value optimized out>) at audio_out.c:388
#3  ao_loop (this_gen=<value optimized out>) at audio_out.c:1015
#4  0x00007ffff3021a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#5  0x00007ffff4ef780d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7fffdcc66910 (LWP 13020)):
#0  0x00007ffff4eeb3c3 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fffe042620f in poll_func (ufds=0xd550d0, nfds=2, timeout=-1, userdata=0xd55e60) at pulse/thread-mainloop.c:75
#2  0x00007fffe04165e6 in pa_mainloop_poll (m=0xaa62f0) at pulse/mainloop.c:879
#3  0x00007fffe0417eb9 in pa_mainloop_iterate (m=0xaa62f0, block=<value optimized out>, retval=0x0) at pulse/mainloop.c:961
#4  0x00007fffe0417f70 in pa_mainloop_run (m=0xaa62f0, retval=0x0) at pulse/mainloop.c:979
#5  0x00007fffe042612b in thread (userdata=0xd55ce0) at pulse/thread-mainloop.c:94
#6  0x00007fffe01e7050 in internal_thread_func (userdata=0xaa54f0) at pulsecore/thread-posix.c:72
#7  0x00007ffff3021a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#8  0x00007ffff4ef780d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7fffdc465910 (LWP 13021)):
#0  0x00007ffff4eeb3c3 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=333) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fffdeabbcbe in my_snd_mixer_wait (data=<value optimized out>) at audio_alsa_out.c:150
#2  ao_alsa_handle_event_thread (data=<value optimized out>) at audio_alsa_out.c:166
#3  0x00007ffff3021a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007ffff4ef780d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 8 (Thread 0x7fffdbc64910 (LWP 13022)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fffe5e06983 in fifo_peek_int (this_gen=<value optimized out>) at audio_out.c:348
#2  fifo_peek (this_gen=<value optimized out>) at audio_out.c:388
#3  ao_loop (this_gen=<value optimized out>) at audio_out.c:1015
#4  0x00007ffff3021a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#5  0x00007ffff4ef780d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7fffd96d8910 (LWP 13024)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007ffff57286fb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007ffff1a6a096 in ?? () from /usr/lib/libthreadweaver.so.4
#3  0x00007ffff1a6c74b in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x00007ffff1a6c764 in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x00007ffff1a6c764 in ?? () from /usr/lib/libthreadweaver.so.4
#6  0x00007ffff1a6abff in ?? () from /usr/lib/libthreadweaver.so.4
#7  0x00007ffff1a6b058 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#8  0x00007ffff5727745 in ?? () from /usr/lib/libQtCore.so.4
#9  0x00007ffff3021a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007ffff4ef780d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 6 (Thread 0x7fffc7ce9910 (LWP 13025)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fffeff82b86 in ?? () from /usr/lib/libQtWebKit.so.4
#2  0x00007fffeff82bc9 in ?? () from /usr/lib/libQtWebKit.so.4
#3  0x00007ffff3021a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007ffff4ef780d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fffc6521910 (LWP 13026)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007ffff57286fb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007ffff1a6a096 in ?? () from /usr/lib/libthreadweaver.so.4
#3  0x00007ffff1a6c74b in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x00007ffff1a6c764 in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x00007ffff1a6abff in ?? () from /usr/lib/libthreadweaver.so.4
#6  0x00007ffff1a6b058 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#7  0x00007ffff5727745 in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007ffff3021a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007ffff4ef780d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fffc5d20910 (LWP 13027)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007ffff57286fb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007ffff1a6a096 in ?? () from /usr/lib/libthreadweaver.so.4
#3  0x00007ffff1a6c74b in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x00007ffff1a6abff in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x00007ffff1a6b058 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#6  0x00007ffff5727745 in ?? () from /usr/lib/libQtCore.so.4
#7  0x00007ffff3021a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#8  0x00007ffff4ef780d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fffc1985910 (LWP 13028)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007ffff57286fb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007ffff1a6a096 in ?? () from /usr/lib/libthreadweaver.so.4
#3  0x00007ffff1a6c74b in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x00007ffff1a6c764 in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x00007ffff1a6c764 in ?? () from /usr/lib/libthreadweaver.so.4
#6  0x00007ffff1a6abff in ?? () from /usr/lib/libthreadweaver.so.4
#7  0x00007ffff1a6b058 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#8  0x00007ffff5727745 in ?? () from /usr/lib/libQtCore.so.4
#9  0x00007ffff3021a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007ffff4ef780d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fffb4fc6910 (LWP 13062)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007ffff12d7396 in ?? () from /usr/lib/libQtScript.so.4
#2  0x00007ffff12d73d9 in ?? () from /usr/lib/libQtScript.so.4
#3  0x00007ffff3021a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007ffff4ef780d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ffff7fb3810 (LWP 13006)):
[KCrash Handler]
#5  PlaylistBrowserNS::UserModel::trackFromIndex (this=<value optimized out>, index=...) at /build/buildd/amarok-2.2.2.90/src/browsers/playlistbrowser/UserPlaylistModel.cpp:738
#6  0x00007ffff70da88b in PlaylistBrowserNS::UserModel::selectedTracks (this=0x1a8aca0, list=<value optimized out>)
    at /build/buildd/amarok-2.2.2.90/src/browsers/playlistbrowser/UserPlaylistModel.cpp:728
#7  0x00007ffff70e2053 in PlaylistBrowserNS::UserModel::actionsFor (this=0x1a8aca0, indices=<value optimized out>)
    at /build/buildd/amarok-2.2.2.90/src/browsers/playlistbrowser/UserPlaylistModel.cpp:524
#8  0x00007ffff70e97fb in PlaylistBrowserNS::UserPlaylistTreeView::startDrag (this=0x1a8b720, supportedActions=)
    at /build/buildd/amarok-2.2.2.90/src/browsers/playlistbrowser/UserPlaylistTreeView.cpp:109
#9  0x00007ffff66bccae in QAbstractItemView::mouseMoveEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4
#10 0x00007ffff61ebfaf in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#11 0x00007ffff65920d6 in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4
#12 0x00007ffff66c143b in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#13 0x00007ffff66fc1f3 in QTreeView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#14 0x00007ffff581b357 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#15 0x00007ffff6195f7c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#16 0x00007ffff619cd7b in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#17 0x00007ffff71ddd0a in App::notify (this=0x7fffffff, receiver=0x0, event=0x212d940) at /build/buildd/amarok-2.2.2.90/src/App.cpp:963
#18 0x00007ffff581bf3c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#19 0x00007ffff619bf56 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4
#20 0x00007ffff621b545 in ?? () from /usr/lib/libQtGui.so.4
#21 0x00007ffff621a25a in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#22 0x00007ffff6245c02 in ?? () from /usr/lib/libQtGui.so.4
#23 0x00007fffee644bce in g_main_dispatch (context=0x774120) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:1960
#24 IA__g_main_context_dispatch (context=0x774120) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2513
#25 0x00007fffee648598 in g_main_context_iterate (context=0x774120, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>)
    at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2591
#26 0x00007fffee6486c0 in IA__g_main_context_iteration (context=0x774120, may_block=1) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2654
#27 0x00007ffff5845463 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#28 0x00007ffff62457ee in ?? () from /usr/lib/libQtGui.so.4
#29 0x00007ffff581a862 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#30 0x00007ffff581ac3c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#31 0x00007ffff581e97b in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#32 0x0000000000408752 in main (argc=2, argv=0x7fffffffe288) at /build/buildd/amarok-2.2.2.90/src/main.cpp:237
The current source language is "auto; currently c".

This bug may be a duplicate of or related to bug 226290.

Possible duplicates by query: bug 226970, bug 226918, bug 226290.

Reported using DrKonqi
Comment 1 Bart Cerneels 2010-02-22 09:17:36 UTC
What is the filetype of the playlist and was the browser in merged mode?
Comment 2 Myriam Schweingruber 2010-02-22 09:39:26 UTC
Valorie and Bart: this is a duplicate of bug 226290, already fixed in git. I can't reproduce that here.

*** This bug has been marked as a duplicate of bug 226290 ***
Comment 3 Valorie Zimmerman 2010-02-22 23:20:04 UTC
Just in case this ever helps: it was in Merged view. I was unable to find the playlist as .m3u, or with the name. It appeared to be part of the "internal database."

Right-clicking crashed just as drag and drop did.

I'll build from git, Mamarok. :-)