[OpenSIPS-Users] little help with this bug

Răzvan Crainea razvan at opensips.org
Wed Oct 19 15:52:51 CEST 2016


Hi, Dani!

It seems you are using the thread-based xmlrpc library, which does not 
work with opensips.
You should try to switch the mi_xmlrpc module with the new 
mi_xmlrpc_ng[1] one, which does not use the xmlrpc library, but only 
libxml2.

[1] http://www.opensips.org/html/docs/modules/1.11.x/mi_xmlrpc_ng.html

Best regards,

Răzvan Crainea
OpenSIPS Solutions
www.opensips-solutions.com

On 10/19/2016 12:24 AM, Dani Popa wrote:
> Hi,
>
> I need a little help with this bug:
>
>  gdb /usr/local/unified_opensips/sbin/opensips /core
> GNU gdb (GDB) 7.4.1-debian
> Copyright (C) 2012 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 /usr/local/unified_opensips/sbin/opensips...done.
> [New LWP 18111]
> [New LWP 18112]
> [New LWP 17585]
>
> warning: Can't read pathname for load map: Input/output error.
> [Thread debugging using libthread_db enabled]
> Using host libthread_db library 
> "/lib/i386-linux-gnu/i686/cmov/libthread_db.so.1".
> Core was generated by `/usr/local/unified_opensips/sbin/opensips -f 
> /usr/local/unified_opensips/etc/op'.
> Program terminated with signal 6, Aborted.
> #0  0xb77e2424 in __kernel_vsyscall ()
> (gdb) bt
> #0  0xb77e2424 in __kernel_vsyscall ()
> #1  0xb7468661 in raise () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
> #2  0xb746ba92 in abort () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
> #3  0x081404a7 in qm_free (qm=0xb7222008, p=p at entry=0xb729571c, 
> file=file at entry=0x8203506 "parser/hf.c", func=func at entry=0x820366a 
> "free_hdr_field_lst", line=line at entry=243) at mem/q_malloc.c:448
> #4  0x08143a9e in free_hdr_field_lst (hf=0xb7295680, 
> hf at entry=0xb729571c) at parser/hf.c:243
> #5  0xb71c8d86 in mi_tm_uac_dlg (cmd_tree=0xb72942ec, param=0x0) at 
> mi.c:539
> #6  0xb6985fc5 in run_mi_cmd (param=0xb485c150, f=<optimized out>, 
> t=0xb72942ec, cmd=<optimized out>) at ../../mi/mi.h:109
> #7  default_method (env=0xb485c150, host=0xb485c270 "\001", 
> methodName=<optimized out>, paramArray=0xa2b8880, serverInfo=0x0) at 
> xr_server.c:223
> #8  0xb68c2ac7 in xmlrpc_dispatchCall () from 
> /usr/lib/libxmlrpc_server.so.3
> #9  0xb68c2c16 in xmlrpc_registry_process_call2 () from 
> /usr/lib/libxmlrpc_server.so.3
> #10 0xb68c96e0 in ?? () from /usr/lib/libxmlrpc_server_abyss.so.3
> #11 0xb68b7f57 in ?? () from /usr/lib/libxmlrpc_abyss.so.3
> #12 0xb68b1e30 in ?? () from /usr/lib/libxmlrpc_abyss.so.3
> #13 0xb68bac93 in ?? () from /usr/lib/libxmlrpc_abyss.so.3
> #14 0xb6e0bc39 in start_thread () from 
> /lib/i386-linux-gnu/i686/cmov/libpthread.so.0
> #15 0xb7514c6e in clone () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
> (gdb) quit
> root at sp01:/# cd /usr/local/^C
> root at sp01:/# cd /home/openips/opensips_1_11/
> root at sp01:/home/openips/opensips_1_11# git pull
> remote: Counting objects: 43, done.
> remote: Compressing objects: 100% (43/43), done.
> remote: Total 43 (delta 14), reused 0 (delta 0), pack-reused 0
> Unpacking objects: 100% (43/43), done.
> From https://github.com/OpenSIPS/opensips
>    f880642..66ae29f  1.11       -> origin/1.11
>    1dfeb25..522a9e3  2.1        -> origin/2.1
>    9ed154b..757389d  2.2        -> origin/2.2
>    7e2d6e4..c63e14d  master     -> origin/master
> Updating f880642..66ae29f
> Fast-forward
>  modules/sst/sst_handlers.c |   42 
> +++++++++++++++++++++++++++++++++---------
>  modules/sst/sst_handlers.h |    1 +
>  2 files changed, 34 insertions(+), 9 deletions(-)
> root at sp01:/home/openips/opensips_1_11#
>
>
> Thanks,
> -- 
> Dani Popa
>
>
> _______________________________________________
> 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/20161019/0f485a26/attachment.htm>


More information about the Users mailing list