public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* RE: c/7502: internal error: Segmentation fault
@ 2002-08-05 22:56 Jason Borden
  0 siblings, 0 replies; 3+ messages in thread
From: Jason Borden @ 2002-08-05 22:56 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR c/7502; it has been noted by GNATS.

From: Jason Borden <jborden@sorenson.com>
To: "'gcc-gnats@gcc.gnu.org '" <gcc-gnats@gcc.gnu.org>
Cc:  
Subject: RE: c/7502: internal error: Segmentation fault
Date: Mon, 5 Aug 2002 23:47:35 -0600 

 This bug can be closed. Come to find out, the problem was caused by one of
 the last things that I thought it would be. I upgraded the bios on my
 motherboard and all of the sudden, no more internal error: Segmentation
 fault . Chalk this one up as one of the weirdest problems I've encountered.
 Thanks, Jason
 
 -----Original Message-----
 From: gcc-gnats@gcc.gnu.org
 To: Jason Borden
 Sent: 8/5/02 5:26 PM
 Subject: Re: c/7502: internal error: Segmentation fault
 
 Thank you very much for your problem report.
 It has the internal identification `c/7502'.
 The individual assigned to look at your
 report is: unassigned. 
 
 >Category:       c
 >Responsible:    unassigned
 >Synopsis:       internal error: Segmentation fault
 >Arrival-Date:   Mon Aug 05 16:26:01 PDT 2002


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: c/7502: internal error: Segmentation fault
@ 2002-08-25  4:01 paolo
  0 siblings, 0 replies; 3+ messages in thread
From: paolo @ 2002-08-25  4:01 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, jborden, nobody, paolo

Synopsis: internal error: Segmentation fault

Responsible-Changed-From-To: unassigned->paolo
Responsible-Changed-By: paolo
Responsible-Changed-When: Sun Aug 25 03:57:37 2002
Responsible-Changed-Why:
    .
State-Changed-From-To: open->closed
State-Changed-By: paolo
State-Changed-When: Sun Aug 25 03:57:37 2002
State-Changed-Why:
    Upon submitter's request.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7502


^ permalink raw reply	[flat|nested] 3+ messages in thread

* c/7502: internal error: Segmentation fault
@ 2002-08-05 16:26 Jason Borden
  0 siblings, 0 replies; 3+ messages in thread
From: Jason Borden @ 2002-08-05 16:26 UTC (permalink / raw)
  To: gcc-gnats


>Number:         7502
>Category:       c
>Synopsis:       internal error: Segmentation fault
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Aug 05 16:26:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Jason Borden <jborden@sorenson.com>
>Release:        unknown-1.0
>Organization:
>Environment:
Redhat 7.3 Linux (intel)
AMD Athlon XP 2000+
VIA KT266A chipset motherboard
512 MB memory
75 GB hard disk
Same problem with gcc 2.96rh, 3.1.1, and current CVS
>Description:
My system almost seems cursed! Please note that about 95% of the files that I compile, do compile correctly, the remaining 5% get: the internal error: Segmentation fault, always on the same files with the same configuration, therefore, I don't beleive it to be a problem with my computer. However the problem can be fixed usually by changing compilation options, for instance, by changing a -O99 or -O3 to an -O2 or -O, it will sometimes compile correctly. Also adding a -fomit-frame-pointer, removing -Wall, or doing a -E to preprocess and then a -x cpp-output, will sometimes fix the problem. I've tried several different compiler builds including 2.96rh, 3.1.1, and the CVS builds, all have the same problem. I can compile with the same compilers on my pentium-mmx laptop and pentium 4 without having any problems, which leads me to beleive that the problem exists with the athlon-xp or kt266a combination, or both? I have tried running both the linux 2.4.18 and 2.4.19 kernels, changing the ulimit on my stack size to unlimited, and tons of other compiler tweaks, without being able to get it to make a difference. I have attached some examples of the problem just from compiling glibc-2.2.5, the problem has also occurred in compiling several other projects. Please let me know if you can get this to reproduce elsewhere, before I go crazy! Thanks, Jason
>How-To-Repeat:
Try it with the same hardware configuration if possible	
>Fix:
No definite fixes that I know of beyond changing compiling options (pain in the rear for a lot of projects)
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: text/plain; name="gcc.bugs"
Content-Disposition: inline; filename="gcc.bugs"

gcc wcstod_l.c -c -O3 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -m3dnow -march=athlon-xp -mcpu=athlon-xp -mmmx -msse  -g -I../stdlib   -I../include -I. -I.. -I../libio  -I../sysdeps/i386/elf -I../linuxthreads/sysdeps/unix/sysv/linux/i386 -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/i386/i686 -I../linuxthreads/sysdeps/i386 -I../sysdeps/unix/sysv/linux/i386/i686 -I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686 -I../sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic  -nostdinc -isystem /usr/lib/gcc-lib/i686-pc-linux-gnu/3.1.1/include -isystem /usr/src/linux-2.4.19/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h     -o wcstod_l.og
../stdlib/strtod.c: In function `round_and_return':
../stdlib/strtod.c:1576: internal error: Segmentation fault

