Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#73196 - [DOS][util-linux+systemd][login]

Attached to Project: Arch Linux
Opened by Stanislaw Kalinichenko (javlock) - Thursday, 30 December 2021, 02:30 GMT
Last edited by Toolybird (Toolybird) - Sunday, 11 June 2023, 07:46 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Christian Hesse (eworm)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

2 bugs:
1.login crash when gdb connects to it
2.I found a way to kill the child process. I need help with debugging:



####################--1--##########################
press ctrl alt F [0-9]
log into your account

go back to the old tty, connect from gdb to the login: user process (new tty)
(watching the program crash)

####################--2--##########################
2.I need to hook gdb to a process or run login on another tty

here is an example: 'sleep' crashes while executing my action:

1.systemd-logind (service)

2.login: user
2. -bash
2. -bash/'sleep 400' (it crash)


Additional info:
core/util-linux 2.37.2-4
core/systemd 250-3

:these bugs were observed earlier (package versions)
2 DOS local bug, requires keyboard interaction (in tty)
This task depends upon

Closed by  Toolybird (Toolybird)
Sunday, 11 June 2023, 07:46 GMT
Reason for closing:  Upstream
Additional comments about closing:  If still happening, please report upstream as per PM's comment.
Comment by Stanislaw Kalinichenko (javlock) - Thursday, 30 December 2021, 02:31 GMT
to debug the second bug I need to connect / run login with gdb
Comment by Stanislaw Kalinichenko (javlock) - Friday, 31 December 2021, 00:25 GMT
1st bug [https://youtu.be/PNC11ciDUWo]
Comment by Stanislaw Kalinichenko (javlock) - Friday, 31 December 2021, 00:57 GMT
second bug:
in tty I run any program (for example, take 'sleep 300') and press printscreen, the sleep program crashes with coredump

link coredump [https://github.com/javlock/wtf-docs/tree/main/bugs/73196/2]
Comment by Christian Hesse (eworm) - Friday, 11 February 2022, 21:13 GMT
I do not think this is a packaging issue. Probably you should report upstream...

Loading...