Bug 2259850 - GDB crashes when using "list ." with an inferior with no debug information
Summary: GDB crashes when using "list ." with an inferior with no debug information
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gdb
Version: 39
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Kevin Buettner
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-01-23 11:01 UTC by Guinevere Larsen
Modified: 2024-02-15 01:42 UTC (History)
8 users (show)

Fixed In Version: gdb-14.1-4.fc39 gdb-14.1-3.fc38
Clone Of:
Environment:
Last Closed: 2024-02-05 01:25:34 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Guinevere Larsen 2024-01-23 11:01:27 UTC
As explained in the upstream bug[1], gdb will crash if I try to list the current location in an inferior with no debug information, GDB crashes.


[1] https://sourceware.org/bugzilla/show_bug.cgi?id=31256

Reproducible: Always

Steps to Reproduce:
1. compile any program with no debug information
2. load and start the program under GDB
3. use "list ." command
Actual Results:  
GDB crashes

Expected Results:  
GDB prints that no lines are available

Comment 1 Fedora Update System 2024-01-30 09:52:30 UTC
FEDORA-2024-8f10f96169 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2024-8f10f96169

Comment 2 Fedora Update System 2024-01-30 09:56:43 UTC
FEDORA-2024-ee7cb0e0a5 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2024-ee7cb0e0a5

Comment 3 Fedora Update System 2024-01-31 00:52:18 UTC
FEDORA-2024-8f10f96169 has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-8f10f96169`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-8f10f96169

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2024-01-31 01:33:00 UTC
FEDORA-2024-ee7cb0e0a5 has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-ee7cb0e0a5`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-ee7cb0e0a5

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2024-02-05 01:25:34 UTC
FEDORA-2024-8f10f96169 has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Fedora Update System 2024-02-15 01:42:11 UTC
FEDORA-2024-ee7cb0e0a5 (low) has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.