[Gstreamer-bugs] [Bug 127815] New - gst-register sigsegs 100% of the time.

bugzilla-daemon at widget.gnome.org bugzilla-daemon at widget.gnome.org
Mon Nov 24 07:45:26 PST 2003


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=127815

Changed by jnelson at jamponi.net.

--- shadow/127815	Mon Nov 24 10:45:26 2003
+++ shadow/127815.tmp.25139	Mon Nov 24 10:45:26 2003
@@ -0,0 +1,199 @@
+Bug#: 127815
+Product: GStreamer
+Version: 0.6.4
+OS: Linux
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: major
+Priority: Normal
+Component: gstreamer (core)
+AssignedTo: gstreamer-maint at bugzilla.gnome.org                            
+ReportedBy: jnelson at jamponi.net               
+QAContact: gstreamer-maint at bugzilla.gnome.org
+TargetMilestone: HEAD
+URL: 
+Summary: gst-register sigsegs 100% of the time.
+
+Distribution: Unknown
+Package: GStreamer
+Severity: normal
+Version: GNOME2.4.1 0.6.4
+Gnome-Distributor: GNOME.Org
+Synopsis: gst-register, 100% reproduceable crash
+Bugzilla-Product: GStreamer
+Bugzilla-Component: gstreamer (core)
+Bugzilla-Version: 0.6.4
+Description:
+Description of the crash:
+
+run gst-register.
+boom.
+
+Steps to reproduce the crash:
+1. run gst-register
+
+Expected Results:
+
+gst-register ought not crash.
+
+How often does this happen?
+
+100% of the time.
+
+Additional Information:
+
+this is run as root.
+
+
+stat64("/usr/lib/gstreamer-0.6/libgstsnapshot.so",
+{st_mode=S_IFREG|0644, st_size=283540, ...}) = 0
+access("/usr/lib/gstreamer-0.6/libgstsnapshot.so", F_OK) = 0
+open("/usr/lib/gstreamer-0.6/libgstsnapshot.so", O_RDONLY) = 3
+read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220\34"...,
+1024) = 1024
+fstat64(3, {st_mode=S_IFREG|0644, st_size=283540, ...}) = 0
+old_mmap(NULL, 27008, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
+0x40017000
+mprotect(0x4001d000, 2432, PROT_NONE)   = 0
+old_mmap(0x4001d000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED,
+3, 0x5000) = 0x4001d000
+close(3)                                = 0
+open("/etc/ld.so.cache", O_RDONLY)      = 3
+fstat64(3, {st_mode=S_IFREG|0644, st_size=37820, ...}) = 0
+old_mmap(NULL, 37820, PROT_READ, MAP_PRIVATE, 3, 0) = 0x4045d000
+close(3)                                = 0
+open("/usr/lib/libpng.so.3", O_RDONLY)  = 3
+read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@^\0\000"...,
+1024) = 1024
+fstat64(3, {st_mode=S_IFREG|0644, st_size=558996, ...}) = 0
+old_mmap(NULL, 224160, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
+0x40467000
+mprotect(0x4049d000, 2976, PROT_NONE)   = 0
+old_mmap(0x4049d000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED,
+3, 0x35000) = 0x4049d000
+close(3)                                = 0
+open("/dev/urandom", O_RDONLY)          = 3
+read(3, "\265D(\211lJ=iM4@\274\33\323\t\345C\faM9\25\223\317r2\""...,
+32) = 32
+close(3)                                = 0
+open("/dev/urandom", O_RDONLY)          = 3
+read(3, "\221\336C\320\306\357}|\30]V\352\35\316\23\30\356\357\255"...,
+32) = 32
+close(3)                                = 0
+munmap(0x4045d000, 37820)               = 0
+--- SIGSEGV (Segmentation fault) @ 0 (0) ---
++++ killed by SIGSEGV +++
+
+
+and ltrace:
+
+gst_registry_pool_list(0xbffffb60, 0xbffffb64, 0x4021cb45, 0x08049143,
+3) = 0x0805062c
+g_list_reverse(0x0805062c, 0xbffffb64, 0x4021cb45, 0x08049143, 3) =
+0x08050638
+gst_registry_get_type(0x0805062c, 0xbffffb64, 0x4021cb45, 0x08049143, 3)
+= 0x0804e820
+g_type_check_instance_cast(0x080503e8, 0x0804e820, 0x4021cb45,
+0x08049143, 3) = 0x080503e8
+g_type_check_instance_cast(0x080503e8, 80, 0x4021cb45, 0x08049143, 3) =
+0x080503e8
+g_signal_connect_data(0x080503e8, 0x080495f8, 0x08048e50, 0, 0)  = 1
+g_print(0x08049605, 0x08053de0, 0x08048e50, 0, 0rebuilding
+global_registry
+)                = 0x402f0fa0
+gst_registry_rebuild(0x080503e8, 0x08053de0, 0x08048e50, 0, 0
+<unfinished ...>
+--- SIGSEGV (Segmentation fault) ---
++++ killed by SIGSEGV +++
+
+
+
+Debugging Information:
+
+Backtrace was generated from '/usr/bin/gst-register'
+
+Core was generated by `gst-register'.
+Program terminated with signal 11, Segmentation fault.
+#0  0x4004d584 in gst_mem_chunk_alloc (mem_chunk=0x8053d18) at
+gstmemchunk.c:182
+        in gstmemchunk.c
+#0  0x4004d584 in gst_mem_chunk_alloc (mem_chunk=0x8053d18) at
+gstmemchunk.c:182
+#1  0x4005afc3 in gst_props_empty_new () at gstprops.c:351
+#2  0x4005b903 in gst_props_newv (firstname=0x4001bf48 "format",
+var_args=0xbffff874 "\b")
+    at gstprops.c:666
+#3  0x4005b494 in gst_props_new (firstname=0x805b21c "") at
+gstprops.c:472
+#4  0x40018f9d in snapshot_sink_factory () at gstsnapshot.c:54
+#5  0x4001a0ae in plugin_init (module=0x807ce18, plugin=0x8082018) at
+gstsnapshot.c:382
+#6  0x40058998 in gst_plugin_register_func (desc=0x4001d644,
+plugin=0x8082018, module=0x807ce18)
+    at gstplugin.c:110
+#7  0x40058cf4 in gst_plugin_load_plugin (plugin=0x8082018, error=0x0)
+at gstplugin.c:187
+#8  0x4007897a in gst_xml_registry_rebuild (registry=0x80503e8) at
+gstxmlregistry.c:1641
+#9  0x4006d886 in gst_registry_rebuild (registry=0x80503e8) at
+gstregistry.c:182
+#10 0x08048fce in main (argc=1, argv=0xbffffba4) at gst-register.c:85
+
+Thread 1 (process 23956):
+#0  0x4004d584 in gst_mem_chunk_alloc (mem_chunk=0x8053d18) at
+gstmemchunk.c:182
+No locals.
+#1  0x4005afc3 in gst_props_empty_new () at gstprops.c:351
+        props = (GstProps *) 0x4001bf48
+#2  0x4005b903 in gst_props_newv (firstname=0x4001bf48 "format",
+var_args=0xbffff874 "\b")
+    at gstprops.c:666
+        props = (GstProps *) 0x807c7c8
+        inlist = 0
+        prop_name = (const gchar *) 0x40015650 "<C2><A0>U\001"
+        list_entry = (GstPropsEntry *) 0x0
+        list_type = GST_PROPS_LIST_T_UNSET
+        entry_type = GST_PROPS_LIST_T_UNSET
+#3  0x4005b494 in gst_props_new (firstname=0x805b21c "") at
+gstprops.c:472
+        props = (GstProps *) 0x805b21c
+#4  0x40018f9d in snapshot_sink_factory () at gstsnapshot.c:54
+        templ = (GstPadTemplate *) 0x0
+#5  0x4001a0ae in plugin_init (module=0x807ce18, plugin=0x8082018) at
+gstsnapshot.c:382
+        factory = (GstElementFactory *) 0x807cf78
+#6  0x40058998 in gst_plugin_register_func (desc=0x4001d644,
+plugin=0x8082018, module=0x807ce18)
+    at gstplugin.c:110
+No locals.
+#7  0x40058cf4 in gst_plugin_load_plugin (plugin=0x8082018, error=0x0)
+at gstplugin.c:187
+        module = (GModule *) 0x807ce18
+        desc = (GstPluginDesc *) 0x4001d644
+        file_status = {st_dev = 65024, __pad1 = 0, __st_ino = 345627, st_mode =
+33188, st_nlink = 1, 
+  st_uid = 0, st_gid = 0, st_rdev = 0, __pad2 = 0, st_size =
+17592186044416, st_blksize = 4096, 
+  st_blocks = 568, st_atim = {tv_sec = 1069631778, tv_nsec = 0}, st_mtim
+= {tv_sec = 1068662655, 
+    tv_nsec = 0}, st_ctim = {tv_sec = 1068662679, tv_nsec = 0}, st_ino =
+345627}
+        filename = (gchar *) 0x8082040
+"/usr/lib/gstreamer-0.6/libgstsnapshot.so"
+#8  0x4007897a in gst_xml_registry_rebuild (registry=0x80503e8) at
+gstxmlregistry.c:1641
+        path = (gchar *) 0x8050e10 "/usr/lib/gstreamer-0.6"
+        walk = (GList *) 0x8050b78
+        plugins = (GList *) 0x8050b78
+        prune = (GList *) 0x0
+        error = (GError *) 0x0
+        length = 110
+        xmlregistry = (GstXMLRegistry *) 0x80503e8
+#9  0x4006d886 in gst_registry_rebuild (registry=0x80503e8) at
+gstregistry.c:182
+        rclass = (GstRegistryClass *) 0x805b21c
+#10 0x08048fce in main (argc=1, argv=0xbffffba4) at gst-register.c:85
+        registry = (GstRegistry *) 0x80503e8
+        registries = (GList *) 0x8050638
+        path_spill = (GList *) 0x0




More information about the Gstreamer-bugs mailing list