[Bug libstdc++/84865] New: Regular expression regex_search falls into infinite loop causing segfault on crayxc machines

2018-03-14 Thread shaoqin2 at illinois dot edu
Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: shaoqin2 at illinois dot edu Target Milestone: --- Using regex_search in a multi threaded environment on crayxc super computer will cause infinite loop

[Bug libstdc++/84865] Regular expression regex_search falls into infinite loop causing segfault on crayxc machines

2018-03-14 Thread shaoqin2 at illinois dot edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84865 --- Comment #1 from Bobby Lu --- No compiler warning is generated

[Bug libstdc++/84865] Regular expression regex_search falls into infinite loop causing segfault on crayxc machines

2018-03-14 Thread shaoqin2 at illinois dot edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84865 --- Comment #3 from Bobby Lu --- Created attachment 43659 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43659&action=edit Single source file to reproduce the bug compile with g++ -std=c++11 regex.cpp -lpthread ./a.out Segmentation fault

[Bug libstdc++/84865] Regular expression regex_search falls into infinite loop causing segfault on crayxc machines

2018-03-14 Thread shaoqin2 at illinois dot edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84865 Bobby Lu changed: What|Removed |Added Attachment #43659|0 |1 is obsolete|

[Bug libstdc++/84865] Regular expression regex_search falls into infinite loop causing segfault on crayxc machines

2018-03-14 Thread shaoqin2 at illinois dot edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84865 --- Comment #7 from Bobby Lu --- Created attachment 43661 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43661&action=edit Gdb stack trace. $ ulimit unlimited

[Bug libstdc++/84865] Regular expression regex_search falls into infinite loop causing segfault on crayxc machines

2018-03-14 Thread shaoqin2 at illinois dot edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84865 Bobby Lu changed: What|Removed |Added Attachment #43661|0 |1 is obsolete|

[Bug libstdc++/84865] Regular expression regex_search falls into infinite loop causing segfault on crayxc machines

2018-03-14 Thread shaoqin2 at illinois dot edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84865 --- Comment #11 from Bobby Lu --- (In reply to Tim Shen from comment #9) > I see. Can you show the ulimit *stack* information? I believe it's -s. > > Also, try -O2 so that the functions are inlined. > > As for the stack overflow, it's a known i