Re: make world failure (signal 11 in cpp)

1999-08-26 Thread John W. DeBoskey

Hi folks,

   To answer my own question, I came into work this morning and found
my console full of messages...

spec_getpages: I/O read failure: (error code=0) bp 0xc36fe9a0 vp 0xc92ce000
   size: 0, resid: 0, a_count: 4096, valid: 0x0
   nread: 0, reqpage: 0, pindex: 9, pcount: 1
vm_fault: pager read error, pid 56587 (yacc)
Aug 25 23:53:56 FreeBSD /kernel: pid 56587 (yacc), uid 0: exited on signal 11 (c
ore dumped)
spec_getpages: I/O read failure: (error code=0) bp 0xc36ffe20 vp 0xc92ce000
   size: 0, resid: 0, a_count: 65536, valid: 0x0
   nread: 0, reqpage: 0, pindex: 0, pcount: 16
spec_getpages: I/O read failure: (error code=0) bp 0xc37000b0 vp 0xc92ce000
   size: 0, resid: 0, a_count: 4096, valid: 0x0
   nread: 0, reqpage: 0, pindex: 9, pcount: 1
vm_fault: pager read error, pid 6178 (yacc)
Aug 26 00:34:27 FreeBSD /kernel: pid 6178 (yacc), uid 0: exited on signal 11 (co
re dumped)

   If I reboot my system with a kernel which is about two weeks old, things
run fine... I'm not sure where to go from here... I'd appreciate any
help. Again, my source (and kernel which is failing) is current as of
11:30pm EST, 8/25/99.

Thanks,
-John

 On Wednesday, 25 August 1999 at 23:39:56 -0400, John W. DeBoskey wrote:
  Hi,
 
 I'm having problems making world... before I dig into this, does
  anyone already know what's going on? My source is current as of
  11:30pm EST.
 
  thanks,
  John
 
  === cpp
  cc -O -pipe -I/usr/src/gnu/usr.bin/cc/cpp/../../../../contrib/egcs/gcc 
-I/usr/src/gnu/usr.bin/cc/cpp/../../../../contrib/egcs/gcc/config -DFREEBSD_NATIVE 
-DHAVE_CONFIG_H -DDEFAULT_TARGET_VERSION=\"egcs-2.91.66\" 
-DDEFAULT_TARGET_MACHINE=\"i386-unknown-freebsd\" 
-I/usr/obj/usr/src/gnu/usr.bin/cc/cpp/../cc_tools 
-I/usr/src/gnu/usr.bin/cc/cpp/../cc_tools -DPREFIX=\"/usr\"   
-I/usr/obj/usr/src/tmp/usr/include -c 
/usr/src/gnu/usr.bin/cc/cpp/../../../../contrib/egcs/gcc/cccp.c
  yacc  -o cexp.c /usr/src/gnu/usr.bin/cc/cpp/../../../../contrib/egcs/gcc/cexp.y
  *** Signal 11
 
 The canonical explanation for this sort of thing is processor or
 memory problems.  Would that fit?
 
 Greg
 --
 See complete headers for address, home page and phone numbers
 finger [EMAIL PROTECTED] for PGP public key
 



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



make world failure (signal 11 in cpp)

1999-08-25 Thread John W. DeBoskey

Hi,

   I'm having problems making world... before I dig into this, does
anyone already know what's going on? My source is current as of
11:30pm EST.

thanks,
John

=== cpp
cc -O -pipe -I/usr/src/gnu/usr.bin/cc/cpp/../../../../contrib/egcs/gcc 
-I/usr/src/gnu/usr.bin/cc/cpp/../../../../contrib/egcs/gcc/config -DFREEBSD_NATIVE 
-DHAVE_CONFIG_H -DDEFAULT_TARGET_VERSION=\"egcs-2.91.66\" 
-DDEFAULT_TARGET_MACHINE=\"i386-unknown-freebsd\" 
-I/usr/obj/usr/src/gnu/usr.bin/cc/cpp/../cc_tools 
-I/usr/src/gnu/usr.bin/cc/cpp/../cc_tools -DPREFIX=\"/usr\"   
-I/usr/obj/usr/src/tmp/usr/include -c 
/usr/src/gnu/usr.bin/cc/cpp/../../../../contrib/egcs/gcc/cccp.c
yacc  -o cexp.c /usr/src/gnu/usr.bin/cc/cpp/../../../../contrib/egcs/gcc/cexp.y
*** Signal 11

Stop in /usr/src/gnu/usr.bin/cc/cpp.
*** Error code 1

Stop in /usr/src/gnu/usr.bin/cc.
*** Error code 1



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: make world failure (signal 11 in cpp)

1999-08-25 Thread Greg Lehey

On Wednesday, 25 August 1999 at 23:39:56 -0400, John W. DeBoskey wrote:
 Hi,

I'm having problems making world... before I dig into this, does
 anyone already know what's going on? My source is current as of
 11:30pm EST.

 thanks,
 John

 === cpp
 cc -O -pipe -I/usr/src/gnu/usr.bin/cc/cpp/../../../../contrib/egcs/gcc 
-I/usr/src/gnu/usr.bin/cc/cpp/../../../../contrib/egcs/gcc/config -DFREEBSD_NATIVE 
-DHAVE_CONFIG_H -DDEFAULT_TARGET_VERSION=\"egcs-2.91.66\" 
-DDEFAULT_TARGET_MACHINE=\"i386-unknown-freebsd\" 
-I/usr/obj/usr/src/gnu/usr.bin/cc/cpp/../cc_tools 
-I/usr/src/gnu/usr.bin/cc/cpp/../cc_tools -DPREFIX=\"/usr\"   
-I/usr/obj/usr/src/tmp/usr/include -c 
/usr/src/gnu/usr.bin/cc/cpp/../../../../contrib/egcs/gcc/cccp.c
 yacc  -o cexp.c /usr/src/gnu/usr.bin/cc/cpp/../../../../contrib/egcs/gcc/cexp.y
 *** Signal 11