gcc regex.c -c -O3 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -m3dnow -march=athlon-xp -mcpu=athlon-xp -mmmx -msse  -fomit-frame-pointer -g0 -O99 -fomit-frame-pointer -D__USE_STRING_INLINES -Wno-strict-prototypes -DMBS_SUPPORT  -I../include -I.  -I.. -I../libio  -I../sysdeps/i386/elf -I../linuxthreads/sysdeps/unix/sysv/linux/i386 -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/i386/i686 -I../linuxthreads/sysdeps/i386 -I../sysdeps/unix/sysv/linux/i386/i686 -I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686 -I../sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic  -nostdinc -isystem /usr/lib/gcc-lib/i686-pc-linux-gnu/3.1.1/include -isystem /usr/src/linux-2.4.19/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h     -o regex.o
In file included from ../include/regex.h:2,
                 from regex.c:191:
../posix/regex.h:535:1: warning: "__restrict_arr" redefined
In file included from ../include/sys/cdefs.h:1,
                 from ../include/features.h:283,
                 from ../posix/sys/types.h:26,
                 from ../include/sys/types.h:1,
                 from regex.c:49:
../misc/sys/cdefs.h:212:1: warning: this is the location of the previous definition
In file included from regex.c:631:
regex.c: In function `findidx':
regex.c:6533: internal error: Segmentation fault


gcc ../sysdeps/generic/segfault.c -c -O3 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -m3dnow -march=athlon-xp -mcpu=athlon-xp -mmmx -msse  -fomit-frame-pointer -fPIC -g0 -O99 -fomit-frame-pointer -D__USE_STRING_INLINES    -I../include -I.  -I.. -I../libio  -I../sysdeps/i386/elf -I../linuxthreads/sysdeps/unix/sysv/linux/i386 -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/i386/i686 -I../linuxthreads/sysdeps/i386 -I../sysdeps/unix/sysv/linux/i386/i686 -I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686 -I../sysdeps/i386/i486  -I../sysdeps/i386/fpu -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic  -nostdinc -isystem /usr/lib/gcc-lib/i686-pc-linux-gnu/3.1.1/include -isystem /usr/src/linux-2.4.19/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h  -DPIC -DSHARED   -o segfault.os
../sysdeps/generic/segfault.c: In function `register_dump':
../sysdeps/generic/segfault.c:99: internal error: Segmentation fault


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-08-25 10:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-05 22:56 c/7502: internal error: Segmentation fault Jason Borden
  -- strict thread matches above, loose matches on Subject: below --
2002-08-25  4:01 paolo
2002-08-05 16:26 Jason Borden

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).