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 341254 - [asfdemux] gst_tag_list_get_string_index assertion
[asfdemux] gst_tag_list_get_string_index assertion
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-ugly
0.10.3
Other Linux
: Normal normal
: 0.10.4
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-05-10 13:21 UTC by Sebastien Bacher
Modified: 2006-05-10 15:32 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14


Attachments
fix (521 bytes, patch)
2006-05-10 14:34 UTC, Tim-Philipp Müller
committed Details | Review

Description Sebastien Bacher 2006-05-10 13:21:23 UTC
That bug happens with the example pointed by https://launchpad.net/distros/ubuntu/+source/rhythmbox/+bug/43755/+index

"Starting program: /usr/bin/gst-launch-0.10 -t filesrc location=/tmp/music/music.wma --gst-fatal-warnings \! decodebin \! fakesink
...
FOUND TAG      : found by element "asfdemux0".

GLib-GObject-CRITICAL **: g_value_get_string: assertion `G_VALUE_HOLDS_STRING (value)' failed
aborting...

Program received signal SIGABRT, Aborted.

Thread NaN (LWP 29312)

  • #0 __kernel_vsyscall
  • #1 raise
    from /lib/tls/i686/cmov/libc.so.6
  • #2 abort
    from /lib/tls/i686/cmov/libc.so.6
  • #3 IA__g_logv
    at gmessages.c line 497
  • #4 IA__g_log
    at gmessages.c line 517
  • #5 IA__g_return_if_fail_warning
    at gmessages.c line 532
  • #6 IA__g_value_get_string
    at gvaluetypes.c line 791
  • #7 gst_tag_list_get_string_index
    at gsttaglist.c line 1282
  • #8 _start

Comment 1 Sebastien Bacher 2006-05-10 13:27:14 UTC
You can download the example to http://pkg-gnome.alioth.debian.org/bugzilla/341254.wma
Comment 2 Tim-Philipp Müller 2006-05-10 14:33:29 UTC
I can reproduce this with the gstreamer stuff from the dapper packages (as of a week ago), but not with my CVS build, which is odd because there are absolutely no relevant differences between asfdemux in -ugly 0.10.3 and asfdemux in CVS.

Anyway, the attached patch should hopefully fix this issue.
Comment 3 Tim-Philipp Müller 2006-05-10 14:34:44 UTC
Created attachment 65164 [details] [review]
fix
Comment 4 Tim-Philipp Müller 2006-05-10 14:42:25 UTC
 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>

        * gst/asfdemux/gstasfdemux.c: (gst_asf_demux_get_string):
          Fix silly bug when reading metadata (#341254).

(Please re-open if this doesn't fix it).
Comment 5 Sebastien Bacher 2006-05-10 15:32:39 UTC
Fix works fine, thank you