public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "adrian.cheater at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug c++/16752] Crash when loading symbols
Date: Wed, 30 Apr 2014 18:17:00 -0000	[thread overview]
Message-ID: <bug-16752-4717-IjGKZXQ7Sa@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-16752-4717@http.sourceware.org/bugzilla/>

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

Adrian Cheater <adrian.cheater at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |adrian.cheater at gmail dot com

--- Comment #6 from Adrian Cheater <adrian.cheater at gmail dot com> ---
Hi, I'm also having this problem.

In my case, I'm observing that the mangled string

"_ZNSt9_Any_data9_M_accessIPZN6cereal18polymorphic_detail15getInputBindingINS1_16JSONInputArchiveEEENS1_6detail15InputBindingMapIT_E11SerializersERS7_jEUlPvRSt10unique_ptrIvNS5_12EmptyDeleterIvEEEE0_EESA_v"

Seems to get stuck in an infinite loop, and after 6 flushes of the buffer to
the growable buffer, that buffer looks like this"

"cereal::detail::InputBindingMap<cereal::JSONInputArchive>::Serializers
cereal::polymorphic_detail::getInputBinding<cereal::JSONInputArchive>(cereal::detail::InputBindingMap<cereal::JSONInputArchive>::Serializers
cereal::polymorphic_detail::getInputBinding<cereal::JSONInputArchive>(cereal::detail::InputBindingMap<cereal::JSONInputArchive>::Serializers
cereal::polymorphic_detail::getInputBinding<cereal::JSONInputArchive>(cereal::detail::InputBindingMap<cereal::JSONInputArchive>::Serializers
cereal::polymorphic_detail::getInputBinding<cereal::JSONInputArchive>(cereal::detail::InputBindingMap<cereal::JSONInputArchive>::Serializers
cereal::polymorphic_detail::getInputBinding<cereal::JSONInputArchive>(cereal::detail::InputBindingMap<cereal::JSONInputArchive>::Serializers
cereal::polymorphic_detail::getInputBinding<cereal::JSONInputArchive>(cereal::detail::InputBindingMap<cereal::JSONInputArchive>::Serializers
cereal::polymorphic_detail::getInputBinding<cereal::JSONInputArchive>(cereal::detail::InputBindingMap<cereal::JSONInputArchive>::Serializers
cereal::polymorphic_detail::getInputBinding<cereal::JSONInputArchive>(cereal::detail::InputBindingMap<cereal::JSONInputArchive>::Serializers
cereal::polymorphic_detail::getInputBinding<cereal::JSONInputArchive>(cereal::detail::InputBindingMap<cereal::JSONInputArchive>::Serializers
cereal::polymorphic_detail::getInputBinding<cereal::JSONInputArchive>(cereal::detail::InputBindingMap<cereal::JSONInputArchive>::Serializers
cereal::polymorphic_detail::getInputBinding<cerea"

I'm going to assume that there's a bug in the dc tree parser or walker? I'm
very new to this and I guess my next step is to read the ABI and see what the
correct demangling of that string should look like, that should give me some
idea of where to look for where it goes off the rails.

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


  parent reply	other threads:[~2014-04-30 18:17 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-25 13:36 [Bug c++/16752] New: " vbotton at gmail dot com
2014-03-25 21:05 ` [Bug c++/16752] " keiths at redhat dot com
2014-03-26 10:57 ` gbenson at redhat dot com
2014-03-26 14:16 ` gbenson at redhat dot com
2014-03-26 16:23 ` gbenson at redhat dot com
2014-03-28 21:08 ` keiths at redhat dot com
2014-04-15 21:45 ` keiths at redhat dot com
2014-04-19 12:19 ` jia.kai66 at gmail dot com
2014-04-30 18:17 ` adrian.cheater at gmail dot com [this message]
2014-04-30 20:39 ` adrian.cheater at gmail dot com
2014-05-01 15:26 ` gbenson at redhat dot com
2014-05-07 15:44 ` gbenson at redhat dot com
2014-05-07 15:45 ` gbenson at redhat dot com
2014-05-07 15:45 ` gbenson at redhat dot com
2014-05-08  9:16 ` gbenson at redhat dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-16752-4717-IjGKZXQ7Sa@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=gdb-prs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).