Print

Print


I had a look at the core dump. Going up a frame in the stack I see the call
```
#0  XrdSutBucket::XrdSutBucket (this=0x7f1830049960, b=...) at /usr/src/debug/xrootd/xrootd/src/XrdSut/XrdSutBucket.cc:85
85	   membuf = new char[b.size]; 
(gdb) up
#1  0x00007f18366f582e in XrdSecProtocolgsi::ClientDoInit (this=0x7f1830005240, br=<optimized out>, bm=<optimized out>, emsg=...) at /usr/src/debug/xrootd/xrootd/src/XrdSecgsi/XrdSecProtocolgsi.cc:3085
3085	   hs->Cbck = new XrdSutBucket(*((XrdSutBucket *)(po.cbck)));
```
Inspecting a bit further, I see that po.cbck is null:
```
(gdb) p po
$5 = {chain = 0x7f18300468d0, ksig = 0x7f1830048df0, cbck = 0x0}
```
So the problem is that a null pointer is being dereferenced to call the constructor of `XrdSutBucket::XrdSutBucket`.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/issues/1870#issuecomment-1398251139
You are receiving this because you are subscribed to this thread.

Message ID: <[log in to unmask]>

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1