* 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; 4+ 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] 4+ messages in thread
* Re: 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
1 sibling, 0 replies; 4+ 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] 4+ messages in thread
* Re: SOLVED: Emacs (all versions) dumps core when built against XFree86 4.3
[not found] <mailman.6086.1052798792.21513.help-gnu-emacs@gnu.org>
@ 2003-05-13 7:34 ` David Kastrup
0 siblings, 0 replies; 4+ messages in thread
From: David Kastrup @ 2003-05-13 7:34 UTC (permalink / raw)
Hin-Tak Leung <hintak_leung@yahoo.co.uk> writes:
> 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).
>
> 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...
Those are different projects with completely different ./configure
files. It can hardly be expected that they synchronize arbitrary
problem reports unless somebody accidentally happens to work on both
projects. But overlap of core developers is very small since there
is a _reason_ for both being separate projects.
> (2) The GNU emacs people/community has not been at all helpful...
And you have not exactly been an icon of amicability either, posting
long tirades about what you want and don't want to hear, how people
should behave and so on.
> 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'...
Emacs comes with error reporting instructions. You make it sound as
if it was an insolence that you had to properly report an error
before somebody could take a look at it. But you started tirading
almost immediately before somebody even had a chance to tell you
anything, and every post contained long complaints about how bad
people were because they dared to mention that you were overstepping
basic politeness.
> (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...
So what payment was exacted from you?
> xemacs people gave sound technical advices and solutions, GNU
> emacs people gave lectures on "employer/employee
> relationships"...
I am sure that if somebody had noticed your particular problem
before, it would have got mentioned here, as well. You were just
lucky that the problem was already known there and so people had not
to go through the notions of trying to get you to deliver any useful
information. Perhaps take a look at the XEmacs archives and compare
how the people there reported the original problem in contrast to how
you did here.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 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
1 sibling, 0 replies; 4+ 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] 4+ messages in thread
end of thread, other threads:[~2003-05-14 19:16 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.6086.1052798792.21513.help-gnu-emacs@gnu.org>
2003-05-13 7:34 ` SOLVED: Emacs (all versions) dumps core when built against XFree86 4.3 David Kastrup
2003-05-13 4:10 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 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.