Package: make Version: 3.81-3 Severity: important I wrote a Makefile (probably bugged as it crashes make, but event then it should display an error message instead of crashing I suppose), and make immediately finishes with the following errors :
[EMAIL PROTECTED]:~/STIC/TLC2/v3$ make *** glibc detected *** make: double free or corruption (fasttop): 0x08072620 ***======= Backtrace: ========= /lib/libc.so.6[0xb7eb0783] /lib/libc.so.6(__libc_free+0x90)[0xb7eb3c50] make[0x8059ece] make[0x804e2be] make[0x804e9c1] make[0x804ece3] make[0x805828e] /lib/libc.so.6(__libc_start_main+0xd8)[0xb7e5e878] make[0x8049be1] ======= Memory map: ======== 08048000-0806b000 r-xp 00000000 03:02 2834641 /usr/bin/make 0806b000-0806c000 rw-p 00022000 03:02 2834641 /usr/bin/make 0806c000-0808e000 rw-p 0806c000 00:00 0 [heap] b7b00000-b7b21000 rw-p b7b00000 00:00 0 b7b21000-b7c00000 ---p b7b21000 00:00 0 b7c98000-b7e31000 r--p 00000000 03:02 2851286 /usr/lib/locale/locale-archive b7e31000-b7e33000 rw-p b7e31000 00:00 0 b7e33000-b7e45000 r-xp 00000000 03:02 5718077 /lib/libpthread-2.5.so b7e45000-b7e47000 rw-p 00011000 03:02 5718077 /lib/libpthread-2.5.so b7e47000-b7e49000 rw-p b7e47000 00:00 0 b7e49000-b7f84000 r-xp 00000000 03:02 5718081 /lib/libc-2.5.so b7f84000-b7f85000 r--p 0013b000 03:02 5718081 /lib/libc-2.5.so b7f85000-b7f87000 rw-p 0013c000 03:02 5718081 /lib/libc-2.5.so b7f87000-b7f8a000 rw-p b7f87000 00:00 0 b7f8a000-b7f90000 r-xp 00000000 03:02 5718096 /lib/librt-2.5.so b7f90000-b7f92000 rw-p 00006000 03:02 5718096 /lib/librt-2.5.so b7f99000-b7fa3000 r-xp 00000000 03:02 5226965 /lib/libgcc_s.so.1 b7fa3000-b7fa4000 rw-p 00009000 03:02 5226965 /lib/libgcc_s.so.1 b7fa4000-b7fab000 r--s 00000000 03:02 2835481 /usr/lib/gconv/gconv-modules.cache b7fab000-b7fad000 rw-p b7fab000 00:00 0 b7fad000-b7fc9000 r-xp 00000000 03:02 5718078 /lib/ld-2.5.so b7fc9000-b7fcb000 rw-p 0001b000 03:02 5718078 /lib/ld-2.5.so bfe4f000-bfe65000 rw-p bfe4f000 00:00 0 [stack] ffffe000-fffff000 r-xp 00000000 00:00 0 [vdso] Abandon Here is the makefile : NOM = compilateur FICHIER_parser = parser.yy FICHIER_lexer = lexical.l PARSER_CC = $(subst .yy, .tab.cc, $(FICHIER_parser)) PARSER_HH = $(subst .yy, .tab.hh, $(FICHIER_parser)) GEN_CC = lex.yy.cc $(PARSER_CC) GEN_HH = location.hh stack.hh position.hh $(PARSER_HH) GEN = ${GEN_CC} ${GEN_HH} SRC = Erreur_Lexicale.cc lexical.cc main.cc syntaxique.cc ${GEN_CC} OBJ = $(subst .cc,.o,$(SRC)) CXX= g++ CPPFLAGS = CXXFLAGS = -Wall -O LDFLAGS = FLEX = flex FLEX_OPTS = -+ BISON = bison BISON_OPTS = -d default : ${NOM} %.o : %.c ${CXX} -c ${CPPFLAGS} ${CXXFLAGS} $< ${NOM} : ${OBJ} ${CXX} -o $@ ${LDFLAGS} ${OBJ} lex.yy.cc : $(FICHIER_lexer) *(PARSER_HH) $(FLEX) $(FLEX_OPTS) $(FICHIER_lexer) PARSER_HH, PARSER_CC : $(FICHIER_parser) $(BISON) $(BISON_OPTS) $(FICHIER_parser) clean : rm ${OBJ} binary-clean : clean rm $NOM source-clean : rm ${GEN} full-clean : binary-clean source-clean The problem is that the crash does not happen if the files to do the build are not present. Should I send them too? -- System Information: Debian Release: 4.0 APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.20mick Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Versions of packages make depends on: ii libc6 2.5-0exp3 GNU C Library: Shared libraries make recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]