[OpenSIPS-Users] Fwd: Re: Permission function causing Termination
Bogdan-Andrei Iancu
bogdan at opensips.org
Mon Jan 21 23:41:36 CET 2013
Hi,
Post the output of the "bt full" on pastebin.com, for example.
Thanks,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 01/21/2013 10:31 PM, Nathaniel L Keeling III wrote:
> Hello,
>
> I downloaded the source from svn as instructed on the website and from
> the source directory I issued the "make menuconfig" command where the
> options menu came up. I then selected the "Configure Compile Options"
> as listed earlier and the modules to compile and then selected the
> "Compile and Install Opensips" options.
>
>
> ___________________________________________
>
> | |
> | Configure Compile
> Options |
> | ---> Compile And Install
> OpenSIPS |
> | Cleanup OpenSIPS
> sources |
> | Generate OpenSIPS
> Script |
> | Exit & Save All
> Changes |
>
> |___________________________________________|
>
> When I re-compiled, I re-compiled with extra-debug selected and I got
> a lot of extra info in the log file, which I can post (let me know
> where/how), but the core dumps had the same output. Just out of
> curiosity, I changed the function call to "check_source_address" from
> "check_address" and opensips did not terminate.
>
> Thanks
>
> Nathaniel
>
>
> On 1/21/13 12:59 PM, Bogdan-Andrei Iancu wrote:
>> Hi Nathaniel,
>>
>> are you also doing a "make install", or running directly from the src
>> dir ? Also compiling is simply "make all" ?
>>
>> I'm asking as by default opensips compiles with the debug symbols ...
>>
>> Regards,
>> Bogdan-Andrei Iancu
>> OpenSIPS Founder and Developer
>> http://www.opensips-solutions.com
>>
>> On 01/19/2013 07:08 PM, Nathaniel L Keeling III wrote:
>>>
>>>
>>>
>>> -------- Original Message --------
>>> Subject: Re: [OpenSIPS-Users] Permission function causing Termination
>>> Date: Sat, 19 Jan 2013 10:17:10 -0600
>>> From: Nathaniel L Keeling III <keeling at akan-tech.com>
>>> To: Bogdan-Andrei Iancu <bogdan at opensips.org>
>>>
>>>
>>>
>>> I used the source from svn and compiled using "make menuconfig" and
>>> selected these compile options:
>>>
>>> |
>>> | [*]
>>> PKG_MALLOC |
>>> | [*]
>>> SHM_MEM |
>>> | [*]
>>> SHM_MMAP |
>>> | [*]
>>> USE_IPV6 |
>>> | [*]
>>> USE_MCAST |
>>> | [*]
>>> DISABLE_NAGLE |
>>> | [*]
>>> STATISTICS |
>>> | [*]
>>> CHANGEABLE_DEBUG_LEVEL |
>>> | [*]
>>> HAVE_RESOLV_RES |
>>> | [*]
>>> F_MALLOC |
>>> | [*]
>>> USE_TCP |
>>> | [*]
>>> USE_TLS |
>>> | [ ]
>>> USE_SCTP |
>>> | [ ]
>>> DBG_QM_MALLOC |
>>> | [ ]
>>> USE_SHM_MEM |
>>> | [ ]
>>> DBG_F_MALLOC |
>>> | [ ]
>>> NO_DEBUG |
>>> | [ ]
>>> NO_LOG |
>>> | [ ]
>>> VQ_MALLOC |
>>> | [ ]
>>> FAST_LOCK |
>>> | [ ]
>>> USE_SYSV_SEM |
>>> | [ ] USE_PTHREAD_MUTEX
>>> Thanks
>>>
>>> Nathaniel
>>>
>>>
>>> On 1/19/13 2:29 AM, Bogdan-Andrei Iancu wrote:
>>>> Hi Nathaniel,
>>>>
>>>> I guess you have opensips from packages - if so, install also the
>>>> package with the debug symbols.
>>>>
>>>> On a first look, the crash happens in some log message.
>>>>
>>>> Regards,
>>>> Bogdan-Andrei Iancu
>>>> OpenSIPS Founder and Developer
>>>> http://www.opensips-solutions.com
>>>>
>>>> On 01/19/2013 07:57 AM, Nathaniel L Keeling III wrote:
>>>>> Here is the output from the core dump. Four processes produced a
>>>>> dump and each one is just like this one. Should there be a symbol
>>>>> table available?
>>>>> If so, what do I need to do to get it?
>>>>>
>>>>> Core was generated by `../../sbin/opensips -P
>>>>> /var/run/opensips.pid -m 512 -M 4 -u root -g root -f /op'.
>>>>> Program terminated with signal 11, Segmentation fault.
>>>>> #0 0xffffffff7e53bb50 in strlen () from /lib/64/libc.so.1
>>>>> (gdb) bt full
>>>>> #0 0xffffffff7e53bb50 in strlen () from /lib/64/libc.so.1
>>>>> No symbol table info available.
>>>>> #1 0xffffffff7e5aabf8 in _ndoprnt () from /lib/64/libc.so.1
>>>>> No symbol table info available.
>>>>> #2 0xffffffff7e5ad3d4 in vsnprintf () from /lib/64/libc.so.1
>>>>> No symbol table info available.
>>>>> #3 0xffffffff7e5774bc in vsyslog () from /lib/64/libc.so.1
>>>>> No symbol table info available.
>>>>> #4 0xffffffff7e577004 in syslog () from /lib/64/libc.so.1
>>>>> No symbol table info available.
>>>>> #5 0xffffffff7990dd68 in check_addr_6 () from
>>>>> /opt/opensips-1.8.2/lib64/opensips/modules/permissions.so
>>>>> No symbol table info available.
>>>>> #6 0xffffffff7990dee0 in check_addr_4 () from
>>>>> /opt/opensips-1.8.2/lib64/opensips/modules/permissions.so
>>>>> No symbol table info available.
>>>>> #7 0x00000001000ea47c in do_action ()
>>>>> No symbol table info available.
>>>>> #8 0x00000001000e12fc in run_action_list ()
>>>>> No symbol table info available.
>>>>> #9 0x00000001000a7030 in eval_elem ()
>>>>> No symbol table info available.
>>>>> #10 0x00000001000a8f0c in eval_expr ()
>>>>> No symbol table info available.
>>>>> #11 0x00000001000a90b4 in eval_expr ()
>>>>> No symbol table info available.
>>>>> #12 0x00000001000e5c5c in do_action ()
>>>>> No symbol table info available.
>>>>> #13 0x00000001000e12fc in run_action_list ()
>>>>> No symbol table info available.
>>>>> #14 0x00000001000e1088 in run_actions ()
>>>>> No symbol table info available.
>>>>> #15 0x00000001000e14e4 in run_top_route ()
>>>>> No symbol table info available.
>>>>> #16 0x00000001000ddf60 in receive_msg ()
>>>>> No symbol table info available.
>>>>> #17 0x00000001000971b0 in udp_rcv_loop ()
>>>>> No symbol table info available.
>>>>> #18 0x0000000100045ea0 in main_loop ()
>>>>> No symbol table info available.
>>>>> #19 0x000000010004b628 in main ()
>>>>> No symbol table info available.
>>>>> (gdb) quit
>>>>>
>>>>> Thanks
>>>>> Nathaniel
>>>>>
>>>>> On 1/18/13 10:30 PM, Ovidiu Sas wrote:
>>>>>> Enable core dump generation and use gdb to print out the stacktrace.
>>>>>> More info here:
>>>>>> http://www.opensips.org/Resources/DocsTsCrash
>>>>>>
>>>>>> Regards,
>>>>>> Ovidiu Sas
>>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Users mailing list
>>>>> Users at lists.opensips.org
>>>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20130122/dc44104d/attachment-0001.htm>
More information about the Users
mailing list