<?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>221041</bug_id>
          
          <creation_ts>2010-01-03 00:23:31 +0000</creation_ts>
          <short_desc>[steps] Reproducible Phonon-Xine related crash when watching a ASX stream</short_desc>
          <delta_ts>2010-12-05 22:16:48 +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>Xine backend</component>
          <version>4.3.0 (KDE 4.2.0)</version>
          <rep_platform>Gentoo Packages</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>220152</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>testcase</keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="BRULE Herman">alpha_one_x86</reporter>
          <assigned_to name="Matthias Kretz">kretz</assigned_to>
          <cc>andresbajotierra</cc>
    
    <cc>martin.sandsmark</cc>
    
    <cc>prodriguez903</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>890816</commentid>
    <comment_count>0</comment_count>
    <who name="BRULE Herman">alpha_one_x86</who>
    <bug_when>2010-01-03 00:23:31 +0000</bug_when>
    <thetext>Version:            (using KDE 4.3.4)
Installed from:    Gentoo Packages

Random crash after read this asx:
http://wwitv.com/tv_stream/b2750.asx
The bt:
Application: Kaffeine (kaffeine), signal: Segmentation fault
Traceback (most recent call last):
  File &quot;/usr/share/gdb/auto-load/usr/lib64/libgobject-2.0.so.0.2200.3-gdb.py&quot;, line 9, in &lt;module&gt;
    from gobject import register
  File &quot;/usr/share/glib-2.0/gdb/gobject.py&quot;, line 3, in &lt;module&gt;
    import gdb.backtrace
ImportError: No module named backtrace
The current source language is &quot;auto; currently c&quot;.
[Current thread is 1 (Thread 0x7f571a2da740 (LWP 846))]

