bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

make 3.81 crash: make: double free or corruption (!prev)


From: J Jay
Subject: make 3.81 crash: make: double free or corruption (!prev)
Date: Mon, 28 Jan 2008 17:44:57 +0100

$ uname -a
Linux localhost.localdomain 2.6.23.14-107.fc8 #1 SMP Mon Jan 14 21:37:30 EST 2008 i686 i686 i386 GNU/Linux
$ make --version
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for i386-redhat-linux-gnu
$ ls -la
total 12
drwxrwxr-x 2 myname myname 4096 2008-01-28 00:11 .
drwxrwxr-x 5 myname myname 4096 2008-01-28 17:17 ..
-rw-rw-r-- 1 myname myname   87 2008-01-28 00:21 Makefile
$ make
*** glibc detected *** make: double free or corruption (!prev): 0x095e55a0 ***
======= Backtrace: =========
/lib/libc.so.6[0xc53ac1]
/lib/libc.so.6(cfree+0x90)[0xc570f0]
make[0x80594af]
make[0x8059529]
make[0x805956c]
make[0x804e8b4]
make[0x804eb37]
make[0x8058408]
/lib/libc.so.6(__libc_start_main+0xe0)[0xc00390]
make[0x8049951]
======= Memory map: ========
00110000-00111000 r-xp 00110000 00:00 0          [vdso]
00bcb000-00be6000 r-xp 00000000 fd:00 3440780    /lib/ld-2.7.so
00be6000-00be7000 r-xp 0001a000 fd:00 3440780    /lib/ld-2.7.so
00be7000-00be8000 rwxp 0001b000 fd:00 3440780    /lib/ld-2.7.so
00bea000-00d3d000 r-xp 00000000 fd:00 3442476    /lib/libc-2.7.so
00d3d000-00d3f000 r-xp 00153000 fd:00 3442476    /lib/libc-2.7.so
00d3f000-00d40000 rwxp 00155000 fd:00 3442476    /lib/libc-2.7.so
00d40000-00d43000 rwxp 00d40000 00:00 0
03ccf000-03cda000 r-xp 00000000 fd:00 3442485    /lib/libgcc_s-4.1.2-20070925.so.1
03cda000-03cdb000 rwxp 0000a000 fd:00 3442485    /lib/libgcc_s-4.1.2-20070925.so.1
08048000-0806e000 r-xp 00000000 fd:00 946405     /usr/bin/make
0806e000-08070000 rw-p 00025000 fd:00 946405     /usr/bin/make
095da000-095fb000 rw-p 095da000 00:00 0
b7c00000-b7c21000 rw-p b7c00000 00:00 0
b7c21000-b7d00000 ---p b7c21000 00:00 0
b7d54000-b7f54000 r--p 00000000 fd:00 920101     /usr/lib/locale/locale-archive
b7f54000-b7f56000 rw-p b7f54000 00:00 0
bff05000-bff1a000 rw-p bffea000 00:00 0          [stack]
Aborted
$ cat Makefile
all:
t.o t.o t.o: t.h \ tttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt
$


Note the backslash. Also, that was the minimum number of t's I could use to crash it, and I had to use a minimum of 3 t.o files. None of the files need to exist. Sometimes (with a slightly changed Makefile) you just get a segmentation fault without any output. I've only tested this on one machine (Fedora 8 latest updates).

reply via email to

[Prev in Thread] Current Thread [Next in Thread]