[OpenAFS-devel] pr_Initialize falis when called within a simple application

John Hayes jhh@envirobat.org
Wed, 11 Aug 2004 10:57:04 -0400 (EDT)


OK,

here is a backtrace from the crash point. I specified "where full" for
exhaustive data:
#0  0x08057c9a in rx_NewConnection ()
No symbol table info available.
#1  0x4004b05f in RefreshConn (tc=0x80a2398) at ../ubik/ubikclient.c:318
        port = 1
        service = 7
        si = 8
        newTc = (struct rx_connection *) 0x80a2420
#2  0x4004b5ef in CallIter (aproc=0x40045090 <KAA_AuthenticateV2>,
aclient=0x80a2270, aflags=0, apos=0xbfffce58,
    p1=134720296, p2=-1073752336, p3=1092230654, p4=1094822654,
p5=-1073754448, p6=-1073754240, p7=1, p8=-1073752432,
    p9=1898907374, p10=1, p11=0, p12=-1073752336, p13=1092230654,
p14=-1073753152, p15=-1073753000, p16=1074037688,
    needlock=1) at ../ubik/ubikclient.c:608
        code = 0
        tc = (struct rx_connection *) 0x1
        origLevel = 1
#3  0x4004b9ad in ubik_CallIter (aproc=0x40045090 <KAA_AuthenticateV2>,
aclient=0x80a2270, aflags=0, apos=0xbfffce58,
    p1=134720296, p2=-1073752336, p3=1092230654, p4=1094822654,
p5=-1073754448, p6=-1073754240, p7=1, p8=-1073752432,
    p9=1898907374, p10=1, p11=0, p12=-1073752336, p13=1092230654,
p14=-1073753152, p15=-1073753000, p16=1074037688)
    at ../ubik/ubikclient.c:750
No locals.
#4  0x40048213 in kawrap_ubik_Call (aproc=0x40045090 <KAA_AuthenticateV2>,
aclient=0x80a2270, aflags=0, p1=0x807ab28,
    p2=0xbfffd6f0, p3=0x411a1dfe, p4=0x4141aafe, p5=0xbfffceb0,
p6=0xbfffcf80, p7=0x1, p8=0xbfffd690)
    at ../kauth/authclient.c:465
        code = 1
        lcode = 0
        count = 0
        pass = 1
#5  0x400483b8 in ka_Authenticate (name=0x807ab28 "jhh",
instance=0xbfffd6f0 "", cell=0xbfffd4a0 "msu.edu",
    conn=0x80a2270, service=1092230654, key=0xbfffd690, start=1092230654,
end=1094822654, token=0xbfffd4e0,
    pwexpires=0xbfffd498) at ../kauth/authclient.c:550
        code = -1073752336
        schedule = {{_ = "ù¾Ê9î \000"}, {_ = "òÒø¸\030¦\000"}, {_ =
"ô\215½B\027/\000"}, {_ = "ù0×\204µ¹\000"}, {
    _ = "ßV\035Õ(É\000"}, {_ = "9ý1òÂä\000"}, {_ = "J|úh\2223\000"}, {_ =
"¶?&\003\211«\000"}, {_ = "«­<·\005\e\000"}, {
    _ = "caï\204oÒ\000"}, {_ = "ÿ[d|)d\000"}, {_ = "UÍW1²g\000"}, {_ =
"\035jþ0W\213\000"}, {_ = "§Ú\032Ï#\212\000"}, {
    _ = "`߯ÑáP\000"}, {_ = "}£ª¨è]\000"}}
