[Gambas-user] Weird Timer Problem

Gareth Bult gareth at ...1689...
Mon Jan 21 16:51:24 CET 2008


Hi,

Same problem in the current 2.0 branch, works on Qt, dies with Gtk.

Note !!

If I enable the Stop/Start, the timer ceases to honor the DELAY property.

i.e. set delay to 3000 and run without the timer stop/start and it runs as expected.

Insert the stop/start and it runs with <1s delay .. 
Inserting an additional killer.delay=3000 makes no difference ..

It looks like stop/start/delay are broken in the GTK Timer module.

hth

Gareth.


----- Original Message -----
step 3.: "Benoit Minisini" <gambas at ...1...>
To: "mailing list for gambas users" <gambas-user at lists.sourceforge.net>
Sent: 20 January 2008 23:51:19 o'clock (GMT) Europe/London
Subject: Re: [Gambas-user] Weird Timer Problem

On lundi 21 janvier 2008, Gareth Bult wrote:
> Hmm ....
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread -1210411344 (LWP 21559)]
> 0xb7e19d4a in ?? () from /lib/tls/i686/cmov/libc.so.6
> (gdb) bt
> #0  0xb7e19d4a in ?? () from /lib/tls/i686/cmov/libc.so.6
> #1  0xb7adf282 in ?? () from /usr/lib/libgcrypt.so.11
> #2  0x082ee2b0 in ?? ()
> #3  0x00000001 in ?? ()
> #4  0xbff2a638 in ?? ()
> #5  0xb7ae29b3 in ?? () from /usr/lib/libgcrypt.so.11
> #6  0xb7b1ea34 in ?? () from /usr/lib/libgcrypt.so.11
> #7  0xb7b1e700 in ?? () from /usr/lib/libgcrypt.so.11
> #8  0x0826f990 in ?? ()
> #9  0xb7b1d904 in ?? () from /usr/lib/libgcrypt.so.11
> #10 0x00000001 in ?? ()
> #11 0xb7efa170 in ?? () from /lib/tls/i686/cmov/libc.so.6
> #12 0xbff2a668 in ?? ()
> #13 0x00000018 in ?? ()
> #14 0x00000003 in ?? ()
> #15 0xb7efa170 in ?? () from /lib/tls/i686/cmov/libc.so.6
> #16 0xb7e19c81 in ?? () from /lib/tls/i686/cmov/libc.so.6
> #17 0x00000000 in ?? ()
>
> BUT !!
>
> If I switch to qt (as opposed to "gui") the problem goes away and the code
> works fine !!!
>
> ... I'm thinking this might be a Gambas/GTK problem ?
>

For sure, but I did my test with both gb.qt and gb.gtk and everything works 
fine... It would be cool if you could try the version in /branches/2.0.

Regards,

-- 
Benoit Minisini

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Gambas-user mailing list
Gambas-user at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user




More information about the User mailing list