Bug 122002 - Crash when dragging anything to amazon cover dialog
Summary: Crash when dragging anything to amazon cover dialog
Status: RESOLVED NOT A BUG
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: 2.0-SVN
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
: 118305 136020 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-02-15 05:21 UTC by shao lo
Modified: 2008-08-18 23:36 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 shao lo 2006-02-15 05:21:40 UTC
Version:           1.4 (using KDE KDE 3.5.0)
Installed from:    Ubuntu Packages
OS:                Linux

1. Click one of the ? iconss in the context manager to get cover from amazon (clicking one that will take a few moments makes it easier to reproduce)
2. While the request is pending, grab an item from the bottom of the playlist and drag it up in the play sequence (do not commplete the move yet)
3. When the album cover dialog comes up, now release the mouse button to complete the playlist move...boommmm!

Untouchable (in #amaarok) reproduced this for me and provided the following link to the backtrace http://amarok.pastebin.com/555442
Comment 1 Alexandre Oliveira 2006-02-15 05:24:54 UTC
Pasting the backtrace here, to avoid losing it:

0xffffe410 in __kernel_vsyscall ()
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb5d943cb in __waitpid_nocancel () from /lib/libpthread.so.0
#2  0x0804ea99 in amaroK::Crash::crashHandler () at crashhandler.cpp:220
#3  <signal handler called>
#4  0xb7c350ff in QWidget::testWFlags (this=0x18, f=33554432) at qwidget.h:712
#5  0xb64a9c2c in qt_tryModalHelper (widget=0x81d3940, rettop=0x0)
    at qapplication.cpp:3660
#6  0xb642449c in qt_try_modal (widget=0x8252dd8, event=0xbfe31ad0)
    at qapplication_x11.cpp:3812
#7  0xb6d4bb0e in KAccelEventHandler::x11Event ()
   from /usr/kde/3.5/lib/libkdecore.so.4
#8  0xb6cbd9e7 in KApplication::x11EventFilter ()
   from /usr/kde/3.5/lib/libkdecore.so.4
#9  0xb6417189 in qt_x11EventFilter (ev=0xbfe31ad0)
    at qapplication_x11.cpp:386
#10 0xb6422e5f in QApplication::x11ProcessEvent (this=0xbfe31bc0, 
    event=0xbfe31ad0) at qapplication_x11.cpp:3308
#11 0xb64414e6 in QEventLoop::processEvents (this=0x8181cf8, flags=4)
    at qeventloop_x11.cpp:192
#12 0xb64bfbe3 in QEventLoop::enterLoop (this=0x8181cf8) at qeventloop.cpp:198
#13 0xb64bfafe in QEventLoop::exec (this=0x8181cf8) at qeventloop.cpp:145
#14 0xb64a7e71 in QApplication::exec (this=0xbfe31bc0)
    at qapplication.cpp:2758
#15 0x0804db20 in main (argc=1, argv=0xbfe31d44) at main.cpp:105
Comment 2 Alexandre Oliveira 2006-03-01 22:53:57 UTC
*** Bug 118305 has been marked as a duplicate of this bug. ***
Comment 3 Jeff Mitchell 2006-05-26 19:54:13 UTC
Try 1.4 or recent SVN...this is not reproducible any longer on my machine.
Comment 4 Alexandre Oliveira 2006-10-22 11:56:56 UTC
Still valid...
Comment 5 Alexandre Oliveira 2006-10-22 11:57:21 UTC
*** Bug 136020 has been marked as a duplicate of this bug. ***
Comment 6 Enric Caussa 2006-11-03 18:05:59 UTC
This bug is still valid, with SVN version: 601323
System info:
KDE 3.5.5-4
GCC 4.1.1-3
GLIBC 2.5-1
Comment 7 Sven Krohlas 2006-11-05 10:06:41 UTC
This can be reproduced easily using the steps in comment 0.

Here is a backtrace against current svn:

======== DEBUG INFORMATION  =======
Version:    1.4-SVN-0611050952
Engine:     xine-engine
Build date: Nov  5 2006
CC version: 4.0.2 20050901 (prerelease) (SUSE Linux)
KDElibs:    3.5.5 "release 19.1" 
Qt:         3.3.6
TagLib:     1.4.0
CPU count:  1

==== file `which amarokapp` =======
/opt/kde3/bin/amarokapp: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.5, dynamically linked (uses shared libs), not stripped


