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 ...

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
[email protected]
www.l33.fr
Index: usr_avp.c
===================================================================
--- usr_avp.c	(revision 9292)
+++ usr_avp.c	(working copy)
@@ -60,7 +60,7 @@
 int init_global_avps(void)
 {
 	/* initialize map for static avps */
-	avp_map = map_create(AVLMAP_NO_DUPLICATE);
+	avp_map = map_create(0);
 	if (!avp_map) {
 		LM_ERR("cannot create avp_map\n");
 		return -1;
@@ -87,7 +87,7 @@
 	}
 	*last_avp_index_shm = last_avp_index;
 	/* initialize map for dynamic avps */
-	avp_map_shm = map_create(AVLMAP_SHARED|AVLMAP_NO_DUPLICATE);
+	avp_map_shm = map_create(AVLMAP_SHARED);
 	if (!avp_map_shm) {
 		LM_ERR("cannot create shared avp_map\n");
 		return -1;
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to