More on the 100% CPU problem

From: Andrew Dorrell <andrewd_at_ee.uts.edu.au>
Date: Fri, 19 Dec 1997 14:51:32 +1100

The following sequence seems to cause STk-3.1.1 (compiled gcc-2.7.2) to
stop responding and start munching 100% CPU on my Linux 2.0 machine:


  thomas:~/dist/STk-3.1.1/Demos> ../Src/test-stk -f widget.stk &
  [1] 208
  thomas:~/dist/STk-3.1.1/Demos> fg
  ../Src/test-stk -f widget.stk

  Suspended
  thomas:~/dist/STk-3.1.1/Demos> bg
  [1] ../Src/test-stk -f widget.stk &
  thomas:~/dist/STk-3.1.1/Demos> fg
  fg: No current job.


I have also noticed a similar problem when running more than 1 stk:

  thomas:~/dist/STk-3.1.1/Demos> ../Src/test-stk -f widget.stk &
  [1] 211
  thomas:~/dist/STk-3.1.1/Demos> ../Src/test-stk
  Welcome to the STk interpreter version 3.1.1 [Linux-2.X-ix86]
  Copyright © 1993-1996 Erick Gallesio - I3S - CNRS / ESSI <eg_at_unice.fr>
  STk> Bye.

(The widget demo hangs and chews time at this point)


The latter behaviour is intermittent but very frequent and may still be
connected with switching of the process between foreground and
background... or at least some aspect of process control?

Has anyone else encountered this? have any suggestions?

Thanks,
-- 
Mr Andrew Dorrell                                *
Faculty of Engineering             /---\  Whoo?      *
University of Technology, Sydney   (o o) /     *
AUSTRALIA                          ( : )           
.                      
                                    ^ ^     
                                                    *
Received on Fri Dec 19 1997 - 08:59:25 CET

This archive was generated by hypermail 2.3.0 : Mon Jul 21 2014 - 19:38:59 CEST