==== (gdb) bt =====================
Using host libthread_db library "/lib/tls/libthread_db.so.1".
`system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols.
[Thread debugging using libthread_db enabled]
[New Thread 1108697088 (LWP 1721)]
[New Thread 1138670512 (LWP 1733)]
[Thread debugging using libthread_db enabled]
[New Thread 1108697088 (LWP 1721)]
[New Thread 1138670512 (LWP 1733)]
[Thread debugging using libthread_db enabled]
[New Thread 1108697088 (LWP 1721)]
[New Thread 1138670512 (LWP 1733)]
[New Thread 1136569264 (LWP 1732)]
[New Thread 1132579760 (LWP 1731)]
[New Thread 1130478512 (LWP 1730)]
0xffffe410 in __kernel_vsyscall ()
#0  0xffffe410 in __kernel_vsyscall ()
#1  0x4200242b in __waitpid_nocancel () from /lib/tls/libpthread.so.0
#2  0x0804dd10 in Amarok::Crash::crashHandler () at /home/sven/amarok-svn/amarok/src/amarokcore/crashhandler.cpp:249
#3  <signal handler called>
#4  0x416fb641 in qt_tryModalHelper () from /usr/lib/qt3/lib/libqt-mt.so.3
#5  0x41688171 in qt_try_modal () from /usr/lib/qt3/lib/libqt-mt.so.3
#6  0x412eba2f in KAccelEventHandler::x11Event () from /opt/kde3/lib/libkdecore.so.4
#7  0x4137200f in KApplication::x11EventFilter () from /opt/kde3/lib/libkdecore.so.4
#8  0x416872a5 in qt_x11EventFilter () from /usr/lib/qt3/lib/libqt-mt.so.3
#9  0x416937cf in QApplication::x11ProcessEvent () from /usr/lib/qt3/lib/libqt-mt.so.3
#10 0x416a85fa in QEventLoop::processEvents () from /usr/lib/qt3/lib/libqt-mt.so.3
#11 0x417123e8 in QEventLoop::enterLoop () from /usr/lib/qt3/lib/libqt-mt.so.3
#12 0x417122e6 in QEventLoop::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#13 0x416facff in QApplication::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#14 0x0804cdd4 in main (argc=1, argv=0xbfcb1c34) at /home/sven/amarok-svn/amarok/src/main.cpp:109
#0  0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1  0x4200242b in __waitpid_nocancel () from /lib/tls/libpthread.so.0
No symbol table info available.
#2  0x0804dd10 in Amarok::Crash::crashHandler () at /home/sven/amarok-svn/amarok/src/amarokcore/crashhandler.cpp:249
	pid = 1759
#3  <signal handler called>
No symbol table info available.
#4  0x416fb641 in qt_tryModalHelper () from /usr/lib/qt3/lib/libqt-mt.so.3
No symbol table info available.
#5  0x41688171 in qt_try_modal () from /usr/lib/qt3/lib/libqt-mt.so.3
No symbol table info available.
#6  0x412eba2f in KAccelEventHandler::x11Event () from /opt/kde3/lib/libkdecore.so.4
No symbol table info available.
#7  0x4137200f in KApplication::x11EventFilter () from /opt/kde3/lib/libkdecore.so.4
No symbol table info available.
#8  0x416872a5 in qt_x11EventFilter () from /usr/lib/qt3/lib/libqt-mt.so.3
No symbol table info available.
#9  0x416937cf in QApplication::x11ProcessEvent () from /usr/lib/qt3/lib/libqt-mt.so.3
No symbol table info available.
#10 0x416a85fa in QEventLoop::processEvents () from /usr/lib/qt3/lib/libqt-mt.so.3
No symbol table info available.
#11 0x417123e8 in QEventLoop::enterLoop () from /usr/lib/qt3/lib/libqt-mt.so.3
No symbol table info available.
#12 0x417122e6 in QEventLoop::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
No symbol table info available.
#13 0x416facff in QApplication::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
No symbol table info available.
#14 0x0804cdd4 in main (argc=1, argv=0xbfcb1c34) at /home/sven/amarok-svn/amarok/src/main.cpp:109
	app = {<> = {<No data fields>}, <EngineObserver> = {_vptr.EngineObserver = 0x40532988, m_subject = 0x0}, static metaObj = 0x8134eb8, 
  static mainThreadId = 0, m_pGlobalAccel = 0x816b170, m_pPlayerWindow = 0x0, m_pPlaylistWindow = 0x8169e50, m_pTray = 0x81bde68, 
  m_pMediaDeviceManager = 0x4054e5c0}
==== (gdb) thread apply all bt ====
Thread 5 (Thread 1130478512 (LWP 1730)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0x41ffecec in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0
#2  0x42c069e3 in metronom_sync_loop (this=0x8704748) at metronom.c:873
#3  0x41ffc297 in start_thread () from /lib/tls/libpthread.so.0
#4  0x420ed37e in clone () from /lib/tls/libc.so.6
#5  0x4361bbb0 in ?? ()
Thread 4 (Thread 1132579760 (LWP 1731)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0x41ffea76 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0
#2  0x42c14eba in fifo_remove_int (fifo=0x87201b8, blocking=1) at audio_out.c:342
#3  0x42c18c41 in ao_loop (this_gen=0x8720ea8) at audio_out.c:380
#4  0x41ffc297 in start_thread () from /lib/tls/libpthread.so.0
#5  0x420ed37e in clone () from /lib/tls/libc.so.6
#6  0x4381cbb0 in ?? ()
Thread 3 (Thread 1136569264 (LWP 1732)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0x41ffea76 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0
#2  0x42c098fc in fifo_buffer_get (fifo=0x884b038) at buffer.c:233
#3  0x42c10c71 in audio_decoder_loop (stream_gen=0x883fb40) at audio_decoder.c:68
#4  0x41ffc297 in start_thread () from /lib/tls/libpthread.so.0
#5  0x420ed37e in clone () from /lib/tls/libc.so.6
#6  0x43beabb0 in ?? ()
Thread 2 (Thread 1138670512 (LWP 1733)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0x41ffea76 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0
#2  0x42c1a094 in xine_event_wait (queue=0x8853318) at events.c:59
#3  0x42c1a44c in listener_loop (queue_gen=0x8853318) at events.c:216
#4  0x41ffc297 in start_thread () from /lib/tls/libpthread.so.0
#5  0x420ed37e in clone () from /lib/tls/libc.so.6
#6  0x43debbb0 in ?? ()
Thread 1 (Thread 1108697088 (LWP 1721)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0x4200242b in __waitpid_nocancel () from /lib/tls/libpthread.so.0
#2  0x0804dd10 in Amarok::Crash::crashHandler () at /home/sven/amarok-svn/amarok/src/amarokcore/crashhandler.cpp:249
#3  <signal handler called>
#4  0x416fb641 in qt_tryModalHelper () from /usr/lib/qt3/lib/libqt-mt.so.3
#5  0x41688171 in qt_try_modal () from /usr/lib/qt3/lib/libqt-mt.so.3
#6  0x412eba2f in KAccelEventHandler::x11Event () from /opt/kde3/lib/libkdecore.so.4
#7  0x4137200f in KApplication::x11EventFilter () from /opt/kde3/lib/libkdecore.so.4
#8  0x416872a5 in qt_x11EventFilter () from /usr/lib/qt3/lib/libqt-mt.so.3
#9  0x416937cf in QApplication::x11ProcessEvent () from /usr/lib/qt3/lib/libqt-mt.so.3
#10 0x416a85fa in QEventLoop::processEvents () from /usr/lib/qt3/lib/libqt-mt.so.3
#11 0x417123e8 in QEventLoop::enterLoop () from /usr/lib/qt3/lib/libqt-mt.so.3
#12 0x417122e6 in QEventLoop::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#13 0x416facff in QApplication::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#14 0x0804cdd4 in main (argc=1, argv=0xbfcb1c34) at /home/sven/amarok-svn/amarok/src/main.cpp:109
#0  0xffffe410 in __kernel_vsyscall ()


==== kdBacktrace() ================
[
0: /opt/kde3/lib/libkdecore.so.4(_Z11kdBacktracei+0x45) [0x412e1e55]
1: /opt/kde3/lib/libkdecore.so.4(_Z11kdBacktracev+0x2b) [0x412e21db]
2: amarokapp(_ZN6Amarok5Crash12crashHandlerEi+0xc7b) [0x804db59]
3: [0xffffe420]
4: /usr/lib/qt3/lib/libqt-mt.so.3(_Z12qt_try_modalP7QWidgetP7_XEvent+0x51) [0x41688171]
5: /opt/kde3/lib/libkdecore.so.4(_ZN18KAccelEventHandler8x11EventEP7_XEvent+0x4f) [0x412eba2f]
6: /opt/kde3/lib/libkdecore.so.4(_ZN12KApplication14x11EventFilterEP7_XEvent+0x6f) [0x4137200f]
7: /usr/lib/qt3/lib/libqt-mt.so.3 [0x416872a5]
8: /usr/lib/qt3/lib/libqt-mt.so.3(_ZN12QApplication15x11ProcessEventEP7_XEvent+0xaf) [0x416937cf]
9: /usr/lib/qt3/lib/libqt-mt.so.3(_ZN10QEventLoop13processEventsEj+0x23a) [0x416a85fa]
10: /usr/lib/qt3/lib/libqt-mt.so.3(_ZN10QEventLoop9enterLoopEv+0xa8) [0x417123e8]
11: /usr/lib/qt3/lib/libqt-mt.so.3(_ZN10QEventLoop4execEv+0x26) [0x417122e6]
12: /usr/lib/qt3/lib/libqt-mt.so.3(_ZN12QApplication4execEv+0x1f) [0x416facff]
13: amarokapp [0x804cdd4]
14: /lib/tls/libc.so.6(__libc_start_main+0xd0) [0x42043ea0]
15: amarokapp(_ZN6QGList5clearEv+0xc9) [0x804c671]
]
Comment 8 Unknown 2007-06-12 13:36:50 UTC
I can confirm it, but havent got any backtrace.
When you have draged a song from playlist, and the amazon window appears, a you drop it in this window, amarok crashes.

Kubuntu 7.04
KDE 3.5.6
Amarok 1.4.5
Comment 9 Harald Sitter 2007-08-28 12:14:36 UTC
Reproduced on 1.4.7

Maybe it can be fixed by creating the new window (and therfore lock all playlist window operations) before any data were received. This way one would have no possability to grab any song between fetching and window appearance.

On the other hand, if it's a lotta work, might cause problems or anything else which clearly makes a fix in 1.4 impossible, we should just go for a later and keep it in mind for Amarok2.
Comment 10 Jeff Mitchell 2007-08-28 13:22:36 UTC
Well, that goes to show why having detailed steps for reproduction is important, or I wouldn't have ignored this bug for the last year and three months.  I was dropping the playlist item *in the playlist* where, you know, it's supposed to go.

I'll look into this and see if I can reproduce by dropping into the Amazon dialog.
Comment 11 Dan Meltzer 2008-03-14 05:47:15 UTC
Would be nice to look at this in this weekends triage, bumping the priority as it's a crash and all that.
Comment 12 A. Spehr 2008-06-15 05:41:02 UTC
Can reproduce in debian sid's little amarok 1.4.9.1

#0  qt_tryModalHelper (widget=0x902f8c0, rettop=0x0) at kernel/qapplication.cpp:3726
#1  0xb7067e72 in qt_try_modal (widget=0x902f8c0, event=0xbfcd54b8)
    at kernel/qapplication_x11.cpp:3868
#2  0xb794533f in KAccelEventHandler::x11Event (this=0x8fb2bc0, pEvent=0xbfcd54b8)
    at /build/buildd/kdelibs-3.5.9.dfsg.1/./kdecore/kaccel.cpp:126
#3  0xb79d033a in KApplication::x11EventFilter (this=0xbfcd55a0, _event=0xbfcd54b8)
    at /build/buildd/kdelibs-3.5.9.dfsg.1/./kdecore/kapplication.cpp:1659
#4  0xb70669c5 in qt_x11EventFilter (ev=0xbfcd54b8) at kernel/qapplication_x11.cpp:409
#5  0xb707611e in QApplication::x11ProcessEvent (this=0xbfcd55a0, event=0xbfcd54b8)
    at kernel/qapplication_x11.cpp:3389
#6  0xb7086fe6 in QEventLoop::processEvents (this=0x8f0d578, flags=<value optimized out>)
    at kernel/qeventloop_x11.cpp:195
#7  0xb70eeb80 in QEventLoop::enterLoop (this=0x8f0d578) at kernel/qeventloop.cpp:201
#8  0xb70eea16 in QEventLoop::exec (this=0x8f0d578) at kernel/qeventloop.cpp:148
#9  0xb70d7cff in QApplication::exec (this=0xbfcd55a0) at kernel/qapplication.cpp:2761
#10 0x0804c097 in ?? ()
#11 0xbfcd55a0 in ?? ()
#12 0xbfcd5734 in ?? ()
#13 0x08069946 in ?? ()
#14 0x08069935 in ?? ()
#15 0x00000000 in ?? ()
Comment 13 Myriam Schweingruber 2008-08-04 18:07:45 UTC
moved to 2.0
Comment 14 Lydia Pintscher 2008-08-04 18:17:20 UTC
Can you reproduce this with Amarok 2?
Please add a backtrace if yes.
Comment 15 Lydia Pintscher 2008-08-18 23:36:43 UTC
Closing due to lack of feedback.