-
Notifications
You must be signed in to change notification settings - Fork 123
Description
Describe the bug
lsof SIGSEGV
lsof version 4.99.3 SRCREV = "2e4c7a1a9bc7258dc5b6a3ab28ebca44174279a8"
To Reproduce
Steps to reproduce the behavior:
- Run
lsof -e /qsm +L1 /
Segmentation fault (core dumped)
Signal information:
Program terminated with signal 11, Segmentation fault.
Faulting thread: 20469
Registers for Thread 20469
rax: 0x0
rbx: 0x55b35e3cb610
rcx: 0x0
rdx: 0x3
rsi: 0x55b35e3cb3f0
rdi: 0x55b35e3ca010
rbp: 0x0
rsp: 0x7ffeb10c7c50
r8: 0x2
r9: 0x1
r10: 0x7
r11: 0x55b35e3cb400
r12: 0x0
r13: 0x55b35e75465b
r14: 0x7ffeb10c7d17
r15: 0x55b35e751000
rip: 0x55b32f32adab
eflags: 0x10202
cs: 0x33
ss: 0x2b
ds: 0x0
es: 0x0
fs: 0x0
gs: 0x0
Backtrace for Thread 20469
#0 0x000055b32f32adab in process_id+0x195b from /root/l
#1 0x000055b32f328b91 in gather_proc_info+0x3c1 from /root/l
#2 0x000055b32f318e2c in main+0x22bc from /root/l
#3 0x00007f89563edf7b in ?? () from /usr/lib64/libc.so.6
#4 0x00007f89563ee03b in __libc_start_main+0x8b from /usr/lib64/libc.so.6
#5 0x000055b32f3136f5 in _start+0x25 from /root/l
- See error
Expected behavior
A clear and concise description of what you expected to happen.
Should not crash:
Program output
If applicable, paste program output text here to help explain your problem.
Environment (please complete the following information):
- Kernel: [e.g. Linux]
- OS: [e.g. Debian]
- lsof Version: [e.g. 4.xx.x]
- Origin: [e.g. installed by package manager, built from release tarball or git]
uname -a
Linux node1 6.6.69-yocto-standard #1 SMP Mon Jul 14 17:07:45 UTC 2025 x86_64 GNU/Linux
Additional context
Add any other context about the problem here.