Opensips_segmentation_issue

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Opensips_segmentation_issue

JayaPrakash-2
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
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Opensips_segmentation_issue

Anca Vamanu-2
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
> [hidden email]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>  


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Opensips_segmentation_issue

JayaPrakash-2
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 <[hidden email]> 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
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
 



_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Opensips_segmentation_issue

Anca Vamanu-2
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 <[hidden email]
> <mailto:[hidden email]>> 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
>         [hidden email] <mailto:[hidden email]>
>         http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>          
>
>
>


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Opensips_segmentation_issue

JayaPrakash-2
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 <[hidden email]> 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 <[hidden email] <mailto:[hidden email]>> 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
       [hidden email] <mailto:[hidden email]>



_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Opensips_segmentation_issue

Anca Vamanu-2
Hi Jaya,

Please run 'bt' in the gdb console and paste that output :).
Also paste the section when you load modules from your configuration file.

Thanks,
Anca

JayaPrakash wrote:

> 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 <[hidden email]
> <mailto:[hidden email]>> 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 <[hidden email]
>         <mailto:[hidden email]> <mailto:[hidden email]
>         <mailto:[hidden email]>>> 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
>                [hidden email]
>         <mailto:[hidden email]>
>         <mailto:[hidden email]
>         <mailto:[hidden email]>>
>
>                http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>                
>
>
>
>


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Opensips_segmentation_issue

JayaPrakash-2
Hi Anca,
Below I mentioned the backtrace. Please review it.
**********************************************************************************************************************************************
debian:/home/corefiles# gdb opensips core.opensips.sig11.23150
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"...

warning: Can't read pathname for load map: Input/output error.
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) bt
#0  0xb780926f in contains_pua_event (name=0xbfc904b0) at event_list.c:109
#1  0xb7809435 in add_pua_event (ev_flag=32, name=0xb7822067 "xcap-diff", content_type=0xb7822071 "application/xcap-diff+xml", process_body=0xb7821800 <xcapdiff_process_body>) at event_list.c:65
#2  0xb78219e5 in mod_init () at presence_xcapdiff.c:105
#3  0x080af1ec in init_mod (m=0x81c3020) at sr_module.c:468
#4  0x080af188 in init_mod (m=0x81c3110) at sr_module.c:463
#5  0x080af188 in init_mod (m=0x81c3200) at sr_module.c:463
#6  0x080af188 in init_mod (m=0x81c32f0) at sr_module.c:463
#7  0x080af188 in init_mod (m=0x81c33e0) at sr_module.c:463
#8  0x0806c723 in main (argc=9, argv=0xbfc907b4) at main.c:1300

******************************************************************************************************************************************
Below, loaded modules are printed.


loadmodule "db_mysql.so"
loadmodule "signaling.so"
loadmodule "sl.so"
loadmodule "tm.so"
loadmodule "rr.so"
loadmodule "maxfwd.so"
loadmodule "usrloc.so"
loadmodule "registrar.so"
loadmodule "textops.so"
loadmodule "uri.so"
loadmodule "uri_db.so"
loadmodule "permissions.so"
loadmodule "group.so"
loadmodule "mi_fifo.so"
loadmodule "lcr.so"
loadmodule "avpops.so"
loadmodule "xlog.so"
loadmodule "dialog.so"
loadmodule "nat_traversal.so"
loadmodule "nathelper.so"
#loadmodule "mediaproxy.so"
loadmodule "acc.so"
loadmodule "siptrace.so"
loadmodule "enum.so"
# ----------------- setting module-specific parameters ---------------
/* uncomment next lines for MySQL based authentication support
   NOTE: a DB (like mysql) module must be also loaded */

loadmodule "auth.so"
loadmodule "auth_db.so"

/* uncomment next line for aliases support
   NOTE: a DB (like mysql) module must be also loaded */
loadmodule "alias_db.so"

/* uncomment next line for multi-domain support
   NOTE: a DB (like mysql) module must be also loaded
   NOTE: be sure and enable multi-domain support in all used modules
         (see "multi-module params" section ) */
loadmodule "domain.so"

/* uncomment the next two lines for presence server support
   NOTE: a DB (like mysql) module must be also loaded */
loadmodule "presence.so"
loadmodule "presence_xml.so"
loadmodule "presence_mwi.so"
loadmodule "presence_xcapdiff.so"
/*loading pua modules */
loadmodule "pua.so"
loadmodule "pua_mi.so"

/* loading resource list modules*/
loadmodule "rls.so"

/* loading xcap_client */
loadmodule "xcap_client.so"
*********************************************************************************************************************************

Thanks
JayaPrakash


On Fri, Apr 3, 2009 at 8:11 PM, Anca Vamanu <[hidden email]> wrote:
Hi Jaya,

Please run 'bt' in the gdb console and paste that output :).
Also paste the section when you load modules from your configuration file.

Thanks,
Anca

JayaPrakash wrote:
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 <[hidden email] <mailto:[hidden email]>> 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 <[hidden email]
       <mailto:[hidden email]> <mailto:[hidden email]

       <mailto:[hidden email]>>> 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
              [hidden email]
       <mailto:[hidden email]>
       <mailto:[hidden email]
       <mailto:[hidden email]>>

              http://lists.opensips.org/cgi-bin/mailman/listinfo/users
             






