Bug 279829 - Kaffeine crashes when opening .avi files.
Summary: Kaffeine crashes when opening .avi files.
Status: RESOLVED UPSTREAM
Alias: None
Product: kaffeine
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Christoph Pfister
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-10 17:11 UTC by Andrew
Modified: 2011-08-10 21:37 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew 2011-08-10 17:11:48 UTC
Application: kaffeine-xbu (1.2.2 1.1.19)
KDE Platform Version: 4.6.5 (4.6.5)
Qt Version: 4.7.3
Operating System: Linux 2.6.40-4.fc15.i686 i686
Distribution (Platform): Fedora RPMs

-- Information about the crash:
- What I was doing when the application crashed: Starting Kaffeine by clicking on the .avi file icon in Dolphin. 

- Unusual behavior I noticed: Other than the crash itself, none.

- Custom settings of the application: Nothing has been changed via the "Configure Kaffeine" dialog. ffmpeg is installed in order to decode XviD.

- Other information:
  * Fedora 15 (32-bit, RPMFusion repositories enabled), KDE 4.6.5, ffmpeg 0.7-0.3.20110612git.fc15, pulseaudio 0.9.22-5.fc15, kaffeine 1.2.2-1.fc15
  * If a Kaffeine window is already open, it does not crash. However, it does silently fail to play the file.
  * The xine player exhibits similar behavior. Dragon Player, on the other hand, plays the file without crashing or complaining.
  * If attempted from the console, Kaffeine crashes with the following output:

user@host:~$ 2 errors in postprocess string "hb:a,vb:a,dr:a"
KCrash: Application 'kaffeine-xbu' crashing...                                                                        
KCrash: Attempting to start /usr/libexec/kde4/drkonqi from kdeinit
sock_file=/home/walrus/.kde/socket-tusk/kdeinit4__0
Assertion 'pa_close(fds[0]) == 0' failed at pulsecore/core-util.c:2215, function pa_close_pipe(). Aborting.

The crash can be reproduced every time.

-- Backtrace:
Application: Kaffeine (kaffeine-xbu), signal: Segmentation fault
[Current thread is 1 (Thread 0xb7796ab0 (LWP 10356))]

Thread 9 (Thread 0xb568ab70 (LWP 10359)):
#0  0x00c6c416 in __kernel_vsyscall ()
#1  0x00b5b4f4 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x4c2e8429 in metronom_sync_loop (this=0x9fe3b38) at metronom.c:870
#3  0x00b57a2e in start_thread () from /lib/libpthread.so.0
#4  0x0047934e in clone () from /lib/libc.so.6

Thread 8 (Thread 0xb4e89b70 (LWP 10360)):
#0  0x00c6c416 in __kernel_vsyscall ()
#1  0x0046ec3e in poll () from /lib/libc.so.6
#2  0x44db25b7 in ?? () from /usr/lib/libpulse.so.0
#3  0x44da11ed in pa_mainloop_poll () from /usr/lib/libpulse.so.0
#4  0x44da19e8 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#5  0x44da1ab4 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#6  0x44db253f in ?? () from /usr/lib/libpulse.so.0
#7  0x451633a7 in ?? () from /usr/lib/libpulsecommon-0.9.22.so
#8  0x00b57a2e in start_thread () from /lib/libpthread.so.0
#9  0x0047934e in clone () from /lib/libc.so.6

Thread 7 (Thread 0xb04ffb70 (LWP 10361)):
#0  0x00c6c416 in __kernel_vsyscall ()
#1  0x00b5b14c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x4c2fa840 in fifo_peek_int (blocking=1, fifo=0xa007710) at audio_out.c:348
#3  fifo_peek (fifo=0xa007710) at audio_out.c:388
#4  ao_loop (this_gen=0x9fe8ae0) at audio_out.c:1015
#5  0x00b57a2e in start_thread () from /lib/libpthread.so.0
#6  0x0047934e in clone () from /lib/libc.so.6

Thread 6 (Thread 0xaf8f3b70 (LWP 10362)):
#0  0x00c6c416 in __kernel_vsyscall ()
#1  0x00471d01 in select () from /lib/libc.so.6
#2  0x4c311ae5 in xine_usec_sleep (usec=<optimized out>) at utils.c:481
#3  0x4c2f5a75 in video_out_loop (this_gen=0xa14c538) at video_out.c:1246
#4  0x00b57a2e in start_thread () from /lib/libpthread.so.0
#5  0x0047934e in clone () from /lib/libc.so.6

Thread 5 (Thread 0xaed09b70 (LWP 10363)):
[KCrash Handler]
#7  0x4a3f6d39 in pp_postprocess (src=0xad000960, srcStride=0xad000970, dst=0xa557cc8, dstStride=0xa557cd4, width=720, height=400, QP_store=0xad0defa0 '\004' <repeats 45 times>, QPStride=46, vm=0x0, vc=0xad023960, pict_type=1) at /usr/src/debug/ffmpeg-oldabi-20110612/libpostproc/postprocess.c:1027
#8  0x00167e36 in ff_handle_buffer (buf=<optimized out>, this=0xad000468) at ff_video_decoder.c:1431
#9  ff_decode_data (this_gen=0xad000468, buf=0xa56b360) at ff_video_decoder.c:1561
#10 0x4c2f2aaf in video_decoder_loop (stream_gen=0xa558da0) at video_decoder.c:386
#11 0x00b57a2e in start_thread () from /lib/libpthread.so.0
#12 0x0047934e in clone () from /lib/libc.so.6

