[Bug target/64368] [5 Regression] Several libstdc++ test failures on darwin and others after r218964.

2015-01-21 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64368

Rainer Orth  changed:

   What|Removed |Added

 CC||ro at gcc dot gnu.org

--- Comment #14 from Rainer Orth  ---
I've just confirmed that r218964 is also the cuprit for the (considerably
smaller)
set of 64-bit testsuite failures seen on Solaris (both SPARC and x86):

FAIL: 22_locale/num_get/get/char/37958.cc execution test
FAIL: 22_locale/num_get/get/wchar_t/23953.cc execution test
FAIL: 22_locale/num_get/get/wchar_t/37958.cc execution test
FAIL: 22_locale/num_put/put/char/23953.cc execution test
FAIL: 22_locale/num_put/put/char/38196.cc execution test
FAIL: 22_locale/num_put/put/wchar_t/23953.cc execution test
FAIL: 22_locale/num_put/put/wchar_t/38196.cc execution test
FAIL: 27_io/basic_ostream/inserters_arithmetic/char/1.cc execution test
FAIL: 27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc execution test

The first one e.g. is a SEGV:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1 (LWP 1)]
0x80ffbf4b2482 in realfree () from /lib/64/libc.so.1
(gdb) where
#0  0x80ffbf4b2482 in realfree () from /lib/64/libc.so.1
#1  0x80ffbf4b2b70 in _free_unlocked () from /lib/64/libc.so.1
#2  0x80ffbf4b2acd in free () from /lib/64/libc.so.1
#3  0x80fcc0763a3f in std::__numpunct_cache::~__numpunct_cache (
this=0x419f50, __in_chrg=)
at
/var/gcc/regression/trunk/11-gcc-gas/build/i386-pc-solaris2.11/amd64/libstdc++-v3/include/bits/locale_facets.h:1623
#4  0x80fcc0763a71 in std::__numpunct_cache::~__numpunct_cache (
this=0x419f50, __in_chrg=)
at
/var/gcc/regression/trunk/11-gcc-gas/build/i386-pc-solaris2.11/amd64/libstdc++-v3/include/bits/locale_facets.h:1626
#5  0x80fcc07ffc37 in std::numpunct::~numpunct (this=0x41a000, 
__in_chrg=) at numeric_members_cow.cc:66
#6  0x80fcc08109dd in ~numpunct_shim (this=0x41a000, 
__in_chrg=)
at
/vol/gcc/src/hg/trunk/local/libstdc++-v3/src/c++11/cxx11-shim_facets.cc:242
#7  std::__facet_shims::(anonymous
namespace)::numpunct_shim::~numpunct_shim (this=0x41a000,
__in_chrg=)
at
/vol/gcc/src/hg/trunk/local/libstdc++-v3/src/c++11/cxx11-shim_facets.cc:242
#8  0x80fcc07f51ab in std::locale::_Impl::~_Impl() ()
   from ../../../amd64/libstdc++-v3/src/.libs/libstdc++.so.6
#9  0x80fcc07f53e3 in std::locale::~locale() ()
   from ../../../amd64/libstdc++-v3/src/.libs/libstdc++.so.6
#10 0x00404506 in ~basic_ios (this=0x80ffbfffef88, 
__in_chrg=)
at
/var/gcc/regression/trunk/11-gcc-gas/build/i386-pc-solaris2.11/amd64/libstdc++-v3/include/bits/basic_ios.h:282
#11 ~basic_istringstream (this=0x80ffbfffef10, __in_chrg=, 
__vtt_parm=)
at
/var/gcc/regression/trunk/11-gcc-gas/build/i386-pc-solaris2.11/amd64/libstdc++-v3/include/sstream:433
#12 test01 ()
at
/vol/gcc/src/hg/trunk/local/libstdc++-v3/testsuite/22_locale/num_get/get/char/23953.cc:75
#13 0x004047e9 in main ()
at
/vol/gcc/src/hg/trunk/local/libstdc++-v3/testsuite/22_locale/num_get/get/char/23953.cc:80

  Rainer


[Bug target/64368] [5 Regression] Several libstdc++ test failures on darwin and others after r218964.

2015-01-11 Thread izamyatin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64368

Igor Zamyatin  changed:

   What|Removed |Added

 CC||izamyatin at gmail dot com

--- Comment #13 from Igor Zamyatin  ---
Hi! 

Any plans on fixing this?


[Bug target/64368] [5 Regression] Several libstdc++ test failures on darwin and others after r218964.

2015-01-09 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64368

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|--- |5.0


[Bug target/64368] [5 Regression] Several libstdc++ test failures on darwin and others after r218964.

2014-12-30 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64368

--- Comment #12 from Jonathan Wakely  ---
Apologies, I should read emails more carefully when I'm ill, or not respond at
all!

I plan to spend time on this later this week. HNY all!


[Bug target/64368] [5 Regression] Several libstdc++ test failures on darwin and others after r218964.

2014-12-29 Thread hp at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64368

--- Comment #11 from Hans-Peter Nilsson  ---
Created attachment 34344
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34344&action=edit
Call-trace for testsuite/22_locale/locale/cons/6.cc on cris-elf, a "newlib
target"

Plain execution trace from 22_locale/locale/cons/6.cc compiled with default
testsuite options, so inlining and whatever effects apply.

In the trace, lines with ">" denotes function calls, "<" are returns, with
indentation supposed to show the call-level.  The first four columns are the
hexadecimal values of the first four parameters as applicable (actually,
"parameter registers" but none are larger than 32 bits here, so same thing) /
ditto return values, padded with random contents.  (The fifth column is
cumulative execution times at each call-level.)

By a quick glance it seems the freed-but-not-allocated pointer, 0x5e23a, is
also the argument to the last call to strlen.

HTH.


[Bug target/64368] [5 Regression] Several libstdc++ test failures on darwin and others after r218964.

2014-12-29 Thread hp at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64368

--- Comment #10 from Hans-Peter Nilsson  ---
(In reply to Jonathan Wakely from comment #9)
> Who is waving anything away?

I wasn't referring to you.  Apparently I was referring to a comment that was
supposed to be ignored.

> I've been fixing things for Darwin at all hours
> of the day, while on vacation and while ill, so don't appreciate that
> comment.

Sorry!
Your work and diligence is much appreciated.
Get well soon.
HNY.

> Someone could always try debugging things themselves, even if just posting 
> full stack traces to this report.

"Bare-metal" simulator setup without gdb, unfortunately.

brgds, H-P


[Bug target/64368] [5 Regression] Several libstdc++ test failures on darwin and others after r218964.

2014-12-29 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64368

--- Comment #9 from Jonathan Wakely  ---
Who is waving anything away? I've been fixing things for Darwin at all hours of
the day, while on vacation and while ill, so don't appreciate that comment.

I have run the years in valgrind and saw no problem on Linux.

Someone could always try debugging things themselves, even if just posting full
stack traces to this report.


[Bug target/64368] [5 Regression] Several libstdc++ test failures on darwin and others after r218964.

2014-12-28 Thread hp at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64368

Hans-Peter Nilsson  changed:

   What|Removed |Added

Summary|[5 Regression] Several  |[5 Regression] Several
   |libstdc++ test failures on  |libstdc++ test failures on
   |darwin after r218964.   |darwin and others after
   ||r218964.

--- Comment #8 from Hans-Peter Nilsson  ---
BTW, the ext/profile/mutex_extensions_neg.cc errors were deliberately fixed in
r218988:218990.

Also fails on i386-unknown-freebsd10.1:
 (unfortunately
no svn revision quoted but compare to
).