#50 Clicking outside of Audit All Games dialog causes freeze

v0.34b
open-later
Nicos
Interface (21)
5
2004-08-27
2004-07-12
Ken Zalewski
No

After selecting the "Audit All Games" option, a dialog
box opens which displays the progress of the audit.

This dialog can be moved or resized without a problem.
However, at the instant that the user selects another
window, or clicks anywhere on the desktop, the "Audit
All Games" dialog disappears, and the main GXMame
window freezes completely. GXMame must then be killed
using a signal.

Here is my configure line:

./configure --prefix=/usr/local/games
--datadir=/usr/local/games/share/gxmame
--with-xmame-dir=/usr/local/games/share/xmame
--enable-joystick

And here is the results of "ldd gxmame":

libgtk-x11-2.0.so.0 =>
/usr/lib/libgtk-x11-2.0.so.0 (0x4002d000)
libgdk-x11-2.0.so.0 =>
/usr/lib/libgdk-x11-2.0.so.0 (0x402f1000)
libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0
(0x4035f000)
libgdk_pixbuf-2.0.so.0 =>
/usr/lib/libgdk_pixbuf-2.0.so.0 (0x40379000)
libm.so.6 => /lib/libm.so.6 (0x4038f000)
libpangoxft-1.0.so.0 =>
/usr/lib/libpangoxft-1.0.so.0 (0x403b1000)
libpangox-1.0.so.0 =>
/usr/lib/libpangox-1.0.so.0 (0x403b6000)
libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0
(0x403c2000)
libgobject-2.0.so.0 =>
/usr/lib/libgobject-2.0.so.0 (0x403f7000)
libgmodule-2.0.so.0 =>
/usr/lib/libgmodule-2.0.so.0 (0x40430000)
libdl.so.2 => /lib/libdl.so.2 (0x40435000)
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0
(0x40438000)
libz.so.1 => /usr/lib/libz.so.1 (0x404b6000)
libc.so.6 => /lib/libc.so.6 (0x404c7000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6
(0x405f6000)
libXrandr.so.2 => /usr/X11R6/lib/libXrandr.so.2
(0x406be000)
libXi.so.6 => /usr/X11R6/lib/libXi.so.6
(0x406c3000)
libXinerama.so.1 =>
/usr/X11R6/lib/libXinerama.so.1 (0x406cb000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6
(0x406ce000)
libXft.so.2 => /usr/X11R6/lib/libXft.so.2
(0x406dc000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6
(0x406ee000)
libXrender.so.1 =>
/usr/X11R6/lib/libXrender.so.1 (0x40753000)
libfontconfig.so.1 =>
/usr/X11R6/lib/libfontconfig.so.1 (0x4075c000)
libpangoft2-1.0.so.0 =>
/usr/lib/libpangoft2-1.0.so.0 (0x40783000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2
(0x40000000)
libexpat.so.0 => /usr/lib/libexpat.so.0
(0x407a8000)

Discussion

  • Nicos
    Nicos
    2004-07-12

    • assigned_to: nobody --> anarxia
    • status: open --> open-works-for-me
     
  • Nicos
    Nicos
    2004-07-12

    Logged In: YES
    user_id=143408

    I tried both clicking on the gxmame window and switching to
    other applications while audit is runing but nothing
    happened. Could you try the CVS version and tell me if the
    problem disappears?

     
  • Ken Zalewski
    Ken Zalewski
    2004-07-13

    Logged In: YES
    user_id=189287

    Nicos,

    I just retrieved and built the CVS version of GXMame. Same
    exact problem. I start the "Audit All Games", then click in
    any other window. The Audit progress dialog disappears, and
    the main GXMame window is frozen.

    I am going to exit out of KDE (version 3.2.3), and try all
    of this from just a basic X-windows session, with TWM. I'll
    report my findings.

     
  • Ken Zalewski
    Ken Zalewski
    2004-07-13

    Logged In: YES
    user_id=189287

    Nicos,

    I did some experimentation, and have some interesting results.

    I started up X-windows (X.org 6.7, which is a branch of
    XFree86 4.4), with one console. I then tried starting
    window managers, and for each window manager, going thru the
    steps to reproduce the problem: start GXmame, select "Audit
    All Games", then click back in the console window while the
    audit is running.

    GXMame worked fine when using "twm", "fvwm2", and "wmaker".

    However, the problem occurred when I used "kwin", which is
    the KDE default window manager. So this is definitely a
    GXMame-on-KDE issue.

    I then experimented further. I started up the full KDE,
    with the taskbar. I found that when I start the audit, I
    can see two taskbar icons - one for the main GXmame window,
    and one for the audit progress window. When I click in
    another window, the audit window disappears, and so does its
    icon in the taskbar.

    HOWEVER, if I minimize the main GXMame window (even though
    it's frozen due to the modal dialog, I can still perform
    window operations on it), then maximize it again, the audit
    dialog reappears! After that, clicking in other windows
    does not affect the audit dialog, although its taskbar entry
    never returns.

    I now understand why the main GXMame window appears to be
    "frozen" when this problem occurs... the audit dialog is
    modal, and the main GXMame window is frozen while the audit
    proceeds. Therefore, if the audit disappears for some
    reason, the main GXMame window will never unfreeze.

    If you have the ability to run KWin, please give this a try.
    Something in GXMame is not interacting with KWin properly.
    Note also that this problem does not occur when using the
    "Rebuild Game List" modal progress dialog.

    Here is the version information for KWin (using "kwin
    --version"):
    Qt: 3.3.2
    KDE: 3.2.3
    KWin: 3.0

    If you need any other information, please let me know.

     
  • Nicos
    Nicos
    2004-08-27

    • status: open-works-for-me --> open-later
     
  • Nicos
    Nicos
    2004-08-27

    Logged In: YES
    user_id=143408

    Sorry for taking so long to respond. The issue is very much
    KDE-specific, so unless a KDE user steps in to find a
    workaround and send a patrch there is nothing I can do. Sorry :)

     
  • Logged In: YES
    user_id=113719

    Just thought I'd add that I have this problem too. I'm using
    the binary from http://anarxia.dyndns.org/debian
    Sorry I don't know enough about KDE to write a patch.