[Bug libstdc++/84865] Regular expression regex_search falls into infinite loop causing segfault on crayxc machines
shaoqin2 at illinois dot edu
gcc-bugzilla@gcc.gnu.org
Wed Mar 14 21:46:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84865
Bobby Lu <shaoqin2 at illinois dot edu> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #43659|0 |1
is obsolete| |
--- Comment #4 from Bobby Lu <shaoqin2 at illinois dot edu> ---
Created attachment 43660
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43660&action=edit
Correction to the previous file. That was the gcc5.4 reproduction source. Sorry
Single source file to reproduce the bug. This is the one for gcc-7.1.0. I
uploaded a wrong one. Sorry for the confusion.
compile with
g++ -std=c++11 regex.cpp -lpthread
./a.out
Segmentation fault (core dumped)
g++ -v
Using built-in specs.
COLLECT_GCC=/opt/gcc/7.1.0/bin/../snos/bin/g++
COLLECT_LTO_WRAPPER=/opt/gcc/7.1.0/snos/libexec/gcc/x86_64-suse-linux/7.1.0/lto-wrapper
Target: x86_64-suse-linux
Configured with: ../cray-gcc-7.1.0-201705230545.65f29659747b4/configure
--prefix=/opt/gcc/7.1.0/snos --disable-nls --libdir=/opt/gcc/7.1.0/snos/lib
--enable-languages=c,c++,fortran
--with-gxx-include-dir=/opt/gcc/7.1.0/snos/include/g++
--with-slibdir=/opt/gcc/7.1.0/snos/lib --with-system-zlib --enable-shared
--enable-__cxa_atexit --build=x86_64-suse-linux --with-ppl --with-cloog
--disable-multilib
Thread model: posix
gcc version 7.1.0 20170502 (Cray Inc.) (GCC)
uname -a
Linux edison03 4.4.103-92.56-default #1 SMP Wed Dec 27 16:24:31 UTC 2017
(2fd2155) x86_64 x86_64 x86_64 GNU/Linux
More information about the Gcc-bugs
mailing list