> It freezes every time I try to move the
> terminal window that launches on startup, completely ignoring all
> input from that point onwards - even mouse freezes and it's impossible
> to switch to kernel console.

Does it freeze even when you move the window by keyboard (Alt+WSAD)?
Not that it would mean anything particular, but there is much more
code involved when moving window by mouse, so it is valuable
information for tracking down the potential bug.

> Any idea what might be wrong, or how to figure out the cause?

When I hit those kind of problems during GUI implementation, the best
approach for me was to add debug printouts into the code, boot, switch
to kernel console before doing anything else and finally reproduce
the problematic situation by blindly clicking to where the window
is supposed to be.

> It's possible to trigger the freeze while in the kernel console, and
> fortunately it reacts after the GUI has frozen, but there is no crash
> that would seem relevant

If there is no crash, then something is probably (infinitely) looping.
While it could be anything, I would like to mention one particular
case which I encountered and debugged few times during the development.
Since coordinates are represented as unsigned integer, there could be
underflow error causing some for loop to traverse whole integer range.
However, when such thing happened, GUI did not freeze completely, it
was just extremely slow but still alive (e.g. cursor movement was
sluggish but visible).

> My initial idea would be that the GUI is simply too slow

Regarding all the already mentioned bugs and overall slowness, I am 
sorry I currently cannot devote any time to look into these matters 
and implement suggested optimizations (http://trac.helenos.org/ticket/485). 
My plan is to resume work on GUI in the beginning of November. Till then,
I am able to just observe any actions related to GUI and perhaps involve
in mailing list discussions.

PK  


_______________________________________________
HelenOS-devel mailing list
[email protected]
http://lists.modry.cz/cgi-bin/listinfo/helenos-devel

Reply via email to