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) |