All pastes #966959 Raw Edit

Something

public text v1 · immutable
·published 2008-04-02 03:01 UTC
rendered paste body
echelon[/tmp/audacious-1.5.0/src/audacious]$ gdb ./audacious
GNU gdb 6.6
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-slackware-linux"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) break bmp_config_load
Breakpoint 1 at 0x805d139: file main.c, line 622.
(gdb) run
Starting program: /tmp/audacious-1.5.0/src/audacious/audacious 
[Thread debugging using libthread_db enabled]
[New process 20912]
[New Thread -1220012352 (LWP 20912)]
[New Thread -1220400240 (LWP 20915)]
[Switching to Thread -1220012352 (LWP 20912)]
 
Breakpoint 1, bmp_config_load () at main.c:622
622         memcpy(&cfg, &bmp_default_config, sizeof(BmpConfig));
(gdb) n
624         db = cfg_db_open();
(gdb) n
626             cfg_db_get_bool(db, NULL,
(gdb) n
 
Program received signal SIGSEGV, Segmentation fault.
0xb789c394 in mcs_get_bool () from /usr/lib/libmcs.so.1
(gdb) run
The program being debugged has been started already.
Start it from the beginning? (y or n) y
 
Starting program: /tmp/audacious-1.5.0/src/audacious/audacious 
[Thread debugging using libthread_db enabled]
[New process 20917]
[New Thread -1219995968 (LWP 20917)]
[New Thread -1220383856 (LWP 20918)]
[Switching to Thread -1219995968 (LWP 20917)]
 
Breakpoint 1, bmp_config_load () at main.c:622
622         memcpy(&cfg, &bmp_default_config, sizeof(BmpConfig));
(gdb) s
624         db = cfg_db_open();
(gdb) s
cfg_db_open () at configdb.c:44
44          db = g_new(ConfigDb, 1);
(gdb) s
46          if (!mcs_initted)
(gdb) s
48              mcs_init();
(gdb) s
49              mcs_initted = TRUE;
(gdb) s
52          db->handle = mcs_new(RCFILE_DEFAULT_SECTION_NAME);
(gdb) s
55      }
(gdb) s
bmp_config_load () at main.c:626
626             cfg_db_get_bool(db, NULL,
(gdb) s
cfg_db_get_bool (db=0x8133bb8, section=0x0, 
    key=0x80b16a5 "allow_multiple_instances", value=0x8112540) at configdb.c:92
92          if (!section)
(gdb) s
92          if (!section)
(gdb) s
95          return mcs_get_bool(db->handle, section, key, value);
(gdb) s
96      }
(gdb) s
cfg_db_get_bool (db=0x47f2f706, section=0x80d09f1 "audacious", 
    key=0xbfbfc8d8 "HÉ¿¿\220#u·à<ó·`\005\v\bHÉ¿¿\220#u·\001", value=0x8112540)
    at configdb.c:95
95          return mcs_get_bool(db->handle, section, key, value);
(gdb) s
0xb78a0370 in mcs_get_bool () from /usr/lib/libmcs.so.1
(gdb) s
Single stepping until exit from function mcs_get_bool, 
which has no line number information.
 
Program received signal SIGSEGV, Segmentation fault.
0xb78a0394 in mcs_get_bool () from /usr/lib/libmcs.so.1
(gdb) s
Single stepping until exit from function mcs_get_bool, 
which has no line number information.
 
Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.
(gdb)