| Anonymous | Login | Signup for a new account | 11-10-2008 12:57 PST |
| Main | My View | View Issues | Change Log | Docs |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
| 0005304 | [BusyBox] Other | minor | always | 10-08-08 08:58 | 10-27-08 07:35 | ||||
| Reporter | ianw | View Status | public | ||||||
| Assigned To | BusyBox | ||||||||
| Priority | normal | Resolution | fixed | ||||||
| Status | closed | Product Version | svn | ||||||
| Summary | 0005304: Busybox ash ignoring SIGINT when it shouldn't be | ||||||||
| Description |
Hi, As per the attached program; the busybox shell will never register the SIGINT and die; it remains in a tight loop printing out it's PID. |
||||||||
| Additional Information |
#!/bin/sh IsProcessRunning() { kill -0 ${1} >/dev/null 2>&1 } main() { local PID= /path/to/busybox sh -c 'while [ 1 ] ; do echo $$ ; done' & PID=${!} while IsProcessRunning ${PID} ; do kill -INT ${PID} done } main "${@}" |
||||||||
| Attached Files |
|
||||||||
|
|
|||||||||
| Copyright © 2000 - 2006 Mantis Group |