Bug 296760 - Kaffeine crashes at playback of MotionJPEG avi file recorded with Fujifilm Finepix F30 camera
Summary: Kaffeine crashes at playback of MotionJPEG avi file recorded with Fujifilm Fi...
Status: RESOLVED INTENTIONAL
Alias: None
Product: kaffeine
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Mauro Carvalho Chehab
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-25 17:37 UTC by gyges
Modified: 2016-06-04 16:33 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gyges 2012-03-25 17:37:51 UTC
Application: kaffeine-xbu (1.2.2 1.1.20.1)
KDE Platform Version: 4.7.2 (4.7.2) "release 5"
Qt Version: 4.7.4
Operating System: Linux 3.1.9-1.4-desktop x86_64
Distribution: "openSUSE 12.1 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed: trying to play MotionJPEG avi file recorded with Fujifilm Finepix F30 camera

The crash can be reproduced every time.

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

Thread 8 (Thread 0x7f9fd8631700 (LWP 3378)):
#0  0x00007f9fec0de1eb in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f9fed2e9341 in metronom_sync_loop (this=0x7f3c90) at metronom.c:870
#2  0x00007f9fec0d9f05 in start_thread () from /lib64/libpthread.so.0
#3  0x00007f9feae7310d in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7f9fd32f0700 (LWP 3379)):
#0  0x00007f9feae69ff3 in poll () from /lib64/libc.so.6
#1  0x00007f9fd3e0620f in ?? () from /usr/lib64/libpulse.so.0
#2  0x00007f9fd3df761c in pa_mainloop_poll () from /usr/lib64/libpulse.so.0
#3  0x00007f9fd3df7c89 in pa_mainloop_iterate () from /usr/lib64/libpulse.so.0
#4  0x00007f9fd3df7d40 in pa_mainloop_run () from /usr/lib64/libpulse.so.0
#5  0x00007f9fd3e061bf in ?? () from /usr/lib64/libpulse.so.0
#6  0x00007f9fd39ac248 in ?? () from /usr/lib64/libpulsecommon-1.1.so
#7  0x00007f9fec0d9f05 in start_thread () from /lib64/libpthread.so.0
#8  0x00007f9feae7310d in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7f9fceaee700 (LWP 3380)):
#0  0x00007f9fec0dde6c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f9fed2fa8d3 in fifo_peek_int (blocking=1, fifo=0x82b930) at audio_out.c:348
#2  fifo_peek (fifo=0x82b930) at audio_out.c:388
#3  ao_loop (this_gen=<optimized out>) at audio_out.c:1015
#4  0x00007f9fec0d9f05 in start_thread () from /lib64/libpthread.so.0
#5  0x00007f9feae7310d in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f9fc7fff700 (LWP 3384)):
#0  0x00007f9fec0de1eb in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f9fed2f4d89 in interruptable_sleep (this=0x97a000, usec_to_sleep=<optimized out>) at video_out.c:1116
#2  0x00007f9fed2f62e2 in video_out_loop (this_gen=0x97a000) at video_out.c:1313
#3  0x00007f9fec0d9f05 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f9feae7310d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f9fc77fe700 (LWP 3385)):
[KCrash Handler]
#6  0x00007f9fcc4256d9 in yuv2rgb_next_slice (this=0x98e670, dest=0x7f9fc77fdc28) at yuv2rgb.c:89
#7  0x00007f9fcc430f34 in yuv420_argb32 (cpu=0, pv=0x7f9fb806ff80 "zzzzzzz{}}}}}}}}||||||||}}}}}}}}~~~~~~~~||||||||{{{{{{{{", 'z' <repeats 16 times>, '{' <repeats 15 times>, "zxxxxxxxx", 'w' <repeats 16 times>, 'x' <repeats 16 times>, "wwwwwwwwvvvvvvvv", 'u' <repeats 24 times>, "vvvvvvvv", 'u' <repeats 24 times>..., pu=0x7f9fb805d360 "\207\207\207\207\207\207\207\206\204\204\204\204\204\204\204\204\205\205\205\205\205\205\205\205\204\204\204\204\204\204\204\204\203\203\203\203\203\203\203\204\205\205\205\205\205\205\205\205\206\206\206\206\206\206\206\206\207\207\207\207\207\207\207\207\207\207\207\207\207\207\207\207\206\206\206\206\206\206\206\206\206\206\206\206\206\206\206\207\212\212\212\212\212\212\212\212\213\213\213\213\213\213\213\213\214\214\214\214\214\214\214\214\213\213\213\213\213\213\213\213\213\213\213\213\213\213\213\213\214\214\214\214\214\214\214\214\215\215\215\215\215\215\215\215\215\215\215\215\215\215\215\215\215\215\215\215\215\215\215\215\215\215\215\215\215\215\215\215\214\214\214\214\214\214\214\214\215\215\215\215\215\215\215\215\215\215\215\215\215\215\215\215\215\215\215\215\215\215\215\215"..., py=0x7f9fb8012340 "\330\317\312\315\317\313\312\316\311\310\312\316\323\325\324\322\325\324\324\325\327\333\337\342\341\342\343\344\342\337\333\331\336\335\334\333\333\333\334\335\326\327\330\331\333\334\336\336\337\337\337\337\337\337\337\337\340\340\340\341\341\341\341\342\340\340\340\340\340\340\340\340\340\340\340\337\337\336\336\335\333\333\333\333\333\333\333\333\331\331\330\330\327\327\326\326\331\331\330\327\327\326\326\326\327\327\327\327\327\327\327\327\323\323\323\323\323\323\323\323\323\323\323\323\323\323\323\323\321\321\321\321\321\321\321\321\322\322\322\322\322\322\322\322\322\322\322\322\322\322\322\322\323\323\323\323\322\322\322\321\330\330\327\327\326\325\324\324\317\316\315\313\311\310\306\306\306\306\305\305\304\303\303\303\303\303\303\303\304\304\304\304\300\300\300\300\300\300\300\300"..., image=0x0, this=0x98e670) at yuv2rgb_mmx.c:805
#8  mmxext_argb32 (this=<optimized out>, image=<optimized out>, py=0x7f9fb8012340 "\330\317\312\315\317\313\312\316\311\310\312\316\323\325\324\322\325\324\324\325\327\333\337\342\341\342\343\344\342\337\333\331\336\335\334\333\333\333\334\335\326\327\330\331\333\334\336\336\337\337\337\337\337\337\337\337\340\340\340\341\341\341\341\342\340\340\340\340\340\340\340\340\340\340\340\337\337\336\336\335\333\333\333\333\333\333\333\333\331\331\330\330\327\327\326\326\331\331\330\327\327\326\326\326\327\327\327\327\327\327\327\327\323\323\323\323\323\323\323\323\323\323\323\323\323\323\323\323\321\321\321\321\321\321\321\321\322\322\322\322\322\322\322\322\322\322\322\322\322\322\322\322\323\323\323\323\322\322\322\321\330\330\327\327\326\325\324\324\317\316\315\313\311\310\306\306\306\306\305\305\304\303\303\303\303\303\303\303\304\304\304\304\300\300\300\300\300\300\300\300"..., pu=0x7f9fb805d360 "\207\207\207\207\207\207\207\206\204\204\204\204\204\204\204\204\205\205\205\205\205\205\205\205\204\204\204\204\204\204\204\204\203\203\203\203\203\203\203\204\205\205\205\205\205\205\205\205\206\206\206\206\206\206\206\206\207\207\207\207\207\207\207\207\207\207\207\207\207\207\207\207\206\206\206\206\206\206\206\206\206\206\206\206\206\206\206\207\212\212\212\212\212\212\212\212\213\213\213\213\213\213\213\213\214\214\214\214\214\214\214\214\213\213\213\213\213\213\213\213\213\213\213\213\213\213\213\213\214\214\214\214\214\214\214\214\215\215\215\215\215\215\215\215\215\215\215\215\215\215\215\215\215\215\215\215\215\215\215\215\215\215\215\215\215\215\215\215\214\214\214\214\214\214\214\214\215\215\215\215\215\215\215\215\215\215\215\215\215\215\215\215\215\215\215\215\215\215\215\215"..., pv=0x7f9fb806ff80 "zzzzzzz{}}}}}}}}||||||||}}}}}}}}~~~~~~~~||||||||{{{{{{{{", 'z' <repeats 16 times>, '{' <repeats 15 times>, "zxxxxxxxx", 'w' <repeats 16 times>, 'x' <repeats 16 times>, "wwwwwwwwvvvvvvvv", 'u' <repeats 24 times>, "vvvvvvvv", 'u' <repeats 24 times>...) at yuv2rgb_mmx.c:1037
#9  0x00007f9fed2f5184 in vo_frame_driver_proc (img=0x98e3e0) at video_out.c:351
#10 0x00007f9fed2f75df in vo_frame_driver_proc (img=0x98e3e0) at video_out.c:341
#11 vo_frame_draw (img=0x98e3e0, stream=<optimized out>) at video_out.c:566
#12 0x00007f9fbf434479 in mjpeg_decode_data (buf=<optimized out>, this_gen=<optimized out>) at xine_mjpeg_decoder.c:295
#13 mjpeg_decode_data (this_gen=0x7f9fb8001730, buf=0x15db960) at xine_mjpeg_decoder.c:146
#14 0x00007f9fed2f3230 in video_decoder_loop (stream_gen=0x9d5560) at video_decoder.c:419
#15 0x00007f9fec0d9f05 in start_thread () from /lib64/libpthread.so.0
#16 0x00007f9feae7310d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f9fc6ffd700 (LWP 3386)):
#0  0x00007f9fec0dde6c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f9fed2ece3b in fifo_buffer_get (fifo=0x15dbd90) at buffer.c:230
#2  0x00007f9fed2f40bd in audio_decoder_loop (stream_gen=0x9d5560) at audio_decoder.c:67
#3  0x00007f9fec0d9f05 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f9feae7310d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f9fc67fc700 (LWP 3387)):
#0  0x00007f9fec0dde6c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f9fed2fcdab in xine_event_wait (queue=0x17ca3a0) at events.c:56
#2  listener_loop (queue_gen=0x17ca3a0) at events.c:219
#3  0x00007f9fec0d9f05 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f9feae7310d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f9feda62760 (LWP 3375)):
#0  0x00007f9fec0de1eb in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f9fed3020d9 in _x_demux_control_headers_done (stream=0x9d5560) at demux.c:245
#2  0x00007f9fed2e76d4 in open_internal (mrl=0x17cb548 "file:///media/C-DRIVE/Multimedia/Wasserski_MotionJPEG.AVI", stream=0x9d5560) at xine.c:1319
#3  xine_open (stream=0x9d5560, mrl=0x17cb548 "file:///media/C-DRIVE/Multimedia/Wasserski_MotionJPEG.AVI") at xine.c:1336
#4  0x00000000004059b1 in _start ()

Reported using DrKonqi
Comment 1 Mauro Carvalho Chehab 2016-06-01 11:45:56 UTC
The Kaffeine version you're using is too old. It still uses libxine backend to play videos. We moved to libVLC sometime ago (version 1.3.x), and we just released upstream a version 2.0.1, with is based on KDE5. So, lots of change too. Could you please test the upstream version and see if it works? The README file contains instructions about how to compile it. You can find it at our git repository:

https://quickgit.kde.org/?p=kaffeine.git

As this BZ is on an old version that we're not maintaining upstream anymore, I'm closing the bug. If you find similar issues with version 2.0.1, please re-open.
Comment 2 gyges 2016-06-04 16:33:10 UTC
Fixed in 1.3.1 and 2.0.1.