public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/17066] New: GDB demeangler crashes
@ 2014-06-18 14:43 andre.poenitz at digia dot com
  2014-06-18 15:37 ` [Bug c++/17066] " andre.poenitz at digia dot com
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: andre.poenitz at digia dot com @ 2014-06-18 14:43 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 17066
           Summary: GDB demeangler crashes
           Product: gdb
           Version: 7.7
            Status: NEW
          Severity: normal
          Priority: P2
         Component: c++
          Assignee: unassigned at sourceware dot org
          Reporter: andre.poenitz at digia dot com

I get immedate segfaults when running

 echo 'void
_ZN5Utils9transformIPN15ProjectExplorer13BuildStepListEZNKS1_18BuildConfiguration14knownStepListsEvEUlS3_E_EEN4Myns5QListIDTclfp0_cvT__EEEEERKNS7_IS8_EET0_()
{ } int main() {}' | gcc -xc - && /data/dev/debugger/installed/gdb-git/bin/gdb
./a.out


both with Ubuntu 14.04's "GNU gdb (Ubuntu 7.7-0ubuntu3.1) 7.7" and current
git's HEAD (currently 5d376983)

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


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

* [Bug c++/17066] GDB demeangler crashes
  2014-06-18 14:43 [Bug c++/17066] New: GDB demeangler crashes andre.poenitz at digia dot com
@ 2014-06-18 15:37 ` andre.poenitz at digia dot com
  2014-06-18 15:44 ` [Bug c++/17066] GDB demangler crashes palves at redhat dot com
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: andre.poenitz at digia dot com @ 2014-06-18 15:37 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #1 from Andre' <andre.poenitz at digia dot com> ---
The crash was introduced with 492e19d098f4bf4f22bac22815e9cb117be55b33 "Fix
demangler to handle conversion operators correctly"

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


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

* [Bug c++/17066] GDB demangler crashes
  2014-06-18 14:43 [Bug c++/17066] New: GDB demeangler crashes andre.poenitz at digia dot com
  2014-06-18 15:37 ` [Bug c++/17066] " andre.poenitz at digia dot com
@ 2014-06-18 15:44 ` palves at redhat dot com
  2014-06-18 15:46 ` palves at redhat dot com
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: palves at redhat dot com @ 2014-06-18 15:44 UTC (permalink / raw)
  To: gdb-prs

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

Pedro Alves <palves at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |palves at redhat dot com
            Summary|GDB demeangler crashes      |GDB demangler crashes

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


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

* [Bug c++/17066] GDB demangler crashes
  2014-06-18 14:43 [Bug c++/17066] New: GDB demeangler crashes andre.poenitz at digia dot com
  2014-06-18 15:37 ` [Bug c++/17066] " andre.poenitz at digia dot com
  2014-06-18 15:44 ` [Bug c++/17066] GDB demangler crashes palves at redhat dot com
@ 2014-06-18 15:46 ` palves at redhat dot com
  2014-06-18 15:49 ` gbenson at redhat dot com
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: palves at redhat dot com @ 2014-06-18 15:46 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #2 from Pedro Alves <palves at redhat dot com> ---
This should fix it then:
 https://gcc.gnu.org/ml/gcc-patches/2014-05/msg02279.html

I haven't managed to get back to that yet...

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


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

* [Bug c++/17066] GDB demangler crashes
  2014-06-18 14:43 [Bug c++/17066] New: GDB demeangler crashes andre.poenitz at digia dot com
                   ` (2 preceding siblings ...)
  2014-06-18 15:46 ` palves at redhat dot com
@ 2014-06-18 15:49 ` gbenson at redhat dot com
  2014-06-18 15:53 ` andre.poenitz at digia dot com
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: gbenson at redhat dot com @ 2014-06-18 15:49 UTC (permalink / raw)
  To: gdb-prs

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

Gary Benson <gbenson at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gbenson at redhat dot com

--- Comment #3 from Gary Benson <gbenson at redhat dot com> ---
Oh, I thought that was all done and committed.

In any event, I can confirm the crash with latest git gdb.

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


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

* [Bug c++/17066] GDB demangler crashes
  2014-06-18 14:43 [Bug c++/17066] New: GDB demeangler crashes andre.poenitz at digia dot com
                   ` (3 preceding siblings ...)
  2014-06-18 15:49 ` gbenson at redhat dot com
@ 2014-06-18 15:53 ` andre.poenitz at digia dot com
  2014-06-18 15:54 ` andre.poenitz at digia dot com
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: andre.poenitz at digia dot com @ 2014-06-18 15:53 UTC (permalink / raw)
  To: gdb-prs

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

Andre' <andre.poenitz at digia dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ccoutant at google dot com

--- Comment #4 from Andre' <andre.poenitz at digia dot com> ---
For me as well. Thanks.

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


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

* [Bug c++/17066] GDB demangler crashes
  2014-06-18 14:43 [Bug c++/17066] New: GDB demeangler crashes andre.poenitz at digia dot com
                   ` (4 preceding siblings ...)
  2014-06-18 15:53 ` andre.poenitz at digia dot com
@ 2014-06-18 15:54 ` andre.poenitz at digia dot com
  2014-06-18 16:02 ` orgads at gmail dot com
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: andre.poenitz at digia dot com @ 2014-06-18 15:54 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #5 from Andre' <andre.poenitz at digia dot com> ---
What I wanted to say: I can confirm the patch fixes the crash.

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


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

