public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/11769] New: segmentation fault building Mozilla Firebird, JavaScript engine file
@ 2003-08-02  1:50 brantgurganus2001 at cherokeescouting dot org
  2003-08-02  2:11 ` [Bug c/11769] " neroden at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: brantgurganus2001 at cherokeescouting dot org @ 2003-08-02  1:50 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11769

           Summary: segmentation fault building Mozilla Firebird, JavaScript
                    engine file
           Product: gcc
           Version: 3.2.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: brantgurganus2001 at cherokeescouting dot org
                CC: gcc-bugs at gcc dot gnu dot org

This is my first GCC bug report so please bear with me.

Original Command Line (invoked by make):
gcc -mno-cygwin -o jsemit.o -c -DOSTYPE=\"WINNT5.1\" -DOSARCH=\"WINNT\" -DEXPORT
_JS_API  -DJS_USE_SAFE_ARENA   -I../../dist/include/js -I../../dist/include -I..
/../dist/include/nspr    -Id:/mozilla/mozilla/js/src      -Wall -W -Wno-unused -
Wpointer-arith -Wcast-align -pedantic -Wno-long-long -mms-bitfields -pipe  -DNDE
BUG -DTRIMMED -O3   -DX_DISPLAY_MISSING=1 -DHAVE_SNPRINTF=1 -D_WINDOWS=1 -D_WIN3
2=1 -DWIN32=1 -DXP_WIN=1 -DXP_WIN32=1 -DHW_THREADS=1 -DWINVER=0x400 -DSTDC_HEADE
RS=1 -DWIN32_LEAN_AND_MEAN=1 -DNO_X11=1 -D_X86_=1 -DD_INO=d_ino -DSTDC_HEADERS=1
 -Duid_t=int -Dgid_t=int -DHAVE_DIRENT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_MEMORY_H=1 -
DHAVE_UNISTD_H=1 -DHAVE_MALLOC_H=1 -DHAVE_MMINTRIN_H=1 -DHAVE_LIBM=1 -DNO_X11=1
-DMMAP_MISSES_WRITES=1 -DHAVE_STRERROR=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMMOVE=1 -DHA
VE_RINT=1 -DVA_COPY=va_copy -DHAVE_VA_COPY=1 -DHAVE_IOS_BINARY=1 -DMOZ_DEFAULT_T
OOLKIT=\"windows\" -DMOZ_PHOENIX=1 -DMOZ_XUL_APP=1 -DMOZ_ENABLE_COREXFONTS=1 -DO
JI=1 -DIBMBIDI=1 -DMOZ_VIEW_SOURCE=1 -DMOZ_XPINSTALL=1 -DMOZ_JSLOADER=1 -DMOZ_LO
GGING=1 -DMOZ_USER_DIR=\"Mozilla\" -DMOZ_XUL=1 -DMOZ_PROFILESHARING=1 -DMOZ_PROF
ILELOCKING=1 -DMOZ_DLL_SUFFIX=\".dll\" -DJS_THREADSAFE=1 -DNS_PRINT_PREVIEW=1 -D
NS_PRINTING=1 -DMOZILLA_VERSION=\"1.5b\"  -D_MOZILLA_CONFIG_H_ -DMOZILLA_CLIENT
d:/mozilla/mozilla/js/src/jsemit.c
In file included from d:/mozilla/mozilla/js/src/jscntxt.h:51,
                 from d:/mozilla/mozilla/js/src/jsemit.c:50:
d:/mozilla/mozilla/js/src/jsregexp.h:72: warning: bit-field `parenCount' type in
valid in ISO C
d:/mozilla/mozilla/js/src/jsregexp.h:73: warning: bit-field `flags' type invalid
 in ISO C
d:/mozilla/mozilla/js/src/jsemit.c: In function `js_EmitTree':
d:/mozilla/mozilla/js/src/jsemit.c:4001: internal error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

