mame@betelgeuse:~/trunk/tests$ gdb ./test_chooser
GNU gdb 6.6-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(gdb) r
Starting program: /homelocal/mame/trunk/tests/test_chooser
dlopen("/usr/local/lib/liblicense/0.6/io/raptor.so"): /usr/local/lib/liblicense/0.6/io/raptor.so: undefined symbol: LL_PERMITS
Program received signal SIGSEGV, Segmentation fault.
0x00000000 in ?? ()
(gdb) bt
#0 0x00000000 in ?? ()
#1 0x0804b04e in ll_init_modules () at module_wrangler.c:88
#2 0x0804a904 in ll_init () at licenses_uncached.c:46
#3 0x08049010 in main () at chooser_test.c:87
(gdb) up
#1 0x0804b04e in ll_init_modules () at module_wrangler.c:88
88 module_desc->module_init();
(gdb) print reg_file
$1 = 0xbffe0e40 "/usr/local/lib/liblicense/0.6/io/stub.so"
(gdb) print module_desc
$2 = (LLModuleDesc *) 0xb7896620
(gdb) print *module_desc
$3 = {name = 0xb78954a0 "stub.so",
description = 0xb78954ac "A stupid module that can't read or write a license", version = 0xb78954a8 "0.2", features = 0, supported_predicates = 0xb7896650,
mime_types = 0xb7896654, module_init = 0, read = 0, write = 0,
module_shutdown = 0, handle = 0x805f898}
(gdb)