The canonical explanation for this sort of thing is processor or
memory problems.  Would that fit?

Greg
--
See complete headers for address, home page and phone numbers
finger [EMAIL PROTECTED] for PGP public key


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: make world failure (signal 11 in cpp)

1999-08-25 Thread John W. DeBoskey

 On Wednesday, 25 August 1999 at 23:39:56 -0400, John W. DeBoskey wrote:
  Hi,
 
 I'm having problems making world... before I dig into this, does
  anyone already know what's going on? My source is current as of
  11:30pm EST.
 
  thanks,
  John
 
  === cpp
  cc -O -pipe -I/usr/src/gnu/usr.bin/cc/cpp/../../../../contrib/egcs/gcc 
-I/usr/src/gnu/usr.bin/cc/cpp/../../../../contrib/egcs/gcc/config -DFREEBSD_NATIVE 
-DHAVE_CONFIG_H -DDEFAULT_TARGET_VERSION=\"egcs-2.91.66\" 
-DDEFAULT_TARGET_MACHINE=\"i386-unknown-freebsd\" 
-I/usr/obj/usr/src/gnu/usr.bin/cc/cpp/../cc_tools 
-I/usr/src/gnu/usr.bin/cc/cpp/../cc_tools -DPREFIX=\"/usr\"   
-I/usr/obj/usr/src/tmp/usr/include -c 
/usr/src/gnu/usr.bin/cc/cpp/../../../../contrib/egcs/gcc/cccp.c
  yacc  -o cexp.c /usr/src/gnu/usr.bin/cc/cpp/../../../../contrib/egcs/gcc/cexp.y
  *** Signal 11
 
 The canonical explanation for this sort of thing is processor or
 memory problems.  Would that fit?
 
 Greg
 --
 See complete headers for address, home page and phone numbers
 finger [EMAIL PROTECTED] for PGP public key


   I really doubt it, though I can replace the memory and swap
machines tomorrow if I need to. It is a stock machine from Dell
with no mods.

   This machine has been dedicated to building -current SNAP's
for more than 8 months. When this machine has problems, the typical
problem is bad code getting into the system, or a corrupted
filesystem (I nolonger run any of my filesystems async for this
reason).

   fyi, this problem does replicate at the exact same location. It
appears to actually be yacc...

/usr/obj/usr/src/gnu/usr.bin/cc/cpp %ls -al
drwxr-xr-x   2 root  wheel 512 Aug 25 23:53 .
drwxr-xr-x  16 root  wheel 512 Aug 25 23:47 ..
-rw-r--r--   1 root  wheel   92936 Aug 25 23:53 cccp.o
-rw---   1 root  wheel  147456 Aug 25 23:53 yacc.core
/usr/obj/usr/src/gnu/usr.bin/cc/cpp %file yacc.core
yacc.core: ELF 32-bit LSB core file, Intel 80386, version 1 (FreeBSD), from 'yacc'

gdb says the following:

(no debugging symbols found)...
Core was generated by `yacc'.
Program terminated with signal 11, Segmentation fault.
#0  0x8051bec in free ()

   I guess I'll try to build a debug version next...

Thanks,
John



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: make world failure (signal 11 in cpp)

1999-08-25 Thread Jeroen Ruigrok/Asmodai

* Greg Lehey ([EMAIL PROTECTED]) [990826 06:19]:
On Wednesday, 25 August 1999 at 23:39:56 -0400, John W. DeBoskey wrote:

 === cpp
 cc -O -pipe -I/usr/src/gnu/usr.bin/cc/cpp/../../../../contrib/egcs/gcc 
-I/usr/src/gnu/usr.bin/cc/cpp/../../../../contrib/egcs/gcc/config -DFREEBSD_NATIVE 
-DHAVE_CONFIG_H -DDEFAULT_TARGET_VERSION=\"egcs-2.91.66\" 
-DDEFAULT_TARGET_MACHINE=\"i386-unknown-freebsd\" 
-I/usr/obj/usr/src/gnu/usr.bin/cc/cpp/../cc_tools 
-I/usr/src/gnu/usr.bin/cc/cpp/../cc_tools -DPREFIX=\"/usr\"   
-I/usr/obj/usr/src/tmp/usr/include -c 
/usr/src/gnu/usr.bin/cc/cpp/../../../../contrib/egcs/gcc/cccp.c
 yacc  -o cexp.c /usr/src/gnu/usr.bin/cc/cpp/../../../../contrib/egcs/gcc/cexp.y
 *** Signal 11

The canonical explanation for this sort of thing is processor or
memory problems.  Would that fit?

Could I think, but...

Last time I had that when making a week/two week old CURRENT to the
current CURRENT I got sig 11's on all my compiles.

I had to install a snapshot cc in order to rebuilt libc and cc and
then make world again. Everything compiled core dumped with the first
compiler. After reinstalling cc, no more problems.

So compliers and Sig 11's are harder to troubleshoot, at least IMHO.

HTH,

-- 
Jeroen Ruigrok van der Werven  asmodai(at)wxs.nl
The BSD Programmer's Documentation Project http://home.wxs.nl/~asmodai
Network/Security SpecialistBSD: Technical excellence at its best
Man shall not live by bread alone.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message