Does anybody else get this? If I open up Baruch's new Graphics popup (ie, 
build the xforms form) and subsequently close LyX, I get a crash on exit.

Things go wrong in ~FormGraphics(), or more specifically in ~form_graphics(). 
Commenting out the line 
        delete dialog_;
in ~FormGraphics() prevents the crash because the command 
        fl_free_form( form );
in ~form_graphics() is not executed.

I _think_ that this is the only form that makes use of groups. Might this be 
a problem?

I'll submit a patch for the time being that simply comments out 
        delete dialog_;

Just thoughts.
Angus

(dbx) where
>  0 (unknown)() [0x3ffbff8c3c0]
   1 fl_handle_object_direct(0x3, 0xffffffffffffffff, 0x100000000, 
0x1400e3960, 0x3ffbff8b8d4) [0x3ffbff8c5d0]
   2 fl_set_focus_object(0x100000000, 0x1400e3960, 0x3ffbff8b8d4, 
0x140027148, 0x3ffbff89b30) [0x3ffbff8b8d0]
   3 fl_delete_object(0x3ffbff89b30, 0x14018bc00, 0x3ffbff89514, 0x14018b600, 
0x14018ba00) [0x3ffbff89b2c]
   4 fl_free_object(0x3ffbff89514, 0x14018b600, 0x14018ba00, 0x14018b600, 
0x3ffbff51230) [0x3ffbff89510]
   5 fl_free_form(0x3ffbff51230, 0x140183300, 0x1203253bc, 0x140184800, 
0x140106250) [0x3ffbff5122c]
   6 __dt__16FD_form_graphicsXv(0x140106250, 0x140106780, 0x1202f7398, 
0x140106780, 0x100000005) [0x1203253b8]
   7 __dt__12FormGraphicsXv(0x140106250, 0x100000005, 0x1401068f0, 
0x140106910, 0x140106930) [0x1202f7394]
   8 __dt__7DialogsXv(0x12017f588, 0x1400f6440, 0x140102700, 0x3ffc00802a0, 
0x3ff00000005) [0x1202e3d94]
   9 __dt__7LyXViewXv(0x1201db8c4, 0x11ffff7d0, 0x140065820, 0x100000005, 
0x140102708) [0x12017f584]
  10 __dt__6LyXGUIXv(0x140102708, 0x11ffff7d0, 0x1201e0d18, 0x1400989d0, 
0x100000005) [0x1201db8c0]
  11 __dt__3LyXXv(0x100000005, 0x1400d5200, 0x120214f30, 0x1200bccc8, 
0x100000001) [0x1201e0d14]
  12 main(0x1400788f0, 0x0, 0x140065800, 0x1400a99e0, 0x100000001) 
[0x120214f2c]     
                             


Reply via email to