_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Opensips_segmentation_issue

Anca Vamanu-2
Hi Jaya,

First, please update - you don't have the latest svn version.
When you will update, you will see an error that you need to load pua
module before presence_xcapdiff module. This module also depends on pua,
as you can also see in documentation.

regards,
Anca

JayaPrakash wrote:

> Hi Anca,
> Below I mentioned the backtrace. Please review it.
> **********************************************************************************************************************************************
> debian:/home/corefiles# gdb opensips core.opensips.sig11.23150
> 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"...
>
> warning: Can't read pathname for load map: Input/output error.
> 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) bt
> #0  0xb780926f in contains_pua_event (name=0xbfc904b0) at event_list.c:109
> #1  0xb7809435 in add_pua_event (ev_flag=32, name=0xb7822067
> "xcap-diff", content_type=0xb7822071 "application/xcap-diff+xml",
> process_body=0xb7821800 <xcapdiff_process_body>) at event_list.c:65
> #2  0xb78219e5 in mod_init () at presence_xcapdiff.c:105
> #3  0x080af1ec in init_mod (m=0x81c3020) at sr_module.c:468
> #4  0x080af188 in init_mod (m=0x81c3110) at sr_module.c:463
> #5  0x080af188 in init_mod (m=0x81c3200) at sr_module.c:463
> #6  0x080af188 in init_mod (m=0x81c32f0) at sr_module.c:463
> #7  0x080af188 in init_mod (m=0x81c33e0) at sr_module.c:463
> #8  0x0806c723 in main (argc=9, argv=0xbfc907b4) at main.c:1300*
> ******************************************************************************************************************************************
> Below, loaded modules are printed.
>
>
> loadmodule "db_mysql.so"
> loadmodule "signaling.so"
> loadmodule "sl.so"
> loadmodule "tm.so"
> loadmodule "rr.so"
> loadmodule "maxfwd.so"
> loadmodule "usrloc.so"
> loadmodule "registrar.so"
> loadmodule "textops.so"
> loadmodule "uri.so"
> loadmodule "uri_db.so"
> loadmodule "permissions.so"
> loadmodule "group.so"
> loadmodule "mi_fifo.so"
> loadmodule "lcr.so"
> loadmodule "avpops.so"
> loadmodule "xlog.so"
> loadmodule "dialog.so"
> loadmodule "nat_traversal.so"
> loadmodule "nathelper.so"
> #loadmodule "mediaproxy.so"
> loadmodule "acc.so"
> loadmodule "siptrace.so"
> loadmodule "enum.so"
> # ----------------- setting module-specific parameters ---------------
> /* uncomment next lines for MySQL based authentication support
>    NOTE: a DB (like mysql) module must be also loaded */
>
> loadmodule "auth.so"
> loadmodule "auth_db.so"
>
> /* uncomment next line for aliases support
>    NOTE: a DB (like mysql) module must be also loaded */
> loadmodule "alias_db.so"
>
> /* uncomment next line for multi-domain support
>    NOTE: a DB (like mysql) module must be also loaded
>    NOTE: be sure and enable multi-domain support in all used modules
>          (see "multi-module params" section ) */
> loadmodule "domain.so"
>
> /* uncomment the next two lines for presence server support
>    NOTE: a DB (like mysql) module must be also loaded */
> loadmodule "presence.so"
> loadmodule "presence_xml.so"
> loadmodule "presence_mwi.so"
> loadmodule "presence_xcapdiff.so"
> /*loading pua modules */
> loadmodule "pua.so"
> loadmodule "pua_mi.so"
>
> /* loading resource list modules*/
> loadmodule "rls.so"
>
> /* loading xcap_client */
> loadmodule "xcap_client.so"
> *********************************************************************************************************************************
>
> Thanks
> JayaPrakash
>
>
> On Fri, Apr 3, 2009 at 8:11 PM, Anca Vamanu <[hidden email]
> <mailto:[hidden email]>> wrote:
>
>     Hi Jaya,
>
>     Please run 'bt' in the gdb console and paste that output :).
>     Also paste the section when you load modules from your
>     configuration file.
>
>     Thanks,
>     Anca
>
>     JayaPrakash wrote:
>
>         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 <[hidden email]
>         <mailto:[hidden email]> <mailto:[hidden email]
>         <mailto:[hidden email]>>> 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
>         <[hidden email] <mailto:[hidden email]>
>                <mailto:[hidden email] <mailto:[hidden email]>>
>         <mailto:[hidden email] <mailto:[hidden email]>
>
>                <mailto:[hidden email] <mailto:[hidden email]>>>>
>         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
>                       [hidden email]
>         <mailto:[hidden email]>
>                <mailto:[hidden email]
>         <mailto:[hidden email]>>
>                <mailto:[hidden email]
>         <mailto:[hidden email]>
>                <mailto:[hidden email]
>         <mailto:[hidden email]>>>
>
>                      
>         http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>                      
>
>
>
>
>


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users