[gstreamer-bugs] [Bug 610265] New: gstrtpmp4gdepay issuing a SIGFPE crashing an application
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Wed Feb 17 06:46:57 PST 2010
https://bugzilla.gnome.org/show_bug.cgi?id=610265
GStreamer | gst-plugins-good | 0.10.16
Summary: gstrtpmp4gdepay issuing a SIGFPE crashing an
application
Classification: Desktop
Product: GStreamer
Version: 0.10.16
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-plugins-good
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: anders.skargren at axis.com
QAContact: gstreamer-bugs at lists.sourceforge.net
GNOME target: ---
GNOME version: ---
Created an attachment (id=154039)
--> (https://bugzilla.gnome.org/attachment.cgi?id=154039)
Patch for gstrtpmp4gdepay to avoid a SIGFPE.
Sometimes(very rarely, but it does happen) the RTP timestamp on the first 2
packets received can be the same, causing the
/* get the number of packets by dividing with the duration */
diff /= rtpmp4gdepay->constantDuration;
to issue a SIGFPE.
Attaching an example fix that also recalculates the constantDuration for every
received packet. It unfortunately doesnt seem like a good idea to base this
value on only the first 2 packets due to that the delta can actually vary alot.
This patch needs work, but can at least highlight the issue.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the Gstreamer-bugs
mailing list