---Type <return> to continue, or q <return> to quit---
        request_time = 1092230654
        request = {time = 1489926340, label = "\211Rh\""}
        answer_old = {time = 0, sessionkey = {data =
"\000\000\000\000\000\000\000"}, kvno = 0, ticket_len = 0,
  ticket = '\0' <repeats 343 times>, label = "\000\000\000"}
        answer = {cksum = -1073754048, challenge = 1073778547, sessionKey
= {data = "~L\006@S3\230\006"},
  startTime = 1074151404, endTime = 3221213168, kvno = 1073844040,
ticketLen = 5,
  name = "
\205\037@\000\000\000\000\001\000\000\000ô¶Ü\006l\225\004\b\020Ðÿ¿ðÏÿ¿\005\000\000\000
\203\037@\000\000\000\000\000\000\000\000S3\230\006\200Ðÿ¿\b\230\001@\020Ðÿ¿ZÁ\006@",
  instance = "l¼\f@\000\235\001@\000\000\000\000Ñ\236\023@
Ðÿ¿ø\215\001@|Z\037@\001\000\000\000\214\234\f@\000\235\001@8Ðÿ¿\000\000\000\000\000\000\000\000
^\037@|Z\037@ Z\037@",
  cell = "\000\000\000\000
\213\001@b\t\000\000®Â\006@\220Ðÿ¿¤Ð\000@¤\231\001@
\205\037@\b#\n\b\022\000\000\000\215\000\000\000\214\006\a@\020#\n\b
Z\037@xÐÿ¿o\221\006@",
  sname = "0Z\037@ØO\037@
Z\037@á\230\023@\020#\n\b\000\000\000\000\204\000\000\000\000\000\000\000ø\f\002\000\200\000\000\000\b#\n\b\214\006\a@\034\001\000\000\000\000\000\000ÈÐÿ¿ð²\006@",
  sinstance = "
\000\000\000\004\000\000\000\000\000\000\000\202\001h\b\001\000\000\000Û\002\000\000èÐÿ¿\003­\004@\000\000\000\000\202\001h\b\201\001h\b\201\001h\b\000\000\000\000\000\000\000\000øÐÿ¿\032­\004@",
  ticket =
"p\"\n\bp\"\n\b\030Ñÿ¿%ç\004@\000@\000\000\000@\000\000p\"\n\b\220Ñÿ¿\000\000\000\000\001\000\000\000xÔÿ¿ï}\004@
è\005@\234Ôÿ¿\001Z\037@\001Z\037@\000\000\000\000
Ôÿ¿\224\034\a\b\000\000\000\000msu.edu", '\0' <repeats 57 times>,
"\001\000\000\000\002\000\e\\#\t\a\n", '\0' <repeats 120 times>,
"afsdb0.cl.msu.edu", '\0' <repeats 50 times>,
  label = "\000\000\000"}
        arequest = {SeqLen = 8, SeqBody = 0xbfffceb8 "ÄxÎX\211Rh\""}
        oanswer = {MaxSeqLen = 700, SeqLen = 0, SeqBody = 0xbfffcf90
"@Ðÿ¿s\217"}
        req_label = 0xbfffd6f0 ""
        ans_label = 0x40055abb "tgsT"
        version = 2
