all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Re: emacs-19.34 segfauls when built with Xfree 4.3.0 (glibc 2.3.x,gcc 3.2)
@ 2003-05-12 14:40 Hin-Tak Leung
  2003-05-12 15:22 ` Thien-Thi Nguyen
                   ` (2 more replies)
  0 siblings, 3 replies; 27+ messages in thread
From: Hin-Tak Leung @ 2003-05-12 14:40 UTC (permalink / raw)


That's a somewhat time-wasting question - if I am on linux with
gcc 3.2 glibc 2.3.x and Xfree 4.3.0 most certainly the linux
distribution I use come with a more recent version of emacs or xemacs.
(actually both). And my original post mentioned that I built emacs-19
successfully on a Xfree 4.1/glibc 2.0/2.1 system as well,
and that binary still works on the current system.

I want to use a elisp script called cemacs (for Chinese inputs)
but unfortunately the inclusion the MULE (Multi-lingual Extension)
since version 20 has broken it. It does continue to work with
xemacs-21.x, but that's besides the point.

Now back to my question: why emacs 19.34 segfault when built against
glibc-2.3 and Xfree 4.3.0? And please stick to the question... -
and please do not ask why I don't switch to xemacs, or use MULE.

Just to anticipate these two questions: MULE is no where as good
as cemacs (unfortunately, and please don't start an argument on why I
should use MULE even though it is inferior), and xemacs is too
bloated for my taste. So I would really rather try to keep using
a small installation of 19.34 (in addition to emacs 21 which came
with the distro), or port cemacs forward to emacs 21 (quite major
work, probably). The 2nd option is probably better for long
term, but until it is done, I will continue to try to build emacs
19 on current systems... and I would really like to find out
why it won't build.

==============
Hin-Tak Leung wrote:
> I am trying to build emacs-19.34 against glibc-2.3 and Xfree 4.3.0
> on linux with gcc 3.2. The binary works with -nw switch, but
> when I run it without -nw, it segfaults with Fatal Error(11).
> So it seems to be an X-related problem.

have you tried using a more recent version of emacs? emacs-21.3.1 is
what i use and it compiled with gcc-3.2.3 on XFree86-4.3 no problems
(glibc-3.2.3) using using Lesstif-0.93.41. unless there is some reason
you WANT to use an older version?

cheers,
Sam

^ permalink raw reply	[flat|nested] 27+ messages in thread
* Re: emacs-19.34 segfaults when built with Xfree 4.3.0 (glibc2.3.x,gcc 3.2)
@ 2003-06-29  7:57 Tomoyuki Murakami
  0 siblings, 0 replies; 27+ messages in thread
From: Tomoyuki Murakami @ 2003-06-29  7:57 UTC (permalink / raw)


Hi all,

From: Hin-Tak Leung                                        
Subject: Re: emacs-19.34 segfaults when built with Xfree 4.3.0
            (glibc2.3.x,gcc 3.2)                                       
Date: Mon, 12 May 2003 23:11:46 +0100                               

> Here is the long awaited gdb back trace and strace. It seems to die
> at the same place that emacs-21/AIX dies if it is run over a slow
> dial-up connection (there were two different patches for that, one of
> them by Mr Stallman himself no less, if I remember correctly)
> - probably not related. Thought I'd mention this just in case.

The same core dump happens on my environment,
    FreeBSD 5.1R
    XFree86 4.3.0
    Emacs 21.3

So I would try debugging, re-configure XFree86 with  
   #define  DebugLibXt YES
on host.def, and linking debug-enabled libXt (libXt_d.a) to emacs.

And, then, the core dump does not happen any more !
I don't know why. 
It seems that static binary emacs doesn't crash at this point.

To make emacs statically,

$ CC="gcc -static" ./configure your-system-type ...

plus I needed CFLAGS="-DNO_ABORT" to avoid compile error.

----
Tomo.

^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2003-06-29  7:57 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-12 14:40 emacs-19.34 segfauls when built with Xfree 4.3.0 (glibc 2.3.x,gcc 3.2) Hin-Tak Leung
2003-05-12 15:22 ` Thien-Thi Nguyen
2003-05-12 16:12   ` emacs-19.34 segfaults when built with Xfree 4.3.0 (glibc2.3.x,gcc 3.2) Hin-Tak Leung
2003-05-12 17:18     ` Thien-Thi Nguyen
2003-05-12 17:51       ` emacs-19.34 segfaults when built with Xfree 4.3.0(glibc2.3.x,gcc 3.2) Hin-Tak Leung
2003-05-12 18:15         ` Thien-Thi Nguyen
2003-05-12 19:00           ` Hin-Tak Leung
2003-05-12 20:36             ` Thien-Thi Nguyen
2003-05-12 22:11               ` Hin-Tak Leung
     [not found]               ` <mailman.6068.1052777215.21513.help-gnu-emacs@gnu.org>
2003-05-13  7:07                 ` Kai Großjohann
     [not found] ` <20030512164103.1607f814.samuel@ma.hw.ac.uk>
2003-05-12 16:25   ` emacs-19.34 segfauls when built with Xfree 4.3.0 (glibc 2.3.x,gcc 3.2) Hin-Tak Leung
     [not found]     ` <20030512180149.371bb9d5.samuel@ma.hw.ac.uk>
2003-05-12 17:29       ` Hin-Tak Leung
2003-05-12 22:41         ` Sam Halliday
2003-05-12 22:52           ` Hin-Tak Leung
2003-05-14  2:51         ` Eli Zaretskii
2003-05-14 13:48 ` Richard Stallman
2003-05-14 16:34   ` Hin-Tak Leung
2003-05-15 15:42     ` Richard Stallman
2003-05-15 18:27       ` Hin-Tak Leung
2003-05-16 10:38       ` Hin-Tak Leung
2003-05-16 11:40         ` Andreas Schwab
2003-05-16 12:11           ` Hin-Tak Leung
2003-05-16 12:40             ` Andreas Schwab
2003-05-16 17:11               ` Hin-Tak Leung
2003-05-17 13:50         ` Richard Stallman
2003-05-17 17:40           ` Hin-Tak Leung
  -- strict thread matches above, loose matches on Subject: below --
2003-06-29  7:57 emacs-19.34 segfaults when built with Xfree 4.3.0 (glibc2.3.x,gcc 3.2) Tomoyuki Murakami

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.