cygwin 1.5.3-1 and xfree devel
Brian Ford
ford@vss.fsi.com
Mon Sep 8 16:15:00 GMT 2003
Just to humor me, can someone else running Cygwin 1.5.3-1 confirm that a
simple X11 based "hello world program" is broken. If confirmed, I will
start digging to locate the offending functions, but I'd rather just wait
for Harold to release a 1.5.3-1 compiled Xfree86 set of packages. Thanks.
On Fri, 5 Sep 2003, Brian Ford wrote:
> When compiled under cygwin 1.5.3-1, the following hello world Motif
> program gets a SEGV in XtAppInitialize. 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
More information about the Cygwin-xfree
mailing list