[Issue 9134] failed assert leads to Segmentation fault when iterating file lines

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Mar 1 12:13:47 PST 2013


http://d.puremagic.com/issues/show_bug.cgi?id=9134



--- Comment #9 from Alexander Tankeev <atankeev at gmail.com> 2013-03-01 12:13:45 PST ---
It crashes only with Ubuntu Linux 12.10, dmd64. Under win32 it works fine.
Interesting that even such code crashes with dmd64 2.062/linux and -release
flag:
void main() { assert(false); }

> It can be reproduced in any version with -release flag since assertion on
constant CT zero expression results in halt instruction.
No. In win32 I have just an exception and in linux I have segmentation fault.
Should I explain why is it unacceptable behavior?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list