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++/23802] New: GDB crashes trying to set a breakpoint on AMD64 / Ubuntu 18.04


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.

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