From: Fons Rademakers <Fons.Rademakers@cern.ch>
Subject: gcc + Motif... does not work on OSF1 v4.0...
Date: 1997/10/06 [thread overview]
Message-ID: <3438EF5A.501D9EA1@cern.ch> (raw)
Hi,
a number of applications compiled and linked with gcc on OSF1 V4.0
crash in the Motif lib. The same programs work when compiled with cc.
Here is where the crash occurs:
(helium) [260] gdb demo
(gdb) shared *
(gdb) run
Starting program: /usr0/users/rdm/ListTree-3.0b3/demo
Warning: Cannot convert string
"-*-Menu-Medium-R-Normal--*-120-*-*-P-*-ISO8859-1" to type FontStruct
Program received signal SIGSEGV, Segmentation fault.
0x3ff8075a34c in _XmGetClassExtensionPtr ()
(gdb) where
#0 0x3ff8075a34c in _XmGetClassExtensionPtr ()
#1 0x3ff8075b52c in _XmBaseClassPartInitialize ()
#2 0x3ff8075ba30 in _XmBaseClassPartInitialize ()
Cannot access memory at address 0x12004f4b0.
In the widget code I've set the Extension ptrs to NULL but that
did not help. Anybody knows how to solve this problem?
TIA.
-- Fons Rademakers.
PS: program was compiled like:
gcc -g -c ListTree.c
gcc -g -o demo demo.c ListTree.o -lXm -lXt -lX11
same with cc works fine.
--
Org: CERN, European Laboratory for Particle Physics.
Mail: 1211 Geneve 23, Switzerland Phone: +41 22 7679248
E-Mail: Fons.Rademakers@cern.ch Fax: +41 22 7677910
reply other threads:[~1997-10-06 4:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox