Re: glib segfault
- From: Havoc Pennington <hp Mcs Net>
- To: gtk-devel-list redhat com
- Subject: Re: glib segfault
- Date: Mon, 25 Jan 1999 21:53:36 -0600 (CST)
On Tue, 26 Jan 1999, Tim Janik wrote:
>
> hmmmmmmmm, *big* HMMMMM ;9
>
;-) Agreed
> i'd like to know whether the system libraries are screwed for a buffer size of
> 1. could you try a program as simple as
>
> #include <glib.h>
> int main ()
> {
> printf ("%s\n", g_get_hmoe_dir ());
> return 0;
> }
>
> and tell me the *exact* glibc version you are using?
> eventually the getpwuid version you are using is broken for
> odd or exact buffer sizes of 1.
>
That little program is fine when compiled with:
$ gcc --version
2.7.2.3
And dies when compiled with:
$ c++ --version
egcs-2.90.29 980515 (egcs-1.0.3 release)
libc6 .deb is 2.0.7u-7.1 (above compilers on Debian).
Red Hat box has glibc-2.0.7-13 rpm version, egcs 1.0.2, gcc 2.7.2.3.
Ideas? Compiler bug?
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]