From: Nathaniel Smith <address@hidden>
To: address@hidden
Subject: Re: [Monotone-devel] monotone with argp
Date: Fri, 28 Jan 2005 10:39:36 -0800
On Sat, Jan 29, 2005 at 01:09:27AM +1000, Badai Aqrandista wrote:
> i've installed libc6-dbg debian package, which is a libc compiled with
> debugging symbols and i found that the error (likely) is in libc (or
maybe
> the way i use it, but i've made a small code using argp and it still
> segfaults)... i've ask the libc mailing list about that and still
waiting
> for reply...
Hate to break it to you -- we've all been here, it turns out that what
you think is a bug in libc/the kernel/etc. is _almost always_ actually
a bug in your application. Even when you're sure that _this_ time it
really is a bug in libc/the kernel/etc., it still _almost always_
turns out not to be. Maybe it really is a bug in libc, but chances
are low...
Usually what's really happening is that you called something wrong, it
worked on the assumption that you called it right, and eventually it
crashed when it ran into your bad data...
-- Nathaniel