[sr-dev] 3.3 presence crash

Juha Heinanen jh at tutpro.com
Thu Jun 14 08:43:31 CEST 2012


Daniel-Constantin Mierla writes:
> Hello,
> 
> can you print p and content of p in frame 0?

(gdb) where
#0  0x00007f4bc97766a6 in db_update (ticks=28098484, param=0x0) at pua.c:992
#1  0x0000000000507b6a in compat_old_handler (ti=449575751, tl=0x7f4bc6212050, 
    data=0x7f4bc6212050) at timer.c:1017
#2  0x00000000005080ac in slow_timer_main () at timer.c:1151
#3  0x000000000045c7f8 in main_loop () at main.c:1688
#4  0x000000000045f29c in main (argc=16, argv=0x7fff1c7fa078) at main.c:2546
(gdb) frame 0
#0  0x00007f4bc97766a6 in db_update (ticks=28098484, param=0x0) at pua.c:992
992				switch(p->db_flag)
(gdb) print p
$1 = (ua_pres_t *) 0x5

but looks like i cannot print any of its contents:

(gdb) print p->etag.s
Cannot access memory at address 0x4d
(gdb) print p->body.len
Cannot access memory at address 0x6d

-- juha



More information about the sr-dev mailing list