#6  0x40049a56 in ka_VerifyUserToken (name=0x807ab28 "jhh",
instance=0xbfffd6f0 "", cell=0xbfffdaf0 "MSU.EDU",
    key=0xbfffd690) at ../kauth/token.c:348
        code = 134881904
        conn = (struct ubik_client *) 0x80a2270
        now = -1073752432
        token = {startTime = 134218400, endTime = 0, sessionKey = {data =
"\000\000\000\000\b\000\000"}, kvno = 8199,
  ticketLen = 404491784,
  ticket =
"\000\000\000\000`Õÿ¿\000\000\000\000\000\000\000\000tp{\025\020p\224xÈü\2348p¤x¤xÕÿ¿W
\006\b`Õÿ¿HÕÿ¿`\202\a\b\000\000\000\000\020\000\000\000ø\210Ô¤\000\000\000\000\b\000\000\000\200\212\a\bÔ\f\000\000\216ß\017\207tp{\025",
'\0' <repe---Type <return> to continue, or q <return> to quit---
000\000\202\001h\b\201\001h\b\201\001h\b\000\000\000\000\000\000\000\000øÐÿ¿\032­\004@",
  ticket =
"p\"\n\bp\"\n\b\030Ñÿ¿%ç\004@\000@\000\000\000@\000\000p\"\n\b\220Ñÿ¿\000\000\000\000\001\000\000\000xÔÿ¿ï}\004@
è\005@\234Ôÿ¿\001Z\037@\001Z\037@\000\000\000\000
Ôÿ¿\224\034\a\b\000\000\000\000msu.edu", '\0' <repeats 57 times>,
"\001\000\000\000\002\000\e\\#\t\a\n", '\0' <repeats 120 times>,
"afsdb0.cl.msu.edu", '\0' <repeats 50 times>,
  label = "\000\000\000"}
        arequest = {SeqLen = 8, SeqBody = 0xbfffceb8 "ÄxÎX\211Rh\""}
        oanswer = {MaxSeqLen = 700, SeqLen = 0, SeqBody = 0xbfffcf90
"@Ðÿ¿s\217"}
        req_label = 0xbfffd6f0 ""
        ans_label = 0x40055abb "tgsT"
        version = 2
#6  0x40049a56 in ka_VerifyUserToken (name=0x807ab28 "jhh",
instance=0xbfffd6f0 "", cell=0xbfffdaf0 "MSU.EDU",
    key=0xbfffd690) at ../kauth/token.c:348
        code = 134881904
        conn = (struct ubik_client *) 0x80a2270
        now = -1073752432
        token = {startTime = 134218400, endTime = 0, sessionKey = {data =
"\000\000\000\000\b\000\000"}, kvno = 8199,
  ticketLen = 404491784,
  ticket =
"\000\000\000\000`Õÿ¿\000\000\000\000\000\000\000\000tp{\025\020p\224xÈü\2348p¤x¤xÕÿ¿W
\006\b`Õÿ¿HÕÿ¿`\202\a\b\000\000\000\000\020\000\000\000ø\210Ô¤\000\000\000\000\b\000\000\000\200\212\a\bÔ\f\000\000\216ß\017\207tp{\025",
'\0' <repe---Type <return> to continue, or q <return> to quit---
ats 16 times>,
"\216ß\017\207tp{\025\000\000\000\000õ\000\000\000j\212\a\b\031\000\000\000¸Õÿ¿\211\232\006\b`\212\a\b\230Õÿ¿õ\000\000\000ÿÿÿÿ\002\000\000\000\031\000\000\000\216ß\017\207®Â\006@¨\016\230¸°\004ê°\b\223\001@\220Öÿ¿0¯\a\bÐÕÿ¿øÕÿ¿\214\006\a@
è\005@ðÚ"...}
        cellname = "msu.edu\000\b\000\000\000\b", '\0' <repeats 35 times>,
"`n\a\b0\000\000\000 \002\000\000\000\000\000"
        pwexpires = -1073752760
#7  0x4004a6a7 in ka_UserAuthenticateGeneral (flags=262145, name=0x807ab28
"jhh", instance=0xbfffd6f0 "",
    realm=0xbfffdaf0 "MSU.EDU", password=0x807af30 "9t9ref",
lifetime=18000, password_expires=0xbfffd6e4, spare2=0,
    reasonP=0xbfffe2fc) at ../kauth/user.c:205
        remainingTime = 0
        key = {data = "°Ðï\211­å\214Ö"}
        code = 134721328
        dosetpag = 0
#8  0x0804eb74 in main ()
No symbol table info available.



> On Mon, 9 Aug 2004, John Hayes wrote:
>
>> how do I go about doing this? is it just a core file? I so I can arrange
>> to configure the system to produce one.
>
> It's "get a core, run gdb (executable) (core), and say where at the gdb
> prompt"
>