Bug#521898: More debugging

2009-04-02 Thread Sebastian Dröge
reassign 521898 liblrdf0
found 521898 0.4.0-1.1
notfound 521898 0.10.10.3-1
notfound 521898 0.10.11-2
thanks

Am Donnerstag, den 02.04.2009, 09:38 +0200 schrieb Jan Hauke Rahm:
> Hi Sebastian,
> 
> find attached more debugging. I hope it helps!

From a valgrind log with piding:
http://downloads.jhr-online.de/valgrind.txt

This looks very much like a problem in either liblrdf0 or libraptor,
causing memory corruption. I'll reassign this to liblrdf0 as it's the
next package in the stack ;)

From the valgrind log it seems that pidgin uses libxml for parsing the
XMPP protocol while liblrdf uses libraptor which uses libxml for parsing
RDF files. Now there seems to be some kind of conflict between those,
maybe because raptor overrides some error function from libxml which
confuses pidgin. Maybe it's simply impossible to use libxml directly
from an application that also uses libraptor

In any way there are a lot of memory corruptions here and the crashes
always happen at different places it seems. And I don't think it's a
gst-plugins-bad bug at all as the only thing it does (related to this
problem) is calling lrdf_read_file() with some RDF file.


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


Bug#521898: More debugging

2009-04-02 Thread Jan Hauke Rahm
Hi Sebastian,

find attached more debugging. I hope it helps!

Hauke
$ G_DEBUG=fatal_warnings GST_REGISTRY_FORK=no gdb --args gst-inspect-0.10 
/usr/lib/gstreamer-0.10/libgstladspa.so
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
(gdb) run
Starting program: /usr/bin/gst-inspect-0.10 
/usr/lib/gstreamer-0.10/libgstladspa.so
[Thread debugging using libthread_db enabled]
[New Thread 0xb7ad98d0 (LWP 27436)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb7ad98d0 (LWP 27436)]
strcmp () at ../sysdeps/i386/i686/strcmp.S:39
39  ../sysdeps/i386/i686/strcmp.S: No such file or directory.
in ../sysdeps/i386/i686/strcmp.S
Current language:  auto; currently asm
(gdb) bt full
#0  strcmp () at ../sysdeps/i386/i686/strcmp.S:39
No locals.
#1  0xb7d2c3c4 in IA__g_str_equal (v1=0xb7920580, v2=0xb7994580) at 
/build/buildd-glib2.0_2.20.0-2-i386-rcJiVy/glib2.0-2.20.0/glib/gstring.c:77
No locals.
#2  0xb7cf90a1 in IA__g_hash_table_lookup (hash_table=0x8795a30, 
key=0xb7994580) at 
/build/buildd-glib2.0_2.20.0-2-i386-rcJiVy/glib2.0-2.20.0/glib/ghash.c:213
node = 
node_index = 
__PRETTY_FUNCTION__ = "IA__g_hash_table_lookup"
#3  0xb7cf2a47 in IA__g_intern_static_string (string=0xb7994580 
"GstSignalProcessor") at 
/build/buildd-glib2.0_2.20.0-2-i386-rcJiVy/glib2.0-2.20.0/glib/gdataset.c:625
quark = 
result = (const gchar *) 0xb7cbc890 "U\211�WVS\203�8�r���\201�V
#4  0xb7990028 in gst_signal_processor_get_type () at gstsignalprocessor.c:138
_type = 
gonce_data = 0
#5  0xb7992421 in plugin_init (plugin=0x8829328) at gstladspa.c:868
No locals.
#6  0xb7f62f99 in gst_plugin_register_func (plugin=0x8829328, desc=0xb7996b80) 
at gstplugin.c:342
__PRETTY_FUNCTION__ = "gst_plugin_register_func"
#7  0xb7f63d62 in gst_plugin_load_file (filename=0xbf8ee6bb 
"/usr/lib/gstreamer-0.10/libgstladspa.so", error=0xbf8edc70) at gstplugin.c:553
plugin = (GstPlugin *) 0x8829328
module = (GModule *) 0x883f3b8
ret = 
ptr = (gpointer) 0xb7996b80
file_status = {st_dev = 64770, __pad1 = 0, __st_ino = 5936298, st_mode = 
33188, st_nlink = 1, st_uid = 0, st_gid = 0, st_rdev = 0, __pad2 = 0, st_size = 
32880, st_blksize = 4096, 
  st_blocks = 72, st_atim = {tv_sec = 1238657495, tv_nsec = 294951824}, st_mtim 
= {tv_sec = 1238419518, tv_nsec = 0}, st_ctim = {tv_sec = 1238656675, tv_nsec = 
18949443}, st_ino = 5936298}
registry = 
__PRETTY_FUNCTION__ = "gst_plugin_load_file"
#8  0x0804e071 in main (argc=Cannot access memory at address 0x0
) at gst-inspect.c:1490
error = (GError *) 0x0
factory = (GstElementFactory *) 0x0
plugin = (GstPlugin *) 0x0
arg = 0xbf8ee6bb "/usr/lib/gstreamer-0.10/libgstladspa.so"
retval = 
print_all = 0
plugin_name = 0
print_aii = 0
uri_handlers = 0
options = {{long_name = 0x804eb23 "print-all", short_name = 97 'a', flags = 
0, arg = G_OPTION_ARG_NONE, arg_data = 0xbf8edc84, description = 0x804eb2d 
"Print all elements", 
arg_description = 0x0}, {long_name = 0x804f194 
"print-plugin-auto-install-info", short_name = 0 '\0', flags = 0, arg = 
G_OPTION_ARG_NONE, arg_data = 0xbf8edc7c, 
description = 0x804f1b4 "Print a machine-parsable list of features the 
specified plugin provides.\n", ' ' , "Useful in connection 
with external automatic plugin installation mechanisms", arg_description = 
0x0}, {long_name = 0x804ec4c "plugin", short_name = 0 '\0', flags = 0, arg = 
G_OPTION_ARG_NONE, arg_data = 0xbf8edc80, 
description = 0x804eb40 "List the plugin contents", arg_description = 0x0}, 
{long_name = 0x804eb59 "uri-handlers", short_name = 117 'u', flags = 0, arg = 
G_OPTION_ARG_NONE, 
arg_data = 0xbf8edc78, description = 0x804f270 "Print supported URI 
schemes, with the elements that implement them", arg_description = 0x0}, 
{long_name = 0x804eb66 "version", 
short_name = 0 '\0', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 
0x8050834, description = 0x804f2b4 "Print version information and exit", 
arg_description = 0x0}, {long_name = 0x0, 
short_name = 0 '\0', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x0, 
description = 0x0, arg_description = 0x0}}
ctx = 
err = (GError *) 0x0
(gdb) quit
The program is running.  Exit anyway? (y or n) y

$ G_DEBUG=fatal_warnings GST_REGISTRY_FORK=no gdb pidgin
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu"