Changeset: bcf3cf6b9a45 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/bcf3cf6b9a45
Modified Files:
testing/Mtest.py.in
Branch: Dec2023
Log Message:
Try to get a thread dump on timeout.
diffs (12 lines):
diff --git a/testing/Mtest.py.in b/testing/Mtest.py.in
--- a/testing/Mtest.py.in
+++ b/testing/Mtest.py.in
@@ -2532,7 +2532,7 @@ def killProc(proc, outfile = None, cmd =
out = ''
else:
try:
- with process.Popen(['gdb', '-batch', '-ex', 'thread apply all bt
full', '-p', str(proc.pid)], stdout=process.PIPE,
+ with process.Popen(['gdb', '-p', str(proc.pid), '-batch', '-ex',
'thread apply all bt full', '-ex', 'call dump_threads()'], stdout=process.PIPE,
text=True) as p:
try:
# gdb sometimes hangs when trying to get the stack
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]