It looks like the problem is in the Waba VM. Of course I may be wrong, but here's
what I observed:
- even with the timeout = 100, clicking very fast (like using a scroll wheel) crashes
it.
Looks like a race condition.
- Run Waba under traceproxy. Something like:
pgserver&
./traceproxy.pl localhost 1
export pgserver=:1
You will see that the handle error occurs while it's trying to make a dialog box for
the
segfault error.
- Run Waba in GDB to find the segfault... Something strange is happening when it
calls pgGetVideoMode. I haven't looked into it enough to figure out what this is yet.
If you still need help finding this bug, I'll see what I can do.
Quoting Olivier Bornet <[EMAIL PROTECTED]>:
> Hello,
>
> I have a problem with Waba and the pgSetIdle() of PicoGUI. Sometime, I
> have this error :
>
> *** PicoGUI ERROR (HANDLE) : You step in the stream, but the water has
> moved on; This handle is not here
>
> I have try to see if the problem come from the waba part, or from the
> pgserver part, without success now.
>
> As you (Micah) allready have try Waba with PicoGUI in the past, can
> you
> try to update your copy of the waba CVS and test the attached example
> ?
> (you need to update, as they was a limitation on the timer in old CVS
> versions, due to this bug).
>
> I will be happy if you can say to me "The problem is not in pgserver,
> look at your waba implementation", or better "OK. I have found the
> problem in pgserver. It's now corrected and you can update your
> sources." ;-)
>
> To use the example, compile it with something like :
>
> CLASSPATH=/where/are/waba/classes javac testTimer.java
>
> and run it with :
>
> /where/is/waba testTimer
>
> A small rectangle will start moving on the pgserver each 10
> milliseconds. Without problems. Then, click on the window. Normally,
> this don't change. But for me, it's crash the waba client with the
> given
> message "This handle is not here".
>
> Changing the TIMER_VALUE from 10 to a bigger value (100 for example)
> remove the problem.
>
> Thanks in advance.
>
> Olivier
> --
> Olivier Bornet SMARTDATA SA
> [EMAIL PROTECTED] Centre du Parc
> http://www.smartdata.ch av. des Pr�s-Beudin 20
> Phone +41-27-723'55'03 1920 Martigny
> Fax +41-27-723'55'19 Phone +41-27-723'55'18
>
> _______________________________________________
> Pgui-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/pgui-devel
>
--
Only you can prevent creeping featurism!
_______________________________________________
Pgui-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/pgui-devel