Command Line to use as requested:
D:\mozilla\mozilla\js\src>gcc -v -save-temps -mno-cygwin -o jsemit.o -c -DOSTYPE
=\"WINNT5.1\" -DOSARCH=\"WINNT\" -DEXPORT_JS_API  -DJS_USE_SAFE_ARENA   -I../../
dist/include/js -I../../dist/include -I../../dist/include/nspr    -Id:/mozilla/m
ozilla/js/src      -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -pedantic -
Wno-long-long -mms-bitfields -pipe  -DNDEBUG -DTRIMMED -O3   -DX_DISPLAY_MISSING
=1 -DHAVE_SNPRINTF=1 -D_WINDOWS=1 -D_WIN32=1 -DWIN32=1 -DXP_WIN=1 -DXP_WIN32=1 -
DHW_THREADS=1 -DWINVER=0x400 -DSTDC_HEADERS=1 -DWIN32_LEAN_AND_MEAN=1 -DNO_X11=1
 -D_X86_=1 -DD_INO=d_ino -DSTDC_HEADERS=1 -Duid_t=int -Dgid_t=int -DHAVE_DIRENT_
H=1 -DHAVE_GETOPT_H=1 -DHAVE_MEMORY_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC_H=1 -DHA
VE_MMINTRIN_H=1 -DHAVE_LIBM=1 -DNO_X11=1-DMMAP_MISSES_WRITES=1 -DHAVE_STRERROR=1
 -DHAVE_SNPRINTF=1 -DHAVE_MEMMOVE=1 -DHAVE_RINT=1 -DVA_COPY=va_copy -DHAVE_VA_CO
PY=1 -DHAVE_IOS_BINARY=1 -DMOZ_DEFAULT_TOOLKIT=\"windows\" -DMOZ_PHOENIX=1 -DMOZ
_XUL_APP=1 -DMOZ_ENABLE_COREXFONTS=1 -DOJI=1 -DIBMBIDI=1 -DMOZ_VIEW_SOURCE=1 -DM
OZ_XPINSTALL=1 -DMOZ_JSLOADER=1 -DMOZ_LOGGING=1 -DMOZ_USER_DIR=\"Mozilla\" -DMOZ
_XUL=1 -DMOZ_PROFILESHARING=1 -DMOZ_PROFILELOCKING=1 -DMOZ_DLL_SUFFIX=\".dll\" -
DJS_THREADSAFE=1 -DNS_PRINT_PREVIEW=1 -DNS_PRINTING=1 -DMOZILLA_VERSION=\"1.5b\"
  -D_MOZILLA_CONFIG_H_ -DMOZILLA_CLIENT d:/mozilla/mozilla/js/src/jsemit.c
Reading specs from /usr/lib/gcc-lib/i686-pc-mingw32/3.2/specs
Configured with: /netrel/src/gcc-3.2-3/configure --enable-languages=c,c++,f77,ja
va --enable-libgcj --enable-threads=posix --with-system-zlib --enable-nls --with
out-included-gettext --enable-interpreter --disable-sjlj-exceptions --disable-ve
rsion-specific-runtime-libs --enable-shared --build=i686-pc-linux --host=i686-pc
-cygwin --target=i686-pc-cygwin --enable-haifa --prefix=/usr --exec-prefix=/usr
--sysconfdir=/etc --libdir=/usr/lib --includedir=/nonexistent/include --libexecd
ir=/usr/sbin
Thread model: posix
gcc version 3.2 20020927 (prerelease)

I found no .i file after either command.

Both times that I encountered this error were in the same file (I think) and
both occured after running make -f client.mk distclean and then running make -f
client.mk build_all.

