From owner-freebsd-current@FreeBSD.ORG Tue Sep 7 00:35:46 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 79D3716A4CE for ; Tue, 7 Sep 2004 00:35:46 +0000 (GMT) Received: from web14824.mail.yahoo.com (web14824.mail.yahoo.com [216.136.225.195]) by mx1.FreeBSD.org (Postfix) with SMTP id 5FC0943D55 for ; Tue, 7 Sep 2004 00:35:46 +0000 (GMT) (envelope-from rosti_bsd@yahoo.com) Message-ID: <20040907003546.53422.qmail@web14824.mail.yahoo.com> Received: from [212.143.154.227] by web14824.mail.yahoo.com via HTTP; Mon, 06 Sep 2004 17:35:46 PDT Date: Mon, 6 Sep 2004 17:35:46 -0700 (PDT) From: Rostislav Krasny To: freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: snmp.c:231: internal compiler error: Segmentation fault X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Sep 2004 00:35:46 -0000 Hello all. Please consider following ICE that may happen during 'make buildworld': cc -O -pipe -I/usr/src/lib/libbsnmp/libbsnmp/../../../contrib/bsnmp/lib -DHAVE_ERR_H -DHAVE_GETADDRINFO -DHAVE_STRLCPY -Wsystem-headers -Wall -Wno-format-y2k -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -c /usr/src/lib/libbsnmp/libbsnmp/../../../contrib/bsnmp/lib/snmp.c /usr/src/lib/libbsnmp/libbsnmp/../../../contrib/bsnmp/lib/snmp.c: In function `snmp_parse_pdus_hdr': /usr/src/lib/libbsnmp/libbsnmp/../../../contrib/bsnmp/lib/snmp.c:231: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See for instructions. *** Error code 1 Stop in /usr/src/lib/libbsnmp/libbsnmp. *** Error code 1 Stop in /usr/src/lib/libbsnmp. *** Error code 1 Stop in /usr/src/lib. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. This is a fresh FreeBSD 5.3-BETA3 installed through FTP from ftp.freebsd.org: > uname -a FreeBSD localhost 5.3-BETA3 FreeBSD 5.3-BETA3 #0: Sat Sep 4 12:07:48 UTC 2004 root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 The hardware is Pentium MMX 200MHz CPU, Intel 430TX chipset and 128Mb of RAM. > grep snmp.c,v snmp.c * $Begemot: bsnmp/lib/snmp.c,v 1.38 2004/08/06 08:46:53 brandt Exp $ I tried reproducing that ICE manually. I made a new empty directory, copied the snmp.c file there and made following script: > cat run.sh #!/bin/sh cc -O -pipe -I/usr/src/lib/libbsnmp/libbsnmp/../../../contrib/bsnmp/lib -DHAVE_ERR_H -DHAVE_GETADDRINFO -DHAVE_STRLCPY -Wsystem-headers -Wall -Wno-format-y2k -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -c snmp.c Running this script many times may reproduce the ICE in about 30-50% of runnings. For example: > ./run.sh > ./run.sh snmp.c: In function `snmp_parse_pdus_hdr': snmp.c:231: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See for instructions. > ./run.sh > ./run.sh > rm *.o > ./run.sh > ./run.sh > ./run.sh snmp.c: In function `snmp_parse_pdus_hdr': snmp.c:231: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See for instructions. > ./run.sh snmp.c: In function `snmp_parse_pdus_hdr': snmp.c:231: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See for instructions. > ./run.sh > ./run.sh > ./run.sh snmp.c: In function `snmp_parse_pdus_hdr': snmp.c:231: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See for instructions. Anytime the ICE is happening it is always in the 231's line of snmp.c There is no core dump file after the ICE. _______________________________ Do you Yahoo!? Win 1 of 4,000 free domain names from Yahoo! Enter now. http://promotions.yahoo.com/goldrush