Hi Duane,

Investigating the modules didn't help - everything seems right. I have attached a patch that helps getting more information when the problem happens. I have to warn you that it will abort execution when observing the problem that lead to crashes. If you have real traffic through it, you should not use this.
After opensips stops run the commands that bogdan gave you in gdb backtrace:

  in frame 2 print the followings:
     _h
     _h->curr_ps
     (struct prep_stmt*)(*(_h)->curr_ps)
     ((struct prep_stmt*)(*(_h)->curr_ps))->stmts
     ((struct prep_stmt*)(*(_h)->curr_ps))->stmts->table.s
     ((struct prep_stmt*)(*(_h)->curr_ps))->stmts->query.s

Regards,

--
Anca Vamanu
www.voice-system.ro

Index: modules/presence/subscribe.c
===================================================================
--- modules/presence/subscribe.c	(revision 7476)
+++ modules/presence/subscribe.c	(working copy)
@@ -487,6 +487,9 @@
 		return;
 	}
 
+	if(CON_HAS_PS(pa_db))
+		abort();
+
 	if (pa_dbf.delete(pa_db, db_keys, db_ops, db_vals, 2) < 0) 
 		LM_ERR("cleaning pending subscriptions\n");
 }
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to