This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug varobj/15166] New: varobj.c:3871: internal-error:cplus_describe_child: Assertion `access' failed.
- From: "genpfault at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 21 Feb 2013 03:46:13 +0000
- Subject: [Bug varobj/15166] New: varobj.c:3871: internal-error:cplus_describe_child: Assertion `access' failed.
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=15166
Bug #: 15166
Summary: varobj.c:3871: internal-error: cplus_describe_child:
Assertion `access' failed.
Product: gdb
Version: 7.5
Status: NEW
Severity: normal
Priority: P2
Component: varobj
AssignedTo: unassigned@sourceware.org
ReportedBy: genpfault@gmail.com
Classification: Unclassified
Created attachment 6884
--> http://sourceware.org/bugzilla/attachment.cgi?id=6884
Test program
Trying to use the Python pretty-printers on a std::map causes gdb to error out
with:
varobj.c:3871: internal-error: cplus_describe_child: Assertion `access' failed.
Environment/test sequence:
Running up-to-date Debian Wheezy (amd64).
$ uname -a:
Linux genpfault 3.2.0-4-amd64 #1 SMP Debian 3.2.35-2 x86_64 GNU/Linux
$ gdb
GNU gdb (GDB) 7.5.50.20130219
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
$ g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.7/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.7.2-5'
--with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs
--enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr
--program-suffix=-4.7 --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.7
--libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu
--enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object
--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.7.2 (Debian 4.7.2-5)
# main.cpp is attached.
# Distro-shipped pretty-printers used by script.txt are attached.
# output.txt is attached.
$ g++ -g main.cpp -o main
$ gdb -nx --interpreter=mi2 ./main < script.txt > output.txt
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.