THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#122 - Kamailio 3.1.3 crash
User who did this - marius zbihlei (marius.zbihlei)
----------
hello
Just had another look at the trace. It escaped me the first time, but the crash happens
in the MI fifo process. the fifo process receives a dlg_terminate_dlg command and sends a
BYE, that somehow causes, in the context of that process, the SQL query to get
executed(this is normal albeit a little weid). But because how the process is
initializated (I will explain in a minute), the dbh structure (which is per child
initialized) is still NULL in that process.
Now the problem with the initialization. The module are initialized (mod_child_init
actually so this is per process module initialization) in the order they are loaded. But
because the FIFO process forks and then blocks on accepting datagrams, modules loaded
after it are not mod_child_inited (the way the sr_module inits them is via some recursive
calls). This wouldn't cause such a big fuss if the sql query is not executed.
Can you confirm that sqlops is loaded in the cfg after the mi_datagram module? Also I ask
other core developers to look at this problem and comment on it
Marius
----------
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=122#comment1…
You are receiving this message because you have requested it from the Flyspray bugtracking
system. If you did not expect this message or don't want to receive mails in future,
you can change your notification settings at the URL shown above.