Bug 280163

Summary: Phonon crashes after switching backend click the speakers
Product: [Frameworks and Libraries] phonon-backend-vlc Reporter: Bram <bram.diederik>
Component: generalAssignee: Harald Sitter <sitter>
Status: RESOLVED DUPLICATE    
Severity: crash CC: bcooksley, fabo, jb, martin.sandsmark, myriam
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Bram 2011-08-15 23:02:04 UTC
Application: knotify4 (4.0)
KDE Platform Version: 4.6.5 (4.6.5)
Qt Version: 4.7.3
Operating System: Linux 2.6.32-5-amd64 x86_64
Distribution: Debian GNU/Linux testing (wheezy)

-- Information about the crash:
If i change my phonon backend. and then change some "speaker setup" settings and
press the apply (on the  "speaker setup"). 

system settings -> multimedia-> phonon 
backend tab: change the backend priority (from VLC to Xine) 
speaker Setup tab: Fiddle around here.. (I cant pinpoint the problem here): 
click the speakers icons: Front Left , Front Right. 
perhaps open some setting dropdown list. (does not have to change settings for me to crash. click the speakers "could crash it" 
press apply.  -> crash 

It does not crash after directly applying the backend changes.. 
Nor change backend go to speaker setup and press the apply button there..

The crash can be reproduced some of the time.

-- Backtrace:
Application: KNotify (knotify4), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f8b8b8a0760 (LWP 18771))]

Thread 3 (Thread 0x7f8b781dc700 (LWP 18772)):
#0  0x00007f8b88a3c723 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f8b85f699e4 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f8b85f69f1d in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f8b8919cb26 in QEventDispatcherGlib::processEvents (this=0x23c8f50, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f8b891711c2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f8b891713bf in QEventLoop::exec (this=0x7f8b781dbdf0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f8b890891ef in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7  0x00007f8b891541ef in QInotifyFileSystemWatcherEngine::run (this=0x23c7830) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f8b8908bc05 in QThreadPrivate::start (arg=0x23c7830) at thread/qthread_unix.cpp:320
#9  0x00007f8b86434b40 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#10 0x00007f8b88a4736d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f8b3f2b1700 (LWP 19293)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f8b76dc6114 in ?? () from /usr/lib/libvlccore.so.4
#2  0x00007f8b86434b40 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#3  0x00007f8b88a4736d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f8b8b8a0760 (LWP 18771)):
[KCrash Handler]
#6  0x00007f8b772be016 in node_create (this=0x2435a60) at /usr/include/qt4/QtCore/qmap.h:453
#7  QMap<Phonon::VLC::MediaController const*, QMap<int, int> >::detach_helper (this=0x2435a60) at /usr/include/qt4/QtCore/qmap.h:760
#8  0x00007f8b772b8a11 in detach (this=0x23264c8) at /usr/include/qt4/QtCore/qmap.h:202
#9  end (this=0x23264c8) at /usr/include/qt4/QtCore/qmap.h:373
#10 register_ (this=0x23264c8) at ../../vlc/globaldescriptioncontainer.h:96
#11 Phonon::VLC::MediaController::MediaController (this=0x23264c8) at ../../vlc/mediacontroller.cpp:40
#12 0x00007f8b772c3c62 in Phonon::VLC::MediaObject::MediaObject (this=0x23264b0, parent=<value optimized out>) at ../../vlc/mediaobject.cpp:61
#13 0x00007f8b772ab980 in Phonon::VLC::Backend::createObject (this=0x27f8060, c=<value optimized out>, parent=0x23f4ef0, args=...) at ../../vlc/backend.cpp:154
#14 0x00007f8b8ae068b1 in ?? () from /usr/lib/libphonon.so.4
#15 0x00007f8b8ae11436 in ?? () from /usr/lib/libphonon.so.4
#16 0x00007f8b8ae06089 in ?? () from /usr/lib/libphonon.so.4
#17 0x00007f8b8ae06232 in ?? () from /usr/lib/libphonon.so.4
#18 0x00007f8b894c9971 in QDBusConnectionPrivate::deliverCall (this=0x22c4260, object=0x2360070, msg=..., metaTypes=..., slotIdx=8) at qdbusintegrator.cpp:941
#19 0x00007f8b894d2eaf in QDBusCallDeliveryEvent::placeMetaCall (this=<value optimized out>, object=<value optimized out>) at qdbusintegrator_p.h:103
#20 0x00007f8b891886ca in QObject::event (this=0x2360070, e=<value optimized out>) at kernel/qobject.cpp:1217
#21 0x00007f8b89e0c9f4 in notify_helper (this=0x22d0b20, receiver=0x2360070, e=0x2329a70) at kernel/qapplication.cpp:4467
#22 QApplicationPrivate::notify_helper (this=0x22d0b20, receiver=0x2360070, e=0x2329a70) at kernel/qapplication.cpp:4439
#23 0x00007f8b89e11881 in QApplication::notify (this=0x7fff4a0db5d0, receiver=0x2360070, e=0x2329a70) at kernel/qapplication.cpp:4346
#24 0x00007f8b8b2a0a66 in KApplication::notify (this=0x7fff4a0db5d0, receiver=0x2360070, event=0x2329a70) at ../../kdeui/kernel/kapplication.cpp:311
#25 0x00007f8b89171fbc in QCoreApplication::notifyInternal (this=0x7fff4a0db5d0, receiver=0x2360070, event=0x2329a70) at kernel/qcoreapplication.cpp:731
#26 0x00007f8b89175378 in sendEvent (receiver=0x0, event_type=0, data=0x22b2800) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#27 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x22b2800) at kernel/qcoreapplication.cpp:1372
#28 0x00007f8b8919c663 in sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#29 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#30 0x00007f8b85f694a3 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#31 0x00007f8b85f69c80 in ?? () from /lib/libglib-2.0.so.0
#32 0x00007f8b85f69f1d in g_main_context_iteration () from /lib/libglib-2.0.so.0
#33 0x00007f8b8919cabf in QEventDispatcherGlib::processEvents (this=0x22cf8b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#34 0x00007f8b89eb09ce in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#35 0x00007f8b891711c2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#36 0x00007f8b891713bf in QEventLoop::exec (this=0x7fff4a0db530, flags=...) at kernel/qeventloop.cpp:201
#37 0x00007f8b89175567 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#38 0x0000000000409f27 in main (argc=1, argv=0x7fff4a0db958) at ../../knotify/main.cpp:73

Possible duplicates by query: bug 264972, bug 230052, bug 195058.

Reported using DrKonqi
Comment 1 Harald Sitter 2011-08-16 13:43:59 UTC

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