[Gambas-user] Fwd: Couple small things with latest revision

Jussi Lahtinen jussi.lahtinen at ...626...
Sun Jul 17 15:25:05 CEST 2016


Any ideas about this?
I installed Gambas from daily PPA to my uptodate virtual machine (also
Linux Mint) and I can reproduce the bug there also. However the
GambasTester run doesn't fail every time, only about 1/3 of the times.
So, it is quite rare event, because the tests are repeated 100 times per
run.

Jussi


[System]
Gambas=3.8.90
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=993M

[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]
CINNAMON_SLOWDOWN_FACTOR=0.0001
CINNAMON_SOFTWARE_RENDERING=1
CINNAMON_VERSION=2.8.8
CLUTTER_BACKEND=x11
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-kwAczmb1id,guid=ee8c2a09b960dbd55b8b20d3578b845c
DEFAULTS_PATH=/usr/share/gconf/cinnamon.default.path
DESKTOP_SESSION=cinnamon
DISPLAY=:0
GB_GUI=gb.qt4
GDMSESSION=cinnamon
GDM_XSERVER_LOCATION=local
GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/gambas3.desktop
GIO_LAUNCHED_DESKTOP_FILE_PID=2363
GJS_DEBUG_OUTPUT=stderr
GJS_DEBUG_TOPICS=JS ERROR;JS LOG
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
GNOME_KEYRING_CONTROL=/run/user/1000/keyring-cU1VTR
GPG_AGENT_INFO=/run/user/1000/keyring-cU1VTR/gpg:0:1
HOME=<home>
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
LOGNAME=<user>
MANDATORY_PATH=/usr/share/gconf/cinnamon.mandatory.path
MDMSESSION=cinnamon
MDM_LANG=en_US.UTF-8
MDM_XSERVER_LOCATION=local
MUFFIN_NO_SHADOWS=1
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
PWD=<home>
QT_STYLE_OVERRIDE=gtk
SESSION_MANAGER=local/<hostname>:@/tmp/.ICE-unix/1343,unix/<hostname>:/tmp/.ICE-unix/1343
SHELL=/bin/bash
SSH_AGENT_PID=1692
SSH_AUTH_SOCK=/run/user/1000/keyring-cU1VTR/ssh
TEXTDOMAIN=im-config
TEXTDOMAINDIR=/usr/share/locale/
TZ=:/etc/localtime
USER=<user>
USERNAME=<user>
WINDOWPATH=8
XAUTHORITY=<home>/.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=80a083dd74091f714dfcd291572a92ab-1468761171.117773-307953855
XDG_SESSION_DESKTOP=cinnamon
XDG_SESSION_ID=c1
XDG_VTNR=8

On Thu, Jun 23, 2016 at 4:04 AM, Jussi Lahtinen <jussi.lahtinen at ...626...>
wrote:

> Sorry little correction. The test are run 100 times and some of them
> always fail without the wait lines. So, not every execution, but always
> some of the 100 runs.
>
>
> Jussi
>
> On Thu, Jun 23, 2016 at 4:00 AM, Jussi Lahtinen <jussi.lahtinen at ...626...>
> wrote:
>
>> The test does not pass on my system.
>> The variable sTest remains empty, unless I add the "Wait 0.1" lines.
>>
>> Actually now when I retest this, it has got worse. Now it fails randomly
>> even with the wait lines.
>>
>>
>> Jussi
>>
>>
>> On Thu, Jun 23, 2016 at 3:47 AM, Benoît Minisini <
>> gambas at ...1...> wrote:
>>
>>> Le 23/06/2016 02:35, Benoît Minisini a écrit :
>>> > Le 23/06/2016 02:27, Jussi Lahtinen a écrit :
>>> >> Hi!
>>> >> See the attached project. In module mTest at line 1679 begins test
>>> loop,
>>> >> which fails randomly on my system (information at the end of the
>>> mail).
>>> >>
>>> >> I use "hProcess.Wait" and this used to work, but now I need to add
>>> also
>>> >> "Wait".
>>> >> Is that correct behavior?
>>> >
>>> > You means that hProcess.Wait() does nothing? No, it's not normal. It
>>> > should do the same thing as the WAIT keyword, i.e. wait for the process
>>> > termination.
>>> >
>>> >> If I understand the documentation correctly, then it is not.
>>> >> http://gambaswiki.org/wiki/comp/gb/process/wait
>>> >>
>>> >> Also I'm missing old terminal feature to turn "debug" outputs as
>>> links to
>>> >> the source code!
>>> >> Is it possible to re-implement it to this new terminal?
>>> >
>>> > It's difficult now, because the new terminal is a control on its own,
>>> > and so has no support for interpreting and highlighting its contents.
>>> If
>>> > I find solution, I will tell.
>>> >
>>> > Regards,
>>> >
>>>
>>> I ran your project, and got "test passed". Was it expected?
>>>
>>> --
>>> Benoît Minisini
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
>>> Francisco, CA to explore cutting-edge tech and listen to tech luminaries
>>> present their vision of the future. This family event has something for
>>> everyone, including kids. Get more information and register today.
>>> http://sdm.link/attshape
>>> _______________________________________________
>>> Gambas-user mailing list
>>> Gambas-user at lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>>
>>
>>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: GambasTestercmd-0.9.49.tar.gz
Type: application/x-gzip
Size: 17998 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20160717/8afe503a/attachment.bin>


More information about the User mailing list