Thread 4 (Thread 0xae33bb70 (LWP 10364)):
#0  0x00c6c416 in __kernel_vsyscall ()
#1  0x00b5b14c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x4c2ec278 in fifo_buffer_get (fifo=0xa56b9c0) at buffer.c:230
#3  0x4c2f3985 in audio_decoder_loop (stream_gen=0xa558da0) at audio_decoder.c:66
#4  0x00b57a2e in start_thread () from /lib/libpthread.so.0
#5  0x0047934e in clone () from /lib/libc.so.6

Thread 3 (Thread 0xadb3ab70 (LWP 10365)):
#0  0x00c6c416 in __kernel_vsyscall ()
#1  0x00b5b14c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x4c2fce10 in xine_event_wait (queue=0xa589438) at events.c:56
#3  listener_loop (queue_gen=0xa589438) at events.c:214
#4  0x00b57a2e in start_thread () from /lib/libpthread.so.0
#5  0x0047934e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xac7ffb70 (LWP 10366)):
#0  0x00c6c416 in __kernel_vsyscall ()
#1  0x00471d01 in select () from /lib/libc.so.6
#2  0x4c311ae5 in xine_usec_sleep (usec=<optimized out>) at utils.c:481
#3  0x4c301153 in demux_loop (stream_gen=0xa558da0) at demux.c:365
#4  0x00b57a2e in start_thread () from /lib/libpthread.so.0
#5  0x0047934e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb7796ab0 (LWP 10356)):
#0  0x00c6c416 in __kernel_vsyscall ()
#1  0x00b5b4f4 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x4c2e5228 in wait_first_frame (stream=0xa558da0) at xine.c:1316
#3  play_internal (start_time=0, start_pos=0, stream=0xa558da0) at xine.c:1418
#4  xine_play (stream=0xa558da0, start_pos=0, start_time=0) at xine.c:1434
#5  0x0804c7db in XineObject::customEvent (this=0xbff92b70, event=0xa589cc8) at /usr/src/debug/kaffeine-1.2.2/src/backend-xine/xineapplication.cpp:704
#6  0x41178c1c in QObject::event (this=0xbff92b70, e=0xa589cc8) at kernel/qobject.cpp:1248
#7  0x433eb464 in notify_helper (e=0xa589cc8, receiver=0xbff92b70, this=0x9ed8b58) at kernel/qapplication.cpp:4462
#8  QApplicationPrivate::notify_helper (this=0x9ed8b58, receiver=0xbff92b70, e=0xa589cc8) at kernel/qapplication.cpp:4434
#9  0x433f08a3 in QApplication::notify (this=0xa589cc8, receiver=0xbff92b70, e=0xa589cc8) at kernel/qapplication.cpp:4209
#10 0x419bd8c2 in KApplication::notify (this=0xbff92c08, receiver=0xbff92b70, event=0xa589cc8) at /usr/src/debug/kdelibs-4.6.5/kdeui/kernel/kapplication.cpp:311
#11 0x411606be in QCoreApplication::notifyInternal (this=0xbff92c08, receiver=0xbff92b70, event=0xa589cc8) at kernel/qcoreapplication.cpp:731
#12 0x41164148 in sendEvent (event=<optimized out>, receiver=<optimized out>) at kernel/qcoreapplication.h:215
#13 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9ebfc78) at kernel/qcoreapplication.cpp:1372
#14 0x4116430d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1265
#15 0x4118e8f5 in sendPostedEvents () at kernel/qcoreapplication.h:220
#16 postEventSourceDispatch (s=0x9edaf00) at kernel/qeventdispatcher_glib.cpp:277
#17 0x420c35bf in g_main_dispatch (context=0x9edae70) at gmain.c:2441
#18 g_main_context_dispatch (context=0x9edae70) at gmain.c:3014
#19 0x420c3d30 in g_main_context_iterate (context=0x9edae70, block=1108159104, dispatch=1, self=0x9ed7b68) at gmain.c:3092
#20 0x420c406f in g_main_context_iteration (context=0x9edae70, may_block=1) at gmain.c:3155
#21 0x4118ed38 in QEventDispatcherGlib::processEvents (this=0x9ec09b8, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#22 0x4349fcab in QGuiEventDispatcherGlib::processEvents (this=0x9ec09b8, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#23 0x4115f9fe in QEventLoop::processEvents (this=0xbff92ac4, flags=...) at kernel/qeventloop.cpp:149
#24 0x4115fc51 in QEventLoop::exec (this=0xbff92ac4, flags=...) at kernel/qeventloop.cpp:201
#25 0x411643bb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#26 0x433e9245 in QApplication::exec () at kernel/qapplication.cpp:3736
#27 0x0804aeb9 in main (argc=1, argv=0xbff92d14) at /usr/src/debug/kaffeine-1.2.2/src/backend-xine/xineapplication.cpp:1004

Reported using DrKonqi
Comment 1 Christoph Feck 2011-08-10 21:37:45 UTC
FFMpeg bug, please report to http://ffmpeg.org/bugreports.html