Building on CentOS 7; rlm_sql_mysql segmentation fault

Arran Cudbard-Bell a.cudbardb at freeradius.org
Sat May 30 23:14:28 CEST 2015


> On 30 May 2015, at 16:42, firing neurons <firingneurons at mail.com> wrote:
> 
>   Hi!
> 
>   After testing CoA on the latest HEAD, I wanted to test and use 3.0.8.
>   CentOS 7 repo has 3.0.4 binaries.
> 
>   I used maraidb libs and includes to build mysql driver. I get a
>   segmentation fault when loading.
> 
>   This happened with the latest HEAD. I am yet to build 3.0.8 .
> 
>   debug(bold text present in debug):
> 
>   rlm_sql (sql): Driver rlm_sql_mysql (module rlm_sql_mysql) loaded and
>   linked
>   Creating attribute SQL-Group
>     # Loaded module rlm_sqlcounter
>     # Loading module "dailycounter" from file
>   /usr/local/etc/raddb/mods-enabled/sqlcounter
>     sqlcounter dailycounter {
>         sql_module_instance = "sql"
>         key = "User-Name"
>         query = "SELECT SUM(acctsessiontime - GREATEST((%%b -
>   UNIX_TIMESTAMP(acctstarttime)), 0)) FROM radacct WHERE username =
>   '%{User-Name}' AND UNIX_TIMESTAMP(acctstarttime) + acctsessiontime >
>   '%%b'"
>         reset = "daily"
>         counter_name = "Daily-Session-Time"
>         check_name = "Max-Daily-Session"
>         reply_name = "Session-Timeout"
>     }
>   Segmentation fault (core dumped)

Backtrace?

-Arran

Arran Cudbard-Bell <a.cudbardb at freeradius.org>
FreeRADIUS development team

FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 872 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20150530/c0c8a5fd/attachment.sig>


More information about the Freeradius-Users mailing list