On Fri, 17 Aug 2012, Lennert Van Alboom wrote: > Dtmail segfaults when configuring it for IMAP mail server retrieval.
> Any help is appreciated. I have traced and fixed my problem with dtpad crash on startup which is I think similar issue to what you reported before and maybe now. Some of the functions in libDtWidget (and I suppose other libraries to) do not include proper Motif headers. For example (what crashed by dtpad), lib/DtWidget/Editor.c was missing these: #include <Xm/LabelG.h> #include <Xm/SeparatoG.h> #include <Xm/PushBG.h> #include <Xm/ToggleBG.h> #include <Xm/RowColumn.h> #include <Dt/HourGlass.h> With 64 bit it may cause crash when interfacing with libXm because (Widget) pointer returned is assumed to be (int) when there is function prototype and therefore it gets truncated to 32 bit. My dtpad crashed because in Editor.c:4792 M_status_lineLabel(parent) = (Widget) XmCreateLabelGadget( container, "lineLabel", al, ac); The Widget pointer was truncated and it caused the crash later in the code. So the bad news is unless most of the compiler warnings are fixed we will have trouble running some code on 64 bit systems. I have fixed most of the DtWidget problems, once complete will post the patch; but there are still other libraries waiting. //Marcin ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ cdesktopenv-devel mailing list cdesktopenv-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel