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 162817 - gst-register-0.8 core dumped (from cvs)
gst-register-0.8 core dumped (from cvs)
Status: RESOLVED NOTABUG
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-01-03 15:15 UTC by Vincent Torri
Modified: 2005-01-07 17:21 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
result of "gst-register-0.8 --gst-debug-level=5 --gst-debug-no-color &> logfile" (564.45 KB, text/plain)
2005-01-03 20:37 UTC, Vincent Torri
  Details
possible fix (658 bytes, patch)
2005-01-05 16:53 UTC, Ronald Bultje
none Details | Review

Description Vincent Torri 2005-01-03 15:15:43 UTC
i've downloaded the cvs version of gstreamer and gst-plugins (date : January the
3rd, 2005). When i run gst-regsiter, i have a core cumped (the program received
the signal SIGSEGV). It appears after the comment 'Added plugin wavparse with 1
feature.' is displayed.

backtrace : 

  • #0 gst_string_wrap
    at gstvalue.c line 1244
  • #1 gst_value_serialize
    at gstvalue.c line 2296
  • #2 gst_value_serialize_list
    at gstvalue.c line 88
  • #3 gst_value_serialize
    at gstvalue.c line 2296
  • #4 gst_structure_to_string
    at gststructure.c line 1140
  • #5 gst_caps_to_string
    at gstcaps.c line 1383
  • #6 gst_xml_registry_save_pad_template
    at gstxmlregistry.c line 1172
  • #7 gst_xml_registry_save_feature
    at gstxmlregistry.c line 1239
  • #8 gst_xml_registry_save_plugin
    at gstxmlregistry.c line 1304
  • #9 gst_xml_registry_save
    at gstxmlregistry.c line 1348
  • #10 gst_registry_save
    at gstregistry.c line 164
  • #11 main
    at gst-register.c line 135

Comment 1 Vincent Torri 2005-01-03 15:34:20 UTC
I forget to say that after the core dumped message, i have the 2 following
messages : 

Mutex destroy failure: Device or resource busy
ICE default IO error handler doing an exit(), pid = 21407, errno = 2
Comment 2 Stephane Loeuillet 2005-01-03 19:43:38 UTC
ICE like Internal Compiler Error ? (from gcc, usually while compiling gcc)

what distrib / arch / gcc are you using ?
Comment 3 Vincent Torri 2005-01-03 19:53:44 UTC
distrib : mandrake 10.1
i' have an athlon XP 2600+
gcc 3.3.4

well, i have removed the directory /usr/lib/gstreamer-0.8 and all the libgst*
files in /usr/lib, then install gstreamer and gst-plugin again, and i don't have
the 2 errors above (about Mutex and ICE)

gst-register still crashes. The file
/usr/var/cache/gstreamer-0.8/registry.xml.tmp finishes with : 

<plugin>
<name>dvdnavsrc</name>
<description>Access a DVD with

Comment 4 Ronald Bultje 2005-01-03 20:28:34 UTC
Can you run gst-register-0.8 with --gst-debug-level=5 --gst-debug-no-color &>
logfile and attach the logfile?
Comment 5 Vincent Torri 2005-01-03 20:37:40 UTC
Created attachment 35404 [details]
result of "gst-register-0.8 --gst-debug-level=5 --gst-debug-no-color &> logfile"

logfile attached
Comment 6 Ronald Bultje 2005-01-05 15:17:58 UTC
In frame 6 (gst_xml_registry_save_pad_template), can you give me the values of
the symbols template (print *template), and in frame 7
(gst_xml_registry_save_feature), can you give me the values of the symbols
feature (print *feature) and factory (print *factory)?
Comment 7 Vincent Torri 2005-01-05 16:37:05 UTC
frame 6 :

(gdb) print *template
$1 = {object = {object = {g_type_instance = {g_class = 0x8059388},
      ref_count = 3, qdata = 0x0}, name = 0x80f3148 "src", lock = 0x80e7f00,
    parent = 0x0, flags = 2, _gst_reserved = {0x0, 0x0, 0x0, 0x0}},
  name_template = 0x80e7ee0 "src", direction = GST_PAD_SRC,
  presence = GST_PAD_ALWAYS, caps = 0x80f3078, _gst_reserved = {0x0, 0x0, 0x0,
    0x0}}

in frame 7 :

(gdb) print *feature
$2 = {object = {g_type_instance = {g_class = 0x80f30e8}, ref_count = 0,
    qdata = 0x0}, name = 0x80f3ad0 "GstURIHandler", rank = 0, manager = 0x0,
  _gst_reserved = {0x8193100, 0x80d1050, 0x0, 0x80e7e80}}

(gdb) print *factory
$5 = {parent = {object = {g_type_instance = {g_class = 0x804e1a8},
      ref_count = 1, qdata = 0x0}, name = 0x80f2c30 "dv1394src", rank = 0,
    manager = 0x80e7e80, _gst_reserved = {0x0, 0x0, 0x0, 0x0}},
  type = 135211688, details = {
    longname = 0x80f3a00 "Firewire (1394) DV Source",
    klass = 0x80f3908 "Source/Video",
    description = 0x80f3a20 "Source for DV video data from firewire port",
    author = 0x80f3a50 "Erik Walthinsen <omega@temple-baptist.com>\nDaniel
Fischer <dan@f3c.com>\nWim Taymans <wim@fluendo.com>", _gst_reserved = {0x0, 0x0,
      0x0, 0x0}}, padtemplates = 0x80d1080, numpadtemplates = 1, uri_type = 2,
  uri_protocols = 0x80f39f0, interfaces = 0x80d108c, _gst_reserved = {0x0,
    0x0, 0x0, 0x0}}

Comment 8 Vincent Torri 2005-01-05 16:51:20 UTC
i forget that : 

(gdb) frame 6
  • #6 gst_xml_registry_save_pad_template
    at gstxmlregistry.c line 1172
  • #7 gst_xml_registry_save_feature
    at gstxmlregistry.c line 1239

Comment 9 Ronald Bultje 2005-01-05 16:53:38 UTC
Created attachment 35485 [details] [review]
possible fix

Does this fix it?
Comment 10 Vincent Torri 2005-01-07 16:08:57 UTC
it was a problem on my side, and not a bug in gstreamer.
you can close this report
Comment 11 Ronald Bultje 2005-01-07 17:21:55 UTC
Closing on request.