The .mozconfig file currently is:
CC=gcc
CXX=g++
CPP=cpp
AS=as
LD=ld
ac_add_options --disable-accessibility
ac_add_options --disable-activex
ac_add_options --disable-activex-scripting
ac_add_options --disable-composer
ac_add_options --disable-debug
ac_add_options --disable-freetype2
ac_add_options --disable-freetypetest
ac_add_options --disable-gtktest
ac_add_options --disable-ldap
ac_add_options --disable-mailnews
ac_add_options --disable-mathml
ac_add_options --disable-postscript
ac_add_options --disable-xprint
ac_add_options --disable-tests
ac_add_options --enable-crypto
ac_add_options --enable-optimize=-O3
ac_add_options --enable-single-profile
ac_add_options --enable-strip
ac_add_options --enable-strip-libs
export MOZ_PHOENIX=1
mk_add_options MOZ_PHOENIX=1

Let me know if anything else would be useful.


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

* [Bug c/11769] segmentation fault building Mozilla Firebird, JavaScript engine file
  2003-08-02  1:50 [Bug c/11769] New: segmentation fault building Mozilla Firebird, JavaScript engine file brantgurganus2001 at cherokeescouting dot org
@ 2003-08-02  2:11 ` neroden at gcc dot gnu dot org
  2003-08-02  2:15 ` brantgurganus2001 at cherokeescouting dot org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: neroden at gcc dot gnu dot org @ 2003-08-02  2:11 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11769



------- Additional Comments From neroden at gcc dot gnu dot org  2003-08-02 02:11 -------
Try it with GCC 3.3 (or a 3.3.1 prerelease), please.


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

* [Bug c/11769] segmentation fault building Mozilla Firebird, JavaScript engine file
  2003-08-02  1:50 [Bug c/11769] New: segmentation fault building Mozilla Firebird, JavaScript engine file brantgurganus2001 at cherokeescouting dot org
  2003-08-02  2:11 ` [Bug c/11769] " neroden at gcc dot gnu dot org
@ 2003-08-02  2:15 ` brantgurganus2001 at cherokeescouting dot org
  2003-08-02  2:52 ` pinskia at physics dot uc dot edu
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: brantgurganus2001 at cherokeescouting dot org @ 2003-08-02  2:15 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11769



------- Additional Comments From brantgurganus2001 at cherokeescouting dot org  2003-08-02 02:15 -------
Thank you for the quick reply.  I dropped the optimization level to -O2 and get
the same error but in a different JS source file.

As for trying GCC 3.3, where can I get a cygwin version.  I seem to be using the
latest version available via the cygwin installer.


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

* [Bug c/11769] segmentation fault building Mozilla Firebird, JavaScript engine file
  2003-08-02  1:50 [Bug c/11769] New: segmentation fault building Mozilla Firebird, JavaScript engine file brantgurganus2001 at cherokeescouting dot org
  2003-08-02  2:11 ` [Bug c/11769] " neroden at gcc dot gnu dot org
  2003-08-02  2:15 ` brantgurganus2001 at cherokeescouting dot org
@ 2003-08-02  2:52 ` pinskia at physics dot uc dot edu
  2003-08-02 23:41 ` pinskia at physics dot uc dot edu
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-08-02  2:52 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11769



------- Additional Comments From pinskia at physics dot uc dot edu  2003-08-02 02:52 -------
You install via the source from ftp://gcc.gnu.org/pub/gcc/snapshots.


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

* [Bug c/11769] segmentation fault building Mozilla Firebird, JavaScript engine file
  2003-08-02  1:50 [Bug c/11769] New: segmentation fault building Mozilla Firebird, JavaScript engine file brantgurganus2001 at cherokeescouting dot org
                   ` (2 preceding siblings ...)
  2003-08-02  2:52 ` pinskia at physics dot uc dot edu
@ 2003-08-02 23:41 ` pinskia at physics dot uc dot edu
  2003-08-06 20:49 ` pinskia at physics dot uc dot edu
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-08-02 23:41 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11769


pinskia at physics dot uc dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


------- Additional Comments From pinskia at physics dot uc dot edu  2003-08-02 23:41 -------
Also provide the preprocessed source (read <http://gcc.gnu.org/bugs.html> for how to get 
the preprocessed source).


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

* [Bug c/11769] segmentation fault building Mozilla Firebird, JavaScript engine file
  2003-08-02  1:50 [Bug c/11769] New: segmentation fault building Mozilla Firebird, JavaScript engine file brantgurganus2001 at cherokeescouting dot org
                   ` (3 preceding siblings ...)
  2003-08-02 23:41 ` pinskia at physics dot uc dot edu
@ 2003-08-06 20:49 ` pinskia at physics dot uc dot edu
  2003-10-24 18:07 ` dhazeghi at yahoo dot com
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-08-06 20:49 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11769


pinskia at physics dot uc dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.4                         |---


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

* [Bug c/11769] segmentation fault building Mozilla Firebird, JavaScript engine file
  2003-08-02  1:50 [Bug c/11769] New: segmentation fault building Mozilla Firebird, JavaScript engine file brantgurganus2001 at cherokeescouting dot org
                   ` (4 preceding siblings ...)
  2003-08-06 20:49 ` pinskia at physics dot uc dot edu
@ 2003-10-24 18:07 ` dhazeghi at yahoo dot com
  2003-10-25  0:17 ` brantgurganus2001 at cherokeescouting dot org
  2003-10-25  0:54 ` pinskia at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: dhazeghi at yahoo dot com @ 2003-10-24 18:07 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11769