Thread 6 (Thread 0x7f570fb92910 (LWP 848)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007f570e82d401 in metronom_sync_loop (this=0x23f65f0) at metronom.c:870
#2  0x00007f57177462b7 in start_thread (arg=&lt;value optimized out&gt;) at pthread_create.c:297
#3  0x00007f57161d07dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f57098ea910 (LWP 849)):
[KCrash Handler]
#5  xine_get_status (stream=0x0) at xine.c:1865
#6  0x00007f570ea90e4c in Phonon::Xine::XineStream::event (this=0x237fe00, ev=0x2cee510) at /var/tmp/portage/media-sound/phonon-4.3.80-r1/work/phonon-4.3.80/xine/xinestream.cpp:895
#7  0x00007f5716da18d5 in QApplicationPrivate::notify_helper (this=0x21caf00, receiver=0x237fe00, e=0x2cee510) at kernel/qapplication.cpp:4065
#8  0x00007f5716da945a in QApplication::notify (this=0x7fff574183f0, receiver=0x237fe00, e=0x2cee510) at kernel/qapplication.cpp:4030
#9  0x00007f57188f15ea in KApplication::notify (this=0x7fff574183f0, receiver=0x237fe00, event=0x2cee510)
    at /var/tmp/portage/kde-base/kdelibs-4.3.4/work/kdelibs-4.3.4/kdeui/kernel/kapplication.cpp:302
#10 0x00007f5717a97d2b in QCoreApplication::notifyInternal (this=0x7fff574183f0, receiver=0x237fe00, event=0x2cee510) at kernel/qcoreapplication.cpp:606
#11 0x00007f5717a986f8 in QCoreApplication::sendEvent (receiver=&lt;value optimized out&gt;, event_type=0, data=0x2206f20) at kernel/qcoreapplication.h:213
#12 QCoreApplicationPrivate::sendPostedEvents (receiver=&lt;value optimized out&gt;, event_type=0, data=0x2206f20) at kernel/qcoreapplication.cpp:1244
#13 0x00007f5717abfa53 in QCoreApplication::sendPostedEvents (s=&lt;value optimized out&gt;) at kernel/qcoreapplication.h:218
#14 postEventSourceDispatch (s=&lt;value optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:210
#15 0x00007f571582d149 in g_main_dispatch (context=0x225a560) at gmain.c:1960
#16 IA__g_main_context_dispatch (context=0x225a560) at gmain.c:2513
#17 0x00007f5715830ba8 in g_main_context_iterate (context=0x225a560, block=1, dispatch=1, self=&lt;value optimized out&gt;) at gmain.c:2591
#18 0x00007f5715830d5e in IA__g_main_context_iteration (context=0x225a560, may_block=1) at gmain.c:2654
#19 0x00007f5717abf64f in QEventDispatcherGlib::processEvents (this=0x22d6560, flags=&lt;value optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:327
#20 0x00007f5717a96372 in QEventLoop::processEvents (this=&lt;value optimized out&gt;, flags=...) at kernel/qeventloop.cpp:149
#21 0x00007f5717a9655c in QEventLoop::exec (this=0x7f57098e9f80, flags=...) at kernel/qeventloop.cpp:197
#22 0x00007f57179b5c8c in QThread::exec (this=&lt;value optimized out&gt;) at thread/qthread.cpp:487
#23 0x00007f570ea8888c in Phonon::Xine::XineThread::run (this=0x2257650) at /var/tmp/portage/media-sound/phonon-4.3.80-r1/work/phonon-4.3.80/xine/xinethread.cpp:143
#24 0x00007f57179b8ca4 in QThreadPrivate::start (arg=0x2257650) at thread/qthread_unix.cpp:188
#25 0x00007f57177462b7 in start_thread (arg=&lt;value optimized out&gt;) at pthread_create.c:297
#26 0x00007f57161d07dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#27 0x0000000000000000 in ?? ()
The current source language is &quot;auto; currently asm&quot;.

Thread 4 (Thread 0x7f5708edf910 (LWP 850)):
#0  0x00007f57161c77a6 in *__GI___poll (fds=0x7f5708edef90, nfds=1, timeout=333) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f5708ee49d8 in my_snd_mixer_wait (data=&lt;value optimized out&gt;) at audio_alsa_out.c:150
#2  ao_alsa_handle_event_thread (data=&lt;value optimized out&gt;) at audio_alsa_out.c:166
#3  0x00007f57177462b7 in start_thread (arg=&lt;value optimized out&gt;) at pthread_create.c:297
#4  0x00007f57161d07dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()
The current source language is &quot;auto; currently c&quot;.

Thread 3 (Thread 0x7f57086de910 (LWP 851)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f570e83bcd0 in fifo_peek_int (fifo=0x2370fc0, blocking=1) at audio_out.c:348
#2  0x00007f570e83d76c in fifo_peek (this_gen=&lt;value optimized out&gt;) at audio_out.c:388
#3  ao_loop (this_gen=&lt;value optimized out&gt;) at audio_out.c:1015
#4  0x00007f57177462b7 in start_thread (arg=&lt;value optimized out&gt;) at pthread_create.c:297
#5  0x00007f57161d07dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f57072a0910 (LWP 852)):
#0  0x00007f57161c9d32 in select () from /lib/libc.so.6
#1  0x00007f570e854b6c in xine_usec_sleep (usec=&lt;value optimized out&gt;) at utils.c:481
#2  0x00007f570e83a443 in video_out_loop (this_gen=&lt;value optimized out&gt;) at video_out.c:1246
#3  0x00007f57177462b7 in start_thread (arg=&lt;value optimized out&gt;) at pthread_create.c:297
#4  0x00007f57161d07dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()
The current source language is &quot;auto; currently asm&quot;.

Thread 1 (Thread 0x7f571a2da740 (LWP 846)):
#0  0x00007f571774cc7b in read () from /lib/libpthread.so.0
#1  0x00007f5715830047 in read (context=0x21d2840, max_priority=2147483647, fds=0x2bf84b0, n_fds=6) at /usr/include/bits/unistd.h:45
#2  IA__g_main_context_check (context=0x21d2840, max_priority=2147483647, fds=0x2bf84b0, n_fds=6) at gmain.c:2421
#3  0x00007f5715830ad1 in g_main_context_iterate (context=0x21d2840, block=1, dispatch=1, self=&lt;value optimized out&gt;) at gmain.c:2588
#4  0x00007f5715830d5e in IA__g_main_context_iteration (context=0x21d2840, may_block=1) at gmain.c:2654
#5  0x00007f5717abf64f in QEventDispatcherGlib::processEvents (this=0x21caac0, flags=&lt;value optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:327
#6  0x00007f5716e30b28 in QGuiEventDispatcherGlib::processEvents (this=0x3, flags=&lt;value optimized out&gt;) at kernel/qguieventdispatcher_glib.cpp:202
#7  0x00007f5717a96372 in QEventLoop::processEvents (this=&lt;value optimized out&gt;, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007f5717a9655c in QEventLoop::exec (this=0x7fff57418360, flags=...) at kernel/qeventloop.cpp:197
#9  0x00007f5717a9899c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#10 0x000000000048191f in main (argc=1, argv=0x7fff57418658) at /home/user/kaffeine/src/main.cpp:78
The current source language is &quot;auto; currently c&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>891134</commentid>
    <comment_count>1</comment_count>
    <who name="Dario Andres">andresbajotierra</who>
    <bug_when>2010-01-03 15:09:48 +0000</bug_when>
    <thetext>This is probably related to bug 220152 / bug 202982.
It is a bug in the Phonon KDE multimedia subsytem, when using the Xine multimedia library.
Thanks</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>891137</commentid>
    <comment_count>2</comment_count>
    <who name="Dario Andres">andresbajotierra</who>
    <bug_when>2010-01-03 15:11:39 +0000</bug_when>
    <thetext>*** Bug 221043 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>891148</commentid>
    <comment_count>3</comment_count>
    <who name="Dario Andres">andresbajotierra</who>
    <bug_when>2010-01-03 15:21:46 +0000</bug_when>
    <thetext>I could reproduce the crash using the provided URL here using:

Qt: 4.6.0 (kde-qt master commit 747ff8e6ef6f5a1163dfa75bc9ac4755ce7083d1
        Date:   Tue Dec 15 11:58:13 2009 +0100)
KDE Development Platform: 4.3.86 (KDE 4.3.86 (KDE 4.4 &gt;= 20091231))
kdelibs svn rev. 1069096 / kdebase svn rev. 1069104
phonon(kde-support) svn rev. 1069080
xine-lib 1.1.17
on ArchLinux i686 - Kernel 2.6.31.6

Steps to reproduce:
--

- Launch DragonPlayer to show http://wwitv.com/tv_stream/b2750.asx (&quot;dragon http://wwitv.com/tv_stream/b2750.asx&quot; from Konsole should be enough)
- Wait some time and Dragon will crash.. Here it crashes after 1 minute.

Updated backtrace:
--

Thread 4 (Thread 0xb10f7b70 (LWP 7207)):
[KCrash Handler]
#5  0xb6f8a810 in xine_get_status () from /usr/lib/libxine.so.1
#6  0xb3349a8d in Phonon::Xine::XineStream::event (this=0xa390c10, ev=0xa570cc0) at /home/kde-devel/kde/src/KDE/phonon/xine/xinestream.cpp:904
#7  0xb5ca4834 in QApplicationPrivate::notify_helper (this=0x9d02f38, receiver=0xa390c10, e=0xa570cc0) at kernel/qapplication.cpp:4242
#8  0xb5ca2231 in QApplication::notify (this=0xbffd21c4, receiver=0xa390c10, e=0xa570cc0) at kernel/qapplication.cpp:3661
#9  0xb728de0c in KApplication::notify (this=0xbffd21c4, receiver=0xa390c10, event=0xa570cc0) at /home/kde-devel/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:302
#10 0xb6ad0411 in QCoreApplication::notifyInternal (this=0xbffd21c4, receiver=0xa390c10, event=0xa570cc0) at kernel/qcoreapplication.cpp:704
#11 0xb6ad3ee9 in QCoreApplication::sendEvent (receiver=0xa390c10, event=0xa570cc0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#12 0xb6ad14c5 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xa38bab0) at kernel/qcoreapplication.cpp:1345
#13 0xb6ad117d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1238
#14 0xb6b0855e in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#15 0xb6b06e4c in postEventSourceDispatch (s=0xa38b590) at kernel/qeventdispatcher_glib.cpp:276
#16 0xb5415378 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#17 0xb5418bf0 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#18 0xb5418d23 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#19 0xb6b07e48 in QEventDispatcherGlib::processEvents (this=0xa3954f0, flags=...) at kernel/qeventdispatcher_glib.cpp:407
#20 0xb6acd81b in QEventLoop::processEvents (this=0xb10f7298, flags=...) at kernel/qeventloop.cpp:149
#21 0xb6acd960 in QEventLoop::exec (this=0xb10f7298, flags=...) at kernel/qeventloop.cpp:201
#22 0xb69b8218 in QThread::exec (this=0xa38f208) at thread/qthread.cpp:487
#23 0xb33437a1 in Phonon::Xine::XineThread::run (this=0xa38f208) at /home/kde-devel/kde/src/KDE/phonon/xine/xinethread.cpp:143
#24 0xb69bacdc in QThreadPrivate::start (arg=0xa38f208) at thread/qthread_unix.cpp:244
#25 0xb692a8ac in start_thread () from /lib/libpthread.so.0
#26 0xb596e01e in clone () from /lib/libc.so.6

I debugged the crash and, in fact, &quot;stream&quot; was 0 on &quot;Phonon::Xine::XineStream::event&quot;

A weird thing is that I got a XIOError, while the original backtrace was normal on thread 1...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>907072</commentid>
    <comment_count>4</comment_count>
    <who name="Dario Andres">andresbajotierra</who>
    <bug_when>2010-01-28 02:15:17 +0000</bug_when>
    <thetext>*** Bug 224554 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>914001</commentid>
    <comment_count>5</comment_count>
    <who name="Myriam Schweingruber">myriam</who>
    <bug_when>2010-02-10 10:53:22 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; This is probably related to bug 220152 / bug 202982.
&gt; It is a bug in the Phonon KDE multimedia subsytem, when using the Xine
&gt; multimedia library.

The backtraces are identical, why keeping open both reports?

*** This bug has been marked as a duplicate of bug 220152 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>