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++/16597] New: Segfault when inspecting boost variable


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

            Bug ID: 16597
           Summary: Segfault when inspecting boost variable
           Product: gdb
           Version: 7.7
            Status: NEW
          Severity: normal
          Priority: P2
         Component: c++
          Assignee: unassigned at sourceware dot org
          Reporter: charlespigott at googlemail dot com

When inspecting a boost error_code in gdb, i got a segfault

Running gdb in gdb (yo dawg...) results in this stack trace:
http://paste.openttdcoop.org/show/3097/ (probably not very useful,
unfortunately)

The code the reproduces it is located here:
https://github.com/LordAro/BlottleshipsServer/tree/3bd1a5949d441b38abb239718c5f70138c1f2863
(current HEAD, but that may change)

It's a tcp server application, which uses boost (asio) 1.55.0

Reproduce:
start application in gdb
set breakpoint of player.cpp:63

start up a client session (i use telnet) on port 4500
i.e. `telnet 0.0.0.0 4500`

send text (any, i send "hello")

when breakpoint is hit, inspect "ec.m_val"

boom.

Hope that's everything

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