|
2022-09-02
| ||
| 13:57 | • Closed ticket [cc437b1e39]: Multiple test suite segfaults on trunk on CentOS 7.9... artifact: 79d97e0f8f user: jan.nijtmans | |
| 13:56 | • Ticket [cc437b1e39]: 3 changes artifact: ed79ca5154 user: jan.nijtmans | |
|
2022-07-21
| ||
| 14:43 | • Ticket [cc437b1e39]: 3 changes artifact: cade6061f2 user: jan.nijtmans | |
| 14:40 | • Ticket [cc437b1e39]: 3 changes artifact: 9e3d834d8d user: dgp | |
| 14:27 | • Ticket [cc437b1e39]: 3 changes artifact: bac9afa361 user: dgp | |
| 14:20 | Backout checkin [2d9219a55d] to correct segfaults otherwise seen in the test suite on a CentOS 7 sys... closed check-in: 1388b849c3 user: dgp tags: dgp-bytearray-macro | |
| 14:19 | • New ticket [cc437b1e39] Multiple test suite segfaults on trunk on CentOS 7.9.200... artifact: f95b0c47f9 user: dgp | |
Multiple test suite segfaults on trunk on CentOS 7.9.2009 and gcc 4.8.5
Closed / Works For Mecc437b1e396546a91cdc54737b617fef621eba26Created 4 years agoUpdated 4 years ago
Descriptionplain2022-07-21 14:19:05
Building and testing the current trunk on CentOS 7.9.2009 with gcc 4.8.5 leads to multiple segfaults in the test suite. This has first showed up right after OS upgrades. Unclear what causal change in the OS is at work. Bisecting locates the checkin of Tcl development that also contributes. It is checkin [2d9219a55d] that converts many ByteArray-related interface routines from stub-table entries to macros. When that change is backed out, things work well again.
Referenced by1
1388b849c3Backout checkin [2d9219a55d] to correct segfaults otherwise seen in the test suite on a CentOS 7 system. See ticket [cc437b1e39]. check-in2022-07-21 14:20:48
dgpplain2022-07-21 14:27:44
A back trace below, which gives me a clue...
I have installed an older build of Thread 3.0a1, and that's where things crash. I need to remove that installed package first to confirm that
ends the crashes...
async.test
Program received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
Missing separate debuginfos, use: debuginfo-install glibc-2.17-326.el7_9.x86_64 zlib-1.2.7-20.el7_9.x86_64
(gdb) bt
#0 0x0000000000000000 in ?? ()
#1 0x00007ffff0982b2c in Sv_Init ()
from /home/dgp/x86_64/linuxoldld/lib/thread3.0a1/libthread3.0a1.so
#2 0x00007ffff097fcf3 in Thread_Init ()
from /home/dgp/x86_64/linuxoldld/lib/thread3.0a1/libthread3.0a1.so
#3 0x0000000000565cd2 in Tcl_LoadObjCmd (dummy127=0x0, interp=0x892c60,
objc=2, objv=0x897730) at /home/dgp/fossil/tcl/generic/tclLoad.c:474
#4 0x0000000000431e90 in Dispatch (data=0xec6298, interp=0x892c60,
dummy4439=0) at /home/dgp/fossil/tcl/generic/tclBasic.c:4477
#5 0x0000000000431ef7 in TclNRRunCallbacks (interp=0x892c60, result=0,
rootPtr=0x0) at /home/dgp/fossil/tcl/generic/tclBasic.c:4493
#6 0x0000000000431673 in Tcl_EvalObjv (interp=0x892c60, objc=3,
objv=0x896ff0, flags=2097168)
at /home/dgp/fossil/tcl/generic/tclBasic.c:4236
#7 0x0000000000433f21 in TclEvalEx (interp=0x892c60,
script=0x8f03c0 "# all.tcl --\n#\n# This file contains a top-level script to run all of the Tcl\n# tests. Execute it by invoking \"source all.tcl\" when running tcltest\n# in this directory.\n#\n# Copyright © 1998-1999 Scri"...,
numBytes=1012, flags=0, line=26, clNextOuter=0x0,
outerScript=0x8f03c0 "# all.tcl --\n#\n# This file contains a top-level script to run all of the Tcl\n# tests. Execute it by invoking \"source all.tcl\" when running tcltest\n# in this directory.\n#\n# Copyright © 1998-1999 Scri"...)
at /home/dgp/fossil/tcl/generic/tclBasic.c:5319
#8 0x000000000055cc23 in Tcl_FSEvalFileEx (interp=0x892c60, pathPtr=0x8df000,
encodingName=0x6284ec "utf-8")
at /home/dgp/fossil/tcl/generic/tclIOUtil.c:1785
#9 0x000000000056791b in Tcl_MainEx (argc=18446744073709551615,
argv=0x7fffffffd5f8, appInitProc=0x40ee9c <Tcl_AppInit>, interp=0x892c60)
at /home/dgp/fossil/tcl/generic/tclMain.c:407
#10 0x000000000040ee9c in main (argc=4, argv=0x7fffffffd5f8)
at /home/dgp/fossil/tcl/unix/tclAppInit.c:94
dgpplain2022-07-21 14:40:50
Yes. Removing the install of Thread 3.0a1 ended the crashes. Now it's less a mystery of why it was crashing, and more a mystery of why it wasn't crashing until the OS update. We could consider revising the [testConstraint thread] lines in the test suite to exclude acceptability of version 3.0a1 to save anyone else who's deployed early alphas from running into the same problem.
jan.nijtmanswiki2022-07-21 14:43:41
Yes, please recompile your Thread 3.0a1 package. Some commits in Tcl trunk are binary-incompatible (but source-compatible). The last one causing binary incompatibility was TIP #616, but there might follow more ....
jan.nijtmans Ticket [cc437b1e39]: 3 changes
[History diff]2022-09-02 13:56:46
jan.nijtmans Closed ticket [cc437b1e39].
[History diff]2022-09-02 13:57:03
Log in (anonymous is fine) to add a comment.