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 171528 - SIGFPE in gstasf with http://joule.via.ecp.fr/~lool/debian/foo.asf
SIGFPE in gstasf with http://joule.via.ecp.fr/~lool/debian/foo.asf
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-ugly
0.8.11
Other Linux
: Normal normal
: 0.10.2
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-03-24 21:35 UTC by Loïc Minier
Modified: 2006-02-17 13:59 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Loïc Minier 2005-03-24 21:35:52 UTC
Version details: Debian/sid
Distribution/Version: Debian/sid

Hi,

I got a private mail report of a crash with an ASF of which the file:
http://joule.via.ecp.fr/~lool/debian/foo.asf

is an extract.

I can reproduce the crash with gst-plugins 0.8.7 and 0.8.8 in Debian sarge and
sid.  Somehow, on my sid system, it doesn't occur.

Here are some bits of a backtrace:
Program received signal SIGFPE, Arithmetic exception.

Thread 1145199536 (LWP 2764)

  • #0 gst_asf_demux_descramble_segment
    at gstasfdemux.c line 1328
  • #1 gst_asf_demux_process_chunk
    at gstasfdemux.c line 1440
  • #2 gst_asf_demux_process_segment
    at gstasfdemux.c line 938
  • #3 gst_asf_demux_handle_data
    at gstasfdemux.c line 1084
  • #4 gst_asf_demux_loop
    at gstasfdemux.c line 243
  • #5 ??
    from /usr/lib/gstreamer-0.8/libgstoptscheduler.so
  • #6 ??
  • #7 ??
  • #8 ??
    from /usr/lib/gstreamer-0.8/libgstoptscheduler.so
  • #9 ??
    from /usr/lib/gstreamer-0.8/libgstoptscheduler.so
  • #10 ??
  • #11 ??
  • #12 ??
    from /usr/lib/gstreamer-0.8/libgstoptscheduler.so
  • #13 ??
  • #14 ??
  • #15 ??
  • #16 ??
  • #17 ??
    from /usr/lib/gstreamer-0.8/libgstoptscheduler.so
  • #18 ??
  • #19 ??
  • #20 ??
  • #21 ??
    from /usr/lib/gstreamer-0.8/libgstoptscheduler.so
  • #22 ??
  • #23 ??
  • #24 ??
  • #25 gst_debug_log
    from /usr/lib/libgstreamer-0.8.so.1


It's painful to get plugins built with debugging symbols with the Debian
packages, so I did not install all debugging modules, I think the relevant part
is shown.

I don't know when I'll be able to look deeper into this.

Bye,
Comment 1 Ronald Bultje 2005-03-25 21:23:50 UTC
Fixing the SIGFPE isn't so hard, but we appear to lose sync. ffmpeg does a
better job. I'll look closer.
Comment 2 Loïc Minier 2005-06-21 13:48:43 UTC
Any news on this?  I'm getting other SIGFPE in gstasf, I ponder deactivating it,
is this sane?
Comment 3 Loïc Minier 2005-06-21 20:29:39 UTC
It appears amarok will SIGFPE on startup (only with gstreamer 0.8.10) if
libgstasf is there, and it is the very same backtrace:
Program received signal SIGFPE, Arithmetic exception.
---Type <return> to continue, or q <return> to quit---

Thread NaN (LWP 1167)

  • #0 gst_asf_demux_descramble_segment
    at gstasfdemux.c line 1333
  • #1 gst_asf_demux_process_chunk
    at gstasfdemux.c line 1448
  • #2 gst_asf_demux_process_segment
    at gstasfdemux.c line 939
  • #3 gst_asf_demux_handle_data
    at gstasfdemux.c line 1089
  • #4 gst_asf_demux_loop
    at gstasfdemux.c line 231
  • #5 ??
    from /usr/lib/gstreamer-0.8/libgstoptscheduler.so
  • #6 ??
  • #7 ??
  • #8 ??
    from /usr/lib/gstreamer-0.8/libgstoptscheduler.so
  • #9 ??
    from /usr/lib/gstreamer-0.8/libgstoptscheduler.so
  • #10 ??
  • #11 ??
  • #12 ??
    from /usr/lib/gstreamer-0.8/libgstoptscheduler.so
  • #13 ??
  • #14 ??
  • #15 ??
  • #16 ??
  • #17 ??
    from /usr/lib/gstreamer-0.8/libgstoptscheduler.so
  • #18 ??
  • #19 ??
  • #20 ??
  • #21 ??
    from /usr/lib/gstreamer-0.8/libgstoptscheduler.so
  • #22 ??
  • #23 ??
  • #24 ??
  • #25 gst_debug_log
    from /usr/lib/libgstreamer-0.8.so.1


Should I disable the gstasf plugin in a newer Debian build?
Comment 4 Luca Ognibene 2005-09-19 18:31:24 UTC
It stills segfault with:
gst-launch-0.8 filesrc location="foo.asf" ! asfdemux ! fakesink
Comment 5 Andy Wingo 2006-01-12 12:43:44 UTC
I get an FPE as well on x86-64, with the pipeline from comment #4 and gstreamer 0.8.11. asfdemux doesn't appear to be ported yet to 0.10.
Comment 6 Tim-Philipp Müller 2006-02-17 09:39:19 UTC
FWIW, the SIGFPE is fixed in the 0.10 port, but there's still some playback issues. In case someone wants to port the fix back, I believe it involved an added } else { bracket in the stream parse function and an early bail out in the descramble_segment function, but my memory about that is very hazy.
Comment 7 Edward Hervey 2006-02-17 10:06:26 UTC
asfdemux is now in plugins-ugly 0.10 cvs and with the latest fixes it works fine.

2006-02-17  Edward Hervey  <edward@fluendo.com>

	* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_process_file):
	Take into account the file properties preroll value for
	timestamping/newsegment. It's weird this value was commented out.