[ale] Stupid error, but still have problem

John M. Mills jmills at siberia.gtri.gatech.edu
Wed Oct 16 12:44:58 EDT 1996


 From: janis at elvis.gtri.gatech.edu (Janis Kerrigan Roberts)
Subject: Motif problem
To: john.m.mills at gtri.gatech.edu
Date: Wed, 16 Oct 1996 12:06:34 -0400 (EDT)

jr- Hi John -

jr- Get ready to kick yourself ;-)

jr-     title_string = XmStringCreateLocalized(dialog_title);
jr-     n = 0;
jr-     /****** Next line causes segfault at run time *****/
jr-     XtSetArg (args[n], XmNdialogTitle, dialog_title); n++;
                                       ^^^^^^^^^^^^

jr- Change dialog_title to title_string

jr- Later
jr- Janis

<Sigh> -- I expect to get quite a few of these, expecially since I also
posted worldwide on comp.os.linux.x ...  Unfortunately I still see the
same behavior after fixing the variable name snafu.  Anyone care to
have another run at it?

TIA <and red-faced> jmm

John M. Mills, Senior Research Engineer   --   john.m.mills at gtri.gatech.edu
   Georgia Tech Research Institute, Georgia Tech, Atlanta, GA 30332-0853
        Phone contacts: 770.528.3258 (voice), 770.528.7083 (FAX)
                Why won't this keyboard say what I want?






More information about the Ale mailing list