[gst-devel] Hi all, and a question

Giuliano Pochini pochini at shiny.it
Fri Jul 2 12:01:02 CEST 2004


On Tue, 22 Jun 2004 15:19:43 +0200 (DFT)
Benjamin Otte <in7y118 at public.uni-hamburg.de> wrote:

> But feel free to profile our code, nobody has done it yet, especially not
> in the <2% CPU usage cases.

I recompiled everything with -pg. Now any program segfaults in gst_init()
inside the ld library :((   Any ideas ??


Program received signal SIGSEGV, Segmentation fault.
0x30011334 in stpcpy () from /lib/ld.so.1
(gdb) backtrace 
#0  0x30011334 in stpcpy () from /lib/ld.so.1
#1  0x3000fccc in dl_reloc_overflow (map=0x100ef960, name=0xd56a3a1 "\036", reloc_addr=0xd566608, sym=0x4c323400, refsym=0x18) at ../sysdeps/powerpc/dl-machine.c:391
#2  0x3000ffa8 in __process_machine_rela (map=0x7fffea95, reloc=0xd56a3a1, sym=0xf7efc2c, refsym=0xd566568, reloc_addr=0xd566cac, finaladdr=37096344, rinfo=223781793) at ../sysdeps/powerpc/dl-machine.c:460
#3  0x30009dc0 in _dl_relocate_object (l=0x7fffec90, scope=0xd566000, lazy=10, consider_profiling=269416800) at ../sysdeps/powerpc/dl-machine.h:393
#4  0x0f8f357c in dl_open_worker (a=0x7fffea95) at dl-open.c:294
#5  0x3000b5dc in _dl_catch_error (objname=0x7fffef98, errstring=0x7fffef9c, operate=0xf8f3210 <dl_open_worker>, args=0x7fffef88) at dl-error.c:152
#6  0x0f8f3830 in _dl_open (file=0x100ef928 "/usr/local/lib/gstreamer-0.8/libgstgetbits.so", mode=-2147483391, caller=0xfc9139c) at dl-open.c:411
#7  0x0fc6d048 in dlopen_doit (a=0x7ffff1b8) at dlopen.c:39
#8  0x3000b5dc in _dl_catch_error (objname=0x1001cf30, errstring=0x1001cf34, operate=0xfc6cff0 <dlopen_doit>, args=0x7ffff1b8) at dl-error.c:152
#9  0x0fc6d548 in _dlerror_run (operate=0xfc6cff0 <dlopen_doit>, args=0x7ffff1b8) at dlerror.c:130
#10 0x0fc6d0a4 in __dlopen_check (file=0x7fffea95 "ol `", mode=223781793) at dlopen.c:53
#11 0x0fc9139c in _g_module_open (file_name=0x7fffea95 "ol `", bind_lazy=223781793, bind_local=14) at gmodule-dl.c:98
#12 0x0fc91cc4 in g_module_open (file_name=0x1003de50 "/usr/local/lib/gstreamer-0.8/libgstgetbits.so", flags=G_MODULE_BIND_LAZY) at gmodule.c:391
#13 0x0fde2c8c in gst_plugin_load_file (filename=Cannot access memory at address 0x18
) at gstplugin.c:336
#14 0x0fe1f7b4 in gst_xml_registry_rebuild (registry=Cannot access memory at address 0x18
) at gstxmlregistry.c:1401
#15 0x0fe0bbe0 in gst_registry_rebuild (registry=Cannot access memory at address 0x8
) at gstregistry.c:187
#16 0x0fe1b9ec in gst_xml_registry_open_func (registry=Cannot access memory at address 0x8
) at gstxmlregistry.c:528
#17 0x0fe1bfa4 in gst_xml_registry_load (registry=Cannot access memory at address 0x18
) at gstxmlregistry.c:634
#18 0x0fe0b7f8 in gst_registry_load (registry=Cannot access memory at address 0x8
) at gstregistry.c:125
#19 0x0fe0d3c0 in _registry_load_func (registry=Cannot access memory at address 0x8
) at gstregistrypool.c:110
#20 0x0f962dd8 in g_list_foreach (list=0x48000080, func=0xfcaa984, user_data=0x0) at glist.c:669
#21 0x0fe0d438 in gst_registry_pool_load_all () at gstregistrypool.c:125
#22 0x0fd9ec38 in init_post () at gst.c:628
#23 0x0fd9f3ac in init_popt_callback (context=0xfefefeff, reason=2139062143, option=0xc, arg=0xffe4bb0 "", data=0xffe95ec) at gst.c:797
#24 0x0f7c1294 in invokeCallbacksPOST () from /usr/lib/libpopt.so.0
#25 0x0f7bfaec in poptGetNextOpt () from /usr/lib/libpopt.so.0
#26 0x0fd9e280 in gst_init_check_with_popt_table (argc=0x7ffff8a8, argv=0x7ffff8ac, popt_options=0x0) at gst.c:366
#27 0x0fd9deb8 in gst_init_with_popt_table (argc=0x7ffff8a8, argv=0x7ffff8ac, popt_options=0x0) at gst.c:290
#28 0x0fd9de38 in gst_init (argc=0x7ffff8a8, argv=0x7ffff8ac) at gst.c:269
#29 0x100025a0 in main (argc=2147481768, argv=0x7ffff8ac) at gsplay3.c:453
#30 0x0f809f70 in __libc_start_main (argc=1, ubp_av=0x7ffff984, ubp_ev=0xe, auxvec=0x7ffff6c0, rtld_fini=0x7fffea95, stinfo=0x10002f94, stack_on_entry=0x7fffea85) at ../sysdeps/powerpc/elf/libc-start.c:119


--
Giuliano.




More information about the gstreamer-devel mailing list