[OpenSIPS-Users] Opensips_segmentation_issue

JayaPrakash jp.manchu at gmail.com
Fri Apr 3 16:20:39 CEST 2009


Hi Anca,
Below, I printed the gdb_backtrace. Thanks.
***********************************************************************************************************************************
GNU gdb 6.8-debian
Copyright (C) 2008 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"...
Reading symbols from /lib/i686/cmov/libdl.so.2...done.
Loaded symbols for /lib/i686/cmov/libdl.so.2
Reading symbols from /lib/i686/cmov/libresolv.so.2...done.
Loaded symbols for /lib/i686/cmov/libresolv.so.2
Reading symbols from /lib/i686/cmov/libc.so.6...done.
Loaded symbols for /lib/i686/cmov/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/opensips/modules/db_mysql.so...done.
Loaded symbols for //lib/opensips/modules/db_mysql.so
Reading symbols from /usr/lib/libmysqlclient.so.15...done.
Loaded symbols for /usr/lib/libmysqlclient.so.15
Reading symbols from /lib/i686/cmov/libpthread.so.0...done.
Loaded symbols for /lib/i686/cmov/libpthread.so.0
Reading symbols from /lib/i686/cmov/libcrypt.so.1...done.
Loaded symbols for /lib/i686/cmov/libcrypt.so.1
Reading symbols from /lib/i686/cmov/libnsl.so.1...done.
Loaded symbols for /lib/i686/cmov/libnsl.so.1
Reading symbols from /lib/i686/cmov/libm.so.6...done.
Loaded symbols for /lib/i686/cmov/libm.so.6
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /lib/opensips/modules/signaling.so...done.
Loaded symbols for //lib/opensips/modules/signaling.so
Reading symbols from /lib/opensips/modules/sl.so...done.
Loaded symbols for //lib/opensips/modules/sl.so
Reading symbols from /lib/opensips/modules/tm.so...done.
Loaded symbols for //lib/opensips/modules/tm.so
Reading symbols from /lib/opensips/modules/rr.so...done.
Loaded symbols for //lib/opensips/modules/rr.so
Reading symbols from /lib/opensips/modules/maxfwd.so...done.
Loaded symbols for //lib/opensips/modules/maxfwd.so
Reading symbols from /lib/opensips/modules/usrloc.so...done.
Loaded symbols for //lib/opensips/modules/usrloc.so
Reading symbols from /lib/opensips/modules/registrar.so...done.
Loaded symbols for //lib/opensips/modules/registrar.so
Reading symbols from /lib/opensips/modules/textops.so...done.
Loaded symbols for //lib/opensips/modules/textops.so
Reading symbols from /lib/opensips/modules/uri.so...done.
Loaded symbols for //lib/opensips/modules/uri.so
Reading symbols from /lib/opensips/modules/uri_db.so...done.
Loaded symbols for //lib/opensips/modules/uri_db.so
Reading symbols from /lib/opensips/modules/permissions.so...done.
Loaded symbols for //lib/opensips/modules/permissions.so
Reading symbols from /lib/opensips/modules/group.so...done.
Loaded symbols for //lib/opensips/modules/group.so
Reading symbols from /lib/opensips/modules/mi_fifo.so...done.
Loaded symbols for //lib/opensips/modules/mi_fifo.so
Reading symbols from /lib/opensips/modules/lcr.so...done.
Loaded symbols for //lib/opensips/modules/lcr.so
Reading symbols from /lib/opensips/modules/avpops.so...done.
Loaded symbols for //lib/opensips/modules/avpops.so
Reading symbols from /lib/opensips/modules/xlog.so...done.
Loaded symbols for //lib/opensips/modules/xlog.so
Reading symbols from /lib/opensips/modules/dialog.so...done.
Loaded symbols for //lib/opensips/modules/dialog.so
Reading symbols from /lib/opensips/modules/nat_traversal.so...done.
Loaded symbols for //lib/opensips/modules/nat_traversal.so
Reading symbols from /lib/opensips/modules/nathelper.so...done.
Loaded symbols for //lib/opensips/modules/nathelper.so
Reading symbols from /lib/opensips/modules/acc.so...done.
Loaded symbols for //lib/opensips/modules/acc.so
Reading symbols from /usr/lib/libradiusclient-ng.so.2...done.
Loaded symbols for /usr/lib/libradiusclient-ng.so.2
Reading symbols from /lib/opensips/modules/siptrace.so...done.
Loaded symbols for //lib/opensips/modules/siptrace.so
Reading symbols from /lib/opensips/modules/enum.so...done.
Loaded symbols for //lib/opensips/modules/enum.so
Reading symbols from /lib/opensips/modules/auth.so...done.
Loaded symbols for //lib/opensips/modules/auth.so
Reading symbols from /lib/opensips/modules/auth_db.so...done.
Loaded symbols for //lib/opensips/modules/auth_db.so
Reading symbols from /lib/opensips/modules/alias_db.so...done.
Loaded symbols for //lib/opensips/modules/alias_db.so
Reading symbols from /lib/opensips/modules/domain.so...done.
Loaded symbols for //lib/opensips/modules/domain.so
Reading symbols from /lib/opensips/modules/presence.so...done.
Loaded symbols for //lib/opensips/modules/presence.so
Reading symbols from /usr/lib/libxml2.so.2...done.
Loaded symbols for /usr/lib/libxml2.so.2
Reading symbols from /lib/opensips/modules/presence_xml.so...done.
Loaded symbols for //lib/opensips/modules/presence_xml.so
Reading symbols from /lib/opensips/modules/presence_mwi.so...done.
Loaded symbols for //lib/opensips/modules/presence_mwi.so
Reading symbols from /lib/opensips/modules/presence_xcapdiff.so...done.
Loaded symbols for //lib/opensips/modules/presence_xcapdiff.so
Reading symbols from /lib/opensips/modules/pua.so...done.
Loaded symbols for //lib/opensips/modules/pua.so
Reading symbols from /lib/opensips/modules/pua_mi.so...done.
Loaded symbols for //lib/opensips/modules/pua_mi.so
Reading symbols from /lib/opensips/modules/rls.so...done.
Loaded symbols for //lib/opensips/modules/rls.so
Reading symbols from /lib/opensips/modules/xcap_client.so...done.
Loaded symbols for //lib/opensips/modules/xcap_client.so
Reading symbols from /usr/lib/libcurl-gnutls.so.4...done.
Loaded symbols for /usr/lib/libcurl-gnutls.so.4
Reading symbols from /usr/lib/libidn.so.11...done.
Loaded symbols for /usr/lib/libidn.so.11
Reading symbols from /usr/lib/liblber-2.4.so.2...done.
Loaded symbols for /usr/lib/liblber-2.4.so.2
Reading symbols from /usr/lib/libldap_r-2.4.so.2...done.
Loaded symbols for /usr/lib/libldap_r-2.4.so.2
Reading symbols from /lib/i686/cmov/librt.so.1...done.
Loaded symbols for /lib/i686/cmov/librt.so.1
Reading symbols from /usr/lib/libgssapi_krb5.so.2...done.
Loaded symbols for /usr/lib/libgssapi_krb5.so.2
Reading symbols from /usr/lib/libgnutls.so.26...done.
Loaded symbols for /usr/lib/libgnutls.so.26
Reading symbols from /usr/lib/libsasl2.so.2...done.
Loaded symbols for /usr/lib/libsasl2.so.2
Reading symbols from /usr/lib/libkrb5.so.3...done.
Loaded symbols for /usr/lib/libkrb5.so.3
Reading symbols from /usr/lib/libk5crypto.so.3...done.
Loaded symbols for /usr/lib/libk5crypto.so.3
Reading symbols from /lib/libcom_err.so.2...done.
Loaded symbols for /lib/libcom_err.so.2
Reading symbols from /usr/lib/libkrb5support.so.0...done.
Loaded symbols for /usr/lib/libkrb5support.so.0
Reading symbols from /lib/libkeyutils.so.1...done.
Loaded symbols for /lib/libkeyutils.so.1
Reading symbols from /usr/lib/libtasn1.so.3...done.
Loaded symbols for /usr/lib/libtasn1.so.3
Reading symbols from /usr/lib/libgpg-error.so.0...done.
Loaded symbols for /usr/lib/libgpg-error.so.0
Reading symbols from /usr/lib/libgcrypt.so.11...done.
Loaded symbols for /usr/lib/libgcrypt.so.11
Reading symbols from /lib/i686/cmov/libnss_compat.so.2...done.
Loaded symbols for /lib/i686/cmov/libnss_compat.so.2
Reading symbols from /lib/i686/cmov/libnss_nis.so.2...done.
Loaded symbols for /lib/i686/cmov/libnss_nis.so.2
Reading symbols from /lib/i686/cmov/libnss_files.so.2...done.
Loaded symbols for /lib/i686/cmov/libnss_files.so.2
Reading symbols from /lib/libnss_mdns4_minimal.so.2...done.
Loaded symbols for /lib/libnss_mdns4_minimal.so.2
Reading symbols from /lib/i686/cmov/libnss_dns.so.2...done.
Loaded symbols for /lib/i686/cmov/libnss_dns.so.2
Reading symbols from /lib/libnss_mdns4.so.2...done.
Loaded symbols for /lib/libnss_mdns4.so.2
Core was generated by `/sbin/opensips -P /var/run/opensips/opensips.pid -m
128 -u root -g root'.
Program terminated with signal 11, Segmentation fault.
[New process 23150]
#0  0xb780926f in contains_pua_event (name=0xbfc904b0) at event_list.c:109
109        event= pua_evlist->next;
(gdb) (gdb) quit



Thanks
JayaPrakash


On Fri, Apr 3, 2009 at 7:30 PM, Anca Vamanu <anca at opensips.org> wrote:

> Can you please print the entire gdb backtrace?
>
> Anca
>
> JayaPrakash wrote:
>
>> Hi Anca,
>> I have loaded pua_mi after loading pua.
>> I am using svn development version (HEAD).
>> What might be the reason for issue?
>>
>> Thanks
>> JayaPrakash
>>
>>
>> On Fri, Apr 3, 2009 at 7:06 PM, Anca Vamanu <anca at opensips.org <mailto:
>> anca at opensips.org>> wrote:
>>
>>    Hi Jaya,
>>
>>    The problem is that you load a pua_* module before the pua module
>>    which is wrong.
>>    Anyhow it is wrong for the server to crash when it should give an
>>    error message. I have fixed this in the svn version, but I suspect
>>    you use the stable release.
>>
>>    regards,
>>    Anca
>>
>>
>>    JayaPrakash wrote:
>>
>>        Hi All,
>>        I am using opensips1.5 in debian 5.
>>        I have enabled Opensips with presence, rls, pua modules for
>>        presence.
>>        Server is running without any errors.
>>        But, client is not getting registered.
>>        In corefile, it is showing the following error.
>>
>>  --------------------------------------------------------------------------------------------------------------------
>>        Program terminated with signal 11, Segmentation fault.
>>        [New process 22969]
>>        #0  0xb77e026f in contains_pua_event (name=0xbfa66aa0) at
>>        event_list.c:109
>>        109        event= pua_evlist->next;
>>
>>  -------------------------------------------------------------------------------------------------------------------
>>
>>        Can you please suggest me, how to fix this issue.
>>
>>        Thanks
>>        JayaPrakash
>>
>>  ------------------------------------------------------------------------
>>
>>        _______________________________________________
>>        Users mailing list
>>        Users at lists.opensips.org <mailto: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/20090403/634d414e/attachment-0001.htm 


More information about the Users mailing list