------- Additional Comments From dhazeghi at yahoo dot com  2003-10-24 18:03 -------
Reminder that we are waiting for the preprocessed source that triggers this bug. Thanks.


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

* [Bug c/11769] segmentation fault building Mozilla Firebird, JavaScript engine file
  2003-08-02  1:50 [Bug c/11769] New: segmentation fault building Mozilla Firebird, JavaScript engine file brantgurganus2001 at cherokeescouting dot org
                   ` (5 preceding siblings ...)
  2003-10-24 18:07 ` dhazeghi at yahoo dot com
@ 2003-10-25  0:17 ` brantgurganus2001 at cherokeescouting dot org
  2003-10-25  0:54 ` pinskia at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: brantgurganus2001 at cherokeescouting dot org @ 2003-10-25  0:17 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11769



------- Additional Comments From brantgurganus2001 at cherokeescouting dot org  2003-10-25 00:09 -------
Now that I have access to MSVC, I am not using GCC so cannot reproduce the issue.


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

* [Bug c/11769] segmentation fault building Mozilla Firebird, JavaScript engine file
  2003-08-02  1:50 [Bug c/11769] New: segmentation fault building Mozilla Firebird, JavaScript engine file brantgurganus2001 at cherokeescouting dot org
                   ` (6 preceding siblings ...)
  2003-10-25  0:17 ` brantgurganus2001 at cherokeescouting dot org
@ 2003-10-25  0:54 ` pinskia at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-10-25  0:54 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11769


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |INVALID


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-10-25 00:18 -------
Closing as there is no way to reproduce this without a testcase.


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

end of thread, other threads:[~2003-10-25  0:18 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-02  1:50 [Bug c/11769] New: segmentation fault building Mozilla Firebird, JavaScript engine file brantgurganus2001 at cherokeescouting dot org
2003-08-02  2:11 ` [Bug c/11769] " neroden at gcc dot gnu dot org
2003-08-02  2:15 ` brantgurganus2001 at cherokeescouting dot org
2003-08-02  2:52 ` pinskia at physics dot uc dot edu
2003-08-02 23:41 ` pinskia at physics dot uc dot edu
2003-08-06 20:49 ` pinskia at physics dot uc dot edu
2003-10-24 18:07 ` dhazeghi at yahoo dot com
2003-10-25  0:17 ` brantgurganus2001 at cherokeescouting dot org
2003-10-25  0:54 ` pinskia at gcc dot gnu dot org

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).