[Bug libstdc++/40518] data races when calling std::string::erase() on empty string

timturnerc at yahoo dot com gcc-bugzilla@gcc.gnu.org
Fri Nov 5 23:18:34 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40518

Tim Turner <timturnerc at yahoo dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |timturnerc at yahoo dot com

--- Comment #26 from Tim Turner <timturnerc at yahoo dot com> ---
If you create a new TUI layout, don't include the status window, and then
change from a layout with the status window to the new one, gdb crashes.
http://www.compilatori.com/category/tech/

(gdb) layout src
(gdb) tui new-layout test src 2 cmd 1
http://www.acpirateradio.co.uk/category/tech/
(gdb) layout test
http://www.logoarts.co.uk/category/tech/
On Windows I get a STATUS_HEAP_CORRUPTION exception (0xc0000374).
http://www.mconstantine.co.uk/property/netherlands/
It happens because tui_apply_current_layout() deletes all windows that are no
longer  http://www.go-mk-websites.co.uk/property/miyazaki/ needed, but the
status (locator) window is never allocated dynamically. 
http://www.slipstone.co.uk/category/tech/
If you create a new TUI layout, don't include the status window, and then
http://fishingnewsletters.co.uk/health/adrasan/ change from a layout with the
status window to the new one, gdb crashes.
http://embermanchester.uk/category/tech/
(gdb) layout src
(gdb) tui new-layout test src 2 cmd 1 http://connstr.net/category/tech/
(gdb) layout test
 http://joerg.li/category/tech/
On Windows I get a STATUS_HEAP_CORRUPTION exception (0xc0000374).
It happens because tui_apply http://www.jopspeech.com/category/tech/
_current_layout() deletes all windows that are no longer needed,
http://the-hunters.org/services/miui-12-5/ but the status (locator) window is
never allocated dynamically.
http://www.wearelondonmade.com/category/tech/
If you create a new TUI layout, don't include the status window, and then
change from a layout with the status window to the new one, gdb crashes.
https://waytowhatsnext.com/category/property/

(gdb) layout src
(gdb) tui new-layout test src 2 cmd 1
http://www.iu-bloomington.com/category/property/
(gdb) layout test
https://komiya-dental.com/category/property/
On Windows I get a STATUS_HEAP_CORRUPTION exception (0xc0000374).
It happens because tui
http://www-look-4.com/category/tech/_apply_current_layout() deletes all windows
that are no longer needed, but the status (locator) window is never allocated
dynamically. https://www.webb-dev.co.uk/category/property/


More information about the Gcc-bugs mailing list