Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c++ > #12405
| From | Nobody <nobody@nowhere.com> |
|---|---|
| Subject | Re: C++ standard library and exceptions |
| Date | 2011-12-12 12:59 +0000 |
| Message-Id | <pan.2011.12.12.12.59.39.257000@nowhere.com> |
| Newsgroups | comp.lang.c++ |
| References | (2 earlier) <4EE09A0D.2020602@gmail.com> <7532cea1-40db-406c-b396-fc3a63e5df0b@m10g2000vbc.googlegroups.com> <4EE31545.3060802@gmail.com> <4ee43401$0$1389$4fafbaef@reader2.news.tin.it> <20111212111524.16a909e9@corefixtop.gillibert.homelinux.net> |
| Organization | Zen Internet |
On Mon, 12 Dec 2011 11:15:24 +0100, André Gillibert wrote: > Well-defined programs cannot have any segfault... Any program having a > segfault is in inconsistent state. Important data may have been > damaged, and there is no guarantee of any sort of recovery. > > For the sake of security and data integrity, a good system detecting > such an error, should kill/abort/terminate the program immediately. That's a slight over-generalisation. There are situations where it's possible to handle a segfault. But such cases aren't the norm, and handling them is complex and requires non-portable code. They certainly shouldn't be converted to exceptions automatically.
Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
C++ standard library and exceptions ittium <ittium@gmail.com> - 2011-12-08 12:17 +0530
Re: C++ standard library and exceptions ittium <ittium@gmail.com> - 2011-12-08 12:22 +0530
Re: C++ standard library and exceptions Goran <goran.pusic@gmail.com> - 2011-12-08 01:02 -0800
Re: C++ standard library and exceptions ittium <ittium@gmail.com> - 2011-12-08 16:35 +0530
Re: C++ standard library and exceptions Goran <goran.pusic@gmail.com> - 2011-12-08 05:08 -0800
Re: C++ standard library and exceptions ittium <ittium@gmail.com> - 2011-12-10 13:46 +0530
Re: C++ standard library and exceptions "io_x" <a@b.c.invalid> - 2011-12-11 05:43 +0100
Re: C++ standard library and exceptions "io_x" <a@b.c.invalid> - 2011-12-12 03:21 +0100
Re: C++ standard library and exceptions André Gillibert <MetaEntropy.removeThis@gmail.com> - 2011-12-12 11:15 +0100
Re: C++ standard library and exceptions Nobody <nobody@nowhere.com> - 2011-12-12 12:59 +0000
Re: C++ standard library and exceptions Kaz Kylheku <kaz@kylheku.com> - 2011-12-12 17:28 +0000
Re: C++ standard library and exceptions Paavo Helde <myfirstname@osa.pri.ee> - 2011-12-12 12:42 -0600
Re: C++ standard library and exceptions Joshua Maurice <joshuamaurice@gmail.com> - 2011-12-12 14:18 -0800
Re: C++ standard library and exceptions Sektor van Skijlen <ethouris@gmail.com> - 2011-12-19 02:38 -0800
Re: C++ standard library and exceptions 88888 Dihedral <dihedral88888@googlemail.com> - 2011-12-19 03:52 -0800
Re: C++ standard library and exceptions "io_x" <a@b.c.invalid> - 2011-12-13 09:16 +0100
Re: C++ standard library and exceptions "io_x" <a@b.c.invalid> - 2011-12-13 09:17 +0100
Re: C++ standard library and exceptions "Wolfgang.Draxinger" <Wolfgang.Draxinger@physik.uni-muenchen.de> - 2011-12-15 12:14 +0100
Re: C++ standard library and exceptions Joshua Maurice <joshuamaurice@gmail.com> - 2011-12-15 15:50 -0800
Re: C++ standard library and exceptions hanukas <jukka@liimatta.org> - 2011-12-17 21:57 -0800
Re: C++ standard library and exceptions "io_x" <a@b.c.invalid> - 2011-12-19 04:02 +0100
Re: C++ standard library and exceptions Joshua Maurice <joshuamaurice@gmail.com> - 2011-12-19 01:32 -0800
Re: C++ standard library and exceptions Tobias Müller <troplin@bluewin.ch> - 2011-12-19 07:14 +0000
Re: C++ standard library and exceptions Joshua Maurice <joshuamaurice@gmail.com> - 2011-12-19 01:29 -0800
csiph-web