You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cstrtlmp.asm has only 7 lines of code, but assembling does not work
In addition, binl/wasmps and binl64/wasmps produce a different backtrace:
The 32 bit wasmps has a Segmentation fault in ExpandNestedMacros_
gdb --args <full_path_here>/binl/wasmps cstrtlmp.asm
...
Starting program: <full_path_here>/binl/wasmps cstrtlmp.asm
Reading symbols from <full_path_here>/binl/wasmps...
(No debugging symbols found in <full_path_here>/binl/wasmps)
(gdb) run
Starting program: <full_path_here>/binl/wasmps cstrtlmp.asm
Downloading separate debug info for system-supplied DSO at 0xf7ffc000
Open Watcom MIPS Assembler Version 2.0 beta Mar 26 2024 08:22:51 (32-bit)
Copyright (c) 2002-2024 The Open Watcom Contributors. All Rights Reserved.
Portions Copyright (c) 1984-2002 Sybase, Inc. All Rights Reserved.
Source code is available under the Sybase Open Watcom Public License.
See https://github.com/open-watcom/open-watcom-v2#readme for details.
Program received signal SIGSEGV, Segmentation fault.
0x0805494e in ExpandNestedMacros_ ()
(gdb) bt
#0 0x0805494e in ExpandNestedMacros_ ()
#1 0x00002000 in ?? ()
#2 0x00000004 in ?? ()
#3 0x000002cc in ?? ()
#4 0x08055098 in DoMacroExpansion_ ()
#5 0x0805335b in PP_Char_ ()
#6 0x000001cc in ?? ()
#7 0x0804e2b5 in ppRead_ ()
#8 0x0804e61c in fill_ ()
#9 0x08050363 in yylex_ ()
#10 0x0804da04 in yyparse_ ()
#11 0x00000000 in ?? ()
(gdb)
When i try binl/wd and binl/wasmps from my current build tree,
wd stops in ppmacro.c (function: ExpandNestedMacros) at:
The 64 bit wasmps crashes with SIGABRT after a double free or corruption.
gdb --args <full_path_here>/binl64/wasmps cstrtlmp.asm
...
Reading symbols from <full_path_here>/binl64/wasmps...
Reading symbols from <full_path_here>/binl64/wasmps.sym...
(gdb) run
Starting program: <full_path_here>/binl64/wasmps -bt=linux cstrtlmp.asm
Downloading separate debug info for system-supplied DSO at 0x7ffff7ffd000
Open Watcom MIPS Assembler Version 2.0 beta Mar 26 2024 08:22:52 (64-bit)
Copyright (c) 2002-2024 The Open Watcom Contributors. All Rights Reserved.
Portions Copyright (c) 1984-2002 Sybase, Inc. All Rights Reserved.
Source code is available under the Sybase Open Watcom Public License.
See https://github.com/open-watcom/open-watcom-v2#readme for details.
double free or corruption (out)
Program received signal SIGABRT, Aborted.
0x000000000042206b in raise ()
(gdb) bt
#0 0x000000000042206b in raise ()
#1 0x000000000040131f in abort ()
#2 0x000000000042d8f6 in __libc_message ()
#3 0x0000000000433e8c in malloc_printerr ()
#4 0x0000000000435ad8 in _int_free ()
#5 0x000000000040ee0a in PP_Free (p=<optimised out>) at ../../../../bld/cpp/c/ppmem.c:52
#6 0x000000000040c60d in PP_Char () at ../../../../bld/cpp/c/preproc.c:1345
#7 0x00000000004072f3 in ppRead (numchar=8192,
buffer=0x524c40 "#line 1 \"cstrtlmp.asm\"", '\n' <wiederholt 36 Mal>, ".globl _cstart_\n\n.text", '\n' <wiederholt 25 Mal>, "_cstart_:\n\n\n lw $a0,($sp) \n li $v0,4", ' ' <wiederholt 11 Mal>, "\n "...) at scan_in.re:50
#8 fill () at scan_in.re:218
#9 0x00000000004075fe in yylex () at scan_in.re:263
#10 0x0000000000406a61 in yyparse () at asytab.c:456
#11 0x00000000004095aa in main (argc=2, argv=0x7fffffffd208) at ../../../../bld/as/c/main.c:99
(gdb)
with wine + winedbg using binnt/wasmps, a page fault on a memory read is visible:
cstrtlmp.asm has only 7 lines of code, but assembling does not work
In addition, binl/wasmps and binl64/wasmps produce a different backtrace:
The 32 bit wasmps has a
Segmentation fault
inExpandNestedMacros_
When i try binl/wd and binl/wasmps from my current build tree,
wd stops in ppmacro.c (function: ExpandNestedMacros) at:
See screenshoot: https://imgur.com/vO0BW5o.png
The 64 bit wasmps crashes with SIGABRT after a
double free or corruption
.with wine + winedbg using
binnt/wasmps
, a page fault on a memory read is visible:with wine + winedbg using
binnt64/wasmps
, wasmps hangs in an endless lopand consumes ~100% cpu time of a single core.
The text was updated successfully, but these errors were encountered: