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 python/16196] lazy string vs "print elements"


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

asmwarrior <asmwarrior at gmail dot com> changed:

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

--- Comment #4 from asmwarrior <asmwarrior at gmail dot com> ---
I'm not sure this bug is related to the bug I reported long time ago:
https://sourceware.org/bugzilla/show_bug.cgi?id=12127

In the bug #12127, I see GDB crash because xmalloc failed if we pass a large
random value as its argument, this mostly happens on GDB try to show an
un-initiliazed local variable (like std::vector), I have a crash backtrace in
https://sourceware.org/bugzilla/attachment.cgi?id=7017, my workaround is a
hard-coded patch here: https://sourceware.org/bugzilla/show_bug.cgi?id=12127#c5

Thanks.
Yuanhui Zhang

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