I'm currently setting up two kamailio sip proxy server, and was working with 3.0.3 and still in testing phase. Because I saw kamailio 3.1.0 was released, I tried to upgrade to 3.1.0 yesterday.
But when running with my current config, I got a segfault. I've analysed the core with gdb.
In modules_k/nat_traversal/nat_traversal.c LINE 1731 it tries to cal slb.register_cb. The slb variable is correct, but the method register_cb is pointing to 0 in stead of a correct memory address.
When looking at modules/sl/sl.c, line 360-364 I see all methods of the struct are mapped to their corresponding functions, but not the register_cb.
because that part of the code is changes between 3.0.x and 3.1.0 I assume that some part of sl.c is missing, because the definition of the struct in sl.h does contain the register_cb method.
Can someone have a look at this?
Thnx!
Robert Verspuy
On Tuesday 12 October 2010, Robert Verspuy wrote:
I'm currently setting up two kamailio sip proxy server, and was working with 3.0.3 and still in testing phase. Because I saw kamailio 3.1.0 was released, I tried to upgrade to 3.1.0 yesterday. [..] When looking at modules/sl/sl.c, line 360-364 I see all methods of the struct are mapped to their corresponding functions, but not the register_cb.
Hi Robert,
i think this was already fixed from Daniel yesterday in the commit 97decac9266dcd1d83 - its available in the 3.1 branch as well.
Cheers,
Henning
Hello,
On 10/12/10 1:19 PM, Henning Westerholt wrote:
On Tuesday 12 October 2010, Robert Verspuy wrote:
I'm currently setting up two kamailio sip proxy server, and was working with 3.0.3 and still in testing phase. Because I saw kamailio 3.1.0 was released, I tried to upgrade to 3.1.0 yesterday. [..] When looking at modules/sl/sl.c, line 360-364 I see all methods of the struct are mapped to their corresponding functions, but not the register_cb.
Hi Robert,
i think this was already fixed from Daniel yesterday in the commit 97decac9266dcd1d83 - its available in the 3.1 branch as well.
it was fixed, indeed. If someone needs, here are some instructions of how to get last version of branch 3.1 from git: http://www.kamailio.org/dokuwiki/doku.php/install:kamailio-3.1.x-from-git#ge...
Cheers, Daniel
On 10/12/2010 01:32 PM, Daniel-Constantin Mierla wrote:
Hello,
On 10/12/10 1:19 PM, Henning Westerholt wrote:
On Tuesday 12 October 2010, Robert Verspuy wrote:
When looking at modules/sl/sl.c, line 360-364 I see all methods of the struct are mapped to their corresponding functions, but not the register_cb.
Hi Robert,
i think this was already fixed from Daniel yesterday in the commit 97decac9266dcd1d83 - its available in the 3.1 branch as well.
it was fixed, indeed. If someone needs, here are some instructions of how to get last version of branch 3.1 from git: http://www.kamailio.org/dokuwiki/doku.php/install:kamailio-3.1.x-from-git#ge...
Thnx, I'm compiling the latest version from git now.
Hopefully this will also fix my problem with the table version of the table "trusted" in v3.0.3. (async. communication with postgresql where the results of a different query is used when checking the table version.) If it's still there I will post it a new message.
Regards, Robert Verspuy