Discussion:
[Bug c++/23802] New: GDB crashes trying to set a breakpoint on AMD64 / Ubuntu 18.04
jwatte at gmail dot com
2018-10-21 05:08:56 UTC
Permalink
https://sourceware.org/bugzilla/show_bug.cgi?id=23802

Bug ID: 23802
Summary: GDB crashes trying to set a breakpoint on AMD64 /
Ubuntu 18.04
Product: gdb
Version: 8.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
Assignee: unassigned at sourceware dot org
Reporter: jwatte at gmail dot com
Target Milestone: ---

Created attachment 11349
--> https://sourceware.org/bugzilla/attachment.cgi?id=11349&action=edit
sample program, including built binaries

Trying to set a specific breakpoint in this program on
Ubuntu 18.04 on ADM64 crashes.

GDB crashes when trying to set a specific breakpoint.
Version GNU gdb (Ubuntu 8.1-0ubuntu3) 8.1.0.20180409-git
program built with gcc (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0

How to reproduce:
- apt-get install libsdl2-dev libsdl2-ttf-dev libopencv-core-dev libopencv-dev
libopencv-highgui-dev libv4l-dev
- I think this is the right set of libraries to make sure the binary loads --
you don't need to actually run it
- unzip (this archive).zip
- cd capturizer
- gdb ./build/capturizer
- br 'WidgetButton::render(SDL_Renderer*)'
Segmentation fault
--
You are receiving this mail because:
You are on the CC list for the bug.
simon.marchi at ericsson dot com
2018-10-21 14:12:28 UTC
Permalink
https://sourceware.org/bugzilla/show_bug.cgi?id=23802

Simon Marchi <simon.marchi at ericsson dot com> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2018-10-21
CC| |simon.marchi at ericsson dot com
Ever confirmed|0 |1

--- Comment #1 from Simon Marchi <simon.marchi at ericsson dot com> ---
Confirmed, looks like infinite recursion:

https://pastebin.com/raw/N5XSyYyU
--
You are receiving this mail because:
You are on the CC list for the bug.
ks132 at yandex dot ru
2018-11-08 13:01:39 UTC
Permalink
https://sourceware.org/bugzilla/show_bug.cgi?id=23802

ks132 <ks132 at yandex dot ru> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |ks132 at yandex dot ru

--- Comment #2 from ks132 <ks132 at yandex dot ru> ---
Backtrace looks related to the one in Bug 17059.
There was an attempt to fix it, see
https://sourceware.org/ml/gdb-patches/2014-06/msg00869.html.
--
You are receiving this mail because:
You are on the CC list for the bug.
Loading...