^Z followed by fg in bash causes failure with certain linux versions
Bug #541170 reported by
Jeff Hill
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
EPICS Base |
Fix Released
|
High
|
Andrew Johnson |
Bug Description
Yevgeny A. Gusev has observed that EPICS code exhibits the following failure related diagnostic when running on an earlier version of Linux and a ^Z followed by "fg" is issued at the bash command line by the user.
pthread_
epicsThread: Unknown C++ exception - terminating thread "timerQueue"
Original Mantis Bug: mantis-96
http://
To post a comment you must log in.
I am unable to reproduce this on my version of Linux (see my experience below). I am going to guess that this is a Linux kernel specific issue. Nevertheless, I am starting to suspect that we could avoid this issue by restarting the pthread_ cond_timedwait system call if the errorno indicates that the system call was interrupted?
~/epicsR3. 14/epics/ appl/caApp/ O.linux- x86$ uname -a
Linux quax.ta53.lanl.gov 2.4.20-8 #1 Thu Mar 13 17:54:28 EST 2003 i686 i686 i386 GNU/Linux
~/epicsR3. 14/epics/ appl/caApp/ O.linux- x86$ ./catest joh:fred
./catest: connection handler for "joh:fred": CONNECTED
./catest: event handler called for "joh:fred"
./catest: event handler called for "joh:fred"
./catest: event handler called for "joh:fred"
[1]+ Stopped ./catest joh:fred 14/epics/ appl/caApp/ O.linux- x86$ fg
~/epicsR3.
./catest joh:fred
./catest: event handler called for "joh:fred"
./catest: event handler called for "joh:fred"
./catest: event handler called for "joh:fred"
./catest: event handler called for "joh:fred"
./catest: event handler called for "joh:fred"
./catest: event handler called for "joh:fred"