[Bug libstdc++/34095] parallel mode: segfault in std::sort

bangerth at dealii dot org gcc-bugzilla@gcc.gnu.org
Wed Dec 12 22:44:00 GMT 2007



------- Comment #3 from bangerth at dealii dot org  2007-12-12 22:44 -------
(In reply to comment #2)
> Let's just close it if you can't reproduce now. I'll just try to run everything
> again some time from now and if I have the same problem again I'll re-open.

Hm, so I got around to check this out again and in fact the same happens
with today's svn version:

examples/step-14> c++ -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../gcc/configure --prefix=/tmp/bangerth/bin/gcc-mainline
--with-mpfr=/tmp/bangerth/bin --with-gmp=/tmp/bangerth/bin --disable-multilib
--enable-languages=c,c++
Thread model: posix
gcc version 4.3.0 20071212 (experimental) (GCC) 

examples/step-14> c++ -D_GLIBCXX_PARALLEL -fopenmp -march=native -mtune=native
a.cc -g -O2

examples/step-14> ./a.out 
Segmentation fault

examples/step-14> uname -a
Linux bloc640b 2.6.22.9-0.4-default #1 SMP 2007/10/05 21:32:04 UTC i686 i686
i386 GNU/Linux

This is with the program posted before, with pretty much the same backtrace. 
Johannes, does the program work for you?

Best
 Wolfgang


-- 

bangerth at dealii dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|FIXED                       |


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



More information about the Gcc-bugs mailing list