bug-make
[Top][All Lists]
Advanced

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

make 3.79.1 core dump (assertion failed)


From: Heiko Nardmann
Subject: make 3.79.1 core dump (assertion failed)
Date: Sat, 7 Jul 2001 10:30:50 +0200

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I was able to create a core dump by using make version 3.79.1. It was part of 
SuSE 7.2. Afterwards I recompiled it with debug symbols and could reproduce 
it. Here is the call I use:

snsrv053:nardmann[libcryptdev]>make
(cd include; ln -sf "../../kernel/include" linux)
make -C libcrypt obj.Linux-i686/libcrypt.o
make[1]: Wechsel in das Verzeichnis Verzeichnis 
»/opt2/SINA/Cryptdev2-Work/Cryptdev2/libcryptdev/libcrypt«
make[1]: »obj.Linux-i686/libcrypt.o« ist bereits aktualisiert.
make[1]: Verlassen des Verzeichnisses Verzeichnis 
»/opt2/SINA/Cryptdev2-Work/Cryptdev2/libcryptdev/libcrypt«
make -C csrc obj.Linux-i686/interface.o
make[1]: Wechsel in das Verzeichnis Verzeichnis 
»/opt2/SINA/Cryptdev2-Work/Cryptdev2/libcryptdev/csrc«
make[1]: »obj.Linux-i686/interface.o« ist bereits aktualisiert.
make[1]: Verlassen des Verzeichnisses Verzeichnis 
»/opt2/SINA/Cryptdev2-Work/Cryptdev2/libcryptdev/csrc«
make -C libcrypt obj.ctc.Linux-i686/libcrypt.o
make: expand.c:489: allocated_variable_append: Zusicherung 
»current_variable_set_list->next != 0« nicht erfüllt.
Abbruch (core dumped)

And here is the gdb (st|b)ack trace; if more information is needed please ask.

snsrv053:nardmann[libcryptdev]>gdb /opt/gnumake-3.79.1/bin/make core
GNU gdb 5.0
Copyright 2000 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-suse-linux"...
Core was generated by `make'.
Program terminated with signal 6, Aborted.
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/lib/gconv/ISO8859-1.so...done.
Loaded symbols for /usr/lib/gconv/ISO8859-1.so
#0  0x40061001 in kill () from /lib/libc.so.6
(gdb) bt
#0  0x40061001 in kill () from /lib/libc.so.6
#1  0x40060e05 in raise () from /lib/libc.so.6
#2  0x40062401 in abort () from /lib/libc.so.6
#3  0x4005b028 in __assert_fail () from /lib/libc.so.6
#4  0x804c809 in allocated_variable_append (v=0x8072098) at expand.c:489
#5  0x804c05a in recursively_expand (v=0x8072098) at expand.c:111
#6  0x805eb04 in target_environment (file=0x80728f8) at variable.c:739
#7  0x8051c7a in start_job_command (child=0x8088958) at job.c:1065
#8  0x8051e7a in start_waiting_job (c=0x8088958) at job.c:1294
#9  0x80522b4 in new_job (file=0x80728f8) at job.c:1519
#10 0x804ae61 in execute_file_commands (file=0x80728f8) at commands.c:362
#11 0x805bba7 in remake_file (file=0x80728f8) at remake.c:1008
#12 0x805b293 in update_file_1 (file=0x80728f8, depth=7) at remake.c:659
#13 0x805a61a in update_file (file=0x80728f8, depth=6) at remake.c:309
#14 0x805b5fe in check_dep (file=0x80728f8, depth=6, this_mtime=1, 
must_make_ptr=0xbfffd318) at remake.c:813
#15 0x805ab62 in update_file_1 (file=0x8072d78, depth=5) at remake.c:450
#16 0x805a61a in update_file (file=0x8072d78, depth=4) at remake.c:309
#17 0x805b5fe in check_dep (file=0x8072d78, depth=4, this_mtime=1, 
must_make_ptr=0xbfffd3f8) at remake.c:813
#18 0x805ab62 in update_file_1 (file=0x8072160, depth=3) at remake.c:450
#19 0x805a61a in update_file (file=0x8072160, depth=2) at remake.c:309
#20 0x805b5fe in check_dep (file=0x8072160, depth=2, this_mtime=1, 
must_make_ptr=0xbfffd4d8) at remake.c:813
#21 0x805ab62 in update_file_1 (file=0x8071f78, depth=1) at remake.c:450
#22 0x805a61a in update_file (file=0x8071f78, depth=0) at remake.c:309
#23 0x805a31b in update_goal_chain (goals=0x8076728, makefiles=0) at 
remake.c:156
#24 0x8054557 in main (argc=1, argv=0xbfffeec4, envp=0xbfffeecc) at 
main.c:1901
#25 0x40050c6f in __libc_start_main () from /lib/libc.so.6
(gdb) list 475,489
475     static char *
476     allocated_variable_append (v)
477          struct variable *v;
478     {
479       struct variable_set_list *save;
480       int len = strlen (v->name);
481       char *var = alloca (len + 4);
482       char *value;
483
484       char *obuf = variable_buffer;
485       unsigned int olen = variable_buffer_length;
486
487       variable_buffer = 0;
488
489       assert(current_variable_set_list->next != 0);
(gdb) print v
$1 = (struct variable *) 0x8072098
(gdb) print *v
$2 = {next = 0x0, name = 0x8072038 "CPPFLAGS", value = 0x8072048 
"-I/opt/CTC++", fileinfo = {filenm = 0x8062db1 "Makefile", lineno = 114}, 
origin = o_file, recursive = 1,
  expanding = 1, per_target = 1, append = 1, export = v_default}
(gdb) print current_variable_set_list
$3 = (struct variable_set_list *) 0x8066b38
(gdb) print *current_variable_set_list
$4 = {next = 0x0, set = 0x8066b30}
(gdb) print current_variable_set_list->set
$5 = (struct variable_set *) 0x8066b30
(gdb) print *current_variable_set_list->set
$6 = {table = 0x8068fc0, buckets = 523}
(gdb) print current_variable_set_list->set->table[0]
$22 = (struct variable *) 0x806c250
(gdb) print *current_variable_set_list->set->table[0]
$23 = {next = 0x0, name = 0x806c270 "XSESSION_IS_UP", value = 0x806c288 
"yes", fileinfo = {filenm = 0x0, lineno = 0}, origin = o_env, recursive = 1, 
expanding = 0,
  per_target = 0, append = 0, export = v_export}
(gdb) print current_variable_set_list->set->table[1]
$24 = (struct variable *) 0x0


- -- 
Heiko Nardmann (Dipl.-Ing.), address@hidden, Software Development
secunet Security Networks AG - Sicherheit in Netzwerken (www.secunet.de),
Weidenauer Str. 223-225, D-57076 Siegen
Tel. : +49 271 48950-13, Fax  : +49 271 48950-50
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7Rsi6pm53PRScYygRAnI8AKD0N7QR0qPQgnjnOEV/wqoCSPal2ACfdbid
pQ8ImoF5SoGnz5ujvx8sdVo=
=ubhg
-----END PGP SIGNATURE-----



reply via email to

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