public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug varobj/15166] New: varobj.c:3871: internal-error: cplus_describe_child: Assertion `access' failed.
@ 2013-02-21  3:46 genpfault at gmail dot com
  2013-02-21  3:46 ` [Bug varobj/15166] " genpfault at gmail dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: genpfault at gmail dot com @ 2013-02-21  3:46 UTC (permalink / raw)
  To: gdb-prs

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.


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

* [Bug varobj/15166] varobj.c:3871: internal-error: cplus_describe_child: Assertion `access' failed.
  2013-02-21  3:46 [Bug varobj/15166] New: varobj.c:3871: internal-error: cplus_describe_child: Assertion `access' failed genpfault at gmail dot com
@ 2013-02-21  3:46 ` genpfault at gmail dot com
  2013-02-21  3:47 ` genpfault at gmail dot com
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: genpfault at gmail dot com @ 2013-02-21  3:46 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=15166

--- Comment #1 from Charles Huber <genpfault at gmail dot com> 2013-02-21 03:46:55 UTC ---
Created attachment 6885
  --> http://sourceware.org/bugzilla/attachment.cgi?id=6885
gdb script that triggers the error

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


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

* [Bug varobj/15166] varobj.c:3871: internal-error: cplus_describe_child: Assertion `access' failed.
  2013-02-21  3:46 [Bug varobj/15166] New: varobj.c:3871: internal-error: cplus_describe_child: Assertion `access' failed genpfault at gmail dot com
  2013-02-21  3:46 ` [Bug varobj/15166] " genpfault at gmail dot com
@ 2013-02-21  3:47 ` genpfault at gmail dot com
  2013-02-21  3:48 ` genpfault at gmail dot com
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: genpfault at gmail dot com @ 2013-02-21  3:47 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=15166

--- Comment #2 from Charles Huber <genpfault at gmail dot com> 2013-02-21 03:47:55 UTC ---
Created attachment 6886
  --> http://sourceware.org/bugzilla/attachment.cgi?id=6886
Distro-supplied Python pretty-printers used by script.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.


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

* [Bug varobj/15166] varobj.c:3871: internal-error: cplus_describe_child: Assertion `access' failed.
  2013-02-21  3:46 [Bug varobj/15166] New: varobj.c:3871: internal-error: cplus_describe_child: Assertion `access' failed genpfault at gmail dot com
  2013-02-21  3:46 ` [Bug varobj/15166] " genpfault at gmail dot com
  2013-02-21  3:47 ` genpfault at gmail dot com
@ 2013-02-21  3:48 ` genpfault at gmail dot com
  2013-02-21 21:58 ` genpfault at gmail dot com
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: genpfault at gmail dot com @ 2013-02-21  3:48 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=15166

--- Comment #3 from Charles Huber <genpfault at gmail dot com> 2013-02-21 03:48:41 UTC ---
Created attachment 6887
  --> http://sourceware.org/bugzilla/attachment.cgi?id=6887
GDB output from running script.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.


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

* [Bug varobj/15166] varobj.c:3871: internal-error: cplus_describe_child: Assertion `access' failed.
  2013-02-21  3:46 [Bug varobj/15166] New: varobj.c:3871: internal-error: cplus_describe_child: Assertion `access' failed genpfault at gmail dot com
                   ` (2 preceding siblings ...)
  2013-02-21  3:48 ` genpfault at gmail dot com
@ 2013-02-21 21:58 ` genpfault at gmail dot com
  2013-03-16  6:05 ` genpfault at gmail dot com
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: genpfault at gmail dot com @ 2013-02-21 21:58 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=15166

Charles Huber <genpfault at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |genpfault at gmail dot com

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


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

* [Bug varobj/15166] varobj.c:3871: internal-error: cplus_describe_child: Assertion `access' failed.
  2013-02-21  3:46 [Bug varobj/15166] New: varobj.c:3871: internal-error: cplus_describe_child: Assertion `access' failed genpfault at gmail dot com
                   ` (3 preceding siblings ...)
  2013-02-21 21:58 ` genpfault at gmail dot com
@ 2013-03-16  6:05 ` genpfault at gmail dot com
  2013-06-26  1:50 ` genpfault at gmail dot com
  2024-01-13 18:53 ` ssbssa at sourceware dot org
  6 siblings, 0 replies; 8+ messages in thread
From: genpfault at gmail dot com @ 2013-03-16  6:05 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=15166

--- Comment #4 from Charles Huber <genpfault at gmail dot com> 2013-03-16 06:05:06 UTC ---
Still occurs with the current 7.6 weekly tarball:

ftp://sourceware.org/pub/gdb/snapshots/current/gdb-7.6.50.20130316.tar.bz2

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


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

* [Bug varobj/15166] varobj.c:3871: internal-error: cplus_describe_child: Assertion `access' failed.
  2013-02-21  3:46 [Bug varobj/15166] New: varobj.c:3871: internal-error: cplus_describe_child: Assertion `access' failed genpfault at gmail dot com
                   ` (4 preceding siblings ...)
  2013-03-16  6:05 ` genpfault at gmail dot com
@ 2013-06-26  1:50 ` genpfault at gmail dot com
  2024-01-13 18:53 ` ssbssa at sourceware dot org
  6 siblings, 0 replies; 8+ messages in thread
From: genpfault at gmail dot com @ 2013-06-26  1:50 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=15166

Charles Huber <genpfault at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|7.5                         |7.6

--- Comment #5 from Charles Huber <genpfault at gmail dot com> ---
Still occurs with the current 7.6 release tarball:
http://ftp.gnu.org/gnu/gdb/gdb-7.6.tar.bz2

and the most recent weekly CVS snapshot:
ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-CVS-7.6.50.20130618.tar.bz2

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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

* [Bug varobj/15166] varobj.c:3871: internal-error: cplus_describe_child: Assertion `access' failed.
  2013-02-21  3:46 [Bug varobj/15166] New: varobj.c:3871: internal-error: cplus_describe_child: Assertion `access' failed genpfault at gmail dot com
                   ` (5 preceding siblings ...)
  2013-06-26  1:50 ` genpfault at gmail dot com
@ 2024-01-13 18:53 ` ssbssa at sourceware dot org
  6 siblings, 0 replies; 8+ messages in thread
From: ssbssa at sourceware dot org @ 2024-01-13 18:53 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=15166

Hannes Domani <ssbssa at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |red.skotina at gmail dot com

--- Comment #6 from Hannes Domani <ssbssa at sourceware dot org> ---
*** Bug 18332 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

end of thread, other threads:[~2024-01-13 18:53 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-21  3:46 [Bug varobj/15166] New: varobj.c:3871: internal-error: cplus_describe_child: Assertion `access' failed genpfault at gmail dot com
2013-02-21  3:46 ` [Bug varobj/15166] " genpfault at gmail dot com
2013-02-21  3:47 ` genpfault at gmail dot com
2013-02-21  3:48 ` genpfault at gmail dot com
2013-02-21 21:58 ` genpfault at gmail dot com
2013-03-16  6:05 ` genpfault at gmail dot com
2013-06-26  1:50 ` genpfault at gmail dot com
2024-01-13 18:53 ` ssbssa at sourceware dot org

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