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

Failed to connect to coredump service: No such file or directory #331

Open
Heethern opened this issue Oct 15, 2023 · 0 comments
Open

Failed to connect to coredump service: No such file or directory #331

Heethern opened this issue Oct 15, 2023 · 0 comments

Comments

@Heethern
Copy link

Heethern commented Oct 15, 2023

My program core dumped, it says in the terminal! I type the command dmesg | tail -n 2 to get a failure message!

All I need to do is buffer overflow my program to get a core dump.

I should get a crash report when entering the command.

image

Enviroment:

  • Microsoft Windows [Version 10.0.19045.3570]
  • WSL2
  • ArchWSL 22.10.16.0
  • ArchWSL Installer type is zip
  • wsldl2, version 22020900 (amd64)

I don't have systemd-coredump.service, I have systemd-coredump@.service and I can't enable it! I even tried reinstalling systemd... I do have a file called systemd-coredump, but it's the config file. For some reason nothing is getting stored in /var/lib/systemd/coredump! Below are the system logs.

Oct 15 12:34:00 DESKTOP-8L0G69C kernel: hv_balloon: Max. dynamic memory size: 8154 MB
Oct 15 12:38:15 DESKTOP-8L0G69C kernel: potentially unexpected fatal signal 6.
Oct 15 12:38:15 DESKTOP-8L0G69C kernel: CPU: 13 PID: 938 Comm: a.out Not tainted 5.15.90.1-microsoft-standard-WSL2 #1
Oct 15 12:38:15 DESKTOP-8L0G69C kernel: RIP: 0033:0x7efe0b84183c
Oct 15 12:38:15 DESKTOP-8L0G69C kernel: Code: ff ff 0f 46 da eb 89 0f 1f 80 00 00 00 00 b8 ba 00 00 00 0f 05 89 c3 e8 e2 5a 05 00 44 89 ea 89 de 89 c7 b8 ea 00 00 00 0f 05 <89> c3 f7 db 3d 00 f0 ff ff b8 00 00 00 00 0f 47 c3 e9 78 ff ff ff
Oct 15 12:38:16 DESKTOP-8L0G69C kernel: RSP: 002b:00007fff346ceae0 EFLAGS: 00000246 ORIG_RAX: 00000000000000ea
Oct 15 12:38:16 DESKTOP-8L0G69C kernel: RAX: 0000000000000000 RBX: 0000000000000280 RCX: 00007efe0b84183c
Oct 15 12:38:17 DESKTOP-8L0G69C kernel: RDX: 0000000000000006 RSI: 0000000000000280 RDI: 0000000000000280
Oct 15 12:38:17 DESKTOP-8L0G69C kernel: RBP: 00007efe0b996680 R08: 00000000ffffffff R09: 0000000000000000
Oct 15 12:38:17 DESKTOP-8L0G69C kernel: R10: 0000000000000008 R11: 0000000000000246 R12: 00007efe0b99c000
Oct 15 12:38:18 DESKTOP-8L0G69C kernel: R13: 0000000000000006 R14: 0000000000001000 R15: 00007efe0b951302
Oct 15 12:38:18 DESKTOP-8L0G69C kernel: FS: 00007efe0b996680 GS: 0000000000000000
Oct 15 12:38:19 DESKTOP-8L0G69C systemd-coredump[941]: Failed to connect to coredump service: No such file or directory

Help is greatly appreciated! 👍

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