[SR-Users] Segmentation fault when loading dialplan

Daniel-Constantin Mierla miconda at gmail.com
Sat Nov 27 10:29:30 CET 2010


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 writable for every user, e.g.:

/path/to/kamailio -w /tmp -f /path/to/config

Strange that I test as well ubuntu 10.04, but 32b, and all start fine 
with the same rule.

Thanks,
Daniel

> best regards
>
> javi
>
> On Fri, Nov 26, 2010 at 7:56 PM, Daniel-Constantin Mierla 
> <miconda at gmail.com <mailto:miconda at gmail.com>> wrote:
>
>     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
>>     <miconda at gmail.com <mailto:miconda at 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 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 ../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>
>>>         This is free software: you are free to change and
>>>         redistribute it.
>>>         There is NO WARRANTY, to the extent permitted by law.  Type
>>>         "show copying"
>>>         and "show warranty" for details.
>>>         This GDB was configured as "x86_64-linux-gnu".
>>>         For bug reporting instructions, please see:
>>>         <http://www.gnu.org/software/gdb/bugs/>...
>>>         Reading symbols from /usr/local/kamailio/sbin/kamailio...done.
>>>         (gdb) run
>>>         Starting program: /usr/local/kamailio/sbin/kamailio -f
>>>         ../etc/kamailio/kamailio.cfg
>>>         loading modules under
>>>         /usr/local/kamailio/lib/kamailio/modules_k/:/usr/local/kamailio/lib/kamailio/modules/
>>>         [Thread debugging using libthread_db enabled]
>>>         Cannot find new threads: generic error
>>>
>>>
>>>         Regards
>>>
>>>         Javi
>>>         On Thu, Nov 25, 2010 at 10:55 PM, Daniel-Constantin Mierla
>>>         <miconda at gmail.com <mailto:miconda at gmail.com>> wrote:
>>>
>>>
>>>
>>>             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 the full log
>>>                 here: http://pastebin.ca/2002031
>>>                 The architechture details are:
>>>                 Ubuntu 10.04.1 LTS \n \l
>>>                 Linux kam-test 2.6.32-24-server #39-Ubuntu SMP Wed
>>>                 Jul 28 06:21:40 UTC 2010 x86_64 GNU/Linux
>>>
>>>             can you send the following output of following commands
>>>             in gdb?
>>>
>>>             # frame 1
>>>             # p rows
>>>             # p *rows
>>>             # p values
>>>             # p *values
>>>
>>>             Thanks,
>>>             Daniel
>>>
>>>
>>>             -- 
>>>             Daniel-Constantin Mierla
>>>             Kamailio (OpenSER) Advanced Training
>>>             Jan 24-26, 2011, Irvine, CA, USA
>>>             http://www.asipto.com
>>>
>>>
>>>
>>>         _______________________________________________
>>>         SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>>>         sr-users at lists.sip-router.org
>>>         <mailto:sr-users at lists.sip-router.org>
>>>         http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>
>>         -- 
>>         Daniel-Constantin Mierla
>>         Kamailio (OpenSER) Advanced Training
>>         Jan 24-26, 2011, Irvine, CA, USA
>>         http://www.asipto.com
>>
>>
>>
>>     _______________________________________________
>>     SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>>     sr-users at lists.sip-router.org  <mailto:sr-users at lists.sip-router.org>
>>     http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>     -- 
>     Daniel-Constantin Mierla
>     Kamailio (OpenSER) Advanced Training
>     Jan 24-26, 2011, Irvine, CA, USA
>     http://www.asipto.com
>
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
Kamailio (OpenSER) Advanced Training
Jan 24-26, 2011, Irvine, CA, USA
http://www.asipto.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20101127/23260506/attachment-0001.htm>


More information about the sr-users mailing list