octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #36161] segfault when using octave_map with g+


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #36161] segfault when using octave_map with g++ --std=c++11
Date: Fri, 13 Apr 2012 20:53:33 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.2) Gecko/20100101 Firefox/10.0.2 Iceweasel/10.0.2

Follow-up Comment #6, bug #36161 (project octave):

I also can't reproduce this problem with GCC 4.6.2 on a Debian system.  There,
valgrind gives me the following:


coredump:800> g++ --std=c++0x foo.cc -o foo
-I/usr/local/octave/3.6.1/include/octave-3.6.1
-L/usr/local/octave/3.6.1/lib/octave/3.6.1 -loctave -loctinterp 
coredump:801> ./foo
coredump:802> valgrind ./foo
==6514== Memcheck, a memory error detector
==6514== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==6514== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info
==6514== Command: ./foo
==6514== 
==6514== 
==6514== HEAP SUMMARY:
==6514==     in use at exit: 1,338 bytes in 38 blocks
==6514==   total heap usage: 5,410 allocs, 5,372 frees, 293,247 bytes
allocated
==6514== 
==6514== LEAK SUMMARY:
==6514==    definitely lost: 60 bytes in 1 blocks
==6514==    indirectly lost: 240 bytes in 10 blocks
==6514==      possibly lost: 662 bytes in 19 blocks
==6514==    still reachable: 376 bytes in 8 blocks
==6514==         suppressed: 0 bytes in 0 blocks
==6514== Rerun with --leak-check=full to see details of leaked memory
==6514== 
==6514== For counts of detected and suppressed errors, rerun with: -v
==6514== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 4 from 4)
coredump:803> gcc -v
Using built-in specs.
COLLECT_GCC=/usr/bin/gcc-4.6.real
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.6/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.6.2-12'
--with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++,go --prefix=/usr
--program-suffix=-4.6 --enable-shared --enable-linker-build-id
--with-system-zlib --libexecdir=/usr/lib --without-included-gettext
--enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6
--libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug
--enable-libstdcxx-time=yes --enable-plugin --enable-objc-gc
--with-arch-32=i586 --with-tune=generic --enable-checking=release
--build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.6.2 (Debian 4.6.2-12) 


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?36161>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]