Daniel Blyth <[EMAIL PROTECTED]> wrote :
> The problem occurs when I mouse out of a cell with text in
> it and change focus to another widget (causing a call to
> TextFocusOut) my program core dumps.
>
> I am building the Xbae library and my test program
> on Solaris 551, but running it on Solaris 57.
>
> This cross platform use appears to be the cause of the problem.
> It doesn't happen if everything is built on 551 and run
> on 551, or if it is built on 57 and run on 57 -- only if it is
> build 551 and run on 57. (I've also run it on 58 and the same
> problem occurs).
I would bet that this is the cause of your problems.
Cross-platform, or cross-version, should not be a problem if dealt
with carefully.
Let me give you an example of what's linked in a typical Xbae
application :
ldd examples/draw/.libs/draw
libXbae.so.4
libXm.so.2
libXp.so.6
libXmu.so.6
libXt.so.6
libSM.so.6
libICE.so.6
libXext.so.6
libX11.so.6
libc.so.6
I've edited out the paths to which all this points, but this is exactly
what you should be checking.
We've seen similar problems to yours in several ways already :
1. link against one lib at compile time, run with another at run time
2. compile with an include file from one version of e.g. Motif, run
with the library of another version (e.g. LessTif)
etc.
The Solaris versions are probably less important. I'd advise you to
figure out whether you're compiling e.g. against OpenWindows on one
system and running against e.g. LessTif or X11r6.* on another.
Danny
> [11] XtDispatchEventToWidget(0x0, 0xffbee5a0, 0xffbee460, 0xffbee470,
> 0x0, 0x1), at 0xff1c0394
The first parameter here should not be 0, it's a widget !
--
Danny Backx ([EMAIL PROTECTED] [EMAIL PROTECTED])
Home page : http://users.skynet.be/danny.backx
Projects: LessTif (http://www.lesstif.org)
Oleo (http://www.gnu.org/software/oleo/oleo.html)