
$ libtool --mode=execute gdb --args ../gdk-pixbuf/gdk-pixbuf-query-loaders libpixbufloader-pcx.la libpixbufloader-png.la
GNU gdb (Ubuntu/Linaro 7.3-0ubuntu2) 7.3-2011.08
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
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 "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.launchpad.net/gdb-linaro/>...
Reading symbols from /home/darxus/source.test.master/gdk-pixbuf/gdk-pixbuf/.libs/lt-gdk-pixbuf-query-loaders...done.
(gdb) run
Starting program: /home/darxus/source.test.master/gdk-pixbuf/gdk-pixbuf/.libs/lt-gdk-pixbuf-query-loaders libpixbufloader-pcx.la libpixbufloader-png.la
[Thread debugging using libthread_db enabled]

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7377066 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) bt
#0  0x00007ffff7377066 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007ffff78eca49 in g_str_equal (v1=<optimized out>, v2=<optimized out>) at ghash.c:1668
#2  0x00007ffff78ec16f in g_hash_table_lookup_node (hash_return=<synthetic pointer>, key=0x7ffff68b4d8a, hash_table=0x605460)
    at ghash.c:386
#3  g_hash_table_lookup (hash_table=0x605460, key=0x7ffff68b4d8a) at ghash.c:1038
#4  0x00007ffff7909d5f in quark_from_string (duplicate=0, string=0x7ffff68b4d8a "-g-type-private--GTypeFlags") at gquark.c:173
#5  g_quark_from_static_string (string=0x7ffff68b4d8a "-g-type-private--GTypeFlags") at gquark.c:239
#6  0x00007ffff687dda2 in gobject_init_ctor () at gtype.c:4323
#7  0x00007ffff7deab56 in ?? () from /lib64/ld-linux-x86-64.so.2
#8  0x00007ffff7deac2f in ?? () from /lib64/ld-linux-x86-64.so.2
#9  0x00007ffff7deee63 in ?? () from /lib64/ld-linux-x86-64.so.2
#10 0x00007ffff7dea9c6 in ?? () from /lib64/ld-linux-x86-64.so.2
#11 0x00007ffff7def3aa in ?? () from /lib64/ld-linux-x86-64.so.2
#12 0x00007ffff70f0f26 in ?? () from /lib/x86_64-linux-gnu/libdl.so.2
#13 0x00007ffff7dea9c6 in ?? () from /lib64/ld-linux-x86-64.so.2
#14 0x00007ffff70f152f in ?? () from /lib/x86_64-linux-gnu/libdl.so.2
#15 0x00007ffff70f0fc1 in dlopen () from /lib/x86_64-linux-gnu/libdl.so.2
#16 0x00007ffff7bd96cc in _g_module_open (bind_local=<optimized out>, bind_lazy=<optimized out>, 
    file_name=0x6070a0 "/home/darxus/source.test.master/gdk-pixbuf/gdk-pixbuf/.libs/libpixbufloader-png.so") at gmodule-dl.c:99
#17 g_module_open (file_name=0x612760 "/home/darxus/source.test.master/gdk-pixbuf/gdk-pixbuf/libpixbufloader-png.la", 
    flags=<optimized out>) at gmodule.c:584
#18 0x0000000000401100 in query_module (contents=0x603e00, dir=<optimized out>, file=0x7fffffffe34e "libpixbufloader-png.la")
    at queryloaders.c:166
#19 0x0000000000400df4 in main (argc=<optimized out>, argv=0x7fffffffe068) at queryloaders.c:372
(gdb) 