* [Bug c++/17066] GDB demangler crashes
  2014-06-18 14:43 [Bug c++/17066] New: GDB demeangler crashes andre.poenitz at digia dot com
                   ` (5 preceding siblings ...)
  2014-06-18 15:54 ` andre.poenitz at digia dot com
@ 2014-06-18 16:02 ` orgads at gmail dot com
  2014-07-15  8:43 ` gbenson at redhat dot com
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: orgads at gmail dot com @ 2014-06-18 16:02 UTC (permalink / raw)
  To: gdb-prs

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

Orgad Shaneh <orgads at gmail dot com> changed:

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

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


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

* [Bug c++/17066] GDB demangler crashes
  2014-06-18 14:43 [Bug c++/17066] New: GDB demeangler crashes andre.poenitz at digia dot com
                   ` (6 preceding siblings ...)
  2014-06-18 16:02 ` orgads at gmail dot com
@ 2014-07-15  8:43 ` gbenson at redhat dot com
  2014-07-15  9:31 ` palves at redhat dot com
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: gbenson at redhat dot com @ 2014-07-15  8:43 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #6 from Gary Benson <gbenson at redhat dot com> ---
Pedro, did you commit this patch now?

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


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

* [Bug c++/17066] GDB demangler crashes
  2014-06-18 14:43 [Bug c++/17066] New: GDB demeangler crashes andre.poenitz at digia dot com
                   ` (7 preceding siblings ...)
  2014-07-15  8:43 ` gbenson at redhat dot com
@ 2014-07-15  9:31 ` palves at redhat dot com
  2014-07-15 12:02 ` gbenson at redhat dot com
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: palves at redhat dot com @ 2014-07-15  9:31 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #7 from Pedro Alves <palves at redhat dot com> ---
It's not just "committing", Jason's comment needs to be addressed somehow:

 https://gcc.gnu.org/ml/gcc-patches/2014-06/msg00084.html

My inclination is that no, we can't fix that without special casing, but 
really I haven't had time to think through that yet.

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


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

* [Bug c++/17066] GDB demangler crashes
  2014-06-18 14:43 [Bug c++/17066] New: GDB demeangler crashes andre.poenitz at digia dot com
                   ` (8 preceding siblings ...)
  2014-07-15  9:31 ` palves at redhat dot com
@ 2014-07-15 12:02 ` gbenson at redhat dot com
  2015-03-16 23:35 ` kenton at sandstorm dot io
  2015-06-30  9:32 ` pageexec at gmail dot com
  11 siblings, 0 replies; 13+ messages in thread
From: gbenson at redhat dot com @ 2014-07-15 12:02 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #8 from Gary Benson <gbenson at redhat dot com> ---
Ok, thanks for clarifying.

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


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

* [Bug c++/17066] GDB demangler crashes
  2014-06-18 14:43 [Bug c++/17066] New: GDB demeangler crashes andre.poenitz at digia dot com
                   ` (9 preceding siblings ...)
  2014-07-15 12:02 ` gbenson at redhat dot com
@ 2015-03-16 23:35 ` kenton at sandstorm dot io
  2015-06-30  9:32 ` pageexec at gmail dot com
  11 siblings, 0 replies; 13+ messages in thread
From: kenton at sandstorm dot io @ 2015-03-16 23:35 UTC (permalink / raw)
  To: gdb-prs

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

Kenton Varda <kenton at sandstorm dot io> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kenton at sandstorm dot io

--- Comment #9 from Kenton Varda <kenton at sandstorm dot io> ---
FWIW, this bug means that anything using Cap'n Proto RPC
(https://capnproto.org) segfaults GDB. It can be worked around using "set
demangle-style none", but few people encountering this problem know to try
that.

https://github.com/sandstorm-io/capnproto/issues/191

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


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

* [Bug c++/17066] GDB demangler crashes
  2014-06-18 14:43 [Bug c++/17066] New: GDB demeangler crashes andre.poenitz at digia dot com
                   ` (10 preceding siblings ...)
  2015-03-16 23:35 ` kenton at sandstorm dot io
@ 2015-06-30  9:32 ` pageexec at gmail dot com
  11 siblings, 0 replies; 13+ messages in thread
From: pageexec at gmail dot com @ 2015-06-30  9:32 UTC (permalink / raw)
  To: gdb-prs

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

PaX Team <pageexec at gmail dot com> changed:

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

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


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

end of thread, other threads:[~2015-06-30  9:32 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-18 14:43 [Bug c++/17066] New: GDB demeangler crashes andre.poenitz at digia dot com
2014-06-18 15:37 ` [Bug c++/17066] " andre.poenitz at digia dot com
2014-06-18 15:44 ` [Bug c++/17066] GDB demangler crashes palves at redhat dot com
2014-06-18 15:46 ` palves at redhat dot com
2014-06-18 15:49 ` gbenson at redhat dot com
2014-06-18 15:53 ` andre.poenitz at digia dot com
2014-06-18 15:54 ` andre.poenitz at digia dot com
2014-06-18 16:02 ` orgads at gmail dot com
2014-07-15  8:43 ` gbenson at redhat dot com
2014-07-15  9:31 ` palves at redhat dot com
2014-07-15 12:02 ` gbenson at redhat dot com
2015-03-16 23:35 ` kenton at sandstorm dot io
2015-06-30  9:32 ` pageexec at gmail dot com

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