<b>Its in Chinese !!!</b><div><br></div><div><div>root@RTSIPHA2:~# gdb python core</div><div>GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2) 7.4-2012.04</div><div>Copyright (C) 2012 Free Software Foundation, Inc.</div><div>License GPLv3+: GNU GPL version 3 or later <<a href="http://gnu.org/licenses/gpl.html">http://gnu.org/licenses/gpl.html</a>></div>
<div>This is free software: you are free to change and redistribute it.</div><div>There is NO WARRANTY, to the extent permitted by law. Type "show copying"</div><div>and "show warranty" for details.</div>
<div>This GDB was configured as "i686-linux-gnu".</div><div>For bug reporting instructions, please see:</div><div><<a href="http://bugs.launchpad.net/gdb-linaro/">http://bugs.launchpad.net/gdb-linaro/</a>>...</div>
<div>Reading symbols from /usr/bin/python...Reading symbols from /usr/lib/debug/usr/bin/python2.7...done.</div><div>done.</div><div><br></div><div>warning: core file may not match specified executable file.</div><div>[New LWP 4722]</div>
<div><br></div><div>warning: Can't read pathname for load map: Input/output error.</div><div>[Thread debugging using libthread_db enabled]</div><div>Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".</div>
<div>Core was generated by `/usr/bin/python /usr/bin/media-relay --no-fork'.</div><div>Program terminated with signal 11, Segmentation fault.</div><div>#0 0xb774ccb7 in pthread_mutex_lock () from /lib/i386-linux-gnu/libpthread.so.0</div>
<div>(gdb) bt full</div><div>#0 0xb774ccb7 in pthread_mutex_lock () from /lib/i386-linux-gnu/libpthread.so.0</div><div>No symbol table info available.</div><div>#1 0xb6f3c7bd in ?? () from /usr/lib/python2.7/dist-packages/gnutls/library/_init.so</div>
<div>No symbol table info available.</div><div>#2 0xb6de8bd7 in ?? () from /lib/i386-linux-gnu/libgcrypt.so.11</div><div>No symbol table info available.</div><div>#3 0xb6de8ecc in ?? () from /lib/i386-linux-gnu/libgcrypt.so.11</div>
<div>No symbol table info available.</div><div>#4 0xb6de6978 in ?? () from /lib/i386-linux-gnu/libgcrypt.so.11</div><div>No symbol table info available.</div><div>#5 0xb6de210d in ?? () from /lib/i386-linux-gnu/libgcrypt.so.11</div>
<div>No symbol table info available.</div><div>#6 0xb6ddea33 in gcry_control () from /lib/i386-linux-gnu/libgcrypt.so.11</div><div>No symbol table info available.</div><div>#7 0xb6faf70a in ffi_call_SYSV () from /usr/lib/python2.7/lib-dynload/_ctypes.so</div>
<div>No symbol table info available.</div><div>#8 0xb6faf43f in ffi_call () from /usr/lib/python2.7/lib-dynload/_ctypes.so</div><div>No symbol table info available.</div><div>#9 0xb6f9f830 in _ctypes_callproc () from /usr/lib/python2.7/lib-dynload/_ctypes.so</div>
<div>No locals.</div><div>#10 0xb6f9fca6 in PyCFuncPtr_call.2769 () from /usr/lib/python2.7/lib-dynload/_ctypes.so</div><div>No locals.</div><div>#11 0x0811101f in PyObject_Call ()</div><div>No locals.</div><div>#12 0x080893c6 in PyEval_EvalFrameEx ()</div>
<div>No locals.</div><div>#13 0x080890cc in PyEval_EvalFrameEx ()</div><div>No locals.</div><div>#14 0x081a7d70 in PyEval_EvalCodeEx ()</div><div>No locals.</div><div>#15 0x081a8d93 in PyImport_ExecCodeModuleEx ()</div><div>
No locals.</div><div>#16 0x0806d390 in load_source_module.39128 ()</div><div>No locals.</div><div>#17 0x08152a22 in load_package.39221 ()</div><div>No locals.</div><div>#18 0x0806dd24 in import_submodule.39182 ()</div><div>
No locals.</div><div>#19 0x080dfaf6 in load_next.39187 ()</div><div>No locals.</div><div>#20 0x0806e701 in import_module_level.isra.3.39208 ()</div><div>No locals.</div><div>#21 0x080c0cae in builtin___import__.32840 ()</div>
<div>No locals.</div><div>#22 0x0811101f in PyObject_Call ()</div><div>No locals.</div><div>#23 0x08114b19 in PyEval_CallObjectWithKeywords ()</div><div>No locals.</div><div>#24 0x0808aea2 in PyEval_EvalFrameEx ()</div><div>
No locals.</div><div>#25 0x081a7d70 in PyEval_EvalCodeEx ()</div><div>---Type <return> to continue, or q <return> to quit---</div><div>No locals.</div><div>#26 0x081a8d93 in PyImport_ExecCodeModuleEx ()</div><div>
No locals.</div><div>#27 0x0806d390 in load_source_module.39128 ()</div><div>No locals.</div><div>#28 0x0806dd24 in import_submodule.39182 ()</div><div>No locals.</div><div>#29 0x080dfaf6 in load_next.39187 ()</div><div>No locals.</div>
<div>#30 0x0806e701 in import_module_level.isra.3.39208 ()</div><div>No locals.</div><div>#31 0x080c0cae in builtin___import__.32840 ()</div><div>No locals.</div><div>#32 0x0811101f in PyObject_Call ()</div><div>No locals.</div>
<div>#33 0x08114b19 in PyEval_CallObjectWithKeywords ()</div><div>No locals.</div><div>#34 0x0808aea2 in PyEval_EvalFrameEx ()</div><div>No locals.</div><div>#35 0x081a7d70 in PyEval_EvalCodeEx ()</div><div>No locals.</div>
<div>#36 0x081a8d93 in PyImport_ExecCodeModuleEx ()</div><div>No locals.</div><div>#37 0x0806d390 in load_source_module.39128 ()</div><div>No locals.</div><div>#38 0x0806dd24 in import_submodule.39182 ()</div><div>No locals.</div>
<div>#39 0x080dfaf6 in load_next.39187 ()</div><div>No locals.</div><div>#40 0x0806e701 in import_module_level.isra.3.39208 ()</div><div>No locals.</div><div>#41 0x080c0cae in builtin___import__.32840 ()</div><div>No locals.</div>
<div>#42 0x0811101f in PyObject_Call ()</div><div>No locals.</div><div>#43 0x08114b19 in PyEval_CallObjectWithKeywords ()</div><div>No locals.</div><div>#44 0x0808aea2 in PyEval_EvalFrameEx ()</div><div>No locals.</div><div>
#45 0x081a7d70 in PyEval_EvalCodeEx ()</div><div>No locals.</div><div>#46 0x081a8d93 in PyImport_ExecCodeModuleEx ()</div><div>No locals.</div><div>#47 0x0806d390 in load_source_module.39128 ()</div><div>No locals.</div><div>
#48 0x0806dd24 in import_submodule.39182 ()</div><div>No locals.</div><div>#49 0x0806e26a in ensure_fromlist.part.7 ()</div><div>No locals.</div><div>#50 0x0806e66d in import_module_level.isra.3.39208 ()</div><div>No locals.</div>
<div>---Type <return> to continue, or q <return> to quit---</div><div>#51 0x080c0cae in builtin___import__.32840 ()</div><div>No locals.</div><div>#52 0x0811101f in PyObject_Call ()</div><div>No locals.</div><div>
#53 0x08114b19 in PyEval_CallObjectWithKeywords ()</div><div>No locals.</div><div>#54 0x0808aea2 in PyEval_EvalFrameEx ()</div><div>No locals.</div><div>#55 0x081a7d70 in PyEval_EvalCodeEx ()</div><div>No locals.</div><div>
#56 0x081a8d93 in PyImport_ExecCodeModuleEx ()</div><div>No locals.</div><div>#57 0x0806d390 in load_source_module.39128 ()</div><div>No locals.</div><div>#58 0x0806dd24 in import_submodule.39182 ()</div><div>No locals.</div>
<div>#59 0x080dfaf6 in load_next.39187 ()</div><div>No locals.</div><div>#60 0x0806e701 in import_module_level.isra.3.39208 ()</div><div>No locals.</div><div>#61 0x080c0cae in builtin___import__.32840 ()</div><div>No locals.</div>
<div>#62 0x0811101f in PyObject_Call ()</div><div>No locals.</div><div>#63 0x08114b19 in PyEval_CallObjectWithKeywords ()</div><div>No locals.</div><div>#64 0x0808aea2 in PyEval_EvalFrameEx ()</div><div>No locals.</div><div>
#65 0x081a7d70 in PyEval_EvalCodeEx ()</div><div>No locals.</div><div>#66 0x081a8d93 in PyImport_ExecCodeModuleEx ()</div><div>No locals.</div><div>#67 0x0806d390 in load_source_module.39128 ()</div><div>No locals.</div><div>
#68 0x0806dd24 in import_submodule.39182 ()</div><div>No locals.</div><div>#69 0x080dfaf6 in load_next.39187 ()</div><div>No locals.</div><div>#70 0x0806e701 in import_module_level.isra.3.39208 ()</div><div>No locals.</div>
<div>#71 0x080c0cae in builtin___import__.32840 ()</div><div>No locals.</div><div>#72 0x0811101f in PyObject_Call ()</div><div>No locals.</div><div>#73 0x08114b19 in PyEval_CallObjectWithKeywords ()</div><div>No locals.</div>
<div>#74 0x0808aea2 in PyEval_EvalFrameEx ()</div><div>No locals.</div><div>#75 0x081a7d70 in PyEval_EvalCodeEx ()</div><div>No locals.</div><div>#76 0x08151e21 in PyRun_SimpleFileExFlags ()</div><div>---Type <return> to continue, or q <return> to quit---</div>
<div>No locals.</div><div>#77 0x0815a4d9 in Py_Main ()</div><div>No locals.</div><div>#78 0x0805e78b in main ()</div><div>No locals.</div><div>(gdb)</div><div><br></div><div><br></div><div><br><br><div class="gmail_quote">
On Mon, Jul 2, 2012 at 12:47 PM, Saul Ibarra Corretge <span dir="ltr"><<a href="mailto:saul@ag-projects.com" target="_blank">saul@ag-projects.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<div class="im"><br>
On Jul 2, 2012, at 6:08 AM, SamyGo wrote:<br>
<br>
> 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.<br>
><br>
> How do I get a backtrace !<br>
><br>
<br>
</div>Enable core dumps by doing: ulimit -c unlimited (on your current shell, as root)<br>
<br>
Then launch the dispatcher or relay in foreground: media-relay --no-fork<br>
<br>
Once it crashes you should see a file with the name 'core'.<br>
<br>
Open it with gdb and get the backtrace: gdb python core<br>
<br>
inside gdb: bt full<br>
<br>
Please do install the mediaproxy-common-dbg package, in order to get a meaningful backtrace.<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
Regards,<br>
<br>
--<br>
Saśl Ibarra Corretgé<br>
AG Projects<br>
<br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br></div></div>