* g++ 9.3.0 segfaults
@ 2020-04-12 6:10 Marco Atzeri
2020-04-12 10:03 ` JonY
0 siblings, 1 reply; 3+ messages in thread
From: Marco Atzeri @ 2020-04-12 6:10 UTC (permalink / raw)
To: cygwin
[-- Attachment #1: Type: text/plain, Size: 1025 bytes --]
Joy,
this segfault happens on 9.3.0 but not on 9.2.0
To replicate is enough to download cdo-1.9.9rc2.tar.gz from
https://code.mpimet.mpg.de/projects/cdo/files
https://code.mpimet.mpg.de/attachments/download/21529/cdo-1.9.9rc2.tar.gz
./configure
make
Entering directory '/cygdrive/d/cyg_pub/devel/cdo/cdo-1.9.9rc2_build/src'
g++ -DHAVE_CONFIG_H -I. -I../../cdo-1.9.9rc2/src
-I../../cdo-1.9.9rc2/libcdi/src -I../../cdo-1.9.9rc2/src/mpim_grid
-I/usr/include/libxml2 -g -O2 -fopenmp -MT cdo-cdo.o -MD -MP -MF
.deps/cdo-cdo.Tpo -c -o cdo-cdo.o `test -f 'cdo.cc' || echo
'../../cdo-1.9.9rc2/src/'`cdo.cc
g++: internal compiler error: Segmentation fault signal terminated
program cc1plus
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://gcc.gnu.org/bugs/> for instructions.
make[1]: *** [Makefile:2446: cdo-cdo.o] Error 4
make[1]: Leaving directory
'/cygdrive/d/cyg_pub/devel/cdo/cdo-1.9.9rc2_build/src'
make: *** [Makefile:960: all] Error 2
attached the stackdump
Regards
Marco
[-- Attachment #2: cc1plus.exe.stackdump --]
[-- Type: text/plain, Size: 3224 bytes --]
Exception: STATUS_STACK_OVERFLOW at rip=00101AB3E37
rax=000000000000003D rbx=000000080118AC10 rcx=0000000000023A72
rdx=000000000000003D rsi=0000000180294A00 rdi=00000000FFFFCDF0
r8 =000000000C9714FC r9 =0000000000000005 r10=0000000100000000
r11=00000008003CCD30 r12=0000000000000000 r13=0000000000000000
r14=0000000000000000 r15=0000000000000000
rbp=00000000FF404030 rsp=00000000FF404000
program=D:\cygwin64\lib\gcc\x86_64-pc-cygwin\9.3.0\cc1plus.exe, pid 3660, thread
cs=0033 ds=002B es=002B fs=0053 gs=002B ss=002B
Stack trace:
Frame Function Args
000FF404030 00101AB3E37 (00000000003, 00000000000, 001022E2A50, 000FF4040B0)
000FF404080 00101AFA9F3 (000FF4040E8, 6FFF00023A72, 00000000001, 6FFFF3E56420)
000FF404100 00100D883BE (000000001CC, 000FF404150, 00101B7DB85, 000FF404170)
000FF404130 00100D8847B (00100D88250, 6FFFF61A9B50, 00100000001, 000FF404101)
000FF404170 00100D88704 (6FFFEE9147E8, 6FFFF61A9B00, 00100D8795A, 4000000000000)
000FF404200 00100D8CA75 (6FFFF61A9B50, 6FFFEE9147E8, 00101B7DB01, 6FFFEE8CDD00)
000FF404280 00100D8D100 (6FFFEE914801, 00000000002, 00101B7DB35, 6FFFEE8CDC40)
000FF4043D0 00100D8D1F5 (6FFFEE914801, 00000000002, 00101B7DB35, 6FFFEE8D5668)
000FF404520 00100D8D1F5 (6FFFEE914901, 6FFF00000002, 00101B7DB01, 6FFFEE8CDE00)
000FF404670 00100D8D1F5 (6FFFEE914901, 00000000002, 00101B7DB35, 6FFFEE8CDD40)
000FF4047C0 00100D8D1F5 (6FFFEE914901, 00000000002, 00101B7DB35, 6FFFEE8D56D8)
000FF404910 00100D8D1F5 (6FFFEE914A01, 6FFF00000002, 00101B7DB01, 6FFFEE8CDF00)
000FF404A60 00100D8D1F5 (6FFFEE914B01, 00000000002, 00101B7DB35, 6FFFEE8CDE40)
000FF404BB0 00100D8D1F5 (6FFFEE914A01, 00000000002, 00101B7DB35, 6FFFEE8D5748)
000FF404D00 00100D8D1F5 (6FFFEE914B01, 6FFF00000002, 00101B7DB01, 6FFFEE8CE000)
000FF404E50 00100D8D1F5 (6FFFEE914C01, 00000000002, 00101B7DB35, 6FFFEE8CDF40)
000FF404FA0 00100D8D1F5 (6FFFEE914B01, 00000000002, 00101B7DB35, 6FFFEE8D57B8)
000FF4050F0 00100D8D1F5 (6FFFEE914C01, 6FFF00000002, 00101B7DB01, 6FFFEE8CE100)
000FF405240 00100D8D1F5 (6FFFEE914D01, 00000000002, 00101B7DB35, 6FFFEE8CE040)
000FF405390 00100D8D1F5 (6FFFEE914D01, 00000000002, 00101B7DB35, 6FFFEE8D5828)
000FF4054E0 00100D8D1F5 (6FFFEE914E01, 6FFF00000002, 00101B7DB01, 6FFFEE8CE200)
000FF405630 00100D8D1F5 (6FFFEE914E01, 00000000002, 00101B7DB35, 6FFFEE8CE140)
000FF405780 00100D8D1F5 (6FFFEE914E01, 00000000002, 00101B7DB35, 6FFFEE8D5898)
000FF4058D0 00100D8D1F5 (6FFFEE914F01, 6FFF00000002, 00101B7DB01, 6FFFEE8CE300)
000FF405A20 00100D8D1F5 (6FFFEE915001, 00000000002, 00101B7DB35, 6FFFEE8CE240)
000FF405B70 00100D8D1F5 (6FFFEE914F01, 00000000002, 00101B7DB35, 6FFFEE8D5908)
000FF405CC0 00100D8D1F5 (6FFFEE915001, 6FFF00000002, 00101B7DB01, 6FFFEE8CE400)
000FF405E10 00100D8D1F5 (6FFFEE915101, 00000000002, 00101B7DB35, 6FFFEE8CE340)
000FF405F60 00100D8D1F5 (6FFFEE915001, 00000000002, 00101B7DB35, 6FFFEE8D5978)
000FF4060B0 00100D8D1F5 (6FFFEE915101, 6FFF00000002, 00101B7DB01, 6FFFEE8CE500)
000FF406200 00100D8D1F5 (6FFFEE915201, 00000000002, 00101B7DB35, 6FFFEE8CE440)
000FF406350 00100D8D1F5 (6FFFEE915201, 00000000002, 00101B7DB35, 6FFFEE8D59E8)
End of stack trace (more stack frames may be present)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: g++ 9.3.0 segfaults
2020-04-12 6:10 g++ 9.3.0 segfaults Marco Atzeri
@ 2020-04-12 10:03 ` JonY
2020-04-13 7:23 ` Csaba Raduly
0 siblings, 1 reply; 3+ messages in thread
From: JonY @ 2020-04-12 10:03 UTC (permalink / raw)
To: cygwin
[-- Attachment #1.1: Type: text/plain, Size: 1463 bytes --]
On 4/12/20 6:10 AM, Marco Atzeri via Cygwin wrote:
> Joy,
> this segfault happens on 9.3.0 but not on 9.2.0
>
> To replicate is enough to download cdo-1.9.9rc2.tar.gz from
> https://code.mpimet.mpg.de/projects/cdo/files
>
> https://code.mpimet.mpg.de/attachments/download/21529/cdo-1.9.9rc2.tar.gz
>
> ./configure
> make
>
>
> Entering directory '/cygdrive/d/cyg_pub/devel/cdo/cdo-1.9.9rc2_build/src'
> g++ -DHAVE_CONFIG_H -I. -I../../cdo-1.9.9rc2/src
> -I../../cdo-1.9.9rc2/libcdi/src -I../../cdo-1.9.9rc2/src/mpim_grid
> -I/usr/include/libxml2 -g -O2 -fopenmp -MT cdo-cdo.o -MD -MP -MF
> .deps/cdo-cdo.Tpo -c -o cdo-cdo.o `test -f 'cdo.cc' || echo
> '../../cdo-1.9.9rc2/src/'`cdo.cc
> g++: internal compiler error: Segmentation fault signal terminated
> program cc1plus
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <https://gcc.gnu.org/bugs/> for instructions.
> make[1]: *** [Makefile:2446: cdo-cdo.o] Error 4
> make[1]: Leaving directory
> '/cygdrive/d/cyg_pub/devel/cdo/cdo-1.9.9rc2_build/src'
> make: *** [Makefile:960: all] Error 2
>
> attached the stackdump
>
> Regards
> Marco
>
Please file a bug entry on https://gcc.gnu.org/bugzilla/, and attach the
preprocessed source code.
Do something like:
g++ -DHAVE_CONFIG_H .... -MF .deps/cdo-cdo.Tpo -E -o cdo-cdo.ii
../../cdo-1.9.9rc2/src/cdo.cc
Alternatively, try reducing the optimization level temporarily.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: g++ 9.3.0 segfaults
2020-04-12 10:03 ` JonY
@ 2020-04-13 7:23 ` Csaba Raduly
0 siblings, 0 replies; 3+ messages in thread
From: Csaba Raduly @ 2020-04-13 7:23 UTC (permalink / raw)
To: JonY; +Cc: cygwin list
On Sun, Apr 12, 2020 at 12:04 PM JonY via Cygwin wrote:
>
> Please file a bug entry on https://gcc.gnu.org/bugzilla/, and attach the
> preprocessed source code.
>
> Do something like:
> g++ -DHAVE_CONFIG_H .... -MF .deps/cdo-cdo.Tpo -E -o cdo-cdo.ii
> ../../cdo-1.9.9rc2/src/cdo.cc
>
Alternatively, add -save-temps to the original commandline.
Csaba
--
You can get very substantial performance improvements
by not doing the right thing. - Scott Meyers, An Effective C++11/14 Sampler
So if you're looking for a completely portable, 100% standards-conformant
way
to get the wrong information: this is what you want. - Scott Meyers
(C++TDaWYK)
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-04-13 7:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-12 6:10 g++ 9.3.0 segfaults Marco Atzeri
2020-04-12 10:03 ` JonY
2020-04-13 7:23 ` Csaba Raduly
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).