Bug 253212

Summary: Crash when opening .asf file
Product: [Frameworks and Libraries] Phonon Reporter: Mark Rooks <rooksy>
Component: Xine backendAssignee: Martin Sandsmark <martin.sandsmark>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra, myriam
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Mark Rooks 2010-10-04 12:00:53 UTC
Application: dragon (2.0)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.3
Operating System: Linux 2.6.32.21-168.fc12.i686.PAE i686
Distribution (Platform): Fedora RPMs

-- Information about the crash:
freshly encoded a web stream of son's band interviewed on radio.

Used VLC to record the stream, which saves .asf files.

tried to open the .asf files (right clich, open with...) in dragon player and amarok and a crash occurs.

The crash can be reproduced every time.

 -- Backtrace:
Application: Dragon Player (dragon), signal: Segmentation fault
__libc_disable_asynccancel (oldtype=<value optimized out>)
    at ../nptl/cancellation.c:83
83	      if (__builtin_expect (curval == oldval, 1))
[Current thread is 1 (Thread 0xb776e7a0 (LWP 16897))]

Thread 10 (Thread 0xb1f0fb70 (LWP 16898)):
#0  0x00c22424 in __kernel_vsyscall ()
#1  0x0090af72 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:179
#2  0x0722e7f5 in metronom_sync_loop (this=0x88c6610) at metronom.c:870
#3  0x00906ab5 in start_thread (arg=0xb1f0fb70) at pthread_create.c:297
#4  0x00830f1e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 9 (Thread 0xb1103b70 (LWP 16899)):
#0  0x00c22424 in __kernel_vsyscall ()
#1  0x00829581 in select () at ../sysdeps/unix/syscall-template.S:82
#2  0x07259115 in xine_usec_sleep (usec=<value optimized out>) at utils.c:481
#3  0x0723d206 in video_out_loop (this_gen=0x88cce48) at video_out.c:1246
#4  0x00906ab5 in start_thread (arg=0xb1103b70) at pthread_create.c:297
#5  0x00830f1e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 8 (Thread 0xb0702b70 (LWP 16900)):
#0  0x00b0915c in IA__g_main_context_prepare (context=<value optimized out>, priority=0xb07020ac) at gmain.c:2282
#1  0x00b09509 in g_main_context_iterate (context=0xafc004e8, block=1, dispatch=1, self=0xafc01cd8) at gmain.c:2571
#2  0x00b09a14 in IA__g_main_context_iteration (context=0xafc004e8, may_block=1) at gmain.c:2654
#3  0x04cd30ff in QEventDispatcherGlib::processEvents (this=0xafc00468, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#4  0x04ca942a in QEventLoop::processEvents (this=0xb07021f0, flags=...) at kernel/qeventloop.cpp:149
#5  0x04ca976a in QEventLoop::exec (this=0xb07021f0, flags=...) at kernel/qeventloop.cpp:201
#6  0x04bb730e in QThread::exec (this=0x8763d90) at thread/qthread.cpp:487
#7  0x06b350cb in Phonon::Xine::XineThread::run (this=0x8763d90) at /usr/src/debug/phonon-4.4.2/xine/xinethread.cpp:143
#8  0x04bb975f in QThreadPrivate::start (arg=0x8763d90) at thread/qthread_unix.cpp:248
#9  0x00906ab5 in start_thread (arg=0xb0702b70) at pthread_create.c:297
#10 0x00830f1e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 7 (Thread 0xafbffb70 (LWP 16901)):
#0  0x00935dc6 in clock_gettime (clock_id=1, tp=0xafbff068) at ../sysdeps/unix/clock_gettime.c:100
#1  0x0058e508 in pa_rtclock_get (tv=0xafbff0a8) at pulsecore/core-rtclock.c:58
#2  0x0298b6be in pa_rtclock_now () at pulse/rtclock.c:34
#3  0x02987080 in calc_next_timeout (m=0x8cdd848, timeout=-1) at pulse/mainloop.c:757
#4  pa_mainloop_prepare (m=0x8cdd848, timeout=-1) at pulse/mainloop.c:840
#5  0x02987d46 in pa_mainloop_iterate (m=0x8cdd848, block=1, retval=0x0) at pulse/mainloop.c:958
#6  0x02987e34 in pa_mainloop_run (m=0x8cdd848, retval=0x0) at pulse/mainloop.c:979
#7  0x029995a4 in thread (userdata=0x8cdb718) at pulse/thread-mainloop.c:94
#8  0x005bc863 in internal_thread_func (userdata=0x8cdd920) at pulsecore/thread-posix.c:72
#9  0x00906ab5 in start_thread (arg=0xafbffb70) at pthread_create.c:297
#10 0x00830f1e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 6 (Thread 0xaafffb70 (LWP 16902)):
#0  0x00c22424 in __kernel_vsyscall ()
#1  0x0090ac45 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:122
#2  0x072409e4 in fifo_peek_int (this_gen=0x8ce0348) at audio_out.c:348
#3  fifo_peek (this_gen=0x8ce0348) at audio_out.c:388
#4  ao_loop (this_gen=0x8ce0348) at audio_out.c:1015
#5  0x00906ab5 in start_thread (arg=0xaafffb70) at pthread_create.c:297
#6  0x00830f1e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 5 (Thread 0xaa215b70 (LWP 16904)):
#0  0x00c22424 in __kernel_vsyscall ()
#1  0x0090ac45 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:122
#2  0x0722ea31 in metronom_handle_video_discontinuity (this=0xafc02fc8, type=3, disc_off=31680) at metronom.c:404
#3  0x07238b3a in video_decoder_loop (stream_gen=0xafc02360) at video_decoder.c:330
#4  0x00906ab5 in start_thread (arg=0xaa215b70) at pthread_create.c:297
#5  0x00830f1e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 4 (Thread 0xa9647b70 (LWP 16905)):
[KCrash Handler]
#6  0x014ac89d in float_to_int16_interleave_sse2 (dst=0xab130008, src=0xa9647098, len=2048, channels=2) at /usr/src/debug/ffmpeg-0.6/libavcodec/x86/dsputil_mmx.c:2475
#7  0x014249d4 in wma_decode_frame (s=0xab108020, samples=0xab130008) at /usr/src/debug/ffmpeg-0.6/libavcodec/wmadec.c:810
#8  0x01426001 in wma_decode_superframe (avctx=0xa8118580, data=0xab130008, data_size=0xa96471ec, avpkt=0xa9647124) at /usr/src/debug/ffmpeg-0.6/libavcodec/wmadec.c:897
#9  0x013d9c32 in avcodec_decode_audio3 (avctx=0xa8118580, samples=0xab130008, frame_size_ptr=0xa96471ec, buf=0xa8100500 "h\231\214'\004\316\r\266\307V\ax\b\320", buf_size=5462)
    at /usr/src/debug/ffmpeg-0.6/libavcodec/utils.c:656
