[9504] in The GTK GIMP ToolKit mailing list archive

home help back first fref pref prev next nref lref last post

[gtk-list] Re: gtk_init wierdness

daemon@ATHENA.MIT.EDU (Joe Pfeiffer)
Thu Oct 22 10:25:20 1998

Date: Thu, 22 Oct 1998 08:23:40 -0600
From: Joe Pfeiffer <pfeiffer@cs.nmsu.edu>
To: gtk-list@redhat.com
In-reply-to: <Pine.GSO.4.05.9810220951120.5350-100000@xi>
	(pfeil@nu.cs.fsu.edu)
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com


   Yikes.  That IS scary.  I thought only Solaris was brain-dead enough to
   let things like that slip through.  Glad to see libc6 (glibc2) crashes on
   that error.

It doesn't exactly crash on that error, it just lets nature take its
course on the bad pointer.  This can include getting the stack so
badly corrupted that gdb is useless in finding the problem, and then
crashing.

Having spent several days a few weeks ago tracking down a crash that
turned out to be closing a file twice, I'd much prefer it would fail
and return EBADF.
-- 
Joseph J. Pfeiffer, Jr., Ph.D.       Phone -- (505) 646-1605
Department of Computer Science       FAX   -- (505) 646-1002
New Mexico State University          http://www.cs.nmsu.edu/~pfeiffer
``Welcome to the Hellmouth Petting Zoo'' -- Buffy

-- 
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post