Bug 248260 - Amarok crashed when trying to play anything with "Resume playback at start" enabled. [@ VideoclipApplet::engineNewTrackPlaying]
Summary: Amarok crashed when trying to play anything with "Resume playback at start" e...
Status: RESOLVED DUPLICATE of bug 248199
Alias: None
Product: amarok
Classification: Applications
Component: Context View/Video (show other bugs)
Version: 2.3.1.90
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: 2.3.2
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-18 16:37 UTC by Alejandro Nova
Modified: 2010-08-19 01:06 UTC (History)
2 users (show)

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 Alejandro Nova 2010-08-18 16:37:52 UTC
Application: amarok (2.3.1.90)
KDE Platform Version: 4.5.00 (KDE 4.5.0)
Qt Version: 4.7.0
Operating System: Linux 2.6.34.3-37.fc13.x86_64 x86_64
Distribution: "Fedora release 13 (Goddard)"

-- Information about the crash:
- What I was doing when the application crashed:
I added a FLAC file to the playlist and tried to play it. Boom. After that, I tried to restart Amarok, Amarok tried to play the FLAC file, and boom again.

The crash can be reproduced every time.

-- Backtrace:
Application: Amarok (amarok), signal: Segmentation fault
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f3e66c1c9a0 (LWP 29285))]

