Bug 230989 - Opening any M4V (h.264) file created in Handbrake in either Xine, Kaffeine or Dragon instantly crashes the app.
Summary: Opening any M4V (h.264) file created in Handbrake in either Xine, Kaffeine or...
Status: RESOLVED UPSTREAM
Alias: None
Product: Phonon
Classification: Frameworks and Libraries
Component: Xine backend (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Matthias Kretz
URL:
Keywords:
: 244242 246929 249967 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-03-16 16:25 UTC by editor
Modified: 2010-09-04 01:16 UTC (History)
5 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 editor 2010-03-16 16:25:05 UTC
Application that crashed: kaffeine
Version of the application: 1.0-pre2
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-20-generic x86_64
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
Opening any M4V (h.264) file created in Handbrake in either Xine, Kaffeine or Dragon instantly crashes the app. Interestingly, h264 files created with ffmpeg/x264 open & play OK.

 -- Backtrace:
Application: Kaffeine (kaffeine), signal: Floating point exception
[Current thread is 1 (Thread 0x7f9c9d738750 (LWP 3863))]

Thread 10 (Thread 0x7f9c84354910 (LWP 3929)):
#0  0x00007f9c9894a82d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f9c89804c91 in metronom_sync_loop (this=0x1baf950) at metronom.c:870
#2  0x00007f9c98945a04 in start_thread () from /lib/libpthread.so.0
#3  0x00007f9c99c9f80d in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f9c82e0b910 (LWP 3933)):
[KCrash Handler]
#5  0x00007f9c7431a453 in build_frame_table (trak=0x7f9c70117cd0, global_timescale=<value optimized out>) at demux_qt.c:1952
#6  0x00007f9c7431bec6 in parse_moov_atom (info=0x7f9c700097f0, moov_atom=<value optimized out>, bandwidth=<value optimized out>) at demux_qt.c:2081
#7  0x00007f9c7431c6b6 in open_qt_file (info=0x7f9c700097f0, input=0x7f9c70003920, bandwidth=1544000) at demux_qt.c:2275
#8  0x00007f9c7431cfb9 in open_plugin (class_gen=0x7f9c700092c0, stream=0x26828d0, input_gen=0x7f9c70003920) at demux_qt.c:3052
#9  0x00007f9c8980b596 in probe_demux (stream=0x26828d0, method1=1, method2=<value optimized out>, input=<value optimized out>) at load_plugins.c:1307
#10 0x00007f9c8980324d in open_internal (stream=0x7, mrl=0x7 <Address 0x7 out of bounds>) at xine.c:1223
#11 xine_open (stream=0x7, mrl=0x7 <Address 0x7 out of bounds>) at xine.c:1298
#12 0x00007f9c89a68fd5 in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#13 0x00007f9c89a6d0e6 in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#14 0x00007f9c9b3afefc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#15 0x00007f9c9b3b71ce in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#16 0x00007f9c9c23eab6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#17 0x00007f9c9a81ec2c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#18 0x00007f9c9a81f80a in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#19 0x00007f9c9a847533 in ?? () from /usr/lib/libQtCore.so.4
#20 0x00007f9c9736cbce in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#21 0x00007f9c97370598 in ?? () from /lib/libglib-2.0.so.0
#22 0x00007f9c973706c0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#23 0x00007f9c9a8471a6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#24 0x00007f9c9a81d532 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#25 0x00007f9c9a81d904 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#26 0x00007f9c9a7356cb in QThread::exec() () from /usr/lib/libQtCore.so.4
#27 0x00007f9c89a5f56e in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#28 0x00007f9c9a738445 in ?? () from /usr/lib/libQtCore.so.4
#29 0x00007f9c98945a04 in start_thread () from /lib/libpthread.so.0
#30 0x00007f9c99c9f80d in clone () from /lib/libc.so.6
#31 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f9c7e1f8910 (LWP 3948)):
#0  0x00007f9c99c933c3 in poll () from /lib/libc.so.6
#1  0x00007f9c8373a20f in ?? () from /usr/lib/libpulse.so.0
#2  0x00007f9c8372a5e6 in pa_mainloop_poll () from /usr/lib/libpulse.so.0
#3  0x00007f9c8372beb9 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#4  0x00007f9c8372bf70 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#5  0x00007f9c8373a12b in ?? () from /usr/lib/libpulse.so.0
#6  0x00007f9c834fb050 in ?? () from /usr/lib/libpulsecommon-0.9.19.so
#7  0x00007f9c98945a04 in start_thread () from /lib/libpthread.so.0
#8  0x00007f9c99c9f80d in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f9c81ff3910 (LWP 3949)):
#0  0x00007f9c99c933c3 in poll () from /lib/libc.so.6
#1  0x00007f9c82406cbe in my_snd_mixer_wait (data=<value optimized out>) at audio_alsa_out.c:150
#2  ao_alsa_handle_event_thread (data=<value optimized out>) at audio_alsa_out.c:166
#3  0x00007f9c98945a04 in start_thread () from /lib/libpthread.so.0
#4  0x00007f9c99c9f80d in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f9c817f2910 (LWP 3950)):
#0  0x00007f9c9894a5a9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f9c89815983 in fifo_peek_int (this_gen=<value optimized out>) at audio_out.c:348
#2  fifo_peek (this_gen=<value optimized out>) at audio_out.c:388
#3  ao_loop (this_gen=<value optimized out>) at audio_out.c:1015
#4  0x00007f9c98945a04 in start_thread () from /lib/libpthread.so.0
#5  0x00007f9c99c9f80d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f9c805b8910 (LWP 3951)):
#0  0x00007f9c99c98412 in select () from /lib/libc.so.6
#1  0x00007f9c8982d725 in xine_usec_sleep (usec=<value optimized out>) at utils.c:481
#2  0x00007f9c898127e9 in video_out_loop (this_gen=<value optimized out>) at video_out.c:1246
#3  0x00007f9c98945a04 in start_thread () from /lib/libpthread.so.0
#4  0x00007f9c99c9f80d in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f9c7f05e910 (LWP 3970)):
#0  0x00007f9c9894a5a9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f9c8980854b in fifo_buffer_get (fifo=0x22d32d0) at buffer.c:230
#2  0x00007f9c8980e51d in video_decoder_loop (stream_gen=<value optimized out>) at video_decoder.c:130
#3  0x00007f9c98945a04 in start_thread () from /lib/libpthread.so.0
#4  0x00007f9c99c9f80d in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f9c799f6910 (LWP 3971)):
#0  0x00007f9c9894a5a9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f9c8980854b in fifo_buffer_get (fifo=0x22a48f0) at buffer.c:230
#2  0x00007f9c8980f555 in audio_decoder_loop (stream_gen=<value optimized out>) at audio_decoder.c:66
#3  0x00007f9c98945a04 in start_thread () from /lib/libpthread.so.0
#4  0x00007f9c99c9f80d in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f9c791f5910 (LWP 3974)):
#0  0x00007f9c9894a5a9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f9c89818a0b in xine_event_wait (queue=0x23498c0) at events.c:56
#2  0x00007f9c89818a7e in listener_loop (queue_gen=<value optimized out>) at events.c:214
#3  0x00007f9c98945a04 in start_thread () from /lib/libpthread.so.0
#4  0x00007f9c99c9f80d in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f9c9d738750 (LWP 3863)):
#0  0x00007f9c9894a82d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f9c9a737ed5 in ?? () from /usr/lib/libQtCore.so.4
#2  0x00007f9c9a738040 in QThread::msleep(unsigned long) () from /usr/lib/libQtCore.so.4
#3  0x00007f9c89a8379a in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#4  0x00007f9c9cbcde66 in ?? () from /usr/lib/libphonon.so.4
#5  0x00007f9c99bf8c12 in exit () from /lib/libc.so.6
#6  0x00007f9c92545726 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#7  0x00007f9c9c23e498 in KApplication::xioErrhandler(_XDisplay*) () from /usr/lib/libkdeui.so.5
#8  0x00007f9c98fa9fae in _XIOError () from /usr/lib/libX11.so.6
#9  0x00007f9c98fb19a5 in ?? () from /usr/lib/libX11.so.6
#10 0x00007f9c98fb2257 in _XEventsQueued () from /usr/lib/libX11.so.6
#11 0x00007f9c98f9b01b in XEventsQueued () from /usr/lib/libX11.so.6
#12 0x00007f9c9b44467c in ?? () from /usr/lib/libQtGui.so.4
#13 0x00007f9c9736faaa in g_main_context_check () from /lib/libglib-2.0.so.0
#14 0x00007f9c97370290 in ?? () from /lib/libglib-2.0.so.0
#15 0x00007f9c973706c0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#16 0x00007f9c9a8471a6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#17 0x00007f9c9b4444be in ?? () from /usr/lib/libQtGui.so.4
#18 0x00007f9c9a81d532 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#19 0x00007f9c9a81d904 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#20 0x00007f9c9a81fab9 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#21 0x0000000000478abd in _start ()

Reported using DrKonqi
Comment 1 Dario Andres 2010-03-18 13:12:27 UTC
The crash is deep inside the Xine library.
Please, report this to the Xine developers directly (http://bugs.xine-project.org/) and you could try to provide the "faulty" video file so they can test the library against it.
Regards
Comment 2 Pino Toscano 2010-08-09 17:12:09 UTC
*** Bug 244242 has been marked as a duplicate of this bug. ***
Comment 3 Pino Toscano 2010-08-09 17:12:32 UTC
*** Bug 246929 has been marked as a duplicate of this bug. ***
Comment 4 Pino Toscano 2010-09-04 01:16:17 UTC
*** Bug 249967 has been marked as a duplicate of this bug. ***