sql query in post-auth - segmentation fault

Mohamed Imran (NBI) Mohamed.Imran at nbi.ac.uk
Fri Sep 11 15:40:07 CEST 2015


Sure, here you go:

# Loading post-auth {...}

Program received signal SIGSEGV, Segmentation fault.
0x0000000000422471 in do_compile_modgroup (parent=0xabf680,
component=MOD_POST_AUTH, cs=0x8acd70, grouptype=0,
    parentgrouptype=0, mod_type=<value optimized out>) at
src/main/modcall.c:2827
2827                            if (f->cond->type == COND_TYPE_TRUE) goto
skip_true;
Missing separate debuginfos, use: debuginfo-install
glibc-2.12-1.166.el6_7.1.x86_64 keyutils-libs-1.4-5.el6.x86_64
krb5-libs-1.10.3-42.el6.x86_64 libcom_err-1.41.12-22.el6.x86_64
libselinux-2.0.94-5.8.el6.x86_64 nss-softokn-freebl-3.14.3-23.el6_7.x86_64
openssl-1.0.1e-42.el6.x86_64 zlib-1.2.3-29.el6.x86_64
(gdb) bt
#0  0x0000000000422471 in do_compile_modgroup (parent=0xabf680,
component=MOD_POST_AUTH, cs=0x8acd70,
    grouptype=0, parentgrouptype=0, mod_type=<value optimized out>) at
src/main/modcall.c:2827
#1  0x000000000042271e in do_compile_modsingle (parent=0xabf680,
component=MOD_POST_AUTH, ci=0x8acd70,
    grouptype=0, modname=0x7fffffffe1d8) at src/main/modcall.c:2193
#2  0x00000000004222ca in do_compile_modgroup (parent=0xabefc0,
component=MOD_POST_AUTH, cs=0x8ab7b0,
    grouptype=0, parentgrouptype=0, mod_type=<value optimized out>) at
src/main/modcall.c:2852
#3  0x00000000004227b4 in do_compile_modsingle (parent=0xabefc0,
component=MOD_POST_AUTH, ci=0x8ab7b0,
    grouptype=0, modname=0x7fffffffe408) at src/main/modcall.c:2227
#4  0x000000000041e76a in load_component_section (cs=0x8aad80,
components=0xab8b30, comp=MOD_POST_AUTH)
    at src/main/modules.c:1131
#5  0x000000000041eace in load_byserver (cs=0x8a1e40) at
src/main/modules.c:1260
#6  0x000000000041f037 in virtual_servers_load (config=0x685620) at
src/main/modules.c:1447
#7  0x0000000000420858 in modules_init (config=0x685620) at
src/main/modules.c:2031
#8  0x0000000000425e07 in main (argc=2, argv=<value optimized out>) at
src/main/radiusd.c:463

Regards,
Mohamed

-----Original Message-----
From: Mohamed Imran (NBI) 
Sent: 11 September 2015 13:58
To: 'freeradius-users at lists.freeradius.org'
<freeradius-users at lists.freeradius.org>
Subject: FW: sql query in post-auth - segmentation fault

Thanks Arran but Alan's just pointed out the issue.

Thanks again for you're your time.

Regards,
Mohamed

-----Original Message-----
From: Mohamed Imran (NBI) 
Sent: 11 September 2015 13:41
To: 'freeradius-users at lists.freeradius.org'
<freeradius-users at lists.freeradius.org>
Subject: sql query in post-auth - segmentation fault

Hi Arran,

# gdb --args /usr/local/sbin/radiusd -X
GNU gdb (GDB) Red Hat Enterprise Linux (7.2-83.el6)
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/local/sbin/radiusd...done.
(gdb) bt
No stack.
(gdb) backtrace full
No stack.

Regards,
Mohamed

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5522 bytes
Desc: not available
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20150911/baa25fa3/attachment.bin>


More information about the Freeradius-Users mailing list