[Gambas-user] [Gambas Bug Tracker] Bug #1094: Wait command freezes when clock is adjusted back

2017-05-25 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1094=L21haW4-

Comment #2 by Benoît MINISINI:

It should be fixed in revision #8138, where a monotonic clock is sued to 
implement the WAIT instruction.

Benoît MINISINI changed the state of the bug to: Fixed.



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #1094: Wait command freezes when clock is adjusted back

2017-04-21 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1094=L21haW4-

Comment #1 by Benoît MINISINI:

The execution does not really hangs.

It's just that when executing WAIT 1, the interpreter waits until the clock 
reaches the current time plus one second.

If you set the clock back in time 5 minutes while running the WAIT instruction, 
you add 5 minutes to the waiting delay.

I can fix that behaviour by using a monotonic clock (i.e. a system clock than 
only increases). I will try to check if it is possible.

Benoît MINISINI changed the state of the bug to: Accepted.



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #1094: Wait command freezes when clock is adjusted back

2017-03-26 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1094=L21haW4-

Jussi LAHTINEN reported a new bug.

Summary
---

Wait command freezes when clock is adjusted back

Type : Bug
Priority : Medium
Gambas version   : 3.9.90 (TRUNK)
Product  : Language


Description
---

Run attached project and set computer clock backwards, example from 13:00 --> 
12:55. Now the execution hangs on the wait command.


System information
--

[System]
Gambas=3.9.90 r8103
OperatingSystem=Linux
Kernel=3.19.0-32-generic
Architecture=x86_64
Distribution=Linux Mint 17.3 Rosa
Desktop=CINNAMON
Theme=Gtk
Language=en_US.UTF-8
Memory=7984M

[Libraries]
Cairo=libcairo.so.2.11301.0
Curl=libcurl.so.4.3.0
DBus=libdbus-1.so.3.7.6
GStreamer=libgstreamer-0.10.so.0.30.0
GStreamer=libgstreamer-1.0.so.0.204.0
GTK+2=libgtk-x11-2.0.so.0.2400.23
GTK+3=libgtk-3.so.0.1000.8
OpenGL=libGL.so.1.2.0
Poppler=libpoppler.so.44.0.0
QT4=libQtCore.so.4.8.6
QT5=libQt5Core.so.5.2.1
SDL=libSDL-1.2.so.0.11.4
SQLite=libsqlite3.so.0.8.6

[Environment]
CLUTTER_BACKEND=x11
CLUTTER_IM_MODULE=xim
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-oD84rm5VhP,guid=7b8e8a6b325153919d4ac6da58d7d35b
DEFAULTS_PATH=/usr/share/gconf/cinnamon.default.path
DESKTOP_SESSION=cinnamon
DISPLAY=:0.0
GB_GUI=gb.qt4
GB_PROFILE_MAX=1000
GDMSESSION=cinnamon
GDM_XSERVER_LOCATION=local
GIO_LAUNCHED_DESKTOP_FILE=/Desktop/Gambas3.desktop
GIO_LAUNCHED_DESKTOP_FILE_PID=14099
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
GNOME_KEYRING_CONTROL=/run/user/1000/keyring-mdThqd
GPG_AGENT_INFO=/run/user/1000/keyring-mdThqd/gpg:0:1
GTK_IM_MODULE=xim
HOME=
INSIDE_NEMO_PYTHON=
LANG=en_US.UTF-8
LC_ADDRESS=fi_FI.UTF-8
LC_IDENTIFICATION=fi_FI.UTF-8
LC_MEASUREMENT=fi_FI.UTF-8
LC_MONETARY=fi_FI.UTF-8
LC_NAME=fi_FI.UTF-8
LC_NUMERIC=fi_FI.UTF-8
LC_PAPER=fi_FI.UTF-8
LC_TELEPHONE=fi_FI.UTF-8
LC_TIME=en_US.UTF-8
LOGNAME=
MANDATORY_PATH=/usr/share/gconf/cinnamon.mandatory.path
MDMSESSION=cinnamon
MDM_LANG=en_US.UTF-8
MDM_XSERVER_LOCATION=local
PAPERSIZE=letter
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
PWD=
QT4_IM_MODULE=xim
QT_STYLE_OVERRIDE=gtk
SESSION_MANAGER=local/:@/tmp/.ICE-unix/1580,unix/:/tmp/.ICE-unix/1580
SHELL=/bin/bash
SSH_AGENT_PID=1702
SSH_AUTH_SOCK=/run/user/1000/keyring-mdThqd/ssh
TEXTDOMAIN=im-config
TEXTDOMAINDIR=/usr/share/locale/
TZ=:/etc/localtime
USER=
USERNAME=
WINDOWPATH=8
XAUTHORITY=/.Xauthority
XDG_CONFIG_DIRS=/etc/xdg/xdg-cinnamon:/etc/xdg
XDG_CURRENT_DESKTOP=X-Cinnamon
XDG_DATA_DIRS=/usr/share/cinnamon:/usr/share/gnome:/usr/local/share/:/usr/share/:/usr/share/mdm/
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT=seat0
XDG_SESSION_COOKIE=5a45fa29109f0ee2389b1b0355283726-1490539355.230306-1686786609
XDG_SESSION_DESKTOP=cinnamon
XDG_SESSION_ID=c1
XDG_VTNR=8
XMODIFIERS=@im=none



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #1094: Wait command freezes when clock is adjusted back

2017-03-26 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1094=L21haW4-

Jussi LAHTINEN added an attachment:

testwait2-0.0.1.tar.gz



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user