[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#409849: Segfault with lesstif -- works with openmotif



AFNI segfaults when built against lesstif2. The steps to replicate are:

1. Start AFNI with any dataset.
2. Add atlas as overlay.
3. Open image viewer (any slice orientation, e.g. axial)
4. Right-click on any voxel and select "where am i"
5. Left-click on two other voxels
6. Segfault.

GDB show that lesstif gets into a long loop doing the following over an
over:

#21788 0xb7858eb4 in XmTextSetString () from /usr/lib/libXm.so.2
#21789 0xb78591bf in ?? () from /usr/lib/libXm.so.2
#21790 0xb7595e52 in ?? () from /usr/lib/libXt.so.6
#21791 0xb7596b64 in XtSetValues () from /usr/lib/libXt.so.6
#21792 0xb78584d8 in _XmTextUpdateLineTable () from /usr/lib/libXm.so.2
#21793 0xb786c909 in ?? () from /usr/lib/libXm.so.2
#21794 0xb786bed8 in _XmStringSourceSetValue () from /usr/lib/libXm.so.2

There is an open lesstif bug that might be related:

  http://bugs.debian.org/379011

The relevant action seems to be triggered from

#21828 0xb7ba20b2 in MCW_textwin_alter () from /usr/lib/afni/lib/libmrix.so
#21829 0x08071ddc in AFNI_set_viewpoint ()

A test build of AFNI against current openmotif doesn't show this bug.

Upstream doesn't use lesstif, because of "various problems". This is the
first issue that could verified and documented.

-- 
GPG key: 4096R/7FFB9E9B Michael Hanke
http://mih.voxindeserto.de



Reply to: