Re: XForms: problems with fl_get_choice_text "SOLVED"!

Steve Lamont (spl@szechuan.ucsd.edu)
Fri, 7 Nov 97 05:57:33 PST

To subscribers of the xforms list from spl@szechuan.ucsd.edu (Steve Lamont) :

> Now I testet something that I should have done some mails before. I
> compiled and tested it on two more machines and - I don't understand
> it - it works fine.

> I hit every damned key on the keyboard and NOTHING happens.

> OK, that's it. There seems to be a problem in the installation
> (configuration) of my "university-pc" i.e. the one I'm normally
> hacking on.

It's still not necessarily an "installation" problem -- different
machines will most likely have different linkers and compilers. All
this *may* mean is that the problem is being masked or hidden by a
different internal arrangement of the code and data segments in the
executable. You may still have a problem lurking which will reveal
itself in some bizarre manner if/when you make additions or
modifications to the code.

It does still sound like a memory corruption problem of some kind. If
you have access to a good memory allocation library such as Conor
P. Cahill's dbmalloc, which I think may be found at a number of Linux
distribution sites, you might try linking against it and running, just
to see if you're tromping on something. I strongly recommend getting,
installing, and using this library.

Of course, it could be an installation or configuration problem. If
you are linking against the shared version of the library you may not
be getting the version XForms which you think you are or, more to the
point, you are getting two *different* versions of the library if the
.so file does not match the .a file. The details of how the loader
can get confused are a bit murky to me since I've never sat down and
worked out how ld resolves things in the presence of shared object
libraries but I have seen this sort of thing reported on the list
before.

I don't recall you mentioning what versions of the library and X you
are running nor do I recall the complete details of the operating
system (what flavor Unix/Linux, version, etc.). This is often useful
and important information.

spl

_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
Xforms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/