gdb crashes connecting to remote session in layout split

Bug #1930920 reported by Donovan Allen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gdb (Ubuntu)
New
Undecided
Unassigned

Bug Description

release:
Description: Ubuntu 20.04.2 LTS
Release: 20.04

gdb:
  Installed: 9.2-0ubuntu1~20.04
  Candidate: 9.2-0ubuntu1~20.04
  Version table:
 *** 9.2-0ubuntu1~20.04 500
        500 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     9.1-0ubuntu1 500
        500 http://us.archive.ubuntu.com/ubuntu focal/main amd64 Packages

GDB crashes when attempting to connect to a remote session while in `layout split`. If I connect to the remote session first it works, however if I already changed my view I get a core dump.

My steps to reproduce crash:
 - Run iso using `qemu-system-i386 -cdrom MyIso.iso -gdb tcp::26000 -S -monitor stdio`
 - open gdb in seperate tab
 - run `layout split`
 - run `target remote localhost:26000`
 - Crash

I was previously able to do this without crash using:
release:
Description: Ubuntu 18.04.5 LTS
Release: 18.04

gdb:
  Installed: 8.1.1-0ubuntu1
  Candidate: 8.1.1-0ubuntu1
  Version table:
 *** 8.1.1-0ubuntu1 500
        500 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     8.1-0ubuntu3 500
        500 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 Packages

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.