[Gstreamer-bugs] [Bug 99489] New - mpegparse FPE on non-standard mpeg

bugzilla-daemon at widget.gnome.org bugzilla-daemon at widget.gnome.org
Mon Nov 25 02:47:29 PST 2002


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=99489

Changed by vishnu at pobox.com.

--- shadow/99489	Mon Nov 25 05:47:29 2002
+++ shadow/99489.tmp.15000	Mon Nov 25 05:47:29 2002
@@ -0,0 +1,82 @@
+Bug#: 99489
+Product: GStreamer
+Version: cvs
+OS: other
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: normal
+Priority: Normal
+Component: gst-plugins
+AssignedTo: gstreamer-maint at bugzilla.gnome.org                            
+ReportedBy: vishnu at pobox.com               
+QAContact: gstreamer-maint at bugzilla.gnome.org
+TargetMilestone: 0.4.0
+URL: 
+Summary: mpegparse FPE on non-standard mpeg
+
+i re-mixed a VCD mpeg with cinelerra into a mpeg2 (video) and mp3 (audio)
+and multiplexed it with mplexlo.  When i try to play this mpeg with
+gstreamer CVS, i get the following obvious FPE:
+
+Starting program: /home/joshua/gst/gstreamer/tools/.libs/lt-gst-launch
+filesrc location=/local/aleader/nau-scene1-1M.mpg ! mpegdemux name=foo
+video_%02d! { queue ! mpeg2dec ! { queue ! colorspace ! xvideosink } }
+foo.audio_%02d!{ queue ! mad ! { queue ! osssink } }
+[New Thread 1024 (LWP 2001)]
+INFO ( 2001: 0) Initializing GStreamer Core Library version 0.4.2.1
+INFO ( 2001: 0) CPU features: (0081813f) MMX
+registry: loaded user_registry in 1.017360 seconds
+          (/home/joshua/.gstreamer/registry.xml)
+registry: loaded global_registry in 0.614729 seconds
+          (/home/joshua/gst/gstreamer/registry.xml)
+GStreamer-INFO: 0 live buffer(s)
+GStreamer-INFO: 0 live bufferpool(s)
+GStreamer-INFO: 0 live event(s)
+RUNNING pipeline
+[New Thread 2049 (LWP 2002)]
+[New Thread 1026 (LWP 2003)]
+[New Thread 2051 (LWP 2004)]
+[New Thread 3076 (LWP 2005)]
+[New Thread 4101 (LWP 2006)]
+sink: caps = (GstCaps *) { audio/mp3;  }
+src: caps = (GstCaps *) { audio/mp3;  }
+sink: caps = (GstCaps *) { audio/mp3;  }
+
+Program received signal SIGFPE, Arithmetic exception.
+[Switching to Thread 1024 (LWP 2001)]
+0x4035e96e in __udivmoddi4 ()
+   from /home/joshua/gst/gst-plugins/gst/mpegstream/.libs/libgstmpegstream.so
+(gdb) where
+#0  0x4035e96e in __udivmoddi4 ()
+   from /home/joshua/gst/gst-plugins/gst/mpegstream/.libs/libgstmpegstream.so
+#1  0x4035e8c5 in __udivdi3 ()
+   from /home/joshua/gst/gst-plugins/gst/mpegstream/.libs/libgstmpegstream.so
+#2  0x4035a1a9 in gst_mpeg_parse_loop (element=0x809a3b0) at gstmpegparse.c:479
+#3  0x4033b2c9 in gst_basic_scheduler_loopfunc_wrapper (argc=0, argv=0x809a3b0)
+    at gstbasicscheduler.c:279
+#4  0x4033f99c in cothread_stub () at cothreads.c:444
+#5  0x4033fd48 in cothread_switch (thread=0xbfe20000) at cothreads.c:650
+#6  0x4033e6bd in gst_basic_scheduler_iterate (sched=0x8095920) at
+gstbasicscheduler.c:1342
+#7  0x4004475f in gst_scheduler_iterate (sched=0x8095920) at gstscheduler.c:645
+#8  0x4002807c in gst_bin_iterate_func (bin=0x8092c08) at gstbin.c:826
+#9  0x4002829a in gst_bin_iterate (bin=0x8092c08) at gstbin.c:869
+#10 0x08048fdc in idle_func (data=0x8092c08) at gst-launch.c:23
+#11 0x401b5136 in g_timeout_add () from /usr/lib/libglib-2.0.so.0
+#12 0x401b2a19 in g_get_current_time () from /usr/lib/libglib-2.0.so.0
+#13 0x401b3837 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
+#14 0x401b3c13 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
+#15 0x401b42ef in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
+#16 0x400231b7 in gst_main () at gst.c:589
+#17 0x08049518 in main (argc=31, argv=0xbffff914) at gst-launch.c:177
+(gdb) up 2
+#2  0x4035a1a9 in gst_mpeg_parse_loop (element=0x809a3b0) at gstmpegparse.c:479
+479             mpeg_parse->next_scr = scr + (bss * 90000LL) / br;
+(gdb) p br
+$3 = 0
+(gdb) p mpeg_parse->mux_rate
+$4 = 0
+
+To reproduce this problem, use the test mpeg file here:
+  <ftp://ftp.berlios.de/pub/redael/nau-scene1-1M.mpg>





More information about the Gstreamer-bugs mailing list