>From [EMAIL PROTECTED] Wed Jun 13 10:12:39 2001
Received: (qmail 17260 invoked from network); 13 Jun 2001 17:12:14 -0000
Sender: "Robert Blyth" <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
Date: Wed, 13 Jun 2001 13:03:06 -0400
From: Daniel Blyth <[EMAIL PROTECTED]>
X-Mailer: Mozilla 4.51 [en] (X11; I; SunOS 5.7 sun4u)
X-Accept-Language: en
MIME-Version: 1.0
To: [EMAIL PROTECTED]
Subject: Xbae TextFocusOut Problem
Content-Type: text/plain; charset=us-ascii
Hi,
I think that I have found a problem with the XbaeMatrix
(version 4.9.1), and was wondering if you had any ideas or
suggestions.
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).
How to repeat:
I've included a test program that just creates a matrix on a
dialog. To repeat the problem compile Xbae and the
program on Solaris 551 and run the program on either
57 or 58, then:
1) Click to enter a cell
2) Type some text in the cell
3) Mouse out of the dialog and it should core dump.
The reason that I am building on 551 is to have a lowest
common denomitator executable that'll work on 551, 57,
and 58.
Below I have also put a stack trace of where the program is
crashing.
Any help you could give would be greatly appreciated.
Thanks,
Daniel Blyth
------------------------------
program terminated by signal BUS (invalid address alignment)
Current function is validate
243 (XtPointer)&call_data);
(dbx) w
[1] XtCallCallbackList(0x125188, 0x1, 0xffbee020, 0x0, 0x0, 0xff0000),
at 0xff1bec60
=>[2] validate(w = 0x125188, cd = (nil), cb = 0xffbee100), line 243 in
"Input.c"
[3] XtCallCallbackList(0x125188, 0x1260c8, 0xffbee100, 0x40, 0x0,
0x104c04), at 0xff1bec7c
[4] VerifyLeave(0x125188, 0xffbee3dc, 0x0, 0xffbee154, 0xff110000,
0x10b378), at 0xff28b93c
[5] TextFocusOut(0x125188, 0xffbee3dc, 0x0, 0xff1fa124, 0xff28b89c,
0x10b378), at 0xff28b8e0
[6] HandleActions(0x0, 0x125188, 0x11e990, 0xff1fa124, 0x1272d4,
0xff1fa11c), at 0xff1c1c28
[7] HandleSimpleState(0x280, 0x124dc0, 0x1, 0xe, 0xff1fa11c, 0x1), at
0xff1c0a48
[8] _XtTranslateEvent(0x125188, 0x0, 0xff1f4000, 0x1251b8, 0x0,
0x11e230), at 0xff1c0520
[9] XtDispatchEventToWidget(0x1, 0xffbee3dc, 0xffbee358, 0x1, 0x0,
0x1), at 0xff1c0454
[10] _XtSendFocusEvent(0x125188, 0xa, 0xffbee5a0, 0x4, 0x10d248,
0x126588), at 0xff1c2518
[11] XtDispatchEventToWidget(0x0, 0xffbee5a0, 0xffbee460, 0xffbee470,
0x0, 0x1), at 0xff1c0394
[12] _XtDefaultDispatcher(0xffbee5a0, 0x0, 0xa, 0x105a0c, 0x0,
0x126128), at 0xff1bfb78
[13] XtDispatchEvent(0xffbee5a0, 0x0, 0xff1bf940, 0xff1f4000, 0x0,
0x1), at 0xff1bf808
[14] XtAppMainLoop(0x102a88, 0xa, 0xf9a3d, 0x1, 0xf9a4d, 0xa), at
0xff1bd42c
[15] main(argc = 1, argv = 0xffbee6cc), line 166 in "matrixTest.C"
[MODERATORS NOTE: Please don't send such large attachments to the ]
[ list. Please? The attchment has been removed ]
[ and temporarily placed at ]
[ http://vern.com/tmp/matrixTest.tar.Z ]