Re: FVWM: Java freezes fvwm shortcuts

From: Dan Espen <dane_at_mk.telcordia.com>
Date: Tue, 20 Jun 2000 09:22:06 -0400

gregory_at_mcst.ru (Gregory A. Shimansky) writes:
> >>>>> "SE" == Sven Esbjerg <esbjerg_at_egmont-kol.dk> writes:
>
> SE> I'm haveing some problems with fvwm2. When I use netscape and I browse th
> rough
> SE> pages that uses java fvwm sort of freezes. All key-bindings and mouse-bin
> dings
> SE> stop working. Not even a restart will help - only to kill X.
>
> I have the same problem. Recently a found a cool java game
> (http://www.plutoniumsoftware.com/ -> Burning metal). When I launch it,
> both through Netscape or appletviewer, it opens a full screen window and if
> an error is encountered and the game is stopped I have no way to close this
> window. No keys, no mouse clicks work. Nothing at all. This window seems to
> be as ignorant to anything as an xlock window. Have to telnet from another
> compute and kill java process.

I went back to the given URL and tried a few things.

First my fvwm keybindings do work, its just a little hard to tell that
they are working.

The first thing I tried was "Control arrow" which I have bound like this:

Key Left A C Scroll -100 0
Key Right A C Scroll +100 +0
Key Up A C Scroll +0 -100
Key Down A C Scroll +0 +100

I didn't think they were working since the game created window doesn't
even seem to flicker. But then I noticed that the pointer was changing
shape at the screen edges as it entered fvwm's panframes. Using the
panframes as a guide, I was able to tell that the "Control arrow" keys
were working.

I have a key binding for FvwmIdent. Normally if I use it over a window,
I get an FvwmIdent window. Over this Java window, I get a crosshair.
When I clicked on the Java window, I didn't see anything happen.

Later after killing Netscape, I found the FvwmIdent windows. They picked
up the application underneath.

With about 5 FvwmIdents running, many attempts to delete and destroy
Netscape thru fvwm, I managed to crash fvwm:

#0 0x7a4b4 in remove_window_from_stack_ring (t=0x1104a0)
    at ../../version-2_3_20/fvwm/stack.c:46
46 t->stack_prev->stack_next = t->stack_next;
(gdb) where
#0 0x7a4b4 in remove_window_from_stack_ring (t=0x1104a0)
    at ../../version-2_3_20/fvwm/stack.c:46
#1 0x56320 in destroy_window (tmp_win=0x1104a0)
    at ../../version-2_3_20/fvwm/add_window.c:1900
#2 0x59114 in CaptureOneWindow (fw=0x1104a0, window=25167074)
    at ../../version-2_3_20/fvwm/fvwm.c:858
#3 0x594c8 in CaptureAllWindows () at ../../version-2_3_20/fvwm/fvwm.c:934
#4 0x41c78 in do_recapture (eventp=0xb2d2c, w=42, tmp_win=0x0, context=8,
    action=0x114181 "", Module=0xffbebdbc, fSingle=0)
    at ../../version-2_3_20/fvwm/builtins.c:2359
#5 0x41d38 in Recapture (eventp=0xb2d2c, w=42, tmp_win=0x0, context=8,
    action=0x114181 "", Module=0xffbebdbc)
    at ../../version-2_3_20/fvwm/builtins.c:2376
#6 0x6d5f8 in ExecuteFunction (Action=0xcc7d8 "Recapture", tmp_win=0x0,
    eventp=0xb2d2c, context=8, Module=-2, expand_cmd=EXPAND_COMMAND,
    args=0xffbebe58) at ../../version-2_3_20/fvwm/functions.c:997
#7 0x6e91c in execute_complex_function (eventp=0xb2d2c, w=0, tmp_win=0x0,
    context=8, action=0x1141c0 "ConfigWinList", Module=0xffbebfec,
    desperate=0xffbebf28) at ../../version-2_3_20/fvwm/functions.c:1484
#8 0x6d664 in ExecuteFunction (Action=0x114208 "ConfigWinList", tmp_win=0x0,
    eventp=0xb2d2c, context=8, Module=-1, expand_cmd=EXPAND_COMMAND, args=0x0)
    at ../../version-2_3_20/fvwm/functions.c:1014
