Re: [SR-Users] Segmentation fault when loading dialplan

2010-12-06 Thread Javier Gallart
Hello I haven't been able to fix this problem yet. Has anyone run into a similar issue? Thanks Javi On Sun, Nov 28, 2010 at 5:39 PM, Javier Gallart jgalla...@gmail.com wrote: Hi as you say, it also works for me in a 32b architechture (same kamailio version,db drivers, insert command,

Re: [SR-Users] Segmentation fault when loading dialplan

2010-12-06 Thread Daniel-Constantin Mierla
Hello, On 12/6/10 11:08 AM, Javier Gallart wrote: Hello I haven't been able to fix this problem yet. Has anyone run into a similar issue? is it a clean 64b install, or is a mixed 32b - 64b. I wonder if the modules are linked to a different version of the library. I will try to get to a 64b

Re: [SR-Users] Segmentation fault when loading dialplan

2010-12-06 Thread Javier Gallart
Hi Daniel it's a clean 64 bit instalallation. This is the list of loaded modules: loadmodule db_mysql.so #!endif loadmodule db_postgres.so loadmodule mi_fifo.so loadmodule debugger.so loadmodule kex.so loadmodule tm.so loadmodule tmx.so loadmodule sl.so loadmodule rr.so loadmodule pv.so

Re: [SR-Users] Segmentation fault when loading dialplan

2010-11-27 Thread Javier Gallart
Hi sorry if i didn't make myself clear. It's not starting and no core files are generated either. The startup logs are at http://pastebin.ca/2002031 best regards javi On Fri, Nov 26, 2010 at 7:56 PM, Daniel-Constantin Mierla mico...@gmail.com wrote: Hello, On 11/26/10 4:30 PM, Javier

Re: [SR-Users] Segmentation fault when loading dialplan

2010-11-27 Thread Daniel-Constantin Mierla
Helllo, On 11/27/10 9:32 AM, Javier Gallart wrote: Hi sorry if i didn't make myself clear. It's not starting and no core files are generated either. The startup logs are at http://pastebin.ca/2002031 be sure you do: ulimit -c unlimited Then give -w parameter with a path where is

Re: [SR-Users] Segmentation fault when loading dialplan

2010-11-26 Thread Javier Gallart
Hi Daniel sorry but I'm deeply ignorant of gdb, this is what I get when I try to run it: gdb --args ./kamailio -f ../etc/kamailio/kamailio.cfg GNU gdb (GDB) 7.1-ubuntu Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html

Re: [SR-Users] Segmentation fault when loading dialplan

2010-11-26 Thread Daniel-Constantin Mierla
Hello, On 11/26/10 12:12 PM, Javier Gallart wrote: Hi Daniel sorry but I'm deeply ignorant of gdb, this is what I get when I try to run it: use gdb for the core file: gdb /path/to/kamailio /path/to/corefile Then do the commands I sent. Cheers, Daniel gdb --args ./kamailio -f

Re: [SR-Users] Segmentation fault when loading dialplan

2010-11-26 Thread Javier Gallart
Hi Daniel no core files are generated after the last upgrade... Javi On Fri, Nov 26, 2010 at 12:32 PM, Daniel-Constantin Mierla mico...@gmail.com wrote: Hello, On 11/26/10 12:12 PM, Javier Gallart wrote: Hi Daniel sorry but I'm deeply ignorant of gdb, this is what I get when I try

Re: [SR-Users] Segmentation fault when loading dialplan

2010-11-26 Thread Daniel-Constantin Mierla
Hello, On 11/26/10 4:30 PM, Javier Gallart wrote: Hi Daniel no core files are generated after the last upgrade... so now is starting ok? Or still fails but no core are generated? Cheers, DAniel Javi On Fri, Nov 26, 2010 at 12:32 PM, Daniel-Constantin Mierla mico...@gmail.com

Re: [SR-Users] Segmentation fault when loading dialplan

2010-11-25 Thread Javier Gallart
Hi Daniel I completely reinstalled the OS and installed the latest kamailio git, but the problem persists, although no core is generated now. Apparently it does not depend on the db engine, same thing happens for mysql and postgres. You can see the full log here: http://pastebin.ca/2002031 The

Re: [SR-Users] Segmentation fault when loading dialplan

2010-11-25 Thread Daniel-Constantin Mierla
On 11/25/10 4:54 PM, Javier Gallart wrote: Hi Daniel I completely reinstalled the OS and installed the latest kamailio git, but the problem persists, although no core is generated now. Apparently it does not depend on the db engine, same thing happens for mysql and postgres. You can see

Re: [SR-Users] Segmentation fault when loading dialplan

2010-11-24 Thread Daniel-Constantin Mierla
Hello, On 11/23/10 12:36 PM, Javier Gallart wrote: Hi, same result after adding a second row in the table. I just did a configuration file with dialplan and a record like you showed and it started ok. My log messages are pasted next: 0(10267) DEBUG: db_mysql [km_res.c:136]: use DB1_STRING

[SR-Users] Segmentation fault when loading dialplan

2010-11-22 Thread Javier Gallart
Hello I'd like to do some tests with the dialplan module, but Kamailio is crashing when it loads it. Actually the module is properly loaded if the table is empty, but it fails when a row is added; so I guess it's related with the way I've inserted the values. A core file is generated: Core was