|
Hello, back from the flu...
Thanks for your replys. The link warnings probably comes from
one of the sharables used by Omtool Image Express like pointed
out in .1.
Now I'm looking into the runtime crash.
When MOTIF 1.2-4 has been installed on our system, our Motif
based application crashes in a XmNmodifyVerifyCallback when
XmTextVerifyCallbackStruct pointer is not initialized.
This routine worked with MOTIF 1.1 and 1.2-3. (I deinstalled
1.2-4 and reinstalled 1.2-3, and after the reinstallation the
application still crashes as with 1.2-4. By the way, the backup
tape was destroyed by a bad tape station, so there are some
problems going back).
First time the callback routine is called in the application it
works OK. The second time it crashes since the incoming argument
of the type XmNmodifyVerifyCallback is not initialized.
- - - - - -
In SYS$COMMON:[DECW$INCLUDE]XM.H;1:
typedef struct
{
int reason;
XEvent *event;
Boolean doit;
long currInsert, newInsert;
long startPos, endPos;
XmTextBlock text;
} XmTextVerifyCallbackStruct, *XmTextVerifyPtr;
/* XmTextBlockWcs's are used in 1.2 modifyVerifyWcs callbacks for Text[Field]
* widgets. */
typedef struct {
wchar_t *wcsptr; /* Pointer to data. */
int length; /* Number of characters (not bytes) of data. */
} XmTextBlockRecWcs, *XmTextBlockWcs;
- - - - - - -
When running the application:
XmTextVerifyCallbackStruct cbd;
if ( cbd->text->length ==0)
%SYSTEM-F-ACCVIO, access violation, reason mask=01, virtual address=354F2B83, PC
=00013628, PSL=03C00000
DBG> sho call
module name routine name line rel PC abs PC
*TRI_IN InTextModCb 34920 00000028 00013628
SHARE$DECW$XTLIBSHRR5
00000000 002FCFA8
SHARE$DECW$XMLIBSHR12
00000000 0035DDE8
SHARE$DECW$XMLIBSHR12
00000000 0035F669
SHARE$DECW$XMLIBSHR12
00000000 00355BD0
SHARE$DECW$XTLIBSHRR5
00000000 00312E81
SHARE$DECW$XTLIBSHRR5
00000000 00313206
SHARE$DECW$XTLIBSHRR5
00000000 003138F8
*TRI_IN InPopupCb 35005 000001C4 000138D4
SHARE$DECW$XTLIBSHRR5
00000000 002FCEED
SHARE$DECW$XTLIBSHRR5
00000000 00308BDA
SHARE$DECW$XTLIBSHRR5
00000000 00308CBF
*TRI_FM FmIndexCb 33173 000000AF 0000D63B
SHARE$DECW$XTLIBSHRR5
00000000 002FCFA8
SHARE$DECW$XMLIBSHR12
00000000 00346C31
SHARE$DECW$XMLIBSHR12
00000000 00346A5D
SHARE$DECW$XTLIBSHRR5
00000000 00305400
SHARE$DECW$XTLIBSHRR5
00000000 00305CC6
SHARE$DECW$XTLIBSHRR5
00000000 00305D35
SHARE$DECW$XTLIBSHRR5
00000000 002FEEAB
SHARE$DECW$XTLIBSHRR5
00000000 002FF5C4
SHARE$DECW$XTLIBSHRR5
00000000 002FF8FB
*TRI main 50613 000012AA 0000B1B6
So something seems to have changed when initializing callback structs.
Maybe time for a more official error report?
Regards
BBL
|