[Python-Dev] Messy gc death (Was: Core dump in garbage collection: PyGC_Insert???)
Mark Favas
m.favas@per.dem.csiro.au
Tue, 11 Jul 2000 08:07:09 +0800
Throwing a -g flag at the compilation and poking at the resultant core,
I get two different traces, depending on where it crashed during "make
test". The first is the the same trace as Tim, viz:
Core file created by program "python"
thread 0x11 signal Segmentation fault at >*[__nxm_thread_kill,
0x3ff805c7ca8] ret r31, (r26), 1
(dbx) where
> 0 __nxm_thread_kill(0x3ffc01b3c10, 0x1200f4ccc, 0x0, 0x11fffeed0, 0x3ff8059c724) [0x3ff805c7ca8]
1 pthread_kill(0x1200ea6b0, 0x1, 0x0, 0x11fffeee0, 0x3ffc01b36c0)
[0x3ff805ad6f4]
2 (unknown)() [0x3ff8059712c]
3 (unknown)() [0x3ff807e370c]
4 exc_unwind(0x11fffc568, 0xabadabad00beed00, 0x4f, 0x11fffc808,
0x3ff807e3acc) [0x3ff807e380c]
5 exc_raise_signal_exception(0x86, 0x0, 0x12015bdf0, 0x1, 0x1)
[0x3ff807e3ac8]
6 (unknown)() [0x3ff805af254]
7 visit_decref(op = 0x1405f0d40, data = (nil)) ["./gcmodule.c":151,
0x12015bdec]
8 list_traverse(o = 0x1405e0818, visit = 0x12015bde0, arg = (nil))
["listobject.c":1339, 0x120151c10]
9 subtract_refs(containers = 0x140019b30) ["./gcmodule.c":165,
0x12015be54]
10 collect(young = 0x140019b30, old = 0x140019b48)
["./gcmodule.c":383, 0x12015c53c]
11 collect_generations() ["./gcmodule.c":481, 0x12015c84c]
12 _PyGC_Insert(op = 0x140430158) ["./gcmodule.c":500, 0x12015c8c0]
and the second is:
Core file created by program "python"
thread 0xb signal Segmentation fault at >*[__nxm_thread_kill,
0x3ff805c7ca8] ret r31, (r26), 1
(dbx) where
> 0 __nxm_thread_kill(0x3ffc01b3c10, 0x1200f4ccc, 0x0, 0x11fffeed0, 0x3ff8059c724) [0x3ff805c7ca8]
1 pthread_kill(0x1200ea6b0, 0x1, 0x0, 0x11fffeee0, 0x3ffc01b36c0)
[0x3ff805ad6f4]
2 (unknown)() [0x3ff8059712c]
3 (unknown)() [0x3ff807e370c]
4 exc_unwind(0x11fffbea8, 0xabadabad00beed00, 0x3ff80592b90,
0x11fffc148, 0x3ff807e3acc) [0x3ff807e380c]
5 exc_raise_signal_exception(0x86, 0x0, 0x12015bce0, 0x1, 0x1)
[0x3ff807e3ac8]
6 (unknown)() [0x3ff805af254]
7 gc_list_remove(node = 0x140472728) ["./gcmodule.c":86, 0x12015bcdc]
8 visit_reachable(op = 0x140472740, roots = 0x11fffcaa0)
["./gcmodule.c":194, 0x12015bf04]
9 list_traverse(o = 0x140447518, visit = 0x12015bed0, arg =
0x11fffcaa0) ["listobject.c":1339, 0x120151c10]
10 move_root_reachable(reachable = 0x11fffcaa0) ["./gcmodule.c":212,
0x12015bf6c]
11 collect(young = 0x140019b60, old = 0x140019b60)
["./gcmodule.c":390, 0x12015c558]
12 collect_generations() ["./gcmodule.c":466, 0x12015c76c]
13 _PyGC_Insert(op = 0x140449b98) ["./gcmodule.c":500, 0x12015c8c0]
--
Email - m.favas@per.dem.csiro.au Mark C Favas
Phone - +61 8 9333 6268, 0418 926 074 CSIRO Exploration & Mining
Fax - +61 8 9383 9891 Private Bag No 5, Wembley
WGS84 - 31.95 S, 115.80 E Western Australia 6913