[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #55196] Locked screen halts program execution
From: |
Dave Goel |
Subject: |
[Octave-bug-tracker] [bug #55196] Locked screen halts program execution if your program throws up plots: |
Date: |
Mon, 10 Dec 2018 16:17:14 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.80 Safari/537.36 |
URL:
<https://savannah.gnu.org/bugs/?55196>
Summary: Locked screen halts program execution if your
program throws up plots:
Project: GNU Octave
Submitted by: deego
Submitted on: Mon 10 Dec 2018 09:17:13 PM UTC
Category: Octave Function
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Assigned to: None
Originator Name: deego
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 4.2.2
Operating System: GNU/Linux
_______________________________________________________
Details:
(I worked around the #55185 kbhit(1) bug reported earlier by not calling it in
the first place when locked. It seems that the same happens simply by
plotting:)
Next, it seems that the same problem happens with plot itself. plot also hangs
indefinitely if it is called when locked. [Debian stable, 4.2.2, qt toolkit,
xfce4]
Again, imagine a giant program that plots periodically, and that the screen
gets locked for security when idle. Unfortunately, that also pauses the
program itself!
function yyybug010();
tic();
while true;
pause(2);
plot(rand(1,2), rand(1,2)); system("beep"); hold off;
disp(toc);
endwhile
endfunction
## Octave__16:09:26_0025359_5> yyybug010
## 2.27368807792664
## 4.54688906669617
## 6.82589006423950
## 9.10250306129456
## 22.4111368656158 (screen was locked here. You stopped hearing beeps, your
program halted)
## 24.6930980682373
## 26.9730200767517
## 29.2445690631866
## 31.5159778594971
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?55196>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #55196] Locked screen halts program execution if your program throws up plots:,
Dave Goel <=
- [Octave-bug-tracker] [bug #55196] Locked screen halts program execution if your program throws up plots:, Dave Goel, 2018/12/10
- [Octave-bug-tracker] [bug #55196] Locked screen halts program execution if your program throws up plots:, Dmitri A. Sergatskov, 2018/12/10
- [Octave-bug-tracker] [bug #55196] Locked screen halts program execution if your program throws up plots:, Mike Miller, 2018/12/10
- [Octave-bug-tracker] [bug #55196] Locked screen halts program execution if your program throws up plots:, Dave Goel, 2018/12/10
- [Octave-bug-tracker] [bug #55196] Locked screen halts program execution if your program throws up plots:, Mike Miller, 2018/12/10
- [Octave-bug-tracker] [bug #55196] Locked screen halts program execution if your program throws up plots:, Dave Goel, 2018/12/10
- [Octave-bug-tracker] [bug #55196] Locked screen halts program execution if your program throws up plots:, Dave Goel, 2018/12/19
- [Octave-bug-tracker] [bug #55196] Locked screen halts program execution if your program throws up plots:, Mike Miller, 2018/12/21
- [Octave-bug-tracker] [bug #55196] Locked screen halts program execution if your program throws up plots:, Dave Goel, 2018/12/21