[OpenSIPS-Users] opensips 1.6.4 core/bug

Vlad Paiu vladpaiu at opensips.org
Wed Sep 14 15:29:51 CEST 2011


Hello,

Ok, that wasn't of really much help :)
Please try the attached patch and let me know if OpenSIPS still crashes.

Regards,

Vlad Paiu
OpenSIPS Developer


On 09/14/2011 03:53 PM, Dani Popa wrote:
> Hi,
>
> (gdb) frame 0
> #0  0xb6c2c3ee in get_rules_doc (user=0xbfb603ac, domain=0xbfb603bc, 
> type=2, rules_doc=0xb6c6a2a4) at xcap_auth.c:527
> 527             body.len = strlen(body.s);
> (gdb) p row_vals[0]
> value has been optimized out
> (gdb)
>
> On 09/14/11 15:43, Vlad Paiu wrote:
>> Hello,
>>
>> In frame 0, could you please do
>>     p row_vals[0]
>>
>> and paste here the output ?
>>
>> Regards,
>>
>> Vlad Paiu
>> OpenSIPS Developer
>>
>>
>> On 09/14/2011 02:53 PM, Dani Popa wrote:
>>> Hi,
>>>
>>> My opensips used for presence stoped with Segmentation fault.
>>>
>>> root at test:/home# gdb opensips_1_6/opensips core
>>> GNU gdb (GDB) 7.3-debian
>>> Copyright (C) 2011 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 "i486-linux-gnu".
>>> For bug reporting instructions, please see:
>>> <http://www.gnu.org/software/gdb/bugs/>...
>>> Reading symbols from /home/opensips_1_6/opensips...done.
>>> [New LWP 14277]
>>>
>>> warning: Can't read pathname for load map: Input/output error.
>>> [Thread debugging using libthread_db enabled]
>>> Core was generated by `/usr/local/sbin/opensips -P 
>>> /var/run/opensips_presence/opensips_presence.pid -m'.
>>> Program terminated with signal 11, Segmentation fault.
>>> #0  0xb6c2c3ee in get_rules_doc (user=0xbfb603ac, domain=0xbfb603bc, 
>>> type=2, rules_doc=0xb6c6a2a4) at xcap_auth.c:527
>>> 527             body.len = strlen(body.s);
>>> (gdb) bt
>>> #0  0xb6c2c3ee in get_rules_doc (user=0xbfb603ac, domain=0xbfb603bc, 
>>> type=2, rules_doc=0xb6c6a2a4) at xcap_auth.c:527
>>> #1  0x081f6bfc in mem_pool ()
>>> Backtrace stopped: Not enough registers or memory available to 
>>> unwind further
>>>
>>> The core file has 256M, if you need it, i'll post it on web, but 
>>> please let me know.
>>>
>>> Thanks,
>>> Dani
>>>
>>> _______________________________________________
>>> 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 --------------
A non-text attachment was scrubbed...
Name: presence.patch
Type: text/x-diff
Size: 993 bytes
Desc: not available
URL: <http://lists.opensips.org/pipermail/users/attachments/20110914/8e3a2057/attachment-0001.patch>


More information about the Users mailing list