on line 294, in updateWidthetsFromLength, if you mouse click
on a graphic.

The problem is with the call to fl_set_choice_text. If the
string it is called with in "in" it works fine, like with
default_unit. If I define manually the string "in" and
use it instead, it works fine. But it crashes with the
string "c%%" which is generated normally. Also with a
string like "ccc" it crashes. Also with any other string
(like "xz") it crashes. But with "cm" it again works...
...only legal units acceptable??? Urk.

My xforms is 0.88.1. (Yes I know this looks like an xforms problem 
but there must be more to it!)

Unfortunately I have to leave now. Will someone look into 
this?

#0  0x401ebd41 in __kill () from /lib/libc.so.6
(gdb) info stack
#0  0x401ebd41 in __kill () from /lib/libc.so.6
#1  0x401eb9b6 in raise (sig=6) at ../sysdeps/posix/raise.c:27
#2  0x401ed0d8 in abort () at ../sysdeps/generic/abort.c:88
#3  0x82974bf in Letext () at abort.C:9
#4  0x80d8386 in error_handler (err_sig=11) at ../src/lyx_main.C:226
#5  0x401ebc68 in __restore () at
../sysdeps/unix/sysv/linux/i386/sigaction.c:127
#6  0x40212986 in _IO_vfprintf (s=0x402bbce0, format=0x4007f9f4
"%s%s\n", ap=0xbfffef68) at vfprintf.c:1029
#7  0x4021b047 in fprintf (stream=0x402bbce0, format=0x4007f9f4
"%s%s\n") at fprintf.c:32
#8  0x40074a74 in P_errmsg () from /usr/X11R6/lib/libforms.so.0.88
#9  0x400335da in fl_set_choice_text () from
/usr/X11R6/lib/libforms.so.0.88
#10 0x825ad22 in updateWidgetsFromLength (input=0x84dcf38,
choice=0x84dd180, len=@0x8436058, 
    default_unit=@0x83ca438) at xforms_helpers.C:302
#11 0x81fad2c in FormGraphics::update (this=0x8419860) at
FormGraphics.C:343
#12 0x81d6fce in FormBase::show (this=0x8419860) at FormBase.C:78
#13 0x831067b in ControlInset<InsetGraphics, InsetGraphicsParams>::show
(this=0x84197a0, params=@0xbffff2c0)
    at ControlInset.tmpl:67
#14 0x83106b8 in ControlInset<InsetGraphics,
InsetGraphicsParams>::showInset (this=0x84197a0, inset=0x848ac48)
    at ControlInset.tmpl:31
#15 0x8310bf5 in SigC::ObjectSlot1_<void, InsetGraphics *,
ControlInset<InsetGraphics, InsetGraphicsParams> >::callback
(d=0x8419904, p1=0x848ac48) at ../../../sigc++/object_slot.h:153
#16 0x82eeb4a in SigC::Signal1<void, InsetGraphics *,
SigC::Marshal<void> >::emit (this=0x841af2c, 
    p1=@0xbffff3b8) at ../../sigc++/slot.h:358
#17 0x81a3b52 in InsetGraphics::edit (this=0x848ac48, bv=0x8435298) at
../../sigc++/basic_signal.h:311
#18 0x81c145a in InsetText::insetButtonRelease (this=0x848aaa4,
bv=0x8435298, x=318, y=-22, button=1)
    at insettext.C:1038
#19 0x81cb15c in InsetCollapsable::insetButtonRelease (this=0x848aa48,
bv=0x8435298, x=318, y=37, button=1)
    at insetcollapsable.C:353
#20 0x8057536 in BufferView::Pimpl::workAreaButtonRelease
(this=0x8435350, x=318, y=37, button=1)
    at BufferView_pimpl.C:883
#21 0x82aea08 in SigC::ObjectSlot3_<void, int, int, unsigned int,
BufferView::Pimpl>::callback (d=0x8436334, 
    p1=338, p2=188, p3=1) at ../sigc++/object_slot.h:347
#22 0x82bd209 in SigC::Signal3<void, int, int, unsigned int,
SigC::Marshal<void> >::emit (this=0x843538c, 
    p1=@0xbffff5d0, p2=@0xbffff5cc, p3=@0x4008c320) at
../sigc++/slot.h:554
#23 0x808ee93 in WorkArea::work_area_handler (ob=0x8436078, event=3,
key=1, xev=0x4008c2ec)
    at ../sigc++/basic_signal.h:589
#24 0x808d866 in C_WorkArea_work_area_handler (ob=0x8436078, event=3,
key=1, xev=0x4008c2ec) at WorkArea.C:68
#25 0x40050f83 in fl_handle_it () from /usr/X11R6/lib/libforms.so.0.88
#26 0x40051029 in fl_handle_object () from
/usr/X11R6/lib/libforms.so.0.88
#27 0x40044002 in fl_handle_form () from /usr/X11R6/lib/libforms.so.0.88
#28 0x40044c57 in do_interaction_step () from
/usr/X11R6/lib/libforms.so.0.88
#29 0x40044ee2 in fl_treat_interaction_events () from
/usr/X11R6/lib/libforms.so.0.88
#30 0x40044f1c in fl_check_forms () from /usr/X11R6/lib/libforms.so.0.88
#31 0x8234679 in GUIRunTime::runTime () at GUIRunTime.C:94
#32 0x80d7544 in LyXGUI::runTime (this=0x83e2828) at lyx_gui.C:292
#33 0x80d8096 in LyX::LyX (this=0xbffff898, argc=0xbffff8c0,
argv=0xbffff904) at ../src/lyx_main.C:176
#34 0x8116046 in main (argc=1, argv=0xbffff904) at ../src/main.C:38


Martin
-- 
Martin Vermeer  [EMAIL PROTECTED]
Helsinki University of Technology 
Department of Surveying
P.O. Box 1200, FIN-02015 HUT, Finland
:wq

Attachment: msg35203/pgp00000.pgp
Description: PGP signature

Reply via email to