[Devel] crash on CVS

Klaus Darilion klaus.mailinglists at pernau.at
Thu Aug 18 18:54:39 CEST 2005


Bogdan-Andrei Iancu wrote:
> Hi Klaus,
> 
> please send me the core and I will take a look. But first try to run 
> that test with OpenSER compiled with mem debug support - it might be 
> some mem problems.

Which compile option do you need exactly? At the moment I use (default):
philipp:/home/darilion# openser -V
version: openser 0.10.0-dev8 (i386/linux)
flags: STATS: Off, USE_IPV6, USE_TCP, DISABLE_NAGLE, USE_MCAST, 
DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC, 
FAST_LOCK-ADAPTIVE_WAIT
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, 
MAX_URI_SIZE 1024, BUF_SIZE 65535
@(#) $Id: main.c,v 1.3 2005/08/08 21:48:08 miconda Exp $
main.c compiled on 20:27:38 Aug 17 2005 with gcc 3.3


regards
klaus



> 
> regards,
> bogdan
> 
> Klaus Darilion wrote:
> 
>> Hi!
>>
>> I've tested openser against protos and openser crashes after protos 
>> test #1272, #1273 or #1274. (bad To: header)
>>
>> It does not crash immedately, but immediately after the same thread 
>> (children=1) receives a REGISTER request (have not tested other 
>> requests).
>>
>> I can provide a coredump if necessary.
>> (gdb) bt
>> #0  free_to (tb=0x812d7f8) at parser/parse_to.c:775
>> #1  0x0808634d in free_hdr_field_lst (hf=0x812d7a8) at parser/hf.c:179
>> #2  0x08087c5a in free_sip_msg (msg=0x81340e0) at parser/msg_parser.c:608
>> #3  0x0806ea68 in receive_msg (
>>     buf=0x80d6340 "REGISTER sip:enum.at SIP/2.0\r\nTo: Klaus Darilion 
>> enum eyebea<sip:klaus at enum.at>\r\nFrom: Klaus Darilion enum 
>> eyebea<sip:klaus at enum.at>;tag=5b7d2636\r\nVia: SIP/2.0/UDP 
>> 10.10.0.50:8718;branch=z9hG4bK-d8754"..., len=496, 
>> rcv_info=0xbffff950) at receive.c:230
>> #4  0x0807fc3e in udp_rcv_loop () at udp_server.c:464
>> #5  0x08060d88 in main_loop () at main.c:1027
>> #6  0x0806207b in main (argc=1, argv=0x0) at main.c:1565
>>
>> regards
>> klaus
>>
>> _______________________________________________
>> Devel mailing list
>> Devel at openser.org
>> http://openser.org/cgi-bin/mailman/listinfo/devel
>>
> 
> 




More information about the Devel mailing list