Dnia 2009-11-24, o godz. 10:25:51
Jeffrey Altman <[email protected]> napisał(a):

> Jakub Witkowski wrote:
> 
> > The backtrace follows:
> > Program received signal SIGSEGV, Segmentation fault.
> > [Switching to Thread 0x7fd9c68ac700 (LWP 22199)]
> > 0x000000000042713f in rxi_Start (event=0x0, arg0=0x1380e00,
> > arg1=0x0, istack=0) at rx.c:5287 5287           struct rx_peer
> > *peer = call->conn->peer; (gdb) backtrace
> 
> What are the values of call and call->conn in this frame?
> 
> Jeffrey Altman
> 
> 
> _______________________________________________
> OpenAFS-devel mailing list
> [email protected]
> https://lists.openafs.org/mailman/listinfo/openafs-devel

My knowledge of gdb is limited so if it's not what you need, tell me
please.
Additionally, this info is from another run of the tool, as I did not
save the core, just ran aklog from gdb and let it crash, so I'm
including whole backtrace again.

(gdb) backtrace
#0  0x000000000042713f in rxi_Start (event=0x0, arg0=0x7fe04c000f00,
arg1=0x0, istack=0) at rx.c:5287
#1  0x00007fe0504374f0 in rxi_ReadProc () from /lib/libnss_afs.so.2
#2  0x00007fe050437a70 in rx_ReadProc32 () from /lib/libnss_afs.so.2
#3  0x00007fe050439296 in xdrrx_getint32 () from /lib/libnss_afs.so.2
#4  0x00007fe050438943 in afs_xdr_u_int () from /lib/libnss_afs.so.2
#5  0x00007fe0504390b1 in afs_xdr_array () from /lib/libnss_afs.so.2
#6  0x00007fe05041af15 in xdr_namelist () from /lib/libnss_afs.so.2
#7  0x00007fe05041a149 in PR_IDToName () from /lib/libnss_afs.so.2
#8  0x00007fe05040ee3e in ubik_Call () from /lib/libnss_afs.so.2
#9  0x00007fe05040d61d in ptsid2name (uid=1281, buffer=0x7fffbddae718, 
    buflen=0x7fffbddae710) at nss_afs.c:133
#10 0x00007fe05040e2d0 in _nss_afs_getpwuid_r (uid=1281, 
    result_buf=0x7fe0515f98a0, buffer=0x7c9ab0 "�\221_Q�\177",
buflen=1024, errnop=0x7fe0520e4698) at nss_afs.c:447
#11 0x00007fe051347102 in getpwuid_r () from /lib/libc.so.6
#12 0x00007fe0513469cf in getpwuid () from /lib/libc.so.6
#13 0x0000000000408254 in aklog (argc=1, argv=0x7fffbddb3cf8)
    at aklog_main.c:1441
#14 0x0000000000405b47 in main (argc=1, argv=0x7fffbddb3cf8) at
aklog.c:14 (gdb) print call
$1 = (struct rx_call *) 0x7fe04c000f00
(gdb) print call->conn
$2 = (struct rx_connection *) 0x1


Jakub Witkowski
_______________________________________________
OpenAFS-devel mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-devel

Reply via email to