[OpenSIPS-Users] Opensips crashes when retrieving AVPs from Radius requests
Bogdan-Andrei Iancu
bogdan at opensips.org
Fri Sep 28 12:52:01 CEST 2012
Hi Samuel,
If you have the core file, could you get a backtrace and post it ?
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 09/27/2012 03:43 PM, Samuel Muller wrote:
> Hello,
>
> I see something really strange in v.1.8.x that not happened in
> v.1.7.x, concerning radius request.
>
> I'm using aaa_radius, acct and auth_aaa modules.
> I've 2 radius requests where i need to retrieve AVPs : one for the
> auth, antoher one to check the callee's stuff using "call-check"
> custom request (radius_sent_auth().
>
> my sets are correctly defined, freeradius is sent back exactly what i
> expect to, and the process looks really clean (PostgreSQL ok, ...).
>
> but it crashes randomly when the function tries to extract AVPs:
>
> 2012-09-27T08:14:24.231112+00:00 vpp-scp [1296]:
> 31235822142010193058 at 192.168.1.55: - AUTH
> 2012-09-27T08:14:24.231120+00:00 vpp-scp [1296]:
> DBG:core:parse_headers: flags=ffffffffffffffff
> 2012-09-27T08:14:24.231675+00:00 vpp-scp [1296]:
> DBG:sl:run_sl_callbacks: callback id 0 entered
> 2012-09-27T08:14:24.231692+00:00 vpp-scp [1296]:
> DBG:siptrace:trace_sl_onreply_out: trace slonreply out
> 2012-09-27T08:14:24.231703+00:00 vpp-scp [1296]:
> DBG:siptrace:trace_sl_onreply_out: nothing to trace...
> 2012-09-27T08:14:24.231714+00:00 vpp-scp [1296]: DBG:auth:check_nonce:
> comparing [50640afe000000033e97d5256be5383c2ea043e416ed4559] and
> [50640afe000000033e97d5256be5383c2ea043e416ed4559]
> ...
> 2012-09-27T08:14:24.247104+00:00 vpp-scp [1296]:
> DBG:core:__search_avp_map: looking for [caller_username] avp - found
> 43
> 2012-09-27T08:14:24.247114+00:00 vpp-scp [1296]:
> DBG:aaa_radius:extract_avp: AVP 'caller_username'='10907'/0 has been
> added
> 2012-09-27T08:14:24.248501+00:00 vpp-scp [1296]:
> DBG:core:__search_avp_map: looking for [caller_stimeout] avp - found
> 40
> 2012-09-27T08:14:24.248513+00:00 vpp-scp [1296]:
> DBG:aaa_radius:extract_avp: AVP 'caller_stimeout'='3600'/0 has been
> added
> 2012-09-27T08:14:24.248581+00:00 vpp-scp [1296]:
> DBG:core:__search_avp_map: looking for [caller_stime] avp - found -1
> 2012-09-27T08:14:32.802250+00:00 vpp-scp [1290]: DBG:core:handle_sigs:
> status = 139
> 2012-09-27T08:14:32.802279+00:00 vpp-scp [1290]:
> INFO:core:handle_sigs: child process 1296 exited by a signal 11
> 2012-09-27T08:14:32.802284+00:00 vpp-scp [1290]:
> INFO:core:handle_sigs: core was generated
> 2012-09-27T08:14:32.802288+00:00 vpp-scp [1290]:
> INFO:core:handle_sigs: terminating due to SIGCHLD
> 2012-09-27T08:14:32.802291+00:00 vpp-scp [1300]: INFO:core:sig_usr:
> signal 15 received
>
>
> I've core dumps, but nothing usefull ...
>
> this happens with all radius modules (acct, auth_aaa, aaa_radius), and
> only since I use the v.1.8.0 and now 1.8.1 too. (from 1.7.2, no
> problems)
>
> Any clues ?
>
>
> Samuel MULLER
> sml at l33.fr
> www.l33.fr
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
More information about the Users
mailing list