Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2026-11-08
20:55 • Ticket [0f466a918b] MS-Win, makefile.vc test: stderr32 output means crash st... artifact: b3618fac08 user: dkf
2026-10-14
07:57 • Ticket [0f466a918b]: 3 changes artifact: 1d6a524605 user: serhiy.storchaka
2026-05-12
09:09 • Ticket [0f466a918b]: 3 changes artifact: 9b6057b9ab user: oehhar
08:34 • New ticket [0f466a918b]. artifact: 82ebdd24e4 user: oehhar

MS-Win, makefile.vc test: stderr32 output means crash

Open0f466a918b86e2b57f155b70206dfd73d918fc8aCreated 205 days agoUpdated 24 days ago
Descriptionwiki2026-05-12 08:34:03
System:
  • MS-Win 11 64 bit with VS2022 64 bit
  • makefile.vc build system
  • debug build "OPTS=symbols"

When a test in a single test file does a segfault or has some other issues, the message "stderr32" is print out. The test is aborted.

It would be great, if:

  • There would be a more visible message in the log-file, like "*** TEST Aborted due to critical test error***"
  • It would be great, if the last executed test or more information would be available and printed.

It is also critical, that issues do not show-up, if no debug build. I am not sure, if Windows does ignore the issue, if not a debug build or if it is not reported. An example is a NULL windows pointer passed to Win API which segfaults only in debug build.

Background is that Kevin and Mark recently did not see those small lines in the log file. This may be done better.

Just an idea, Harald

oehhar Ticket [0f466a918b]: 3 changes [History diff]2026-05-12 09:09:29
serhiy.storchakawiki2026-10-14 07:57:04

"stderr32" is not a message about a crash: it is what the test helper cat32.exe (win/cat.c) always writes to its standard error, for the pipe tests in winPipe.test. These tests capture it; running winPipe.test alone does not print it.

When a test file crashes, runAllTests prints "Test file error:" with the standard error of the test process (the panic message, or "child killed: segmentation violation" on Unix), and lists the file under "Test files exiting with errors" at the end. But it is easy to miss, it does not tell which test was running, and the tests that passed before the crash are not counted. This could be improved in tcltest.

dkf Ticket [0f466a918b]: 3 changes [History diff]2026-11-08 20:55:18
Log in (anonymous is fine) to add a comment.