[Bug 281574] bc(1) runs in endless loop
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 18 Sep 2024 16:50:25 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281574 Bug ID: 281574 Summary: bc(1) runs in endless loop Product: Base System Version: 14.1-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: arm Assignee: freebsd-arm@FreeBSD.org Reporter: wosch@FreeBSD.org I killed a terminal with a running bc command. The terminal is gone, but bc(1) runs in an endless loop now: top(1) output: 40325 wosch 1 135 0 13M 3332K CPU0 0 1:14 99.86% bc ktrace -p 40325 kdump 40325 bc CALL read(0,0x217008d92da8,0x1) 40325 bc GIO fd 0 read 0 bytes "" 40325 bc RET read 0 40325 bc CALL ioctl(0,TIOCSETAW,0x3821a3c5b238) 40325 bc RET ioctl -1 errno 25 Inappropriate ioctl for device 40325 bc CALL sigprocmask(SIG_BLOCK,0x217008d92e58,0x217008d92e68) 40325 bc RET sigprocmask 0 40325 bc CALL ioctl(0,TIOCGWINSZ,0x217008d92e10) 40325 bc RET ioctl -1 errno 25 Inappropriate ioctl for device 40325 bc CALL sigprocmask(SIG_SETMASK,0x217008d92e68,0) 40325 bc RET sigprocmask 0 40325 bc CALL read(0,0x217008d92da8,0x1) 40325 bc GIO fd 0 read 0 bytes "" 40325 bc RET read 0 40325 bc CALL ioctl(0,TIOCSETAW,0x3821a3c5b238) 40325 bc RET ioctl -1 errno 25 Inappropriate ioctl for device 40325 bc CALL sigprocmask(SIG_BLOCK,0x217008d92e58,0x217008d92e68) 40325 bc RET sigprocmask 0 40325 bc CALL ioctl(0,TIOCGWINSZ,0x217008d92e10) 40325 bc RET ioctl -1 errno 25 Inappropriate ioctl for device 40325 bc CALL sigprocmask(SIG_SETMASK,0x217008d92e68,0) 40325 bc RET sigprocmask 0 40325 bc CALL read(0,0x217008d92da8,0x1) 40325 bc GIO fd 0 read 0 bytes I tried to kill the process, but it worked only with SIGKILL and not SIGTERM/SIGHUP kill -9 40325 -- You are receiving this mail because: You are the assignee for the bug.