Bug 259573 - Frozen application after returning from screen saver
Summary: Frozen application after returning from screen saver
Status: RESOLVED UNMAINTAINED
Alias: None
Product: Phonon
Classification: Frameworks and Libraries
Component: Xine backend (show other bugs)
Version: 4.4.2 (KDE 4.5)
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Harald Sitter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-12 06:44 UTC by Chad Spratt
Modified: 2011-12-01 09:02 UTC (History)
3 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 Chad Spratt 2010-12-12 06:44:02 UTC
Application: amarok (2.3.2)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-23-generic x86_64
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed:

When the screensaver activates long enough to force a login, after logging back in the Amarok window is empty/blank and unresponsive. If I use the force quit tool then I have to manually kill the process. If I click on the 'X' it gives the wait/force dialog and clicking force will close it.

This was only observed after logging back in from the screensaver and it happened every time for about a week. Eventually it opened Crash Reporting Assistant on one such time and the last few times the screensaver/pw prompt have come up it HASN'T been frozen. I have no knowledge of what changes (updates) I made that could have caused it to start and then later stop crashing.

The crash can be reproduced every time.

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

Thread 5 (Thread 0x7f57b9cb8700 (LWP 704)):
#0  0x00007f57cb612203 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f57c5340009 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f57c53407b5 in g_main_loop_run () from /lib/libglib-2.0.so.0
#3  0x00007f57bc73e3c4 in ?? () from /usr/lib/libgio-2.0.so.0
#4  0x00007f57c53657e4 in ?? () from /lib/libglib-2.0.so.0
#5  0x00007f57c1356953 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#6  0x00007f57c9118971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#7  0x00007f57cb61e92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f57a3829700 (LWP 705)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:212
#1  0x00007f57abc4b0d1 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f57c1356953 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#3  0x00007f57c9118971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#4  0x00007f57cb61e92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f57a3028700 (LWP 706)):
#0  0x00007fffe9509904 in clock_gettime ()
#1  0x00007f57c3d910bf in clock_gettime (clock_id=1, tp=0x7f57a3027920) at ../sysdeps/unix/clock_gettime.c:100
#2  0x00007f57cbea194f in do_gettime () at tools/qelapsedtimer_unix.cpp:105
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:119
#4  0x00007f57cbf6e1fd in QTimerInfoList::updateCurrentTime (this=0x1) at kernel/qeventdispatcher_unix.cpp:339
#5  0x00007f57cbf6e225 in QTimerInfoList::timerWait (this=0x1, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#6  0x00007f57cbf6c3dd in timerSourcePrepareHelper (src=<value optimized out>, timeout=0x7f57a3027a5c) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007f57cbf6c485 in timerSourcePrepare (source=0x1, timeout=0x7f57a3027920) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00007f57c533fa11 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#9  0x00007f57c533fe78 in ?? () from /lib/libglib-2.0.so.0
#10 0x00007f57c534045c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#11 0x00007f57cbf6c1e6 in QEventDispatcherGlib::processEvents (this=0x127b750, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#12 0x00007f57cbf3ea02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#13 0x00007f57cbf3edec in QEventLoop::exec (this=0x7f57a3027bf0, flags=) at kernel/qeventloop.cpp:201
#14 0x00007f57cbe492fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#15 0x00007f57abea72b0 in Phonon::Xine::XineThread::run (this=0x127b980) at ../../xine/xinethread.cpp:143
#16 0x00007f57cbe4c27e in QThreadPrivate::start (arg=0x127b980) at thread/qthread_unix.cpp:266
#17 0x00007f57c1356953 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#18 0x00007f57c9118971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#19 0x00007f57cb61e92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#20 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f57a2622700 (LWP 707)):
#0  __pthread_mutex_lock_full (mutex=0x127efb0) at pthread_mutex_lock.c:303
#1  0x00007f57beca325e in pa_mutex_lock () from /usr/lib/libpulsecommon-0.9.21.so
#2  0x00007f57c3546201 in ?? () from /usr/lib/libpulse.so.0
#3  0x00007f57beca3fb8 in ?? () from /usr/lib/libpulsecommon-0.9.21.so
#4  0x00007f57c1356953 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#5  0x00007f57c9118971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#6  0x00007f57cb61e92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f57ce81f840 (LWP 703)):
[KCrash Handler]
#6  0x00007f57c13575fd in ?? () from /usr/lib/nvidia-current/libGL.so.1
#7  0x00007f57be57c84d in ?? () from /usr/lib/nvidia-current/tls/libnvidia-tls.so.260.19.06
#8  0x00007f57bec988eb in pa_shm_free () from /usr/lib/libpulsecommon-0.9.21.so
#9  0x00007f57bec98c14 in pa_shm_cleanup () from /usr/lib/libpulsecommon-0.9.21.so
#10 0x00007f57bec98dc5 in pa_shm_create_rw () from /usr/lib/libpulsecommon-0.9.21.so
#11 0x00007f57bec8d1c6 in pa_mempool_new () from /usr/lib/libpulsecommon-0.9.21.so
#12 0x00007f57c35286ab in pa_context_new_with_proplist () from /usr/lib/libpulse.so.0
#13 0x00007f57a2624b07 in ?? () from /usr/lib/xine/plugins/1.28/xineplug_ao_out_pulseaudio.so
#14 0x00007f57a2625d71 in ?? () from /usr/lib/xine/plugins/1.28/xineplug_ao_out_pulseaudio.so
#15 0x00007f57abc53680 in xine_open_audio_driver () from /usr/lib/libxine.so.1
#16 0x00007f57abec0a3a in Phonon::Xine::AudioOutput::createPort (this=<value optimized out>, deviceDesc=<value optimized out>) at ../../xine/audiooutput.cpp:139
#17 0x00007f57abec1b41 in Phonon::Xine::AudioOutput::xineEngineChanged (this=0x7f579de21000) at ../../xine/audiooutput.cpp:314
#18 0x00007f57abea539b in Phonon::Xine::SinkNode::downstreamEvent (this=0x11f2cf0, e=0x127dc40) at ../../xine/sinknode.cpp:139
#19 0x00007f57abea6b91 in Phonon::Xine::SourceNode::downstreamEvent (this=<value optimized out>, e=0x127dc40) at ../../xine/sourcenode.cpp:111
#20 0x00007f57abec89d7 in Phonon::Xine::MediaObject::upstreamEvent (this=0x127bd20, e=0x127dc20) at ../../xine/mediaobject.cpp:675
#21 0x00007f57abed281e in Phonon::Xine::Backend::endConnectionChange (this=<value optimized out>, nodes=<value optimized out>) at ../../xine/backend.cpp:470
#22 0x00007f57c8736a3a in ~ConnectionTransaction (this=<value optimized out>, disconnections=<value optimized out>, connections=...) at ../../phonon/path.cpp:46
#23 Phonon::PathPrivate::executeTransaction (this=<value optimized out>, disconnections=<value optimized out>, connections=...) at ../../phonon/path.cpp:354
#24 0x00007f57c8737a79 in Phonon::Path::reconnect (this=0x7fffe94c0c20, source=0x11e2470, sink=0x11e1d60) at ../../phonon/path.cpp:197
#25 0x00007f57c8737b9d in Phonon::createPath (source=0x11e2470, sink=0x11e1d60) at ../../phonon/path.cpp:436
#26 0x00007f57cda1a379 in EngineController::initializePhonon (this=0x11e12e0) at ../../src/EngineController.cpp:133
#27 0x00007f57cda1f22d in EngineController::qt_metacall (this=0x11e12e0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffe94c0da0) at ./EngineController.moc:155
#28 0x00007f57cbf48bf9 in QMetaMethod::invoke (this=0x7fffe94c1050, object=0x11e12e0, connectionType=<value optimized out>, returnValue=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1575
#29 0x00007f57cbf4a306 in QMetaObject::invokeMethod (obj=0x11e12e0, member=<value optimized out>, type=<value optimized out>, ret=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1148
#30 0x00007f57cdb30055 in invokeMethod (this=<value optimized out>) at /usr/include/qt4/QtCore/qobjectdefs.h:408
#31 Amarok::DefaultApplicationController::initEngineController (this=<value optimized out>) at ../../src/statemanagement/DefaultApplicationController.cpp:92
#32 0x00007f57cdb300e1 in Amarok::DefaultApplicationController::start (this=0x11d2200) at ../../src/statemanagement/DefaultApplicationController.cpp:48
#33 0x00007f57cda061e9 in App::continueInit (this=0x7fffe94c1b00) at ../../src/App.cpp:652
#34 0x00007f57cda081d3 in App::App (this=0x7fffe94c1b00) at ../../src/App.cpp:216
#35 0x00000000004081e0 in main (argc=<value optimized out>, argv=0x7fffe94c3a68) at ../../src/main.cpp:235

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2010-12-12 13:03:36 UTC
This looks like a problem in libpulse. Colin, is this upstream?
Comment 2 Colin Guthrie 2010-12-12 14:42:13 UTC
I suspect some kind of interaction with consolekit to be honest (e.g. the session becoming marked as inactive when the lock timeout is reached and it not being properly reactivated after).

When this problem occurs, can you do:
 ck-list-sessions
and
 pacmd list
and
 getfacl /dev/snd/*

And attach the output of all three to this bug? Thanks.
Comment 3 Colin Guthrie 2010-12-12 14:47:57 UTC
Also it could be related to some weird NVidia driver issues that I've been told about: http://www.nvnews.net/vbulletin/showthread.php?t=156665

(it wont be the exactly the same as that bug but it could be the same trigger)

Perhaps try updating the nvidia drivers to the latest one (the above forum thread says 260.19.21. Anssi may know more, so I'll ask him next time I see him in IRC, but it's probably worth updating the driver package to at least rule it out (working with/debugging blobs can be a pain, so if the upgrade just works(tm) then I'd be happy to leave it at that)
Comment 4 Myriam Schweingruber 2010-12-12 14:48:49 UTC
Changing status
Comment 5 Myriam Schweingruber 2011-12-01 09:02:15 UTC
We are sorry, but the xine backend is unmaintained: http://lists.kde.org/?l=kde-announce&m=130744384419151
Please use the phonon-backend-gstreamer or thre phonon-backend-vlc instead.