RE: Backtrace of ldap related crash
Hi Alan, Drat, I fixed AD (memory leak) and now it's not likely to happen again until the next time, which could be a while away. I guess I'd best come back then :-) Sorry about that. Thanks Andy -----Original Message----- From: Freeradius-Users [mailto:freeradius-users-bounces+andy.franks=sath.nhs.uk@lists.freeradius.org] On Behalf Of Alan DeKok Sent: 22 September 2015 13:11 To: FreeRadius users mailing list Subject: Re: Backtrace of ldap related crash On Sep 22, 2015, at 6:16 AM, Franks Andy (IT Technical Architecture Manager) <Andy.Franks@sath.nhs.uk> wrote:
Backtrace:
Program received signal SIGSEGV, Segmentation fault. 0x00007ffff2fc2b8a in mod_authorize (instance=0xb3c680, request=0xd5f060) at src/modules/rlm_ldap/rlm_ldap.c:1455 1455 if (rlm_ldap_map_do(inst, request, conn->handle, &expanded, entry) > 0) rcode = RLM_MODULE_UPDATED;
That's a weird place to have a crash. Can you do: (gdb) p *conn (gdb) p request Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
On Sep 22, 2015, at 9:59 AM, Franks Andy (IT Technical Architecture Manager) <Andy.Franks@sath.nhs.uk> wrote:
Drat, I fixed AD (memory leak) and now it's not likely to happen again until the next time, which could be a while away. I guess I'd best come back then :-)
OK. We'll see if we can track it down here. Alan DeKok.
On Tue, Sep 22, 2015 at 01:59:17PM +0000, Franks Andy (IT Technical Architecture Manager) wrote:
Drat, I fixed AD (memory leak) and now it's not likely to happen again until the next time, which could be a while away.
Have you still got the coredump? Should be able to fire up gdb again and get it from there. Matthew -- Matthew Newton, Ph.D. <mcn4@le.ac.uk> Systems Specialist, Infrastructure Services, I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom For IT help contact helpdesk extn. 2253, <ithelp@le.ac.uk>
On 22 Sep 2015, at 15:35, Matthew Newton <mcn4@LEICESTER.AC.UK> wrote:
On Tue, Sep 22, 2015 at 01:59:17PM +0000, Franks Andy (IT Technical Architecture Manager) wrote:
Drat, I fixed AD (memory leak) and now it's not likely to happen again until the next time, which could be a while away.
Have you still got the coredump? Should be able to fire up gdb again and get it from there.
Pushed a fix. Missed return code check from rlm_ldap_map_profile. -Arran Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS development team FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2
participants (4)
-
Alan DeKok -
Arran Cudbard-Bell -
Franks Andy (IT Technical Architecture Manager) -
Matthew Newton