[Issue 3208] setAssertHandler leads to segfault

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jul 25 07:56:02 PDT 2009


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


Jarrett Billingsley <jarrett.billingsley at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jarrett.billingsley at gmail.c
                   |                            |om




--- Comment #2 from Jarrett Billingsley <jarrett.billingsley at gmail.com>  2009-07-25 07:55:57 PDT ---
(In reply to comment #1)
> My guess is that the compiler generates code, that doesn't expect
> assert(false); to actually return normally.

You're probably right.  In my investigation I found the only way to *not* have
it crash was to throw an exception from the assertion handler.

-- 
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