Thread 13 (Thread 0x7f3e5315c710 (LWP 29288)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:212
#1  0x00007f3e5a9d49b1 in ?? () from /usr/lib64/libxine.so.1
#2  0x0000003c65207761 in start_thread (arg=0x7f3e5315c710) at pthread_create.c:301
#3  0x0000003c646e14ed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 12 (Thread 0x7f3e5275b710 (LWP 29289)):
#0  0x0000003c646d7de3 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x0000003c65e3f849 in g_main_context_poll (context=0x7f3e4c0009b0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2904
#2  g_main_context_iterate (context=0x7f3e4c0009b0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2586
#3  0x0000003c65e3fc9c in IA__g_main_context_iteration (context=0x7f3e4c0009b0, may_block=1) at gmain.c:2654
#4  0x0000003c6ef7f4a6 in QEventDispatcherGlib::processEvents (this=0x7f3e4c0008c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#5  0x0000003c6ef56222 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x0000003c6ef564fc in QEventLoop::exec (this=0x7f3e5275ab50, flags=...) at kernel/qeventloop.cpp:201
#7  0x0000003c6ee6f8c0 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#8  0x00007f3e5ac5eb30 in Phonon::Xine::XineThread::run (this=0x20f0170) at /usr/src/debug/phonon-4.4.2/xine/xinethread.cpp:143
#9  0x0000003c6ee71e7e in QThreadPrivate::start (arg=0x20f0170) at thread/qthread_unix.cpp:266
#10 0x0000003c65207761 in start_thread (arg=0x7f3e5275b710) at pthread_create.c:301
#11 0x0000003c646e14ed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 11 (Thread 0x7f3e51b56710 (LWP 29290)):
#0  0x0000003c646d7de3 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x000000326f62cc0f in poll_func (ufds=0x7f3e44001460, nfds=2, timeout=-1, userdata=0x21417c0) at pulse/thread-mainloop.c:75
#2  0x000000326f61cae6 in pa_mainloop_poll (m=0x21416c0) at pulse/mainloop.c:879
#3  0x000000326f61dec9 in pa_mainloop_iterate (m=0x21416c0, block=<value optimized out>, retval=0x0) at pulse/mainloop.c:961
#4  0x000000326f61df80 in pa_mainloop_run (m=0x21416c0, retval=0x0) at pulse/mainloop.c:979
#5  0x000000326f62ca0b in thread (userdata=0x21d28f0) at pulse/thread-mainloop.c:94
#6  0x000000326fa38878 in internal_thread_func (userdata=0x21417f0) at pulsecore/thread-posix.c:72
#7  0x0000003c65207761 in start_thread (arg=0x7f3e51b56710) at pthread_create.c:301
#8  0x0000003c646e14ed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 10 (Thread 0x7f3e51155710 (LWP 29291)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f3e5a9e5753 in ?? () from /usr/lib64/libxine.so.1
#2  0x0000003c65207761 in start_thread (arg=0x7f3e51155710) at pthread_create.c:301
#3  0x0000003c646e14ed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 9 (Thread 0x7f3e4bfff710 (LWP 29292)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f3e5a9e5753 in ?? () from /usr/lib64/libxine.so.1
#2  0x0000003c65207761 in start_thread (arg=0x7f3e4bfff710) at pthread_create.c:301
#3  0x0000003c646e14ed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 8 (Thread 0x7f3e4b5fe710 (LWP 29293)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f3e5a9e5753 in ?? () from /usr/lib64/libxine.so.1
#2  0x0000003c65207761 in start_thread (arg=0x7f3e4b5fe710) at pthread_create.c:301
#3  0x0000003c646e14ed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 7 (Thread 0x7f3e4abfd710 (LWP 29294)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f3e5a9e5753 in ?? () from /usr/lib64/libxine.so.1
#2  0x0000003c65207761 in start_thread (arg=0x7f3e4abfd710) at pthread_create.c:301
#3  0x0000003c646e14ed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 6 (Thread 0x7f3e3ab79710 (LWP 29298)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:212
#1  0x0000003c6ee728e2 in wait (this=<value optimized out>, mutex=0x2bec9c0, time=30000) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2bec9c0, time=30000) at thread/qwaitcondition_unix.cpp:160
#3  0x0000003c6ee68aca in QThreadPoolThread::run (this=0x2b58dd0) at concurrent/qthreadpool.cpp:140
#4  0x0000003c6ee71e7e in QThreadPrivate::start (arg=0x2b58dd0) at thread/qthread_unix.cpp:266
#5  0x0000003c65207761 in start_thread (arg=0x7f3e3ab79710) at pthread_create.c:301
#6  0x0000003c646e14ed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 5 (Thread 0x7f3e32da3710 (LWP 29299)):
#0  0x0000003c646da043 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f3e5a9fd145 in xine_usec_sleep () from /usr/lib64/libxine.so.1
#2  0x00007f3e5a9e25d9 in ?? () from /usr/lib64/libxine.so.1
#3  0x0000003c65207761 in start_thread (arg=0x7f3e32da3710) at pthread_create.c:301
#4  0x0000003c646e14ed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 4 (Thread 0x7f3e31da5710 (LWP 29300)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f3e5a9d828b in ?? () from /usr/lib64/libxine.so.1
#2  0x00007f3e5a9de2fd in ?? () from /usr/lib64/libxine.so.1
#3  0x0000003c65207761 in start_thread (arg=0x7f3e31da5710) at pthread_create.c:301
#4  0x0000003c646e14ed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 3 (Thread 0x7f3e313a4710 (LWP 29301)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f3e5a9d828b in ?? () from /usr/lib64/libxine.so.1
#2  0x00007f3e5a9df2fd in ?? () from /usr/lib64/libxine.so.1
#3  0x0000003c65207761 in start_thread (arg=0x7f3e313a4710) at pthread_create.c:301
#4  0x0000003c646e14ed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f3e309a3710 (LWP 29302)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f3e5a9e892b in ?? () from /usr/lib64/libxine.so.1
#2  0x0000003c65207761 in start_thread (arg=0x7f3e309a3710) at pthread_create.c:301
#3  0x0000003c646e14ed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f3e66c1c9a0 (LWP 29285)):
[KCrash Handler]
#6  0x00007f3e3932d1ee in hide (this=0x2fc51c0) at /usr/include/QtGui/qwidget.h:491
#7  VideoclipApplet::engineNewTrackPlaying (this=0x2fc51c0) at /usr/src/debug/amarok-2.3.1.90/src/context/applets/videoclip/VideoclipApplet.cpp:181
#8  0x0000003b25e5e89b in Engine::EngineSubject::newTrackPlaying (this=<value optimized out>) at /usr/src/debug/amarok-2.3.1.90/src/core/engine/EngineObserver.cpp:196
#9  0x0000003b26f8afb1 in EngineController::slotNewTrackPlaying (this=0x20a2800, source=<value optimized out>) at /usr/src/debug/amarok-2.3.1.90/src/EngineController.cpp:1073
#10 0x0000003b26f8fa02 in EngineController::qt_metacall (this=0x20a2800, _c=QMetaObject::InvokeMetaMethod, _id=25, _a=0x7fff41318ec0)
    at /usr/src/debug/amarok-2.3.1.90/x86_64-redhat-linux-gnu/src/EngineController.moc:158
#11 0x0000003c6ef6db17 in QMetaObject::activate (sender=0x1fa70f0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff41318ec0) at kernel/qobject.cpp:3272
#12 0x0000003270222ab5 in Phonon::MediaObject::currentSourceChanged (this=<value optimized out>, _t1=<value optimized out>)
    at /usr/src/debug/phonon-4.4.2/x86_64-redhat-linux-gnu/phonon/moc_mediaobject.cpp:234
#13 0x00000032702242f7 in Phonon::MediaObjectPrivate::_k_currentSourceChanged (this=<value optimized out>, source=...) at /usr/src/debug/phonon-4.4.2/phonon/mediaobject.cpp:446
#14 0x0000003270224fdc in Phonon::MediaObject::qt_metacall (this=0x1fa70f0, _c=QMetaObject::InvokeMetaMethod, _id=22, _a=0x7fff41319080)
    at /usr/src/debug/phonon-4.4.2/x86_64-redhat-linux-gnu/phonon/moc_mediaobject.cpp:144
#15 0x0000003c6ef6db17 in QMetaObject::activate (sender=0x21d2700, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff41319080) at kernel/qobject.cpp:3272
#16 0x00007f3e5ac78d05 in Phonon::Xine::MediaObject::currentSourceChanged (this=<value optimized out>, _t1=<value optimized out>)
    at /usr/src/debug/phonon-4.4.2/x86_64-redhat-linux-gnu/xine/mediaobject.moc:215
#17 0x00007f3e5ac7a5bb in Phonon::Xine::MediaObject::setSourceInternal (this=0x21d2700, source=<value optimized out>, how=<value optimized out>)
    at /usr/src/debug/phonon-4.4.2/xine/mediaobject.cpp:426
#18 0x0000003270224858 in Phonon::MediaObject::setCurrentSource (this=0x1fa70f0, newSource=...) at /usr/src/debug/phonon-4.4.2/phonon/mediaobject.cpp:260
#19 0x0000003b26f8bbcf in EngineController::playUrl (this=0x20a2800, url=<value optimized out>, offset=37929) at /usr/src/debug/amarok-2.3.1.90/src/EngineController.cpp:489
#20 0x0000003b26f8c5a7 in EngineController::play (this=0x20a2800, track=<value optimized out>, offset=37929) at /usr/src/debug/amarok-2.3.1.90/src/EngineController.cpp:403
#21 0x0000003b26f8c9e0 in EngineController::restoreSession (this=0x20a2800) at /usr/src/debug/amarok-2.3.1.90/src/EngineController.cpp:309
#22 0x0000003b26f784eb in App::continueInit (this=0x7fff41319db0) at /usr/src/debug/amarok-2.3.1.90/src/App.cpp:691
#23 0x0000003b26f7b17d in App::App (this=0x7fff41319db0) at /usr/src/debug/amarok-2.3.1.90/src/App.cpp:210
#24 0x00000000004081d0 in main (argc=1, argv=0x7fff4131bd18) at /usr/src/debug/amarok-2.3.1.90/src/main.cpp:235

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

Possible duplicates by query: bug 248199.

Reported using DrKonqi
Comment 1 Alejandro Nova 2010-08-18 17:01:42 UTC
Inaccurate instructions and description. I can't replicate this with a FLAC file. However, I can disable this crash disabling the "Resume playback on start" option.
Comment 2 Alejandro Nova 2010-08-18 17:02:20 UTC
BTW, the relationship with another bugs remain.
Comment 3 Myriam Schweingruber 2010-08-19 00:39:23 UTC
(In reply to comment #2)
> BTW, the relationship with another bugs remain.

What other bug?
Comment 4 Alejandro Nova 2010-08-19 00:48:22 UTC
Bug 248199 , as appeared on my duplicate list. This bug may be a duplicate for that one, but I think I have a better backtrace.
Comment 5 Alejandro Nova 2010-08-19 00:56:06 UTC
BTW, I enabled again the "Resume playback at start" and the crash came back. It appears that Amarok can't save the playback info needed for this feature to work, because when I start it again after seeing Amarok crash, it remember the last file I played before the update to 2.3.1.90.
Comment 6 Myriam Schweingruber 2010-08-19 01:06:03 UTC
Merging. Please always paste the KCrashHandler section of your report in the original report. It's not useful to have two open bugs for the same problem.

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