SUMMARY: Cannot compile xfig - X11 libs broken?

From: Lars Hecking <lhecking_at_nmrc.ucc.ie>
Date: Fri May 30 2003 - 12:45:24 EDT
 Original question at
 http://www.sunmanagers.org/pipermail/sunmanagers/2003-May/022596.html

 Thanks to David Foster and Rich Kulawiec for replying. While David pointed
 out that I should use gcc 2.95.3 instead of 3.x for compiling - which I do,
 indeed, sorry for not mentioning it earlier - Rich said he's running xfig
 on Solaris 9 and sent me a copy of his Imakefile changes. It was, however,
 his comment about not using Sun libXaw that pointed me into the right
 direction.

 xfig can be compiled with libXaw3d instead of standard libXaw, and this is
 where the problem was. But I only found out after upgrading to the latest
 version. Here's why:

>  2. Core dump
> 
>  Running xfig results in a core dump as soon as one tries to do anything.
>  Here's a backtrace:
> 
> #0  0xfee9f7cc in _libc_kill () from /usr/lib/libc.so.1
> #1  0xfee358f4 in abort () from /usr/lib/libc.so.1
> #2  0x0010c400 in goodbye (abortflag=1 '\001') at w_cmdpanel.c:538
> #3  0x000c7314 in emergency_quit (abortflag=1 '\001') at u_error.c:98
> #4  0x000c7070 in error_handler (err_sig=11) at u_error.c:52
> #5  <signal handler called>
> #6  0xff03953c in XDrawLine () from /usr/lib/libX11.so.4
> #7  0x00106ce0 in Redisplay (w=0x2dbb28, event=0x0, region=0x0)

 With the current version of libXaw3d, xfig still dumps core, but the
 backtrace is slightly different:
...
> #6  0xff26ffa8 in Redisplay () from /usr/local/lib/libXaw3d.so.5
                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

 i.e. only then I realised that the failure is in libXaw3d!

 libXaw3d is available from http://www.visi.com/~hawkeyd/xaw3d.html,
 and the web page provides a patch to make it work with the current
 version of xfig.
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Fri May 30 12:45:18 2003

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:11 EST