This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/16752] Crash when loading symbols


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |UNCONFIRMED
     Ever confirmed|1                           |0

--- Comment #7 from Adrian Cheater <adrian.cheater at gmail dot com> ---
(In reply to Adrian Cheater from comment #6)
> Hi, I'm also having this problem.
> 
> In my case, I'm observing that the mangled string
> 
> "_ZNSt9_Any_data9_M_accessIPZN6cereal18polymorphic_detail15getInputBindingINS
> 1_16JSONInputArchiveEEENS1_6detail15InputBindingMapIT_E11SerializersERS7_jEUl
> PvRSt10unique_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"

c++filt indicates that this should demangle to:

cereal::detail::InputBindingMap<cereal::JSONInputArchive>::Serializers
cereal::polymorphic_detail::getInputBinding<cereal::JSONInputArchive>(cereal::JSONInputArchive&,
unsigned int)::{lambda(void*, std::unique_ptr<void,
cereal::detail::EmptyDeleter<void> >&)#2}*&
std::_Any_data::_M_access<cereal::detail::InputBindingMap<cereal::JSONInputArchive>::Serializers
cereal::polymorphic_detail::getInputBinding<cereal::JSONInputArchive>(cereal::JSONInputArchive&,
unsigned int)::{lambda(void*, std::unique_ptr<void,
cereal::detail::EmptyDeleter<void> >&)#2}*>()

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]