From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19178 invoked by alias); 21 May 2008 08:40:24 -0000 Received: (qmail 19018 invoked by uid 48); 21 May 2008 08:39:47 -0000 Date: Wed, 21 May 2008 08:40:00 -0000 Subject: [Bug c++/36288] New: OpenMP-C++: segmentation fault in basic string constructors X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "hailijuan at gmail dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2008-05/txt/msg01619.txt.bz2 the testcase b.cc is attached to show the problem. the error just happened with -m64. -bash-3.00$ /import/dr3/s10/gcc-4.2/bin/g++ b.cc -m64 -fopenmp -bash-3.00$ export LD_LIBRARY_PATH=/import/dr3/s10/gcc-4.2/lib/sparcv9 -bash-3.00$ ./a.out Segmentation Fault (core dumped) -bash-3.00$ dbx a.out (dbx) run Running: a.out (process id 12660) Reading libc_psr.so.1 t@1 (l@1) signal SEGV (no mapping at the fault address) in _memcpy at 0xffffffff7dc00ee0 0xffffffff7dc00ee0: _memcpy+0x0660: stda %f32, [%o0] 0xf0 dbx: internal error: signal SIGSEGV (no mapping at the fault address) dbx's coredump will appear in /tmp Abort (core dumped) -bash-3.00$ /import/dr3/s10/gcc-4.2/bin/g++ -v Using built-in specs. Target: sparc-sun-solaris2.10 Configured with: /import/dr2/starlex/1/gcc-4.2-20070228/configure --prefix=/import/dr3/s10/gcc-4.2 --enable-languages=c,c++,fortran --enable-rpath --with-mpfr=/import/dr3/s10/gcc-4.2 --with-gmp=/import/dr3/s10/gcc-4.2 Thread model: posix gcc version 4.2.0 20070228 (prerelease) -- Summary: OpenMP-C++: segmentation fault in basic string constructors Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: major Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: hailijuan at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36288