<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Thanks for the advice. I appreciate your help in getting this
running. I've used eric3 before and and really like it. I've got some
python work again and would like to use it again.<br>
<br>
Here's the stack trace from gdb. If I'm reading this correctly, it's
saying that sip originated the fault, but it can't tell which specific
function. What do you make of that?<br>
<br>
(gdb) run<br>
Starting program: /usr/bin/python
/usr/lib/python2.4/site-packages/eric3/eric3.py<br>
(no debugging symbols found)<br>
(no debugging symbols found)<br>
[Thread debugging using libthread_db enabled]<br>
[New Thread 46912867037440 (LWP 13548)]<br>
<br>
Program received signal SIGSEGV, Segmentation fault.<br>
[Switching to Thread 46912867037440 (LWP 13548)]<br>
0x00002aaac38ec1c3 in ?? () from
/usr/lib64/python2.4/site-packages/sip.so<br>
(gdb) bt<br>
#0 0x00002aaac38ec1c3 in ?? () from
/usr/lib64/python2.4/site-packages/sip.so<br>
#1 0x00002aaac3a75a58 in initkdecore () from
/usr/lib64/python2.4/site-packages/kdecore.so<br>
#2 0x00002aaac0434fdc in _PyImport_LoadDynamicModule () from
/usr/lib/libpython2.4.so.1.0<br>
#3 0x00002aaac0433673 in PyImport_ReloadModule () from
/usr/lib/libpython2.4.so.1.0<br>
#4 0x00002aaac0433b47 in PyImport_ReloadModule () from
/usr/lib/libpython2.4.so.1.0<br>
#5 0x00002aaac0433d20 in PyImport_ImportModuleEx () from
/usr/lib/libpython2.4.so.1.0<br>
#6 0x00002aaac04167b3 in _PyBuiltin_Init () from
/usr/lib/libpython2.4.so.1.0<br>
#7 0x00002aaac03c4350 in PyObject_Call () from
/usr/lib/libpython2.4.so.1.0<br>
#8 0x00002aaac041969c in PyEval_CallObjectWithKeywords () from
/usr/lib/libpython2.4.so.1.0<br>
#9 0x00002aaac041b318 in PyEval_EvalFrame () from
/usr/lib/libpython2.4.so.1.0<br>
#10 0x00002aaac041f62c in PyEval_EvalCodeEx () from
/usr/lib/libpython2.4.so.1.0<br>
#11 0x00002aaac041f752 in PyEval_EvalCode () from
/usr/lib/libpython2.4.so.1.0<br>
#12 0x00002aaac0432189 in PyImport_ExecCodeModuleEx () from
/usr/lib/libpython2.4.so.1.0<br>
#13 0x00002aaac0432631 in PyImport_ImportFrozenModule () from
/usr/lib/libpython2.4.so.1.0<br>
#14 0x00002aaac043446d in PyImport_ImportModule () from
/usr/lib/libpython2.4.so.1.0<br>
#15 0x00002aaac0433673 in PyImport_ReloadModule () from
/usr/lib/libpython2.4.so.1.0<br>
#16 0x00002aaac0433b04 in PyImport_ReloadModule () from
/usr/lib/libpython2.4.so.1.0<br>
#17 0x00002aaac0433d20 in PyImport_ImportModuleEx () from
/usr/lib/libpython2.4.so.1.0<br>
#18 0x00002aaac04167b3 in _PyBuiltin_Init () from
/usr/lib/libpython2.4.so.1.0<br>
#19 0x00002aaac03c4350 in PyObject_Call () from
/usr/lib/libpython2.4.so.1.0<br>
#20 0x00002aaac041969c in PyEval_CallObjectWithKeywords () from
/usr/lib/libpython2.4.so.1.0<br>
#21 0x00002aaac041b318 in PyEval_EvalFrame () from
/usr/lib/libpython2.4.so.1.0<br>
#22 0x00002aaac041f62c in PyEval_EvalCodeEx () from
/usr/lib/libpython2.4.so.1.0<br>
#23 0x00002aaac041f752 in PyEval_EvalCode () from
/usr/lib/libpython2.4.so.1.0<br>
#24 0x00002aaac0439e29 in Py_CompileString () from
/usr/lib/libpython2.4.so.1.0<br>
#25 0x00002aaac043b278 in PyRun_SimpleFileExFlags () from
/usr/lib/libpython2.4.so.1.0<br>
#26 0x00002aaac04414c8 in Py_Main () from /usr/lib/libpython2.4.so.1.0<br>
#27 0x00002aaac0a49394 in __libc_start_main () from /lib/libc.so.6<br>
#28 0x0000000000400689 in _start ()<br>
<br>
<br>
Hans-Peter Jansen wrote:
<blockquote cite="mid200701251143.05392.hpj@urpla.net" type="cite">
<pre wrap="">Am Donnerstag, 25. Januar 2007 10:22 schrieb Andreas Pakulat:
</pre>
<blockquote type="cite">
<pre wrap="">The strace is of 0 use when trying to debug a segfault. You have to run
the python session in gdb, i.e.
python --args python eric3
</pre>
</blockquote>
<pre wrap=""><!---->
better use:
gdb --args python eric3
</pre>
<blockquote type="cite">
<pre wrap="">And when the app crashed produce a backtrace by issuing "bt".
</pre>
</blockquote>
<pre wrap=""><!---->
Pete
_______________________________________________
Eric mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Eric@riverbankcomputing.com">Eric@riverbankcomputing.com</a>
<a class="moz-txt-link-freetext" href="http://www.riverbankcomputing.com/mailman/listinfo/eric">http://www.riverbankcomputing.com/mailman/listinfo/eric</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
The poopsmith's job is obvious.
--------------</pre>
</body>
</html>