www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 18189] New: [asan] stack-overflow in optelem

https://issues.dlang.org/show_bug.cgi?id=18189

          Issue ID: 18189
           Summary: [asan] stack-overflow in optelem
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Keywords: ice
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: code dawg.eu

Created attachment 1673
  --> https://issues.dlang.org/attachment.cgi?id=1673&action=edit
ASan log

Occured while running compilable/test11559upgradeoptlink.d.

=================================================================
==12572==ERROR: AddressSanitizer: stack-overflow on address 0x7ffef7005ff8 (pc
0x000000c5bda3 bp 0x7ffef70060b0 sp 0x7ffef7005500 T0)
    #0 0xc5bda2 in optelem(elem*, unsigned int)
(/home/dawg/Code/D/DPL/dmd/generated/linux/release/64/dmd+0xc5bda2)
    #1 0xc5dcad in optelem(elem*, unsigned int)
(/home/dawg/Code/D/DPL/dmd/generated/linux/release/64/dmd+0xc5dcad)
    #2 0xc5dd8f in optelem(elem*, unsigned int)
(/home/dawg/Code/D/DPL/dmd/generated/linux/release/64/dmd+0xc5dd8f)
    #3 0xc5dd8f in optelem(elem*, unsigned int)
(/home/dawg/Code/D/DPL/dmd/generated/linux/release/64/dmd+0xc5dd8f)
    #4 0xc5c4e8 in optelem(elem*, unsigned int)
(/home/dawg/Code/D/DPL/dmd/generated/linux/release/64/dmd+0xc5c4e8)
    #5 0xc7cc28 in eloror(elem*, unsigned int)
(/home/dawg/Code/D/DPL/dmd/generated/linux/release/64/dmd+0xc7cc28)

...

    #250 0xc5c4e8 in optelem(elem*, unsigned int)
(/home/dawg/Code/D/DPL/dmd/generated/linux/release/64/dmd+0xc5c4e8)

SUMMARY: AddressSanitizer: stack-overflow
(/home/dawg/Code/D/DPL/dmd/generated/linux/release/64/dmd+0xc5bda2) in
optelem(elem*, unsigned int)
==12572==ABORTING


==============================

--
Jan 03