public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/36288]  New: OpenMP-C++: segmentation fault in basic string constructors
@ 2008-05-21  8:40 hailijuan at gmail dot com
  2008-05-21  8:42 ` [Bug c++/36288] " hailijuan at gmail dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: hailijuan at gmail dot com @ 2008-05-21  8:40 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-05-28  8:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-21  8:40 [Bug c++/36288] New: OpenMP-C++: segmentation fault in basic string constructors hailijuan at gmail dot com
2008-05-21  8:42 ` [Bug c++/36288] " hailijuan at gmail dot com
2008-05-28  7:29 ` pinskia at gcc dot gnu dot org
2008-05-28  7:52 ` pinskia at gcc dot gnu dot org
2008-05-28  7:53 ` [Bug middle-end/36288] " pinskia at gcc dot gnu dot org
2008-05-28  8:55 ` hailijuan at gmail dot com

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).