Subject: Animate menu core dump

From: Olivier Chapuis <[email-masked]>
Date: Mon, 09 Oct 2000 06:24:26 +0200

Hello,
I've got a systematic core dump when I use animated menus 
(popup a menu which need animation and come back to the 
parent menu: core dump).

Here the gdb output:

[olivier@snoopy olivier]$ gdb fvwm2 dmalloc/menu_core
GNU gdb 4.18
Core was generated by `fvwm2 -f themes-rc'.
Program terminated with signal 11, Erreur de segmentation.
Reading symbols from /usr/X11R6/lib/libXpm.so.4...done.
Reading symbols from /usr/local/lib/libstroke.so.0...done.
Reading symbols from /usr/X11R6/lib/libSM.so.6...done.
Reading symbols from /usr/X11R6/lib/libICE.so.6...done.
Reading symbols from /usr/X11R6/lib/libXext.so.6...done.
Reading symbols from /usr/X11R6/lib/libX11.so.6...done.
Reading symbols from /lib/libm.so.6...done.
Reading symbols from /lib/libc.so.6...done.
Reading symbols from /lib/ld-linux.so.2...done.
#0  animated_move_back (mr=0x0, do_warp_pointer=1) at menus.c:374
374       if (MR_XANIMATION(mr) == 0)
(gdb)  where
#0  animated_move_back (mr=0x0, do_warp_pointer=1) at menus.c:374
#1  0x804e61f in MenuInteraction (pmp=0xbffff09c, pmret=0xbffff3fc, 
    pdkp=0xbfffef30, pdo_warp_to_title=0x8095168) at menus.c:2053
#2  0x804cb4d in do_menu (pmp=0xbffff09c, pmret=0xbffff3fc) at
menus.c:829
#3  0x804e4df in MenuInteraction (pmp=0xbffff2ac, pmret=0xbffff3fc, 
    pdkp=0xbffff140, pdo_warp_to_title=0x8095168) at menus.c:2006
#4  0x804cb4d in do_menu (pmp=0xbffff2ac, pmret=0xbffff3fc) at
menus.c:829
#5  0x804e4df in MenuInteraction (pmp=0xbffff40c, pmret=0xbffff3fc, 
    pdkp=0xbffff350, pdo_warp_to_title=0x8095168) at menus.c:2006
#6  0x804cb4d in do_menu (pmp=0xbffff40c, pmret=0xbffff3fc) at
menus.c:829
#7  0x80533ce in menu_func (eventp=0x8096c00, w=38, tmp_win=0x0,
context=8, 
    action=0x812c1e5 "MenuFvwmRoot", Module=0xbffff554, fStaysUp=1)
    at menus.c:5094
#8  0x805346b in staysup_func (eventp=0x8096c00, w=38, tmp_win=0x0,
context=8, 
    action=0x812c1e5 "MenuFvwmRoot", Module=0xbffff554) at menus.c:5110
#9  0x8075a8d in ExecuteFunction (action=0x80c1c30 "Menu MenuFvwmRoot", 
    tmp_win=0x0, eventp=0x8096c00, context=8, Module=-1, exec_flags=2, 
    args=0x0) at functions.c:1003
#10 0x8065f6b in HandleButtonPress () at events.c:1409
#11 0x8067186 in DispatchEvent (preserve_Tmp_win=0) at events.c:2374
#12 0x80671fa in HandleEvents () at events.c:2414
#13 0x806b64c in main (argc=3, argv=0xbffffa24) at fvwm.c:736
(gdb) 

Olivier
--
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-masked].
To report problems, send mail to [email-masked]