All pastes #155680 Raw Edit

Something

public text v1 · immutable
#155680 ·published 2006-08-31 06:50 UTC
rendered paste body
(gdb) bt
#0  0x000000000046ec49 in _e_app_resolve_file_name (buf=0x7fefced10 "/home/rakshasa/.e/e/applications/bar/default/qmpdclient-qmpdclient.desktop", size=4096,
    path=0x7fefd0dd0 "/home/rakshasa/.e/e/applications/bar/default", file=0x0) at e_apps.c:2604
#1  0x000000000046e6d6 in _e_app_cache_new (ac=0x93d3900, path=0x7fefd0dd0 "/home/rakshasa/.e/e/applications/bar/default", scan_subdirs=0) at e_apps.c:2431
#2  0x0000000000469353 in e_app_new (path=0x7fefd0dd0 "/home/rakshasa/.e/e/applications/bar/default", scan_subdirs=0) at e_apps.c:248
#3  0x00000000087cd5d8 in _ibar_new (evas=0x926c890, dir=0x8111bc8 "default") at e_mod_main.c:266
#4  0x00000000087cd0e6 in _gc_init (gc=0x92b1228, name=0x8110a20 "ibar", id=0x8111bc8 "default", style=0x87d0ebd "inset") at e_mod_main.c:137
#5  0x00000000004dbd67 in e_gadcon_populate (gc=0x92b1228) at e_gadcon.c:338
#6  0x00000000004e50a4 in e_shelf_populate (es=0x926c4f8) at e_shelf.c:195
#7  0x00000000004e4aa2 in e_shelf_config_init () at e_shelf.c:72
#8  0x0000000000424876 in main (argc=1, argv=0x7ff000188) at e_main.c:709
(gdb) fr 0
#0  0x000000000046ec49 in _e_app_resolve_file_name (buf=0x7fefced10 "/home/rakshasa/.e/e/applications/bar/default/qmpdclient-qmpdclient.desktop", size=4096,
    path=0x7fefd0dd0 "/home/rakshasa/.e/e/applications/bar/default", file=0x0) at e_apps.c:2604
warning: Source file is more recent than executable.
2604       if (file[0] == '/')
(gdb) l
2599    _e_app_resolve_file_name(char *buf, size_t size, const char *path, const char *file)
2600    {
2601       size_t length;
2602
2603       length = strlen(path);
2604       if (file[0] == '/')
2605          snprintf(buf, size, "%s", file);
2606       else if ((length > 0) && (path[length - 1] == '/'))
2607          snprintf(buf, size, "%s%s", path, file);
2608       else
(gdb) p file
$1 = 0x0
(gdb) fr 1
#1  0x000000000046e6d6 in _e_app_cache_new (ac=0x93d3900, path=0x7fefd0dd0 "/home/rakshasa/.e/e/applications/bar/default", scan_subdirs=0) at e_apps.c:2431
2431            _e_app_resolve_file_name(buf, sizeof(buf), path, ac2->file);
(gdb) l
2426         {
2427            E_App_Cache *ac2;
2428            E_App *a2;
2429
2430            ac2 = l->data;
2431            _e_app_resolve_file_name(buf, sizeof(buf), path, ac2->file);
2432            if ((ac2->is_dir) && (scan_subdirs))
2433              {
2434                 a2 = e_app_new(buf, scan_subdirs);
2435                 if (a2)
(gdb) p *ac2
$3 = {name = 0x0, generic = 0x0, comment = 0x0, exe = 0x0, file = 0x0, file_mod_time = 1156512337, win_name = 0x0, win_class = 0x0, win_title = 0x0, win_role = 0x0,
  icon_class = 0x0, icon_path = 0x0, subapps = 0x0, startup_notify = 0 '\0', wait_exit = 0 '\0', is_link = 0 '\0', is_dir = 0 '\0', subapps_hash = 0x0}
(gdb) p *l
$4 = {data = 0x93d6a98, next = 0x0, prev = 0x93672b8, accounting = 0x93bcde0}