After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 313832 - Segfault when playing mpeg file
Segfault when playing mpeg file
Status: RESOLVED DUPLICATE of bug 314897
Product: GStreamer
Classification: Platform
Component: gst-libav
git master
Other Linux
: High critical
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-08-18 13:03 UTC by Wouter Bolsterlee (uws)
Modified: 2005-10-03 11:41 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Wouter Bolsterlee (uws) 2005-08-18 13:03:32 UTC
Opening http://www.eyesopened.nl/~michiel/sacgems/wp-content/movie.mpeg with
totem causes a segfault. Backtrace below:

GNU gdb 6.3-debian
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-linux"...Using host libthread_db library "/lib/
tls/libthread_db.so.1".

(gdb) run
Starting program: /opt/gnome/bin/totem
[Thread debugging using libthread_db enabled]
[New Thread -1227106624 (LWP 16540)]
[New Thread -1229669456 (LWP 16743)]
[New Thread -1231807568 (LWP 17184)]
[New Thread -1241969744 (LWP 17374)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1231807568 (LWP 17184)]
0xb62035b6 in put_pixels_clamped_mmx (block=0x858e080,
    pixels=0xb5c20a00 "ï¿¿ï¿¿ï¿¿ï¿¿ï¿¿ï¿¿ï¿¿ï¿¿", line_size=576) at
dsputil_mmx.c:257
257             __asm __volatile(
(gdb) thread apply all bt

Thread 3 (Thread -1231807568 (LWP 17184))

  • #0 put_pixels_clamped_mmx
    at dsputil_mmx.c line 257
  • #1 ff_simple_idct_put_mmx
    at simple_idct_mmx.c line 1308
  • #2 MPV_decode_mb
    at mpegvideo.c line 3852
  • #3 mpeg_decode_slice
    at mpeg12.c line 2637
  • #4 mpeg_decode_frame
    at mpeg12.c line 3185
  • #5 avcodec_decode_video
  • #6 gst_ffmpegdec_frame
    at gstffmpegdec.c line 684
  • #7 gst_ffmpegdec_chain
    at gstffmpegdec.c line 1003
  • #8 gst_pad_call_chain_function
    at gstpad.c line 4539
  • #9 gst_pad_push
    at gstpad.c line 3335
  • #10 gst_avi_demux_stream_data
    at gstavidemux.c line 2088
  • #11 gst_avi_demux_loop
    at gstavidemux.c line 2208
  • #12 loop_group_schedule_function
    at gstoptimalscheduler.c line 1451
  • #13 gst_opt_scheduler_schedule_run_queue
    at gstoptimalscheduler.c line 1222
  • #14 gst_opt_scheduler_iterate
    at gstoptimalscheduler.c line 1331
  • #15 gst_scheduler_iterate
    at gstscheduler.c line 744
  • #16 gst_bin_iterate_func
    at gstbin.c line 1281
  • #17 gst_marshal_BOOLEAN__VOID
    at gstmarshal.c line 509
  • #18 g_type_class_meta_marshal
    at gclosure.c line 569
  • #19 IA__g_closure_invoke
    at gclosure.c line 492
  • #20 signal_emit_unlocked_R
    at gsignal.c line 2523
  • #21 IA__g_signal_emit_valist
    at gsignal.c line 2254
  • #22 IA__g_signal_emit
    at gsignal.c line 2288
  • #23 gst_bin_iterate
    at gstbin.c line 1341
  • #24 gst_thread_main_loop
    at gstthread.c line 675
  • #25 g_thread_create_proxy
    at gthread.c line 564
  • #26 start_thread
    from /lib/tls/libpthread.so.0
  • #27 clone
    from /lib/tls/libc.so.6

Comment 1 Luca Ognibene 2005-09-17 11:48:56 UTC
I've tried with current 0.8 cvs and gstreamer doesn't segfault. It displays a
weird video but doesn't segfault :)
I've tried mplayer and xine and they segfaults. Are you able to play this video
with some video player? 

thanks!
Comment 2 Wouter Bolsterlee (uws) 2005-09-17 19:16:28 UTC
mplayer plays the file just fine over here
Comment 3 Luca Ognibene 2005-09-17 19:39:25 UTC
ok, i can play it with mplayer -vo x11 but not with xvideo.
This pipeline also works:
gst-launch-0.8 filesrc location="movie.mpeg" ! decodebin ! ffmpegcolorspace !
ximagesink
but this show garbage:
gst-launch-0.8 filesrc location="movie.mpeg" ! decodebin ! ffmpegcolorspace !
xvimagesink

Can you confirm? Are you using xvideo with mplayer?
Comment 4 Luca Ognibene 2005-09-18 08:06:22 UTC
It seems to be the same issue as #314897 (if you're not using xvideo with mplayer..)
Comment 5 Luca Ognibene 2005-09-20 20:06:05 UTC
Marking as duplicate of #314897. Please reopen if mplayer with xvideo works
fine. thanks for reporting the bug!

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