public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/16435] New: Assertion `!value_lazy (var->value)' failed
@ 2014-01-11 13:01 szotsaki at gmail dot com
2014-01-11 13:03 ` [Bug c++/16435] " szotsaki at gmail dot com
2023-08-31 16:41 ` [Bug varobj/16435] " tromey at sourceware dot org
0 siblings, 2 replies; 3+ messages in thread
From: szotsaki at gmail dot com @ 2014-01-11 13:01 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=16435
Bug ID: 16435
Summary: Assertion `!value_lazy (var->value)' failed
Product: gdb
Version: 7.6
Status: NEW
Severity: normal
Priority: P2
Component: c++
Assignee: unassigned at sourceware dot org
Reporter: szotsaki at gmail dot com
Created attachment 7349
--> https://sourceware.org/bugzilla/attachment.cgi?id=7349&action=edit
C++ code which causes GDB to crash in line 18
I debug a C++ algorithm in Eclipse with GDB. With the attached code I can
reliably reproduce the following GDB crash:
../../gdb/varobj.c:3548: internal-error: c_value_of_variable: Assertion
`!value_lazy (var->value)' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Versions:
OS: openSUSE 13.1
GDB: 7.6.50.20130731
GCC: 4.8.1
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c++/16435] Assertion `!value_lazy (var->value)' failed
2014-01-11 13:01 [Bug c++/16435] New: Assertion `!value_lazy (var->value)' failed szotsaki at gmail dot com
@ 2014-01-11 13:03 ` szotsaki at gmail dot com
2023-08-31 16:41 ` [Bug varobj/16435] " tromey at sourceware dot org
1 sibling, 0 replies; 3+ messages in thread
From: szotsaki at gmail dot com @ 2014-01-11 13:03 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=16435
--- Comment #1 from Ákos Szőts <szotsaki at gmail dot com> ---
Created attachment 7350
--> https://sourceware.org/bugzilla/attachment.cgi?id=7350&action=edit
Core dump of GDB
--
You are receiving this mail because:
You are on the CC list for the bug.
>From gdb-prs-return-15032-listarch-gdb-prs=sources.redhat.com@sourceware.org Sat Jan 11 13:36:02 2014
Return-Path: <gdb-prs-return-15032-listarch-gdb-prs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-gdb-prs@sources.redhat.com
Received: (qmail 8480 invoked by alias); 11 Jan 2014 13:36:02 -0000
Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <gdb-prs.sourceware.org>
List-Subscribe: <mailto:gdb-prs-subscribe@sourceware.org>
List-Archive: <http://sourceware.org/ml/gdb-prs/>
List-Post: <mailto:gdb-prs@sourceware.org>
List-Help: <mailto:gdb-prs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: gdb-prs-owner@sourceware.org
Delivered-To: mailing list gdb-prs@sourceware.org
Received: (qmail 8453 invoked by uid 48); 11 Jan 2014 13:36:01 -0000
From: "p.remmers at kabelmail dot de" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug python/16436] New: pointed-to objects are not pretty printed
Date: Sat, 11 Jan 2014 13:36:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gdb
X-Bugzilla-Component: python
X-Bugzilla-Version: 7.6
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: p.remmers at kabelmail dot de
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status
bug_severity priority component assigned_to reporter
Message-ID: <bug-16436-4717@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-q1/txt/msg00040.txt.bz2
Content-length: 2979
https://sourceware.org/bugzilla/show_bug.cgi?id\x16436
Bug ID: 16436
Summary: pointed-to objects are not pretty printed
Product: gdb
Version: 7.6
Status: NEW
Severity: normal
Priority: P2
Component: python
Assignee: unassigned at sourceware dot org
Reporter: p.remmers at kabelmail dot de
Using eclipse CDT (Kepler) for debugging.
If there exists a pretty printer for a class, instances of this class are
pretty-printed ok. I.e. you can expand the variable in the "Variables" view and
see the pretty-printed children.
However, if the variable is a pointer to a class, then the pointed-to object is
not pretty printed. If you expand the pointer variable, you see the raw members
of the pointed-to object, not the children reported by the printer.
std::string str("Hello"); // pretty printed
std::string* pstr = &str; // not pretty printed
Versions:
$ gdb -v
GNU gdb (GDB) 7.6
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 "i686-pc-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-linux-gnu/4.8/lto-wrapper
Target: i686-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu
4.8.1-2ubuntu1~12.04' --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs
--enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr
--program-suffix=-4.8 --enable-shared --enable-linker-build-id
--libexecdir=/usr/lib --without-included-gettext --enable-threads=posix
--with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls
--with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug
--enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin
--with-system-zlib --disable-browser-plugin --enable-java-awt=gtk
--enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-i386/jre
--enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-i386
--with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-i386
--with-arch-directory=i386 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar
--enable-objc-gc --enable-targets=all --enable-multiarch --disable-werror
--with-arch-32=i686 --with-multilib-list=m32,m64 --with-tune=generic
--enable-checking=release --build=i686-linux-gnu --host=i686-linux-gnu
--target=i686-linux-gnu
Thread model: posix
gcc version 4.8.1 (Ubuntu 4.8.1-2ubuntu1~12.04)
$ uname -a
Linux xubuntuvm 3.2.0-57-generic #87-Ubuntu SMP Tue Nov 12 21:38:12 UTC 2013
i686 i686 i386 GNU/Linux
/Peter
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug varobj/16435] Assertion `!value_lazy (var->value)' failed
2014-01-11 13:01 [Bug c++/16435] New: Assertion `!value_lazy (var->value)' failed szotsaki at gmail dot com
2014-01-11 13:03 ` [Bug c++/16435] " szotsaki at gmail dot com
@ 2023-08-31 16:41 ` tromey at sourceware dot org
1 sibling, 0 replies; 3+ messages in thread
From: tromey at sourceware dot org @ 2023-08-31 16:41 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=16435
Tom Tromey <tromey at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |OBSOLETE
--- Comment #3 from Tom Tromey <tromey at sourceware dot org> ---
I also wonder what commands were sent.
Anyway, going to close now due to lack of response.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-08-31 16:41 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-11 13:01 [Bug c++/16435] New: Assertion `!value_lazy (var->value)' failed szotsaki at gmail dot com
2014-01-11 13:03 ` [Bug c++/16435] " szotsaki at gmail dot com
2023-08-31 16:41 ` [Bug varobj/16435] " tromey 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).