[PyKDE] ANNOUNCE: PyQt/PyKDE v0.11pre2
Pete Ware
ware at cis.ohio-state.edu
Wed Mar 22 18:57:27 GMT 2000
Here is part of the stack (with local variables values interspersed).
The value of size in addObject() is 0. Strangely, _vptr is NULL
which probably suggests the constructor isn't finished (or was never called).
--pete
(gdb) p *this
$3 = {
static hash_primes = 0xef547940,
primeIdx = 0,
size = 0,
neverUsed = 0,
hash_array = 0x0,
_vptr. = 0x0
}
Program received signal SIGFPE, Arithmetic exception.
0xef32842c in ()
(gdb) bt
#0 0xef32842c in ()
#1 0xef536a1c in sipObjectMap::addObject (this=0xef5479c0, key=0xeef197d4,
val=0x153ff0) at objmap.h:149
info local
hash = 0
inc = 0
first_free = 0
first_free_invalid = 4011947768
#2 0xef5352cc in sipCreateThis (sipSelf=0x153720, cppPtr=0xeef197d4,
pyType=0x0, initflags=2, nrvars=0, extraType=0xef217764) at siplib.cpp:1248
sipThis = (_sipThisType *) 0x153ff0
vars = (_object **) 0x0
#3 0xef1a29d8 in sipNew_QCursor ()
#4 0xef5343bc in sipCallCtor (sm=0xef202df0, args=0x1431a8) at siplib.cpp:534
#5 0xef0a67dc in callCtor ()
#6 0x4eb88 in call_builtin (func=0xd7770, arg=0x1431a8, kw=0x0)
at ceval.c:2359
#7 0x4ea54 in PyEval_CallObjectWithKeywords (func=0xd7770, arg=0x1431a8,
kw=0x0) at ceval.c:2324
#8 0x4d4ac in eval_code2 (co=0xdb6d0, globals=0x0, locals=0x45404,
args=0x1431a8, argcount=0, kws=0xd7770, kwcount=0, defs=0x0, defcount=0,
owner=0x1478d8) at ceval.c:1654
#9 0x4ef94 in call_function (func=0x147928, arg=0x153738, kw=0x0)
at ceval.c:2484
More information about the PyQt
mailing list