Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using GDB fails for programs using the GC #15429

Closed
div72 opened this issue Aug 15, 2022 · 1 comment
Closed

Using GDB fails for programs using the GC #15429

div72 opened this issue Aug 15, 2022 · 1 comment

Comments

@div72
Copy link
Contributor

div72 commented Aug 15, 2022

V doctor:

OS: linux, "Arch Linux"
Processor: 8 cpus, 64bit, little endian, AMD Ryzen 5 1500X Quad-Core Processor
CC version: cc (GCC) 12.1.0

getwd: /home/div72/dev
vmodules: /home/div72/.vmodules
vroot: /home/div72/dev/v
vexe: /home/div72/dev/v/v
vexe mtime: 2022-08-15 13:10:54
is vroot writable: true
is vmodules writable: true
V full version: V 0.3.0 2d7406a.26986eb

Git version: git version 2.37.0
Git vroot status: 0.2.4-2725-g26986eb2-dirty
.git/config present: true
thirdparty/tcc status: thirdparty-linux-amd64 827f7452

What did you do?
v -g tes.v && gdb -ex r ./tes

fn main() {
}

What did you expect to see?

Successful debugging.

What did you see instead?

Program received signal SIGSEGV, Segmentation fault.
0x00000000004d719e in GC_find_limit_with_bound ()
@div72
Copy link
Contributor Author

div72 commented Aug 15, 2022

Seems like a duplicate of #14904, closing.

@div72 div72 closed this as not planned Won't fix, can't repro, duplicate, stale Aug 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant