Bug 16276 – terminated by signal SIGSEGV (Address boundary error)

Status
RESOLVED
Resolution
DUPLICATE
Severity
major
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Mac OS X
Creation time
2016-07-13T20:15:00Z
Last change time
2016-07-13T20:30:07Z
Assigned to
nobody
Creator
mail

Comments

Comment #0 by mail — 2016-07-13T20:15:45Z
I was trying to run http://code.dlang.org/packages/d-option but got a "terminated by signal SIGSEGV (Address boundary error)" with dmd v2.071.1. I suppose it is a regression, but that is assuming the library compiled during the last commit (~1 year ago). I ran dustmite to get min. test case: struct Option(T) { auto opDispatch(Args...)() { alias R = typeof(MethodCall); None!R; } } Option!T Some(T)(T ) ; T Some()() { } T None(T)() { } unittest { Some(1).flatten ; } I know the reduced code doesn't make any sense anymore. But this is what triggers the SIGSEGV
Comment #1 by ag0aep6g — 2016-07-13T20:30:07Z
Duplicate of issue 16188 which is already fixed in git head. *** This issue has been marked as a duplicate of issue 16188 ***