Submitted by Anonymous on Thu, 05/02/2002 - 05:41. Developers
Hi,
I want to know the obsoleted calls of Motif1.2 in Motif2.1 . Where can i get info regarding this??
I have an application which is develpoed with Motif1.2 , When i am linking this application with Motif2.1
libraries at runtime and gives the following warning message and dumps core .
Warning Representation size 1 must match superclass`s to override editable
Bus error(coredump)
Any idea What may be the reasons my applications to dump core ??
Thanks for your help,
vara
Try the "Motif Reference Manual". (its free)
You can get it off the O`Reilly books site.
www.motifdeveloper.com has a hyperlink to it
This isn`t really an issue of obsolete calls. If you had obsolete calls, you might get a linking message along the lines of "_XmWhatever undefined". This run-time message indicates something else -- the code that you are linking in was compiled in such a way that the data type sizes in the widget subclasses don`t match their superclasses. Are you on a 64-bit system? You may find that part of the code was compiled one way and part another way such that pointers or integers are of different sizes.
Hi,
My application is giving that warning message and dumping core only when i linked with
Motif2.1 libs . When i am linking with Motif1.2 libs it is working perfectly fine.
My all other libraries are same like libXt.3 , libX11 etc.
dbl,
If there are any 64 bit and 32 bit issues it should reflect in Motif1.2 case also right??
Please clarriffy me if im wrong.
regds,
vara
Hi,
here is the gdb output for more input.
Warning Cannot convert string "-dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*" to type FontSet
Warning Missing charsets in String to FontSet conversion
Warning Cannot convert string "-dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*" to type FontSet
Warning Representation size 1 must match superclass`s to override editable
Program received signal SIGBUS, Bus error.
[Switched to thread 1 (user thread (23740, 0))]
0x7ad71ca8 in _XtCompileCallbackList () from /usr/lib/libXt.3
(gdb) bt
#0 0x7ad71ca8 in _XtCompileCallbackList () from /usr/lib/libXt.3
#1 0x7ad7adcc in CompileCallbacks () from /usr/lib/libXt.3
#2 0x7ad7af58 in xtCreate () from /usr/lib/libXt.3
#3 0x7ad7b80c in _XtCreateWidget () from /usr/lib/libXt.3
#4 0x7adb33b8 in _XtVaCreateWidget () from /usr/lib/libXt.3
#5 0x7adb363c in XtVaCreateManagedWidget () from /usr/lib/libXt.3
#6 0x198ec in AdminPrincTabCreate ()
#7 0x18b34 in AdminCreate ()
#8 0x67a2c in main ()
I have read that this representation size waring comes when we are linking different version of libs .
When my application links with the following libs it dumps core.
/usr/lib/X11R6/libX11.3
/usr/lib/X11R6/libXt.3
/usr/lib/Motif2.1/libXm.4
But, when it links with the following libs it works fine
/usr/lib/X11R6/libX11.3
/usr/lib/X11R6/libXt.3
/usr/lib/Motif1.2/libXm.1
regds,
vara