"Fredrik Lundh" <[EMAIL PROTECTED]> writes: > Lil wrote:' > >>I already double checked my C code. It runs perfectly fine in C without >> any errors. So in my python program, I added a pdb.set_trace() >> and step through the program and it did not dump. But when i took out >> the tracing, the core dump came back. "sigh" > > so triple-check it. > > if your code overwrites the malloc buffer, it's perfectly possible > that it appears to run fine when you run it standalone or under the > debugger, but that doesn't mean that your code is fine.
The appropriate aphorism is: "Testing can never reveal the absence of bugs." <mike -- Mike Meyer <[EMAIL PROTECTED]> http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. -- http://mail.python.org/mailman/listinfo/python-list