I'm using an old Motif Code and I'm porting it to Linux.

I'm doing nothing special except that I want to display a messagebox without
any context. When it cores dump, I get this :

#0 0xb751c410 in malloc_consolidate () from /lib/tls/libc.so.6
#1 0xb751ba59 in _int_malloc () from /lib/tls/libc.so.6
#2 0xb751b500 in calloc () from /lib/tls/libc.so.6
#3 0xb721c377 in XtCalloc () from /usr/X11R6/lib/libXt.so.6
#4 0xb72e04c4 in _XmGeoMatrixAlloc () from /usr/X11R6/lib/libXm.so.3
#5 0xb73017e0 in _XmMessageBoxGeoMatrixCreate () from
/usr/X11R6/lib/libXm.so.3
#6 0xb72ac313 in XmCreateArrowButtonGadget () from
/usr/X11R6/lib/libXm.so.3
#7 0xb72acb26 in _XmBulletinBoardSizeUpdate () from
/usr/X11R6/lib/libXm.so.3
#8 0xb7231929 in XtGetClassExtension () from /usr/X11R6/lib/libXt.so.6
#9 0xb7231e48 in XtRealizeWidget () from /usr/X11R6/lib/libXt.so.6
#10 0xb72bb79f in XmGetDestination () from /usr/X11R6/lib/libXm.so.3
#11 0xb7234fea in XtUnmanageChild () from /usr/X11R6/lib/libXt.so.6
#12 0xb7235300 in XtManageChildren () from /usr/X11R6/lib/libXt.so.6
#13 0xb72353d7 in XtManageChild () from /usr/X11R6/lib/libXt.so.6


Any ideas why it core dumps ?

Sebastien