[OpenSIPS-Devel] [ opensips-Bugs-3138571 ] crash in presence module if db_url is not set

SourceForge.net noreply at sourceforge.net
Thu Dec 16 14:42:14 CET 2010


Bugs item #3138571, was opened at 2010-12-16 13:42
Message generated for change (Tracker Item Submitted) made by nobody
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3138571&group_id=232389

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: crash in presence module if db_url is not set

Initial Comment:
opensips 1.6.3:

Core was generated by `/usr/sbin/opensips -P /var/run/opensips/opensips.pid -m 64 -u opensips -g opens'.
Program terminated with signal 11, Segmentation fault.
#0  0xb7267348 in add_event (event=0xbf9ee9b0) at event_list.c:236
236                     *pres_event_p = ev;
(gdb) bt
#0  0xb7267348 in add_event (event=0xbf9ee9b0) at event_list.c:236
#1  0xb7257c38 in xml_add_events () at add_events.c:67
#2  0xb725be07 in mod_init () at presence_xml.c:195
#3  0x080a1a95 in init_mod (m=0x816a3d0) at sr_module.c:457
#4  0x08069102 in main (argc=9, argv=0xbf9eec24) at main.c:1351

default config with mysql and
loadmodule "presence.so"
loadmodule "presence_xml.so"

modparam("presence_xml", "force_active", 1)
modparam("presence", "server_address", "sip:192.168.1.2:5060")

I think the problem is that presence module is in library mode and presence_xml tries to register Event types. 

Probably an error message would be nicer.

klaus

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3138571&group_id=232389



More information about the Devel mailing list