[OpenSIPS-Users] Media-Proxy Segfault on startup [error 4 in libpthread-2.15.so]
SamyGo
govoiper at gmail.com
Mon Jul 2 11:37:17 CEST 2012
OK thanks - meanwhile I try not to use 12.04 for atleast media-proxy setups.
On Mon, Jul 2, 2012 at 1:52 PM, Saul Ibarra Corretge
<saul at ag-projects.com>wrote:
> Hi,
>
> Seems like a problem with the interaction with gcrypt., done by
> python-gnutls. I'll look into this when we setup the repository for
> packages for Ubuntu 12.04.
>
>
> Regards,
>
>
> On Jul 2, 2012, at 10:06 AM, SamyGo wrote:
>
> > Its in Chinese !!!
> >
> > root at RTSIPHA2:~# gdb python core
> > GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2) 7.4-2012.04
> > 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 "i686-linux-gnu".
> > For bug reporting instructions, please see:
> > <http://bugs.launchpad.net/gdb-linaro/>...
> > Reading symbols from /usr/bin/python...Reading symbols from
> /usr/lib/debug/usr/bin/python2.7...done.
> > done.
> >
> > warning: core file may not match specified executable file.
> > [New LWP 4722]
> >
> > 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/libthread_db.so.1".
> > Core was generated by `/usr/bin/python /usr/bin/media-relay --no-fork'.
> > Program terminated with signal 11, Segmentation fault.
> > #0 0xb774ccb7 in pthread_mutex_lock () from
> /lib/i386-linux-gnu/libpthread.so.0
> > (gdb) bt full
> > #0 0xb774ccb7 in pthread_mutex_lock () from
> /lib/i386-linux-gnu/libpthread.so.0
> > No symbol table info available.
> > #1 0xb6f3c7bd in ?? () from
> /usr/lib/python2.7/dist-packages/gnutls/library/_init.so
> > No symbol table info available.
> > #2 0xb6de8bd7 in ?? () from /lib/i386-linux-gnu/libgcrypt.so.11
> > No symbol table info available.
> > #3 0xb6de8ecc in ?? () from /lib/i386-linux-gnu/libgcrypt.so.11
> > No symbol table info available.
> > #4 0xb6de6978 in ?? () from /lib/i386-linux-gnu/libgcrypt.so.11
> > No symbol table info available.
> > #5 0xb6de210d in ?? () from /lib/i386-linux-gnu/libgcrypt.so.11
> > No symbol table info available.
> > #6 0xb6ddea33 in gcry_control () from
> /lib/i386-linux-gnu/libgcrypt.so.11
> > No symbol table info available.
> > #7 0xb6faf70a in ffi_call_SYSV () from
> /usr/lib/python2.7/lib-dynload/_ctypes.so
> > No symbol table info available.
> > #8 0xb6faf43f in ffi_call () from
> /usr/lib/python2.7/lib-dynload/_ctypes.so
> > No symbol table info available.
> > #9 0xb6f9f830 in _ctypes_callproc () from
> /usr/lib/python2.7/lib-dynload/_ctypes.so
> > No locals.
> > #10 0xb6f9fca6 in PyCFuncPtr_call.2769 () from
> /usr/lib/python2.7/lib-dynload/_ctypes.so
> > No locals.
> > #11 0x0811101f in PyObject_Call ()
> > No locals.
> > #12 0x080893c6 in PyEval_EvalFrameEx ()
> > No locals.
> > #13 0x080890cc in PyEval_EvalFrameEx ()
> > No locals.
> > #14 0x081a7d70 in PyEval_EvalCodeEx ()
> > No locals.
> > #15 0x081a8d93 in PyImport_ExecCodeModuleEx ()
> > No locals.
> > #16 0x0806d390 in load_source_module.39128 ()
> > No locals.
> > #17 0x08152a22 in load_package.39221 ()
> > No locals.
> > #18 0x0806dd24 in import_submodule.39182 ()
> > No locals.
> > #19 0x080dfaf6 in load_next.39187 ()
> > No locals.
> > #20 0x0806e701 in import_module_level.isra.3.39208 ()
> > No locals.
> > #21 0x080c0cae in builtin___import__.32840 ()
> > No locals.
> > #22 0x0811101f in PyObject_Call ()
> > No locals.
> > #23 0x08114b19 in PyEval_CallObjectWithKeywords ()
> > No locals.
> > #24 0x0808aea2 in PyEval_EvalFrameEx ()
> > No locals.
> > #25 0x081a7d70 in PyEval_EvalCodeEx ()
> > ---Type <return> to continue, or q <return> to quit---
> > No locals.
> > #26 0x081a8d93 in PyImport_ExecCodeModuleEx ()
> > No locals.
> > #27 0x0806d390 in load_source_module.39128 ()
> > No locals.
> > #28 0x0806dd24 in import_submodule.39182 ()
> > No locals.
> > #29 0x080dfaf6 in load_next.39187 ()
> > No locals.
> > #30 0x0806e701 in import_module_level.isra.3.39208 ()
> > No locals.
> > #31 0x080c0cae in builtin___import__.32840 ()
> > No locals.
> > #32 0x0811101f in PyObject_Call ()
> > No locals.
> > #33 0x08114b19 in PyEval_CallObjectWithKeywords ()
> > No locals.
> > #34 0x0808aea2 in PyEval_EvalFrameEx ()
> > No locals.
> > #35 0x081a7d70 in PyEval_EvalCodeEx ()
> > No locals.
> > #36 0x081a8d93 in PyImport_ExecCodeModuleEx ()
> > No locals.
> > #37 0x0806d390 in load_source_module.39128 ()
> > No locals.
> > #38 0x0806dd24 in import_submodule.39182 ()
> > No locals.
> > #39 0x080dfaf6 in load_next.39187 ()
> > No locals.
> > #40 0x0806e701 in import_module_level.isra.3.39208 ()
> > No locals.
> > #41 0x080c0cae in builtin___import__.32840 ()
> > No locals.
> > #42 0x0811101f in PyObject_Call ()
> > No locals.
> > #43 0x08114b19 in PyEval_CallObjectWithKeywords ()
> > No locals.
> > #44 0x0808aea2 in PyEval_EvalFrameEx ()
> > No locals.
> > #45 0x081a7d70 in PyEval_EvalCodeEx ()
> > No locals.
> > #46 0x081a8d93 in PyImport_ExecCodeModuleEx ()
> > No locals.
> > #47 0x0806d390 in load_source_module.39128 ()
> > No locals.
> > #48 0x0806dd24 in import_submodule.39182 ()
> > No locals.
> > #49 0x0806e26a in ensure_fromlist.part.7 ()
> > No locals.
> > #50 0x0806e66d in import_module_level.isra.3.39208 ()
> > No locals.
> > ---Type <return> to continue, or q <return> to quit---
> > #51 0x080c0cae in builtin___import__.32840 ()
> > No locals.
> > #52 0x0811101f in PyObject_Call ()
> > No locals.
> > #53 0x08114b19 in PyEval_CallObjectWithKeywords ()
> > No locals.
> > #54 0x0808aea2 in PyEval_EvalFrameEx ()
> > No locals.
> > #55 0x081a7d70 in PyEval_EvalCodeEx ()
> > No locals.
> > #56 0x081a8d93 in PyImport_ExecCodeModuleEx ()
> > No locals.
> > #57 0x0806d390 in load_source_module.39128 ()
> > No locals.
> > #58 0x0806dd24 in import_submodule.39182 ()
> > No locals.
> > #59 0x080dfaf6 in load_next.39187 ()
> > No locals.
> > #60 0x0806e701 in import_module_level.isra.3.39208 ()
> > No locals.
> > #61 0x080c0cae in builtin___import__.32840 ()
> > No locals.
> > #62 0x0811101f in PyObject_Call ()
> > No locals.
> > #63 0x08114b19 in PyEval_CallObjectWithKeywords ()
> > No locals.
> > #64 0x0808aea2 in PyEval_EvalFrameEx ()
> > No locals.
> > #65 0x081a7d70 in PyEval_EvalCodeEx ()
> > No locals.
> > #66 0x081a8d93 in PyImport_ExecCodeModuleEx ()
> > No locals.
> > #67 0x0806d390 in load_source_module.39128 ()
> > No locals.
> > #68 0x0806dd24 in import_submodule.39182 ()
> > No locals.
> > #69 0x080dfaf6 in load_next.39187 ()
> > No locals.
> > #70 0x0806e701 in import_module_level.isra.3.39208 ()
> > No locals.
> > #71 0x080c0cae in builtin___import__.32840 ()
> > No locals.
> > #72 0x0811101f in PyObject_Call ()
> > No locals.
> > #73 0x08114b19 in PyEval_CallObjectWithKeywords ()
> > No locals.
> > #74 0x0808aea2 in PyEval_EvalFrameEx ()
> > No locals.
> > #75 0x081a7d70 in PyEval_EvalCodeEx ()
> > No locals.
> > #76 0x08151e21 in PyRun_SimpleFileExFlags ()
> > ---Type <return> to continue, or q <return> to quit---
> > No locals.
> > #77 0x0815a4d9 in Py_Main ()
> > No locals.
> > #78 0x0805e78b in main ()
> > No locals.
> > (gdb)
> >
> >
> >
> >
> > On Mon, Jul 2, 2012 at 12:47 PM, Saul Ibarra Corretge <
> saul at ag-projects.com> wrote:
> > Hi,
> >
> > On Jul 2, 2012, at 6:08 AM, SamyGo wrote:
> >
> > > ok, so Its not going to work. Anyway, I installed it following the
> standard procedure. Added "unstable" ag-projects repository and then
> apt-get upgrade and apt-get install media-proxy etc.
> > >
> > > How do I get a backtrace !
> > >
> >
> > Enable core dumps by doing: ulimit -c unlimited (on your current shell,
> as root)
> >
> > Then launch the dispatcher or relay in foreground: media-relay --no-fork
> >
> > Once it crashes you should see a file with the name 'core'.
> >
> > Open it with gdb and get the backtrace: gdb python core
> >
> > inside gdb: bt full
> >
> > Please do install the mediaproxy-common-dbg package, in order to get a
> meaningful backtrace.
> >
> >
> > Regards,
> >
> > --
> > Saúl Ibarra Corretgé
> > AG Projects
> >
> >
> >
> >
> >
> >
> > _______________________________________________
> > Users mailing list
> > Users at lists.opensips.org
> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> >
> > _______________________________________________
> > Users mailing list
> > Users at lists.opensips.org
> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
> --
> Saúl Ibarra Corretgé
> AG Projects
>
>
>
>
>
>
> _______________________________________________
> 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/20120702/0f186e11/attachment.htm>
More information about the Users
mailing list