← Back to team overview

sikuli-driver team mailing list archive

[Bug 1775394] Re: Fatal Error - System broken because runScript

 

** Description changed:

  Dear Dev,
  
- our company has scripted a "little" sikuli script for our manual. A few
- days ago, we found out, that our sikuli is crashing and after that
- oftern broke, so we have to restart. This is happening, if we "CTRL +
- SHIFT" it while he is running a script. After a few Hours of testing, we
- found out, what (we think) is the problem.
+ when stopping a script with "ALT + SHIFT + C" in the IDE, I sometimes
+ get a "System.out is broken" error popup.
  
- Here a example:
+ Example:
  
-  - Create two (2) sikuli scripts. (in this case "_test0" "_test1")
+  - Create two sikuli scripts.
  
- First script ("_test0"):
+  - First script ("_test0"):
  
- testFolder = makeFolder('somePath')
- runScript(testFolder + '_test1')
- for i in xrange(10):
-     print "test"
+        runScript('_test1')
+        for i in xrange(10):
+            print "test"
  
- Second script ("_test1"):
+  - Second script ("_test1"):
  
- wait(10)
+        wait(10)
  
  
- If you start now "_test0" and stop it, while it is in the wait from
- "_test1", he wouldn´t stop completly. He would stop the wait and go on
- with the "for i in...". If you press now a second time on "CRTL +
- SHIFT", the system would crash and broke(most of the time).
+ When starting "_test0" and immediately stopping it, while it is waiting for "_test1" to complete the wait instruction, the execution doesn't stop completely. Just _test1 is stopped, _test0 continues executing the "for i in..." statement. If "ALT + SHIFT + C" is pressed again, the system regularly crashes with the above error.
  
- Yours sincerely
- gfont
  
  System Specs:
  8 GB RAM
  I7 4790 - 3.60 GHz
  Intel(R) HD Graphics 4600
  
  Operating System: Windows 7 Pro 64 Bit
  Sikuli Version:   (nightly: 2018-04-08_20:42)
  Java:             Java 8 171

** Summary changed:

- Fatal Error - System broken because runScript
+ System.out broken when stopping scripts with ALT+SHIFT+C

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1775394

Title:
  System.out broken when stopping scripts with ALT+SHIFT+C

Status in Sikuli:
  New

Bug description:
  Dear Dev,

  when stopping a script with "ALT + SHIFT + C" in the IDE, I sometimes
  get a "System.out is broken" error popup.

  Example:

   - Create two sikuli scripts.

   - First script ("_test0"):

         runScript('_test1')
         for i in xrange(10):
             print "test"

   - Second script ("_test1"):

         wait(10)

  
  When starting "_test0" and immediately stopping it, while it is waiting for "_test1" to complete the wait instruction, the execution doesn't stop completely. Just _test1 is stopped, _test0 continues executing the "for i in..." statement. If "ALT + SHIFT + C" is pressed again, the system regularly crashes with the above error.

  
  System Specs:
  8 GB RAM
  I7 4790 - 3.60 GHz
  Intel(R) HD Graphics 4600

  Operating System: Windows 7 Pro 64 Bit
  Sikuli Version:   (nightly: 2018-04-08_20:42)
  Java:             Java 8 171

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1775394/+subscriptions


References