Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix symbolic C stack backtrace in WIN64 builds.
In a CLang-compiled debug VM we now see Stack backtrace: [00007FF7B97495AC] indirect + 0x6c in VirtendConsole.exe [00007FF7B97494B8] crashInThisOrAnotherThread + 0x48 in VirtendConsole.exe [00007FF7B966E8D6] primitiveCrashVM + 0xe6 in VirtendConsole.exe [00007FF7B965A83F] primitiveExternalCall + 0x2bf in VirtendConsole.exe [00007FF7B9653B1F] interpretMethodFromMachineCode + 0x2ff in VirtendConsole.exe [00007FF7B96593C2] ceSendsupertonumArgs + 0xc72 in VirtendConsole.exe [000000000003B863] ??? + 0x0 in (null) Alas in a Clang-compiled -O2 VM we see only Stack backtrace: [00007FF7EAEF7593] indirect + 0x43 in VirtendConsole.exe [00007FF7F3446A58] ??? + 0x0 in (null) So still some investigation of Clang code generation is required, but the basic facility works if the stack can be walked.
- Loading branch information
1 parent
6afe5d0
commit 65d9d81
Showing
2 changed files
with
210 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
65d9d81
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi Eliot. Please update your Cygwin ASAP! It's hardly believeable that the append-mode in
fopen
is broken in a fairly recent Cygwin installation.This works like a charm and as expected:
PLEASE! Update your Cygwin installation. :-)
65d9d81
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.