Changeset: 6d201f28e307 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/6d201f28e307
Modified Files:
testing/Mtest.py.in
Branch: Jul2021
Log Message:
Produce full stack trace on timeout.
diffs (18 lines):
diff --git a/testing/Mtest.py.in b/testing/Mtest.py.in
--- a/testing/Mtest.py.in
+++ b/testing/Mtest.py.in
@@ -2565,11 +2565,11 @@ def killProc(proc, outfile = None, cmd =
out = ''
else:
try:
- with process.Popen(['pstack', str(proc.pid)], stdout=process.PIPE,
+ with process.Popen(['gdb', '-batch', '-ex', 'thread apply all bt
full', '-p', str(proc.pid)], stdout=process.PIPE,
text=True) as p:
try:
- # pstack (gdb) sometimes hangs when trying to get the
- # stack trace: kill it mercilessly if it does
+ # gdb sometimes hangs when trying to get the stack
+ # trace: kill it mercilessly if it does
t = Timer(60, reallyKill, args = [p])
t.start()
except AttributeError:
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list