Updating to motif 2.3.2

This forum is read only. No new submissions are accepted.

Questions about motif? Contact us

2 posts / 0 new
Last post
Updating to motif 2.3.2

Submitted by Mamado on Tue, 09/29/2009 - 12:38.

Hi all

I am new to the whole motif thing. What am trying to do is to upgrade the motif version for an application from version 2.1.30a to 2.3.2
I compiled and linked the application using the new motif library. Am linking statically to the motif library.

Now when I try to run the application, it crashes. tried debugging with gdb and got this traceback

#6 0x008ebf90 in _XError () from /usr/X11R6/lib/libX11.so.6
#7 0x008ec6a7 in _XReply () from /usr/X11R6/lib/libX11.so.6
#8 0x008d33bc in XGetGeometry () from /usr/X11R6/lib/libX11.so.6
#9 0x084ffc20 in _XmxpmCreateImageFromPixmap (display=0x86485e0, pixmap=2, ximage_return=0x6, width=0xbfffde44, height=0xbfffde48) at XpmCrIFrP.c:56
#10 0x084f474a in XmeXpmCreateXpmImageFromPixmap (display=0x86485e0, pixmap=6, shapemask=0, xpmimage=0xbfffded0, attributes=0x0) at Xpmscan.c:928
#11 0x0843b93c in Redisplay (wid=0x9b348e0, event=0xbfffe220, region=0x0) at Label.c:1412
#12 0x084294c0 in Redisplay (wid=0x9b348e0, event=0xbfffe220, region=0x0) at DrawnB.c:1401
#13 0x00649511 in XtDispatchEventToWidget () from /usr/X11R6/lib/libXt.so.6
#14 0x00649d5f in _XtOnGrabList () from /usr/X11R6/lib/libXt.so.6
#15 0x0064a0c9 in XtDispatchEvent () from /usr/X11R6/lib/libXt.so.6

Please let me know if anyone has any thoughts about this.

Cheers, Mamado

Sun, 12/13/2009 - 02:06#1

Sun, 12/13/2009 - 02:06#1

squeen

You are having trouble with

You are having trouble with a xpm icon/image file. I have seen similar problems in the past. Try commenting out the pixmap usage.