#10 avcodec_decode_audio2 (avctx=0xa8118580, samples=0xab130008, frame_size_ptr=0xa96471ec, buf=0xa8100500 "h\231\214'\004\316\r\266\307V\ax\b\320", buf_size=5462)
    at /usr/src/debug/ffmpeg-0.6/libavcodec/utils.c:634
#11 0x026f4e68 in ?? () from /usr/lib/xine/plugins/1.28/xineplug_decode_ff.so
#12 0x0723a216 in audio_decoder_loop (stream_gen=0xafc02360) at audio_decoder.c:362
#13 0x00906ab5 in start_thread (arg=0xa9647b70) at pthread_create.c:297
#14 0x00830f1e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xa8c46b70 (LWP 16906)):
#0  0x00c22424 in __kernel_vsyscall ()
#1  0x0090ac45 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:122
#2  0x07243b8c in xine_event_wait (queue=0xafc32b08) at events.c:56
#3  0x07243c11 in listener_loop (queue_gen=0xafc32b08) at events.c:214
#4  0x00906ab5 in start_thread (arg=0xa8c46b70) at pthread_create.c:297
#5  0x00830f1e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xa80ffb70 (LWP 16907)):
#0  0x00c22424 in __kernel_vsyscall ()
#1  0x00829581 in select () at ../sysdeps/unix/syscall-template.S:82
#2  0x07259115 in xine_usec_sleep (usec=<value optimized out>) at utils.c:481
#3  0x072482af in demux_loop (stream_gen=0xafc02360) at demux.c:370
#4  0x00906ab5 in start_thread (arg=0xa80ffb70) at pthread_create.c:297
#5  0x00830f1e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb776e7a0 (LWP 16897)):
#0  __libc_disable_asynccancel (oldtype=<value optimized out>) at ../nptl/cancellation.c:83
#1  0x00826548 in __poll (fds=0xbfd80818, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:89
#2  0x00a830c0 in _xcb_conn_wait (c=<value optimized out>, cond=<value optimized out>, vector=<value optimized out>, count=<value optimized out>) at xcb_conn.c:306
#3  0x00a84d52 in xcb_wait_for_reply (c=<value optimized out>, request=<value optimized out>, e=<value optimized out>) at xcb_in.c:390
#4  0x00984f76 in _XReply (dpy=<value optimized out>, rep=<value optimized out>, extra=<value optimized out>, discard=<value optimized out>) at xcb_io.c:454
#5  0x0097a002 in XTranslateCoordinates (dpy=<value optimized out>, src_win=<value optimized out>, dest_win=<value optimized out>, src_x=<value optimized out>, src_y=<value optimized out>, 
    dst_x=<value optimized out>, dst_y=<value optimized out>, child=<value optimized out>) at TrCoords.c:53
