[PATCH] [pls apply!] Bug #54281 (crash): Konsole crashes on output of certain characters
Karl Vogel
karl.vogel at seagha.com
Thu Feb 20 09:37:40 GMT 2003
On 19 Feb 2003, you wrote in kde.kde-core-devel:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Wednesday 19 February 2003 16:26, Karl Vogel wrote:
>> Are you sure? Try printf("%s", null_ptr)... I'm sure it won't bomb out.
>
> Not on Linux/glibc. But it crashes on Solaris.
Question remains ofcourse.. what is preferable?! If I loose a day's worth
of editing because of an error condition that could have been 'handled',
then I'd say I prefer that above a core dump (ofcourse there is a chance
that this is part of a bigger problem, so chances are that the app will
bomb out anyway).
But then... by not dumping core, the possibility exists that my day's worth
of editing becomes corrupted without me knowing about it, which I'd hate to
happen too!
So there really is no 'good' solution (except not writing bugs in the first
place).
BTW: just for completeness, I tried the printf on Tru64 and it also seems
to catch the null and just prints '(null)'.
More information about the kde-core-devel
mailing list