LQ Newbie
Registered: Jul 2003
Posts: 22
Original Poster
Rep:
|
here's a stack trace from the pyqt crash (this also happens with the latest release):
elbow:~$ gdb python
GNU gdb Red Hat Linux (5.3post-0.20021129.18rh)
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...
(gdb) run
Starting program: /home/blais/plat/i686-pc-linux/bin/python
[New Thread 1074941536 (LWP 6574)]
Python 2.3c1 (#1, Jul 23 2003, 03:23:02)
[GCC 3.2.2 20030222 (Red Hat Linux 3.2.2-5)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import qt
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1074941536 (LWP 6574)]
0x420472b8 in vfprintf () from /lib/tls/libc.so.6
(gdb) where
#0 0x420472b8 in vfprintf () from /lib/tls/libc.so.6
#1 0x42069e94 in vsnprintf () from /lib/tls/libc.so.6
#2 0x080c9278 in PyOS_vsnprintf (str=0x0, size=1108544020,
format=0x80fabc0 "%.150s%s takes %s %d argument%s (%d given)",
va=0xbfffcc5c "\020o\017\b©\006\017\b£\200\017\b\003") at Python/mysnprintf.c:65
#3 0x080c925c in PyOS_snprintf (str=0xbfffcd20 "", size=256,
format=0x80fabc0 "%.150s%s takes %s %d argument%s (%d given)") at Python/mysnprintf.c:48
#4 0x080bcaf8 in vgetargs1 (args=0x40176234, format=0x80f6f0a "s|OOO:__import__", p_va=0xbfffce54, compat=0)
at Python/getargs.c:228
#5 0x080bc78d in PyArg_ParseTuple (args=0x40176234, format=0x80f6f0a "s|OOO:__import__") at Python/getargs.c:51
#6 0x0809a524 in builtin___import__ (self=0x0, args=0x40176234) at Python/bltinmodule.c:42
#7 0x080ece94 in PyCFunction_Call (func=0x4012fbec, arg=0x40176234, kw=0xbfffc678)
at Objects/methodobject.c:108
#8 0x0805b0f4 in PyObject_Call (func=0x80f6f10, arg=0x40176234, kw=0x0) at Objects/abstract.c:1755
#9 0x080a4577 in PyEval_CallObjectWithKeywords (func=0x4012fbec, arg=0x40176234, kw=0x0) at Python/ceval.c:3346
#10 0x080a2a67 in eval_frame (f=0x817b89c) at Python/ceval.c:1996
#11 0x080a37ea in PyEval_EvalCodeEx (co=0x40199e20, globals=0x40176234, locals=0x4016af0c, args=0x0,
argcount=0, kws=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0) at Python/ceval.c:2663
#12 0x080a5d76 in PyEval_EvalCode (co=0x40199e20, globals=0x4016af0c, locals=0x4016af0c) at Python/ceval.c:537
#13 0x080bfc92 in PyImport_ExecCodeModuleEx (name=0xbfffd9b0 "qt", co=0x40199e20,
pathname=0xbfffd090 "/usr/local/lib/python2.3/site-packages/qt.pyc") at Python/import.c:621
#14 0x080c2707 in load_source_module (name=0xbfffd9b0 "qt",
pathname=0xbfffd090 "/usr/local/lib/python2.3/site-packages/qt.pyc", fp=0x8152270) at Python/import.c:894
#15 0x080c074c in load_module (name=0xbfffd9b0 "qt", fp=0x8152270,
buf=0xbfffd520 "/usr/local/lib/python2.3/site-packages/qt.py", type=1, loader=0xbfffc678)
at Python/import.c:1699
#16 0x080c1535 in import_submodule (mod=0x8106120, subname=0xbfffd9b0 "qt", fullname=0xbfffd9b0 "qt")
at Python/import.c:2290
#17 0x080c10e4 in load_next (mod=0x8106120, altmod=0x8106120, p_name=0xbfffd9b0, buf=0xbfffd9b0 "qt",
p_buflen=0xbfffd9ac) at Python/import.c:2111
#18 0x080c2df3 in import_module_ex (name=0x0, globals=0x4013e79c, locals=0x4013e79c, fromlist=0x8106120)
at Python/import.c:1957
#19 0x080c1ffd in PyImport_ImportModuleEx (name=0x401756b4 "qt", globals=0x4013e79c, locals=0x4013e79c,
fromlist=0x8106120) at Python/import.c:1998
#20 0x0809a545 in builtin___import__ (self=0x0, args=0x40147784) at Python/bltinmodule.c:45
#21 0x080ece94 in PyCFunction_Call (func=0x4012fbec, arg=0x40147784, kw=0xbfffc678)
at Objects/methodobject.c:108
#22 0x0805b0f4 in PyObject_Call (func=0x80f6f10, arg=0x40147784, kw=0x0) at Objects/abstract.c:1755
#23 0x080a4577 in PyEval_CallObjectWithKeywords (func=0x4012fbec, arg=0x40147784, kw=0x0) at Python/ceval.c:3346
#24 0x080a2a67 in eval_frame (f=0x815309c) at Python/ceval.c:1996
#25 0x080a37ea in PyEval_EvalCodeEx (co=0x4016c4a0, globals=0x40147784, locals=0x4013e79c, args=0x0,
argcount=0, kws=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0) at Python/ceval.c:2663
#26 0x080a5d76 in PyEval_EvalCode (co=0x4016c4a0, globals=0x4013e79c, locals=0x4013e79c) at Python/ceval.c:537
#27 0x080cb159 in run_node (n=0x40127368, filename=0x80ef72a "<stdin>", globals=0x4013e79c, locals=0x4013e79c,
flags=0xbfffe108) at Python/pythonrun.c:1205
#28 0x080ca7a6 in PyRun_InteractiveOneFlags (fp=0x4212ecc0, filename=0x80ef72a "<stdin>", flags=0xbfffe108)
at Python/pythonrun.c:697
#29 0x080ca5a3 in PyRun_InteractiveLoopFlags (fp=0x4212ecc0, filename=0x80ef72a "<stdin>", flags=0xbfffe108)
at Python/pythonrun.c:630
#30 0x080cb90e in PyRun_AnyFileExFlags (fp=0x4212ecc0, filename=0x80ef72a "<stdin>", closeit=0,
flags=0xbfffe108) at Python/pythonrun.c:593
#31 0x08054d0a in Py_Main (argc=0, argv=0xbfffe184) at Modules/main.c:415
#32 0x08054883 in main (argc=1, argv=0xbfffe184) at Modules/python.c:23
#33 0x42015504 in __libc_start_main () from /lib/tls/libc.so.6
(gdb)
|