[phobos] Calling abort() on unhandled exception
Leandro Lucarella
luca at llucax.com.ar
Fri Jul 30 06:45:13 PDT 2010
Steve Schveighoffer, el 30 de julio a las 03:44 me escribiste:
> Wouldn't this be useless? That is, do you care about a core dump when the stack
> is unwound (and the source of the problem is gone from the stack)?
>
> If this is all you want, why not write your main that way?
>
> BTW, my opinion is that an uncaught exception should not dump core. It should
> print a stack trace and exit with non-zero exit code. I understand the
> reasoning behind it, but dumping core is not a normal mode of operation for most
> users. They don't know what to do with a core file, and silently dumping core
> on a system where one is not expecting it can fill up a filesystem.
Come on! Read the whole mail. abort() != dumping a core.
--
Leandro Lucarella (AKA luca) http://llucax.com.ar/
----------------------------------------------------------------------
GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05)
----------------------------------------------------------------------
Es mucho mas probable que el salchichón sea primavera a que la primavera
sea salchichón.
-- Peperino Pómoro
More information about the phobos
mailing list