xfig hangs inside Xaw3d's DoLayout()

Mikhail Teterin mi at corbulon.video-collage.com
Sun Sep 25 19:07:13 PDT 2005


Hello!

I have just rebuilt my Xaw3d anew and built xfig for the first time.

The program comes up complaining at startup:

	Warning: Actions not found: PlaceMenu, xMenuPopup
	Warning: Actions not found: PlaceMenu, xMenuPopup
	Warning: Actions not found: ShowNamedStyles, ZoomIn, ZoomOut, ZoomFit, Unzoom, PanOrigin, ToggleShowDepths, ToggleShowBalloons, ToggleShowBorders, ToggleShowLengths, ToggleShowVertexnums
	Warning: Actions not found: ShowNamedStyles, ZoomIn, ZoomOut, ZoomFit, Unzoom, PanOrigin, ToggleShowDepths, ToggleShowBalloons, ToggleShowBorders, ToggleShowLengths, ToggleShowVertexnums

If I click on *any* buttong on the left (text, or rectangle, or some other
shape -- anything), the process hangs consuming 100% CPU. According to gdb,
it is stuck inside DoLayout:

	(gdb) where
	#0  0x281e4d44 in DoLayout () from /opt/lib/libXaw3d.so.7
	#1  0x281e51e5 in PreferredSize () from /opt/lib/libXaw3d.so.7
	#2  0x2825ee28 in XtQueryGeometry () from /opt/lib/libXt.so.6
	#3  0x28207366 in ComputeLayout () from /opt/lib/libXaw3d.so.7
	#4  0x28207ac6 in Resize () from /opt/lib/libXaw3d.so.7
	#5  0x28270468 in XtSetValues () from /opt/lib/libXt.so.6
	#6  0x80f5ca8 in png_read_end ()
	#7  0x2825b3a4 in XtDispatchEventToWidget () from /opt/lib/libXt.so.6
	#8  0x2825bdec in _XtDefaultDispatcher () from /opt/lib/libXt.so.6
	#9  0x2825c043 in XtDispatchEvent () from /opt/lib/libXt.so.6
	#10 0x808bb83 in png_read_end ()
	#11 0x804d4be in png_read_end ()
	(gdb)

I don't know, what happened to main(), but such is the gdb's opinion.

The XFree install is rather old: XFree86-libraries-4.3.0_7, but
everything else works -- libXaw.* are links to the libXaw3d.*. Xterm's
menus and scrollbar look nice, for example.

Thanks,

	-mi


More information about the freebsd-x11 mailing list