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.

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?

(gdb) run
Starting program: /usr/bin/python /usr/lib/python2.4/site-packages/eric3/eric3.py
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 46912867037440 (LWP 13548)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 46912867037440 (LWP 13548)]
0x00002aaac38ec1c3 in ?? () from /usr/lib64/python2.4/site-packages/sip.so
(gdb) bt
#0  0x00002aaac38ec1c3 in ?? () from /usr/lib64/python2.4/site-packages/sip.so
#1  0x00002aaac3a75a58 in initkdecore () from /usr/lib64/python2.4/site-packages/kdecore.so
#2  0x00002aaac0434fdc in _PyImport_LoadDynamicModule () from /usr/lib/libpython2.4.so.1.0
#3  0x00002aaac0433673 in PyImport_ReloadModule () from /usr/lib/libpython2.4.so.1.0
#4  0x00002aaac0433b47 in PyImport_ReloadModule () from /usr/lib/libpython2.4.so.1.0
#5  0x00002aaac0433d20 in PyImport_ImportModuleEx () from /usr/lib/libpython2.4.so.1.0
#6  0x00002aaac04167b3 in _PyBuiltin_Init () from /usr/lib/libpython2.4.so.1.0
#7  0x00002aaac03c4350 in PyObject_Call () from /usr/lib/libpython2.4.so.1.0
#8  0x00002aaac041969c in PyEval_CallObjectWithKeywords () from /usr/lib/libpython2.4.so.1.0
#9  0x00002aaac041b318 in PyEval_EvalFrame () from /usr/lib/libpython2.4.so.1.0
#10 0x00002aaac041f62c in PyEval_EvalCodeEx () from /usr/lib/libpython2.4.so.1.0
#11 0x00002aaac041f752 in PyEval_EvalCode () from /usr/lib/libpython2.4.so.1.0
#12 0x00002aaac0432189 in PyImport_ExecCodeModuleEx () from /usr/lib/libpython2.4.so.1.0
#13 0x00002aaac0432631 in PyImport_ImportFrozenModule () from /usr/lib/libpython2.4.so.1.0
#14 0x00002aaac043446d in PyImport_ImportModule () from /usr/lib/libpython2.4.so.1.0
#15 0x00002aaac0433673 in PyImport_ReloadModule () from /usr/lib/libpython2.4.so.1.0
#16 0x00002aaac0433b04 in PyImport_ReloadModule () from /usr/lib/libpython2.4.so.1.0
#17 0x00002aaac0433d20 in PyImport_ImportModuleEx () from /usr/lib/libpython2.4.so.1.0
#18 0x00002aaac04167b3 in _PyBuiltin_Init () from /usr/lib/libpython2.4.so.1.0
#19 0x00002aaac03c4350 in PyObject_Call () from /usr/lib/libpython2.4.so.1.0
#20 0x00002aaac041969c in PyEval_CallObjectWithKeywords () from /usr/lib/libpython2.4.so.1.0
#21 0x00002aaac041b318 in PyEval_EvalFrame () from /usr/lib/libpython2.4.so.1.0
#22 0x00002aaac041f62c in PyEval_EvalCodeEx () from /usr/lib/libpython2.4.so.1.0
#23 0x00002aaac041f752 in PyEval_EvalCode () from /usr/lib/libpython2.4.so.1.0
#24 0x00002aaac0439e29 in Py_CompileString () from /usr/lib/libpython2.4.so.1.0
#25 0x00002aaac043b278 in PyRun_SimpleFileExFlags () from /usr/lib/libpython2.4.so.1.0
#26 0x00002aaac04414c8 in Py_Main () from /usr/lib/libpython2.4.so.1.0
#27 0x00002aaac0a49394 in __libc_start_main () from /lib/libc.so.6
#28 0x0000000000400689 in _start ()


Hans-Peter Jansen wrote:
Am Donnerstag, 25. Januar 2007 10:22 schrieb Andreas Pakulat:
  
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
    

better use:
gdb --args python eric3

  
And when the app crashed produce a backtrace by issuing "bt".

    

Pete
_______________________________________________
Eric mailing list
Eric@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/eric
  

-- 
The poopsmith's job is obvious.
--------------
_______________________________________________
Eric mailing list
Eric@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/eric

Reply via email to