[Gstreamer-bugs] [Bug 142613] - asfdemux segfaulting with gst-launch & gst-player but not with totem

bugzilla-daemon at bugzilla.gnome.org bugzilla-daemon at bugzilla.gnome.org
Sun May 16 08:54:22 PDT 2004


http://bugzilla.gnome.org/show_bug.cgi?id=142613
GStreamer | gst-python | Ver: HEAD CVS





------- Additional Comments From bugs at leroutier.net  2004-05-16 11:54 -------
i added some debug around those lines yesterday :

-      for (n = 0; n < lengths[i] / 2 - 1; n++)
-        ((gint16 *) data)[n] = GUINT16_FROM_LE (((gint16 *) data)[n]);
       utf8_comments[i] = g_convert (data, lengths[i],
+      for (n = 0; n < lengths[i] / 2 - 1; n++) {
+printf("6a : i=%d, n=%d\n",i,n);
+printf("1 data[%d] = %04X\n", n, ((guint16 *) data)[n]);
+printf("2 data[%d] = %04X\n", n, GUINT16_FROM_LE (((guint16 *) data)[n]));
+        ((guint16 *) data)[n] = GUINT16_FROM_LE (((guint16 *) data)[n]);
+printf("3 data[%d] = %04X\n", n, ((guint16 *) data)[n]);
+printf("6b : i=%d, n=%d\n",i,n);
+}

gst-launch-0.8 and gst-player give :
6a : i=0, n=0
1 data[0] = 0057
2 data[0] = 0057
Erreur de segmentation

totem gives :
6a : i=0, n=0
1 data[0] = 0057
2 data[0] = 0057
3 data[0] = 0057
6b : i=0, n=0
6a : i=0, n=1
1 data[1] = 0057
2 data[1] = 0057
3 data[1] = 0057
6b : i=0, n=1
...
(and doesn't segfault at all)


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.




More information about the Gstreamer-bugs mailing list