* SOLVED: Emacs (all versions) dumps core when built against XFree86 4.3
@ 2003-05-13 4:10 Hin-Tak Leung
2003-05-13 4:21 ` Thien-Thi Nguyen
2003-05-14 19:16 ` Stefan Monnier
0 siblings, 2 replies; 3+ messages in thread
From: Hin-Tak Leung @ 2003-05-13 4:10 UTC (permalink / raw)
Cc: rms
Apparently the problem is applicable to all version of emacs
(including latest CVS, back to 19.34b), on all unix/unix-like
systems for which GNU ld is the default linker, and for which GNU ld
is quite up-to-date.
Symptom: emacs dump cores at XtInitializeWidgetClass () with
'Fatal Error (11).Segmentational Fault'
Solution: Adding '-z nocombreloc' to LDFLAGS
Reason: 'combreloc' has become the default for recent GNU ld, which
breaks the unexec/undump of both emacs and xemacs
(all versions).
This information should be useful to a *lot* of people.
===========
Many after-thoughts:
(1) The problem has been very recently reported against CVS
version of GNU emacs in March 2003 (i.e. two months ago),
and even caught Mr Stallman's attention briefly,
no solution is known to the GNU Emacs people; and
yet the xemacs people apparently had the fix integrated to
their ./configure for almost a year now...
(2) The GNU emacs people/community has not been at all helpful...
I guessed the origin of the problem myself, made my own suggestion
to do a gdb back trace, did my own search for any problem
associated with 'XtInitializeWidgetClass'... the same problem
was reported by others to the xemacs mailing lists, and the
correct solution was suggested by more than a few patient
individuals, according to their archive...
(3) Sadly, judging from the reaction to the same problem in both
archives, I have to say the xemacs community probably are
more "free" (in the beer sense) than the GNU emacs community...
xemacs people gave sound technical advices and solutions,
GNU emacs people gave lectures on "employer/employee relationships"...
(For software projects for which I participate deeply, I don't
have any problem with "ordering" people to give or obtain
more details... this has nothing to do with employer/employee
relationship - supplying more details just help the diagnostic
process, and ultimately benefit the individual himself
who supplies the details)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: SOLVED: Emacs (all versions) dumps core when built against XFree86 4.3
2003-05-13 4:10 SOLVED: Emacs (all versions) dumps core when built against XFree86 4.3 Hin-Tak Leung
@ 2003-05-13 4:21 ` Thien-Thi Nguyen
2003-05-14 19:16 ` Stefan Monnier
1 sibling, 0 replies; 3+ messages in thread
From: Thien-Thi Nguyen @ 2003-05-13 4:21 UTC (permalink / raw)
Cc: rms
From: Hin-Tak Leung <hintak_leung@yahoo.co.uk>
Date: Tue, 13 May 2003 05:10:10 +0100
Apparently the problem is applicable to all version of emacs
(including latest CVS, back to 19.34b), on all unix/unix-like
systems for which GNU ld is the default linker, and for which GNU ld
is quite up-to-date.
Symptom: emacs dump cores at XtInitializeWidgetClass () with
'Fatal Error (11).Segmentational Fault'
Solution: Adding '-z nocombreloc' to LDFLAGS
Reason: 'combreloc' has become the default for recent GNU ld, which
breaks the unexec/undump of both emacs and xemacs
(all versions).
thank you for posting this concise explanation and solution.
supplying more details just help the diagnostic
process, and ultimately benefit the individual himself
who supplies the details
that is very true.
thi
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: SOLVED: Emacs (all versions) dumps core when built against XFree86 4.3
2003-05-13 4:10 SOLVED: Emacs (all versions) dumps core when built against XFree86 4.3 Hin-Tak Leung
2003-05-13 4:21 ` Thien-Thi Nguyen
@ 2003-05-14 19:16 ` Stefan Monnier
1 sibling, 0 replies; 3+ messages in thread
From: Stefan Monnier @ 2003-05-14 19:16 UTC (permalink / raw)
Cc: help-gnu-emacs
>>>>> "Hin-Tak" == Hin-Tak Leung <hintak_leung@yahoo.co.uk> writes:
> (1) The problem has been very recently reported against CVS
> version of GNU emacs in March 2003 (i.e. two months ago),
> and even caught Mr Stallman's attention briefly,
> no solution is known to the GNU Emacs people; and
> yet the xemacs people apparently had the fix integrated to
> their ./configure for almost a year now...
Odd. AFAIK, the problem has been solved (in the way you outline)
a long time ago in CVS (see the ChangeLog entry below). More
specifically, I believe it was already fixed in Emacs-21.1.
Could you describe more of what was this March-2003 occurrence ?
Maybe we missed something.
Stefan
2001-09-28 Andreas Schwab <schwab@suse.de>
* s/gnu-linux.h (LD_SWITCH_SYSTEM_TEMACS): Link temacs with -z
nocombreloc, in case -z combreloc is the default.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-05-14 19:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-13 4:10 SOLVED: Emacs (all versions) dumps core when built against XFree86 4.3 Hin-Tak Leung
2003-05-13 4:21 ` Thien-Thi Nguyen
2003-05-14 19:16 ` Stefan Monnier
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).