ish-app / ish-app/ish

GDB crash when debugging cargo

Open
#1,104 0 comments 0 reactions 1 assignee Claimed by @saagarjha View on GitHub
unconfirmed
Dominant language
C
Stars
20.5k
Forks
1.5k
PR merge metrics
No merged PRs in 30d

Description

Installed cargo-1.47.0-r1, rust-dbg-1.47.0-r1, and gdb-10.1-r0.
```
tbodt-pro:~# gdb --args cargo new foo
GNU gdb (GDB) 10.1
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "i586-alpine-linux-musl".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
.
Find the GDB manual and other documentation resources online at:
.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from cargo...
Reading symbols from /usr/lib/debug//usr/bin/cargo.debug...
(gdb) r
Starting program: /usr/bin/cargo new foo
warning: unable to open /proc file '/proc/27/task/27/maps'
Aborted
```
dmesg shows `5 page fault on 0x58585808 at 0xf7f891f9`.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.