[OpenSIPS-Devel] OpenSIPS segfault

Bogdan-Andrei Iancu bogdan at voice-system.ro
Wed Jun 9 21:48:26 CEST 2010


Hi Flavio,

The crash points somewhere in the memory manager - so my guess is that 
is something corrupts the memory.  You can compile in the memory 
debugger and see the reports (see 
http://www.opensips.org/Resources/DocsTsMem ).

Also, I noticed that the crash is in a the mi_xmlrpc process - what 
version of libxmlrpc-c3 are you using? package or src? what OS ?

Regards,
Bogdan

Flavio Goncalves wrote:
> Hi Bogdan, 
>
> The system I'm testing segfaulted. This is the backtrace output. 
> Apparently something in the mi_xmlrpc
>
> [New process 19097]
> #0  0x080ee388 in fm_malloc (qm=0x81bfcc0, size=<value optimized out>)
>     at mem/f_malloc.c:172
> 172             *pf=n->u.nxt_free;
> (gdb) backtrace
> #0  0x080ee388 in fm_malloc (qm=0x81bfcc0, size=<value optimized out>)
>     at mem/f_malloc.c:172
> #1  0x08133800 in init_mi_tree (code=200, reason=0x320eb5 "OK", 
> reason_len=2)
>     at mi/tree.c:53
> #2  0x003153f9 in mi_profile_list (cmd_tree=0x81f283c, param=0x0)
>     at dlg_profile.c:835
> #3  0x007a82d2 in default_method (env=0x77fa61b4, host=0x0,
>     methodName=0x9f59ed0 "profile_list_dlgs", paramArray=0x9f57218,
>     serverInfo=0x0) at ../../mi/mi.h:104
> #4  0x002cefbd in xmlrpc_dispatchCall (envP=0x77fa61b4, 
> registryP=0x9f3af48,
>     methodName=0x9f59ed0 "profile_list_dlgs", paramArrayP=0x9f57218,
>     resultPP=0x77fa61c0) at registry.c:321
> #5  0x002cf1a7 in xmlrpc_registry_process_call (envP=0x77fa6220,
>     registryP=0x9f3af48, host=0x0,
>     xml_data=0x9f587c8 "<?xml version=\"1.0\" 
> encoding=\"UTF-8\"?><methodCall><methodName>profile_list_dlgs</methodName><params><param><value>pstn</value></param></params></methodCall>net.br 
> <http://net.br></value></param></params></methodCall>"...,
>     xml_len=156) at registry.c:432
> #6  0x002cc79b in handleXmlrpcReq (this=0x9f3c838, 
> abyssSessionP=0x77fa6270,
>     handledP=0x77fa6328) at xmlrpc_server_abyss.c:382
> #7  0x00360ce0 in serverFunc (userHandle=0x9f56180) at server.c:1048
> #8  0x0035c7d0 in connJob (userHandle=0x9f56180) at conn.c:35
> #9  0x00364592 in pthreadStart (arg=0x9f58390) at thread_pthread.c:47
> ---Type <return> to continue, or q <return> to quit---
> #10 0x0036c73b in start_thread () from /lib/libpthread.so.0
> #11 0x00acacfe in clone () from /lib/libc.so.6
>
> Regards, 
>
> Flavio E. Goncalves
> ------------------------------------------------------------------------
>
> _______________________________________________
> Devel mailing list
> Devel at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
>   


-- 
Bogdan-Andrei Iancu
www.voice-system.ro




More information about the Devel mailing list