test_descr.py crashes under the debug build now. I've got too many things piled on my stack to look into it right now, so it would be good if someone could try to feel debug pain on Linux too. The top of the call stack is _free_dbg_lk(void * 0x009e5fd0, int 1) line 1066 + 60 bytes _free_dbg(void * 0x009e5fd0, int 1) line 1001 + 13 bytes free(void * 0x009e5fd0) line 956 + 11 bytes _PyObject_GC_Del(_object * 0x009e5fdc) line 873 + 10 bytes long_dealloc(_object * 0x009e5fdc) line 1230 + 16 bytes subtype_dealloc(_object * 0x009e5fdc) line 301 + 7 bytes _Py_Dealloc(_object * 0x009e5fdc) line 1738 + 7 bytes eval_frame(_frame * 0x00803d7c) line 845 + 59 bytes PyEval_EvalCodeEx(...) at this point, so first guess is that it has to do with adding new-style instances to GC. The MS debug library free() is complaining because it detects damage (corruption) in the pad bytes debug malloc() writes *between* the blocks it hands out. So it's unlikely that it points to the direct cause; it's just detecting that user code, somewhere, sometime, wrote over memory it had no business writing to.
Tim> test_descr.py crashes under the debug build now. I've got too many Tim> things piled on my stack to look into it right now, so it would be Tim> good if someone could try to feel debug pain on Linux too. Works for me. (Mandrake 8.0, GCC 3.0.1) test_fcntl failed during the first pass of "make test", but succeeded with the -O test. When I ran it manually, it also succeeded. When I ran make quicktest it crashed in the non -O run as well. Don't know if it's related or not. I haven't seen this before. test test_fcntl crashed -- exceptions.IOError: [Errno 22] Invalid argument Skip
participants (2)
-
Skip Montanaro -
Tim Peters