Gentoo Archives: gentoo-user

From: capsel <capsel@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] BUG in glibc????
Date: Sun, 30 Oct 2005 22:00:07
Message-Id: d03887390510301354v7a44958dm@mail.gmail.com
1 Hi all,
2
3 I am writing some program... simple program and I've got some code:
4
5 j=strcmp( "log", *(lines+i) );
6 printf( "ble\n" );
7 if( strcmp( "log", *(lines+i) ) == 0 )
8 {
9 printf( "ble2\n" );
10
11 it is in for loop. "ble" and "ble2" are some texts for debuging purposes :)
12 So... when I run my program I can see three times "ble" and only two
13 times "ble2"...
14 after last "ble" there is:
15
16 *** glibc detected *** free(): invalid next size (normal): 0x0804c208 ***
17 Przerwane
18
19 is it a bug in glibc or in my code?
20
21 I added file with that loop.
22 "Przerwane" means interrupted/broken/stopped, it is polish locale (LC=pl_PL)

Attachments

File name MIME type
config-parse.c text/x-csrc

Replies

Subject Author
Re: [gentoo-user] BUG in glibc???? [WAY OT] Richard Fish <bigfish@××××××××××.org>
Re: [gentoo-user] BUG in glibc???? Billy Holmes <billy@××××××.net>
Re: [gentoo-user] BUG in glibc???? John Myers <electronerd@×××××××××××××.net>