#9 0x6d7d0 in ExecuteFunctionSaveTmpWin (Action=0x114208 "ConfigWinList",
    tmp_win=0x0, eventp=0xb2d2c, context=8, Module=-1,
    expand_cmd=EXPAND_COMMAND, args=0x0)
    at ../../version-2_3_20/fvwm/functions.c:1052
#10 0x1e9c8 in do_menu (pmp=0xffbec1b0, pmret=0xffbec1a0)
    at ../../version-2_3_20/fvwm/menus.c:832
#11 0x2c0bc in menu_func (eventp=0xb2d2c, w=42, tmp_win=0x0, context=8,
    action=0x0, Module=0xffbec3cc, fStaysUp=0)
    at ../../version-2_3_20/fvwm/menus.c:5058
#12 0x2c14c in popup_func (eventp=0xb2d2c, w=42, tmp_win=0x0, context=8,
    action=0x1042ce "Window-Ops", Module=0xffbec3cc)
    at ../../version-2_3_20/fvwm/menus.c:5068
#13 0x6d5f8 in ExecuteFunction (Action=0xdc1d0 "Popup Window-Ops",
    tmp_win=0x0, eventp=0xb2d2c, context=8, Module=-1,
    expand_cmd=EXPAND_COMMAND, args=0x0)
    at ../../version-2_3_20/fvwm/functions.c:997
#14 0x4b7c0 in HandleKeyPress () at ../../version-2_3_20/fvwm/events.c:275
#15 0x50eac in DispatchEvent (preserve_Tmp_win=0)
    at ../../version-2_3_20/fvwm/events.c:2330
#16 0x50f94 in HandleEvents () at ../../version-2_3_20/fvwm/events.c:2370
#17 0x58d00 in main (argc=1, argv=0xffbec9bc)
    at ../../version-2_3_20/fvwm/fvwm.c:733
(gdb) print t
$1 = (FvwmWindow *) 0x1104a0
(gdb) print *t
$2 = {next = 0x69, prev = 0x71, stack_next = 0x37, stack_prev = 0x5d, w = 112,
  old_bw = 85, frame = 78, decor_w = 65, Parent = 86, title_w = 110, sides = {
    45, 0, 105, 772}, corners = {1115464, 18, 146147, 0},
  nr_left_buttons = 743200, nr_right_buttons = 42, button_w = {25167255, 0,
    541942126, 975206519, 1115344, 1718550528, 40, 0, 4294967295, 2048},
  decor = 0x9, icon_w = 3728080374, icon_pixmap_w = 37748788,
  wShaped = 25166129, boundary_width = 1068056, corner_width = 19809,
  visual_corner_width = 26988, title_g = {x = 1115344, y = 0, width = 40,
    height = 27960}, icon_g = {x = 105, y = 4096, width = 1115576,
    height = 17}, icon_xl_loc = 146151, icon_t_width = 0,
  icon_p_width = 743200, icon_p_height = 42, iconPixmap = 25166129,
  iconDepth = 1024, icon_maskPixmap = 128,
  name = 0xde3510ec <Address 0xde3510ec out of bounds>,
...

I did "xwininfo -all -root". Nothing interesting as far as I can tell:

     0x10133f4 (has no name): () 1280x1024+0+0 +0+0
        1 child:
        0x10133f5 (has no name): () 1280x1024+0+0 +0+0
           1 child:
           0x10133f6 (has no name): () 1280x1024+0+0 +0+0
              2 children:
              0x10133f8 (has no name): () 16x14+1260+4 +1260+4
              0x10133fe (has no name): () 1280x1024+0+0 +0+0
                 1 child:
                 0x2000def (has no name): () 1x1+462+604 +462+604


--
Dan Espen
444 Hoes Lane  Room RRC 1C-214           E-mail: dane_at_mk.telcordia.com
Piscataway, NJ 08854                     Phone: (732) 699-5570
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Tue Jun 20 2000 - 08:28:32 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:50 BST