FOX based app can block entire Xorg

View: New views
4 Messages — Rating Filter:   Alert me  

FOX based app can block entire Xorg

by Dawid Calinski :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,
There is an obscure problem with FOX (recent 1.7-snapshot and 1.6.28 for sure)
on Linux/Unix that results in X completely blocked (users have to switch to
console and from there kill the offending the application that uses FOX):

It's hard to reproduce, but I do know (from users) that people do reproduce it
occasionally on normal work, without provoking it.

How I find a way to reproduce it "unnaturally" on Adie (from FOX-1.7.11 and
from FOX-1.6.28 as well):

press and keep left-Alt, then I keep pressing "E" and "V" keys on keyboard
(sometimes have to press "E" and "V" at once), until "Edit" and "View" menus
are *visible at once*, then I select an option from the "View" menu (ie.
switch an option there), then I click with left-mouse-button outside the
Adie, then I try to click anything in Adie (like the main text-field) -- it
usually results in this problem reproduced:
mouse cursor stays "reversed" (i.e. points to the right, like when picking up
item from menu) no matter where is points (i.e. other X applications), and
entire X seems to be locked (no regular keyboard or mouse input seems
possible).

I'm sure the problem is possible to reproduce without fooling about bringing
two menus at once, i.e. with normal work.

I'm still clueless as to where the problem is, but I will gladly provide more
info if needed to reproduce, or diagnose, the problem.

gdb backtrace from such blockage on Adie from FOX-1.7.11:

(gdb) bt
#0  0x419d7993 in ?? () from /lib/libc.so.6
#1  0x419d0942 in pselect () from /lib/libc.so.6
#2  0xb7c19112 in FX::FXApp::getNextEvent (this=0xbfc51e50, ev=@0xbfc51d48,
blocking=997206481) at FXApp.cpp:2025
#3  0xb7c1516e in FX::FXApp::runOneEvent (this=0xbfc51e50,
blocking=9223372036854775807) at FXApp.cpp:3234
#4  0xb7c17dbb in FX::FXApp::run (this=0xbfc51e50) at FXApp.cpp:3192
#5  0x08059c5e in main (argc=1, argv=0xbfc523f4) at main.cpp:148

--
Dawid Calinski

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Foxgui-users mailing list
Foxgui-users@...
https://lists.sourceforge.net/lists/listinfo/foxgui-users

Re: FOX based app can block entire Xorg

by Dawid Calinski :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wednesday 27 of June 2007 00:37:49 Dawid Calinski wrote:
> Hello,
> There is an obscure problem with FOX (recent 1.7-snapshot and 1.6.28 for
> sure) on Linux/Unix that results in X completely blocked (users have to
> switch to console and from there kill the offending the application that
> uses FOX) [...]

Just FYI, if it will of any help in finding the underlying problem:
MS Windows version of FOX based applications (including Adie) can be "locked"
in the same way, though on MS Windows it locks just the application, not
entire MS Windows GUI (just tested on Adie from FOX-1.6.28, on Windows XP).

--
Dawid Calinski

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Foxgui-users mailing list
Foxgui-users@...
https://lists.sourceforge.net/lists/listinfo/foxgui-users

Re: FOX based app can block entire Xorg

by MichaƂ Skalski :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> On Wednesday 27 of June 2007 00:37:49 Dawid Calinski wrote:
> > Hello,
> > There is an obscure problem with FOX (recent 1.7-snapshot and 1.6.28 for
> > sure) on Linux/Unix that results in X completely blocked (users have to
> > switch to console and from there kill the offending the application that
> > uses FOX) [...]
>
> Just FYI, if it will of any help in finding the underlying problem:
> MS Windows version of FOX based applications (including Adie) can be
"locked"
> in the same way, though on MS Windows it locks just the application, not
> entire MS Windows GUI (just tested on Adie from FOX-1.6.28, on Windows
XP).
>
> --
> Dawid Calinski


The same is on fox 1.4.12 and my application on Windows 2000, so this could
be is long-term bug.

Michal


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Foxgui-users mailing list
Foxgui-users@...
https://lists.sourceforge.net/lists/listinfo/foxgui-users

Re: FOX based app can block entire Xorg

by Lothar Scholz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Dawid,

Wednesday, June 27, 2007, 5:37:49 AM, you wrote:

DC> Hello,
DC> There is an obscure problem with FOX (recent 1.7-snapshot and 1.6.28 for sure)
DC> on Linux/Unix that results in X completely blocked (users have to switch to
DC> console and from there kill the offending the application that uses FOX):

Yes i reported this bug years ago (2003) on some 1.2 verion.

Jeroen never cared about it. Together with all the other problems that
makes the menu a total sucking feature i had decided
to rewrite it on my own, based only on FXPopup.

Thats also my advise for you.


--
Best regards,
 Lothar                            mailto:llothar@...


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Foxgui-users mailing list
Foxgui-users@...
https://lists.sourceforge.net/lists/listinfo/foxgui-users