#6  0x037f8501 in QWidgetPrivate::updateFrameStrut (this=0x87403f0) at kernel/qwidget_x11.cpp:2886
#7  0x037ac8d6 in QWidgetPrivate::frameStrut (this=0x87403f0) at kernel/qwidget.cpp:11571
#8  0x037b33af in QWidget::frameGeometry (this=0x86e8c40) at kernel/qwidget.cpp:3246
#9  0x00e0bb4e in OxygenHelper::renderWindowBackground (this=0x8680fb8, p=0xbfd80fdc, clipRect=..., widget=0x86e8c40, window=0x86e8c40, pal=..., y_shift=-23, gradientHeight=64)
    at /usr/src/debug/kdebase-runtime-4.4.5/kstyles/oxygen/lib/helper.cpp:101
#10 0x00e43810 in OxygenHelper::renderWindowBackground (this=0x8680fb8, p=<value optimized out>, clipRect=..., widget=0x86e8c40, pal=..., gradientHeight=64, y_shift=-23)
    at /usr/src/debug/kdebase-runtime-4.4.5/kstyles/oxygen/lib/helper.h:69
#11 0x00e50c0a in OxygenStyle::eventFilter (this=0x866fe80, obj=0x86e8c40, ev=0xbfd814c4) at /usr/src/debug/kdebase-runtime-4.4.5/kstyles/oxygen/oxygen.cpp:6391
#12 0x04ca9f8a in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x8643a78, receiver=0x86e8c40, event=0xbfd814c4) at kernel/qcoreapplication.cpp:841
#13 0x0375d6aa in QApplicationPrivate::notify_helper (this=0x8643a78, receiver=0x86e8c40, e=0xbfd814c4) at kernel/qapplication.cpp:4302
#14 0x037642a1 in QApplication::notify (this=0xbfd82d14, receiver=0x86e8c40, e=0xbfd814c4) at kernel/qapplication.cpp:4271
#15 0x02b74a6b in KApplication::notify (this=0xbfd82d14, receiver=0x86e8c40, event=0xbfd814c4) at /usr/src/debug/kdelibs-4.4.5/kdeui/kernel/kapplication.cpp:302
#16 0x04caad53 in QCoreApplication::notifyInternal (this=0xbfd82d14, receiver=0x86e8c40, event=0xbfd814c4) at kernel/qcoreapplication.cpp:726
#17 0x037b8d37 in sendSpontaneousEvent (this=0x87403f0, pdev=0x885c91c, rgn=..., offset=..., flags=5, sharedPainter=0x0, backingStore=0x8866b38) at ../../src/corelib/kernel/qcoreapplication.h:218
#18 QWidgetPrivate::drawWidget (this=0x87403f0, pdev=0x885c91c, rgn=..., offset=..., flags=5, sharedPainter=0x0, backingStore=0x8866b38) at kernel/qwidget.cpp:5363
#19 0x03978c95 in QWidgetBackingStore::sync (this=0x8866b38) at painting/qbackingstore.cpp:1300
#20 0x037a9d63 in QWidgetPrivate::syncBackingStore (this=0x87403f0) at kernel/qwidget.cpp:1688
#21 0x037b0b5e in QWidget::event (this=0x86e8c40, event=0xbfd81ea4) at kernel/qwidget.cpp:8337
#22 0x03b9d007 in QMainWindow::event (this=0x86e8c40, event=0xbfd81ea4) at widgets/qmainwindow.cpp:1414
#23 0x02c53ae4 in KMainWindow::event (this=0x86e8c40, ev=0xbfd81ea4) at /usr/src/debug/kdelibs-4.4.5/kdeui/widgets/kmainwindow.cpp:1103
#24 0x02c94dc0 in KXmlGuiWindow::event (this=0x86e8c40, ev=0xbfd81ea4) at /usr/src/debug/kdelibs-4.4.5/kdeui/xmlgui/kxmlguiwindow.cpp:131
#25 0x0375d6cc in QApplicationPrivate::notify_helper (this=0x8643a78, receiver=0x86e8c40, e=0xbfd81ea4) at kernel/qapplication.cpp:4306
#26 0x037642a1 in QApplication::notify (this=0xbfd82d14, receiver=0x86e8c40, e=0xbfd81ea4) at kernel/qapplication.cpp:4271
#27 0x02b74a6b in KApplication::notify (this=0xbfd82d14, receiver=0x86e8c40, event=0xbfd81ea4) at /usr/src/debug/kdelibs-4.4.5/kdeui/kernel/kapplication.cpp:302
#28 0x04caad53 in QCoreApplication::notifyInternal (this=0xbfd82d14, receiver=0x86e8c40, event=0xbfd81ea4) at kernel/qcoreapplication.cpp:726
#29 0x03975f58 in sendEvent (widget=0x86e8c40, updateImmediately=<value optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:215
#30 sendUpdateRequest (widget=0x86e8c40, updateImmediately=<value optimized out>) at painting/qbackingstore.cpp:507
#31 0x03979604 in QWidgetBackingStore::markDirty (this=0x8866b38, rect=..., widget=0x873d310, updateImmediately=true, invalidateBuffer=false) at painting/qbackingstore.cpp:671
#32 0x037ac5e9 in QWidget::repaint (this=0x873d310, rect=...) at kernel/qwidget.cpp:10080
#33 0x037ac6fd in QWidget::repaint (this=0x873d310) at kernel/qwidget.cpp:10036
#34 0x0806d8de in ?? ()
#35 0x0805e99e in ?? ()
#36 0x0806aefa in ?? ()
#37 0x04caf7eb in QMetaObject::metacall (object=0x86e8c40, cl=InvokeMetaMethod, idx=67, argv=0xbfd8218c) at kernel/qmetaobject.cpp:237
#38 0x04cbe6e5 in QMetaObject::activate (sender=0x8761118, m=0x8071ab0, local_signal_index=8, argv=0x0) at kernel/qobject.cpp:3295
#39 0x080594ba in _start ()

Possible duplicates by query: bug 245679.

Reported using DrKonqi
Comment 1 Dario Andres 2010-11-18 17:41:46 UTC
[Comment from a bug triager]
This is an issue in the ffmpeg media library's WMA decoding logic and it was being tracked at bug 247228. Merging. Thanks

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