delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/10/25/01:50:13

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <19991025054920.10832.qmail@wwcst212.netaddress.usa.net>
Date: 24 Oct 99 22:49:20 PDT
From: Brian Kasper <bpkasper AT netscape DOT net>
To: cygwin AT sourceware DOT cygnus DOT com
Subject: Latest LessTif from ftp.hungry.com solved X Segfault
X-Mailer: USANET web-mailer (M3.3.1.96)
Mime-Version: 1.0
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id BAA27368

Upon suggestions from Chris Faylor and Suhaib Siddiqi,
I ran my failing X program under gdb, and determined the
error was a segfault occuring in the Create.c module for
XtCreateWidget().

Here is an exerpt from the gdb session:

XtVaCreateManagedWidget (name=3D0x4113a2 "Form", 
widget_class=3D0xe84825f=f,parent=3D0x1025e7a0) at VarCreate.c:147

Program received signal SIGSEGV, Segmentation fault.
_XtCreateWidget (name=3D0x4113a2 "Form", widget_class=3D0xe84825ff,
parent=3D0x1025e7a0, args=3D0x0, num_args=3D0,typed_args=3D0x10213180,
num_typed_args=3D4) at Create.c:511

Upon a further recommendation from Suhaib Siddiqi, I downloaded
the latest (0.89.0) binary LessTif distribution for Cygwin from
ftp.hungry.com.  After I installed the 4 libraries contained therein
(libMrm.a, libXbae.a, libXlt.a, and libXm.a) over the versions of
the libraries contained in Suhaib's X11R6/LessTif distribution, my
program is able to compile, link, and run without errors.

I was not aware that the versions of the LessTif libraries on
ftp.hungry.com might be more recent than those in Suhaib's distribution.

I'd like to thank both Chris Faylor and Suhaib Siddiqi with their
help in working through this problem.

-Brian Kasper
 kasperb AT home DOT com

____________________________________________________________________
Get your own FREE, personal Netscape WebMail account today at http://webmail.netscape.com.

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019