[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
make segfault with -t
From: |
Manoj Srivastava |
Subject: |
make segfault with -t |
Date: |
Sun, 07 Aug 2005 08:13:49 -0500 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) (i686-pc-linux-gnu) |
Hi,
[Please retain the CC to address@hidden
so that the Debian Bug Tracking system can record your
input]
This was reported by a debian user
manoj
The following Makefile crashes `make -t` (but only the first time,
when it runs `touch foo`):
----------------
Makefile
----------------
all: foo
foo:
touch foo
-----------------
Crashes on:
790 for (i = file->cmds->ncommand_lines; i > 0; --i)
Backtrace follows.
(gdb) bt full
#0 0x0805d0c3 in notice_finished_file (file=0x806d278) at
remake.c:790
f = (struct file *) 0x0
i = 0
d = (struct dep *) 0x0
ran = 0
touched = 1
#1 0x0805c586 in update_file_1 (file=0x806d278, depth=0) at
remake.c:690
fmt = 0x1 <Address 0x1 out of bounds>
d_mtime = 18446744069414584321
this_mtime = 1188773881577546517
noexist = 0
must_make = 1
deps_changed = 1
dep_status = 0
d = (struct dep *) 0x0
lastd = (struct dep *) 0x1
running = 0
#2 0x0805bee0 in update_file (file=0x806d278, depth=0) at
remake.c:310
status = 0
f = (struct file *) 0x806d278
#3 0x0805bb9b in update_goal_chain (goals=0x8074868, makefiles=0)
at remake.c:157
ocommands_started = 0
---Type <return> to continue, or q <return> to quit---
x = 0
file = (struct file *) 0x806d278
stop = 0
any_not_updated = 0
g = (struct dep *) 0x8074868
lastgoal = (struct dep *) 0x0
t = 1
q = 0
n = 0
j = 1
status = -1
#4 0x08054d8e in main (argc=5, argv=0xbfffe294, envp=0x80707d8) at
main.c:1946
status = 1
stdin_nm = 0x0
f = (struct file *) 0x0
i = 0
p = (char **) 0x1
read_makefiles = (struct dep *) 0x80707d8
current_directory = "/home/pryzbyj/src/iraf/2/iraf-2.12.2a", '\0' <repe
--
System restarting, wait...
Manoj Srivastava <address@hidden> <http://www.golden-gryphon.com/>
1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C
- make segfault with -t,
Manoj Srivastava <=