[OpenSIPS-Users] Opensips crashes when retrieving AVPs from Radius requests

2012-09-27 Thread Samuel Muller
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 req

Re: [OpenSIPS-Users] Opensips crashes when retrieving AVPs from Radius requests

2012-09-28 Thread Bogdan-Andrei Iancu
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.

Re: [OpenSIPS-Users] Opensips crashes when retrieving AVPs from Radius requests

2012-09-28 Thread Samuel Muller
Hello Bogdan, i've a small update: it's not crashing with acc radius, only with auth_aaa and aaa_radius. Here's the result of (gdb) bt full : └ /tmp $ sudo gdb --core=/tmp/core.opensips.sig11.1758 /usr/lib/debug/usr/sbin/opensips GNU gdb (GDB) 7.0.1-debian Core was generated by `/usr/sbin/opensi

Re: [OpenSIPS-Users] Opensips crashes when retrieving AVPs from Radius requests

2012-09-30 Thread Bogdan-Andrei Iancu
Hi Samuel, This bt looks a bit corrupted, so we need a different approach - have a way of reproducing this in a deterministic way ? Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 09/28/2012 03:05 PM, Samuel Muller wrote: Hello Bogdan, i've

Re: [OpenSIPS-Users] Opensips crashes when retrieving AVPs from Radius requests

2012-09-30 Thread Samuel Muller
Hey Bogdan, tomorrow morning i'll re-install the full opensips 1.8.1 with all the needed libs to debug - actually we made a simple debian package and the debug package of opensips is not usefull for the modules we are using. I've to admit that I'm a bit afraid to see that crashes happens randomly.

Re: [OpenSIPS-Users] Opensips crashes when retrieving AVPs from Radius requests

2012-10-02 Thread Samuel Muller
Hey back, it seems the e-mail is too big ... > After re-compiling properly (with TLS enabled), crashes happens again, > at the same point (extract_avp after successfull aaa_authorize). here's the pastebin : http://pastebin.com/ve2qJPbT thanks a lot ! Samuel MULLER s...@l33.fr www.l33.fr _

Re: [OpenSIPS-Users] Opensips crashes when retrieving AVPs from Radius requests

2012-10-02 Thread Bogdan-Andrei Iancu
Hi Samuel, Thanks for the bt, it was really useful - try the attached patch, see if it solves your crash. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 10/02/2012 04:20 PM, Samuel Muller wrote: Hey back, it seems the e-mail is too big ...

Re: [OpenSIPS-Users] Opensips crashes when retrieving AVPs from Radius requests

2012-10-02 Thread Samuel Muller
Thank you very much Bogdan, Patch is now applied and we're testing calls. As I said, crashes happened randomly, so I hope it's ok now ... Regards, Samuel MULLER s...@l33.fr www.l33.fr On Tue, Oct 2, 2012 at 3:01 PM, Bogdan-Andrei Iancu wrote: > Hi Samuel, > > Thanks for the bt, it was really

Re: [OpenSIPS-Users] Opensips crashes when retrieving AVPs from Radius requests

2012-10-03 Thread Samuel Muller
Hello Bogdan, usually, crash happened at the ~ fifth "simple" call. here we tried almost 40 calls (with and w/o transfers, ...) in our test platform, and no crash anymore. If I read carefully your changes (from my not-developer view), the problem was coming from the initiation of the AVPs incoming

Re: [OpenSIPS-Users] Opensips crashes when retrieving AVPs from Radius requests

2012-10-04 Thread Bogdan-Andrei Iancu
Hi Samuel, Perfect, thank you for testing, I will push this on svn. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 10/03/2012 12:57 PM, Samuel Muller wrote: Hello Bogdan, usually, crash happened at the ~ fifth "simple" call. here we tried al