This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
cygwin 1.5.3-1 and xfree devel
- From: Brian Ford <ford at vss dot fsi dot com>
- To: cygwin-xfree at cygwin dot com
- Date: Fri, 5 Sep 2003 15:15:25 -0500 (CDT)
- Subject: cygwin 1.5.3-1 and xfree devel
- Reply-to: cygwin-xfree at cygwin dot com
When compiled under cygwin 1.5.3-1, the following hello world Motif
program gets a SEGV in XtVaAppInitialize. Harold, what's your time
table for a 1.5.3 built Xfree so I can test and update lesstif? Thanks.
#include <Xm/Xm.h>
#include <Xm/Label.h>
XtAppContext context;
XmStringCharSet char_set=XmSTRING_DEFAULT_CHARSET;
main(argc, argv)
int argc;
char *argv[];
{
Widget toplevel, label;
XmString S;
/* Create an application shell. */
toplevel = XtAppInitialize(&context,"",NULL,0,&argc,argv,NULL,
NULL,0);
/* Create the Label widget. */
label = XmCreateLabel(toplevel,"label",NULL,0);
S = XmStringCreateLtoR("Hello World!", char_set);
XtVaSetValues(label,
XmNlabelString, S,
NULL);
XtRealizeWidget(toplevel);
XtAppMainLoop(context);
}
(gdb) r
Starting program: /home/ford/xtest.exe
Program received signal SIGSEGV, Segmentation fault.
0x00000000 in ?? () from
(gdb) bt
#0 0x00000000 in ?? () from
--
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
Phone: 314-551-8460
Fax: 314-551-8444