<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>233457</bug_id>
          
          <creation_ts>2010-04-06 08:42:14 +0000</creation_ts>
          <short_desc>Knotify crashes and throws error reports if VLC is sound backend</short_desc>
          <delta_ts>2010-12-05 21:37:39 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>Frameworks and Libraries</classification>
          <product>Phonon</product>
          <component>general</component>
          <version>4.4.0 (KDE 4.4.2)</version>
          <rep_platform>Ubuntu</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Valorie Zimmerman">valorie.zimmerman</reporter>
          <assigned_to name="Matthias Kretz">kretz</assigned_to>
          <cc>andresbajotierra</cc>
    
    <cc>martin.sandsmark</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin>4.4.1</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>945620</commentid>
    <comment_count>0</comment_count>
    <who name="Valorie Zimmerman">valorie.zimmerman</who>
    <bug_when>2010-04-06 08:42:14 +0000</bug_when>
    <thetext>Application: knotify4 (4.0)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-19-generic x86_64
Distribution: Ubuntu lucid (development branch)

-- Information about the crash:
Knotify error message and crash as soon as I successfully built phonon-vlc, and told KDE to make it the preferred sound back end.

Amarok runs just fine with VLC as the backend, by the way.

 -- Backtrace:
Application: KNotify (knotify4), signal: Segmentation fault
pthread_cond_timedwait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
	in ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
[Current thread is 1 (Thread 0x7fa3c1f64760 (LWP 32590))]

Thread 13 (Thread 0x7fa3ae28e710 (LWP 32705)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007fa3b3080081 in ?? () from /usr/lib/libxine.so.1
#2  0x00007fa3bddbb9ca in start_thread (arg=&lt;value optimized out&gt;) at pthread_create.c:300
#3  0x00007fa3bf6f76dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7fa3ad455710 (LWP 32706)):
[KCrash Handler]
#5  QHashDummyNode (node=0x7000000000011707, newNode=0x7fa2a9656010) at /usr/include/qt4/QtCore/qhash.h:212
#6  QHash&lt;Phonon::Xine::SinkNode*, QHashDummyValue&gt;::duplicateNode (node=0x7000000000011707, newNode=0x7fa2a9656010) at /usr/include/qt4/QtCore/qhash.h:527
#7  0x00007fa3c09d3b87 in QHashData::detach_helper2 (this=0x10560a0, node_duplicate=0x7fa3b32dbe00 &lt;QHash&lt;Phonon::Xine::SinkNode*, QHashDummyValue&gt;::duplicateNode(QHashData::Node*, void*)&gt;, 
    node_delete=&lt;value optimized out&gt;, nodeSize=&lt;value optimized out&gt;, nodeAlign=8) at tools/qhash.cpp:239
#8  0x00007fa3b32db176 in QHash&lt;Phonon::Xine::SinkNode*, QHashDummyValue&gt;::detach_helper (this=&lt;value optimized out&gt;) at /usr/include/qt4/QtCore/qhash.h:581
#9  QHash&lt;Phonon::Xine::SinkNode*, QHashDummyValue&gt;::detach (this=&lt;value optimized out&gt;) at /usr/include/qt4/QtCore/qhash.h:299
#10 QHash (this=&lt;value optimized out&gt;) at /usr/include/qt4/QtCore/qhash.h:283
#11 QSet (this=&lt;value optimized out&gt;) at /usr/include/qt4/QtCore/qset.h:60
#12 Phonon::Xine::SourceNode::sinks (this=&lt;value optimized out&gt;) at ../../xine/sourcenode.cpp:85
#13 0x00007fa3b32e7c28 in Phonon::Xine::XineStream::createStream (this=0x1202e40) at ../../xine/xinestream.cpp:512
#14 0x00007fa3b32e9f53 in Phonon::Xine::XineStream::event (this=0x1202e40, ev=0x7fa39ce94470) at ../../xine/xinestream.cpp:1241
#15 0x00007fa3bfe6522c in QApplicationPrivate::notify_helper (this=0x1026500, receiver=0x1202e40, e=0x7fa39ce94470) at kernel/qapplication.cpp:4300
#16 0x00007fa3bfe6b6fb in QApplication::notify (this=0x7fff0a4f5060, receiver=0x1202e40, e=0x7fa39ce94470) at kernel/qapplication.cpp:4183
#17 0x00007fa3c0aac06c in QCoreApplication::notifyInternal (this=0x7fff0a4f5060, receiver=0x1202e40, event=0x7fa39ce94470) at kernel/qcoreapplication.cpp:704
#18 0x00007fa3c0aae7e7 in QCoreApplication::sendEvent (receiver=0x0, event_type=&lt;value optimized out&gt;, data=0x149e5b0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#19 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=&lt;value optimized out&gt;, data=0x149e5b0) at kernel/qcoreapplication.cpp:1345
#20 0x00007fa3c0ad59d3 in QCoreApplication::sendPostedEvents (s=&lt;value optimized out&gt;) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#21 postEventSourceDispatch (s=&lt;value optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:276
#22 0x00007fa3bc6f48c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#23 0x00007fa3bc6f8748 in ?? () from /lib/libglib-2.0.so.0
#24 0x00007fa3bc6f88fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#25 0x00007fa3c0ad5513 in QEventDispatcherGlib::processEvents (this=0x14955e0, flags=&lt;value optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:412
#26 0x00007fa3c0aaa992 in QEventLoop::processEvents (this=&lt;value optimized out&gt;, flags=) at kernel/qeventloop.cpp:149
#27 0x00007fa3c0aaad6c in QEventLoop::exec (this=0x7fa3ad454d90, flags=) at kernel/qeventloop.cpp:201
#28 0x00007fa3c09b4d59 in QThread::exec (this=&lt;value optimized out&gt;) at thread/qthread.cpp:487
#29 0x00007fa3b32dc440 in Phonon::Xine::XineThread::run (this=0x1405330) at ../../xine/xinethread.cpp:143
#30 0x00007fa3c09b7775 in QThreadPrivate::start (arg=0x1405330) at thread/qthread_unix.cpp:248
#31 0x00007fa3bddbb9ca in start_thread (arg=&lt;value optimized out&gt;) at pthread_create.c:300
#32 0x00007fa3bf6f76dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#33 0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7fa3a7af8710 (LWP 32715)):
#0  0x00007fa3bf6eaf93 in *__GI___poll (fds=&lt;value optimized out&gt;, nfds=&lt;value optimized out&gt;, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fa3ac63441f in ?? () from /usr/lib/libpulse.so.0
#2  0x00007fa3ac623d86 in pa_mainloop_poll () from /usr/lib/libpulse.so.0
#3  0x00007fa3ac625809 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#4  0x00007fa3ac6258c0 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#5  0x00007fa3ac63421b in ?? () from /usr/lib/libpulse.so.0
#6  0x00007fa3ac3f30e8 in ?? () from /usr/lib/libpulsecommon-0.9.21.so
#7  0x00007fa3bddbb9ca in start_thread (arg=&lt;value optimized out&gt;) at pthread_create.c:300
#8  0x00007fa3bf6f76dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7fa3ab8f3710 (LWP 32716)):
#0  0x00007fa3bf6eaf93 in *__GI___poll (fds=&lt;value optimized out&gt;, nfds=&lt;value optimized out&gt;, timeout=333) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fa3aca4f915 in ?? () from /usr/lib/xine/plugins/1.27/xineplug_ao_out_alsa.so
#2  0x00007fa3bddbb9ca in start_thread (arg=&lt;value optimized out&gt;) at pthread_create.c:300
#3  0x00007fa3bf6f76dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7fa3ab0f2710 (LWP 32717)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fa3b3090e23 in ?? () from /usr/lib/libxine.so.1
#2  0x00007fa3bddbb9ca in start_thread (arg=&lt;value optimized out&gt;) at pthread_create.c:300
#3  0x00007fa3bf6f76dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7fa3aa2cc710 (LWP 32724)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007fa3b3080081 in ?? () from /usr/lib/libxine.so.1
#2  0x00007fa3bddbb9ca in start_thread (arg=&lt;value optimized out&gt;) at pthread_create.c:300
#3  0x00007fa3bf6f76dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7fa3932ff710 (LWP 32750)):
#0  __pthread_mutex_lock_full (mutex=0x13e3a10) at pthread_mutex_lock.c:303
#1  0x00007fa3ac3f252e in pa_mutex_lock () from /usr/lib/libpulsecommon-0.9.21.so
#2  0x00007fa3ac634429 in ?? () from /usr/lib/libpulse.so.0
#3  0x00007fa3ac623d86 in pa_mainloop_poll () from /usr/lib/libpulse.so.0
#4  0x00007fa3ac625809 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#5  0x00007fa3ac6258c0 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#6  0x00007fa3ac63421b in ?? () from /usr/lib/libpulse.so.0
#7  0x00007fa3ac3f30e8 in ?? () from /usr/lib/libpulsecommon-0.9.21.so
#8  0x00007fa3bddbb9ca in start_thread (arg=&lt;value optimized out&gt;) at pthread_create.c:300
#9  0x00007fa3bf6f76dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fa3a86e0710 (LWP 32751)):
#0  __pthread_mutex_lock_full (mutex=0x13e3a10) at pthread_mutex_lock.c:291
#1  0x00007fa3ac3f252e in pa_mutex_lock () from /usr/lib/libpulsecommon-0.9.21.so
#2  0x00007fa3ab8f6cd2 in ?? () from /usr/lib/alsa-lib/libasound_module_ctl_pulse.so
#3  0x00007fa3b380ecb8 in snd_hctl_handle_events () from /usr/lib/libasound.so.2
#4  0x00007fa3b3818a99 in snd_mixer_handle_events () from /usr/lib/libasound.so.2
#5  0x00007fa3aca4f956 in ?? () from /usr/lib/xine/plugins/1.27/xineplug_ao_out_alsa.so
#6  0x00007fa3bddbb9ca in start_thread (arg=&lt;value optimized out&gt;) at pthread_create.c:300
#7  0x00007fa3bf6f76dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fa392afe710 (LWP 32752)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fa3b3090e23 in ?? () from /usr/lib/libxine.so.1
#2  0x00007fa3bddbb9ca in start_thread (arg=&lt;value optimized out&gt;) at pthread_create.c:300
#3  0x00007fa3bf6f76dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fa393b00710 (LWP 32762)):
#0  0x00007fa3bf6eaf93 in *__GI___poll (fds=&lt;value optimized out&gt;, nfds=&lt;value optimized out&gt;, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fa3ac63441f in ?? () from /usr/lib/libpulse.so.0
#2  0x00007fa3ac623d86 in pa_mainloop_poll () from /usr/lib/libpulse.so.0
#3  0x00007fa3ac625809 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#4  0x00007fa3ac6258c0 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#5  0x00007fa3ac63421b in ?? () from /usr/lib/libpulse.so.0
#6  0x00007fa3ac3f30e8 in ?? () from /usr/lib/libpulsecommon-0.9.21.so
#7  0x00007fa3bddbb9ca in start_thread (arg=&lt;value optimized out&gt;) at pthread_create.c:300
#8  0x00007fa3bf6f76dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fa38dafb710 (LWP 32763)):
#0  0x00007fa3bf6eaf93 in *__GI___poll (fds=&lt;value optimized out&gt;, nfds=&lt;value optimized out&gt;, timeout=333) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fa3aca4f915 in ?? () from /usr/lib/xine/plugins/1.27/xineplug_ao_out_alsa.so
#2  0x00007fa3bddbb9ca in start_thread (arg=&lt;value optimized out&gt;) at pthread_create.c:300
#3  0x00007fa3bf6f76dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fa38d2fa710 (LWP 32764)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fa3b3090e23 in ?? () from /usr/lib/libxine.so.1
#2  0x00007fa3bddbb9ca in start_thread (arg=&lt;value optimized out&gt;) at pthread_create.c:300
#3  0x00007fa3bf6f76dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fa3c1f64760 (LWP 32590)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007fa3c09b70e5 in thread_sleep (ti=0x7fff0a4f4e80) at thread/qthread_unix.cpp:398
#2  0x00007fa3c09b7250 in QThread::msleep (msecs=&lt;value optimized out&gt;) at thread/qthread_unix.cpp:424
#3  0x00007fa3b3303b8a in ~Backend (this=0x142db10, __in_chrg=&lt;value optimized out&gt;) at ../../xine/backend.cpp:111
#4  0x00007fa3c1502846 in ~FactoryPrivate (this=0x11a9f80, __in_chrg=&lt;value optimized out&gt;) at ../3rdparty/phonon/phonon/factory.cpp:218
#5  0x00007fa3c0aac5a6 in qt_call_post_routines () at kernel/qcoreapplication.cpp:201
#6  0x00007fa3bfe6e308 in ~QApplication (this=0x7fff0a4f5060, __in_chrg=&lt;value optimized out&gt;) at kernel/qapplication.cpp:1016
#7  0x0000000000407f62 in main (argc=&lt;value optimized out&gt;, argv=&lt;value optimized out&gt;) at ../../knotify/main.cpp:73

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>945782</commentid>
    <comment_count>1</comment_count>
    <who name="Dario Andres">andresbajotierra</who>
    <bug_when>2010-04-06 14:08:17 +0000</bug_when>
    <thetext>The backtrace shows that knotify was still using the Xine backend.. so I guess the application had to be restarted to recognize the backend change. Then, I bet, knotify didn&apos;t crash after a restart...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>947492</commentid>
    <comment_count>2</comment_count>
    <who name="Myriam Schweingruber">myriam</who>
    <bug_when>2010-04-09 19:20:14 +0000</bug_when>
    <thetext>Valorie, can you confirm this is solved?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>951309</commentid>
    <comment_count>3</comment_count>
    <who name="Valorie Zimmerman">valorie.zimmerman</who>
    <bug_when>2010-04-19 01:51:56 +0000</bug_when>
    <thetext>Yes, once restarted, there is no crash.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>