fvwm-workers@fvwm.org wrote:
Can you reproduce this and send the relevant parts of your config?
fvwm2rc:
=====
AddToFunc my_destroy_event
+ I Current WarpToWindow
*FvwmEvent: destroy_window my_destroy_event
FvwmEvent
FvwmCommandS
=====
In an xterm run <FvwmCommand "Current RecaptureWindow">
I'm not sure what the best fix is, ideally RecaptureWindow would not
send a destroy event but it may not be possible to change that without
breaking a lot of modules.
Maybe Current should not operate during RecaptureWindow. If the function
is just <+ I WarpTowindow> you get the selection cursor and you can't
crash fvwm.
Cheers,
Tim.
(gdb) where
#0 0x3b778 in remove_window_from_stack_ring (t=0x9da90) at stack.c:171
#1 0x3c040 in RaiseOrLowerWindow (t=0x9da90, do_lower=0,
allow_recursion=1, is_new_window=0) at stack.c:588
#2 0x3c300 in RaiseWindow (t=0x9da90) at stack.c:737
#3 0x326ac in warp_to_fvwm_window (eventp=0x8c45c, t=0x9da90,
warp_x=321, x_unit=0, warp_y=484, y_unit=0) at focus.c:527
#4 0x3288c in CMD_WarpToWindow (eventp=0x8c45c, w=0, tmp_win=0x9da90,
context=1, action=0x9a0ac "", Module=0xefffd7ac) at focus.c:572
#5 0x4e50c in execute_function (efa=0xefffd798) at functions.c:1103
#6 0x4e6a4 in old_execute_function (action=0xa2910 "WarpToWindow",
tmp_win=0x9da90, eventp=0x8c45c, context=1, Module=-1,
exec_flags=0 '\000', args=0x8ac00) at functions.c:1172
#7 0x45ee4 in CMD_Current (eventp=0x8c45c, w=54, tmp_win=0x0,
context=8, action=0xa2910 "WarpToWindow", Module=0xefffd96c)
at conditional.c:543
#8 0x4e50c in execute_function (efa=0xefffd958) at functions.c:1103
#9 0x4e6a4 in old_execute_function (
action=0xa2748 "Current WarpToWindow", tmp_win=0x0,
eventp=0x8c45c, context=8, Module=-1, exec_flags=0 '\000',
args=0x8ac00) at functions.c:1172
#10 0x4f128 in execute_complex_function (eventp=0x8c45c, w=0,
tmp_win=0x0, context=8, action=0x8ac00 "", Module=0xefffdbcc,
desperate=0xa2708) at functions.c:1666
#11 0x4e564 in execute_function (efa=0xefffdbb8) at functions.c:1120
#12 0x4e6a4 in old_execute_function (
action=0xefffdcd8 " my_destroy_event", tmp_win=0x0,
eventp=0x8c45c, context=8, Module=1, exec_flags=0 '\000',
args=0x8ac00) at functions.c:1172
#13 0x39830 in ExecuteModuleCommand (w=0, module=1,
text=0xefffdcd8 " my_destroy_event") at module_interface.c:643
#14 0x39718 in HandleModuleInput (w=0, module=1,
expect=0x796d8 "NOP UNLOCK", queue=0) at module_interface.c:608
#15 0x3ac08 in PositiveWrite (module=1, ptr=0x0, size=-268443328)
at module_interface.c:1388
#16 0x39bf8 in BroadcastPacket (event_type=1, num_datum=7)
at module_interface.c:844
#17 0x5e3cc in destroy_window (tmp_win=0x9da90) at add_window.c:2014
#18 0x5ea54 in CaptureOneWindow (fw=0x9da90, window=0,
keep_on_top_win=0, parent_win=0, is_recapture=1)
at add_window.c:2314
#19 0x5f0d0 in do_recapture (eventp=0x1, w=0, tmp_win=0x9da90,
context=1, action=0x99f5f "", Module=0xefffe944, fSingle=1)
at add_window.c:2555
#20 0x5f168 in CMD_RecaptureWindow (eventp=0x8c45c, w=0,
tmp_win=0x9da90, context=1, action=0x99f5f "", Module=0xefffe944)
at add_window.c:2578
#21 0x4e50c in execute_function (efa=0xefffe930) at functions.c:1103
#22 0x4e6a4 in old_execute_function (action=0xa28d0 "RecaptureWindow",
tmp_win=0x9da90, eventp=0x8c45c, context=1, Module=2,
exec_flags=0 '\000', args=0x8ac00) at functions.c:1172
#23 0x45ee4 in CMD_Current (eventp=0x8c45c, w=54, tmp_win=0x0,
context=8, action=0xa28d0 "RecaptureWindow", Module=0xefffeb04)
at conditional.c:543
#24 0x4e50c in execute_function (efa=0xefffeaf0) at functions.c:1103
#25 0x4e6a4 in old_execute_function (
action=0x989f8 "Current RecaptureWindow", tmp_win=0x0,
eventp=0x8c45c, context=8, Module=2, exec_flags=0 '\000',
args=0x8ac00) at functions.c:1172
#26 0x39830 in ExecuteModuleCommand (w=0, module=2,
text=0x989f8 "Current RecaptureWindow") at module_interface.c:643
#27 0x3aedc in ExecuteCommandQueue () at module_interface.c:1547
#28 0x417d0 in My_XNextEvent (dpy=0x8f868, event=0x8c45c)
at events.c:2685
#29 0x41b34 in HandleEvents () at events.c:2835
#30 0x641ec in main (argc=1, argv=0xeffff2e4) at fvwm.c:718
--
Visit the official FVWM web page at <URL:http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm-workers" in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]