* [gentoo-dev] xemacs segfault @ 2002-04-08 2:39 Dave Lee 2002-04-08 3:52 ` Arcady Genkin 0 siblings, 1 reply; 8+ messages in thread From: Dave Lee @ 2002-04-08 2:39 UTC (permalink / raw To: gentoo-dev Hello, Has anyone been able to figure out why xemacs segfaults on startup? As mentioned before, if you are emerge-ing something, than xemacs will actually run w/o segfaulting. This is strange behavior. TIA, Dave ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-dev] xemacs segfault 2002-04-08 2:39 [gentoo-dev] xemacs segfault Dave Lee @ 2002-04-08 3:52 ` Arcady Genkin 2002-04-08 13:42 ` Dave Lee 2002-04-08 17:17 ` [gentoo-dev] " Dave Lee 0 siblings, 2 replies; 8+ messages in thread From: Arcady Genkin @ 2002-04-08 3:52 UTC (permalink / raw To: gentoo-dev Dave Lee <davel@canuck.com> writes: > Has anyone been able to figure out why xemacs segfaults on startup? As > mentioned before, if you are emerge-ing something, than xemacs will > actually run w/o segfaulting. This is strange behavior. TIA, Dave Which version? Have you tried xemacs -debug-init xemacs -vanilla Also try running in the terminal with xemacs -nw Perhaps these would help you to pin-point the problem... -- Arcady Genkin Don't read everything you believe. ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-dev] xemacs segfault 2002-04-08 3:52 ` Arcady Genkin @ 2002-04-08 13:42 ` Dave Lee 2002-04-08 15:05 ` Naresh Donti 2002-04-08 17:17 ` [gentoo-dev] " Dave Lee 1 sibling, 1 reply; 8+ messages in thread From: Dave Lee @ 2002-04-08 13:42 UTC (permalink / raw To: gentoo-dev Arcady Genkin wrote: > Dave Lee <davel@canuck.com> writes: > > > Has anyone been able to figure out why xemacs segfaults on startup? As > > mentioned before, if you are emerge-ing something, than xemacs will > > actually run w/o segfaulting. This is strange behavior. TIA, Dave > > Which version? both 21.1.whatever and 21.4.6 > Have you tried > > xemacs -debug-init > xemacs -vanilla > > Also try running in the terminal with > > xemacs -nw I did try -vanilla and -norc, but not the others. I'll see what they do for me. > Perhaps these would help you to pin-point the problem... I dont know, would it? Can anybody see why xemacs would run just fine when I am in the process of compiling something else, but when I am not compiling anything it segfaults immediately. I did try to run strace on xemacs, and although I dont have the results at hand to cut and paste, the segfault was happening after a bunch of stat calls that were looking for default.{elc,el,} but when I am compiling something nothing happens here other than ENOENT. Dave ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-dev] xemacs segfault 2002-04-08 13:42 ` Dave Lee @ 2002-04-08 15:05 ` Naresh Donti 2002-04-08 15:40 ` Dave Lee 0 siblings, 1 reply; 8+ messages in thread From: Naresh Donti @ 2002-04-08 15:05 UTC (permalink / raw To: gentoo-dev I am pretty sure this is happening because xemacs is trying to load .elc files generated by gnu emacs. Ths byte compiled lisp files (.elc) are not compatible between Gnu emacs and xemacs. This probably happened because some package independent of both emacsen installed *.elc files which were compiled by emacs, and then you installed xemacs and are trying to run it. How to check if this is the case: * unmerge emacs and xemacs * find / -name \*.elc -exec rm -f {} \; -print * remerge xemacs And then try running it. The second step removes all the *.elc files on your machine. This should not cost you too much because loading .el files is only marginally slower than loading *.elc files. You might want to rename the files instead of removing them. On Mon, Apr 08, 2002 at 07:42:49AM -0600, Dave Lee wrote: > > > Arcady Genkin wrote: > > Dave Lee <davel@canuck.com> writes: > > > > > Has anyone been able to figure out why xemacs segfaults on startup? As > > > mentioned before, if you are emerge-ing something, than xemacs will > > > actually run w/o segfaulting. This is strange behavior. TIA, Dave > > > > Which version? > > both 21.1.whatever and 21.4.6 > > > Have you tried > > > > xemacs -debug-init > > xemacs -vanilla > > > > Also try running in the terminal with > > > > xemacs -nw > > I did try -vanilla and -norc, but not the others. I'll see what they do > for me. > > > Perhaps these would help you to pin-point the problem... > > I dont know, would it? Can anybody see why xemacs would run just fine > when I am in the process of compiling something else, but when I am not > compiling anything it segfaults immediately. > > I did try to run strace on xemacs, and although I dont have the results at > hand to cut and paste, the segfault was happening after a bunch of stat > calls that were looking for default.{elc,el,} but when I am compiling > something nothing happens here other than ENOENT. > > Dave > > _______________________________________________ > gentoo-dev mailing list > gentoo-dev@gentoo.org > http://lists.gentoo.org/mailman/listinfo/gentoo-dev > -- Naresh Donti ndonti@swbell.net Tomorrow's computers some time next month. -- DEC ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-dev] xemacs segfault 2002-04-08 15:05 ` Naresh Donti @ 2002-04-08 15:40 ` Dave Lee 2002-04-08 20:24 ` [gentoo-dev] There is a Bug about this " Sloan Poe 0 siblings, 1 reply; 8+ messages in thread From: Dave Lee @ 2002-04-08 15:40 UTC (permalink / raw To: gentoo-dev I dont even have standard emacs installed. Also, the default* files dont exist, and the stat calls are returning ENOENT. IIRC, when I was able to get xemacs to run while compiling something else, strace showed that after those stat calls, the next thing that happened was a SIGIO whereas normal xemacs execution doesnt ever get that SIGIO. Dave Naresh Donti wrote: > I am pretty sure this is happening because xemacs is trying to load .elc files > generated by gnu emacs. Ths byte compiled lisp files (.elc) are not compatible > between Gnu emacs and xemacs. > > This probably happened because some package independent of both emacsen > installed *.elc files which were compiled by emacs, and then you installed > xemacs and are trying to run it. > > How to check if this is the case: > * unmerge emacs and xemacs > * find / -name \*.elc -exec rm -f {} \; -print > * remerge xemacs > > And then try running it. > > The second step removes all the *.elc files on your machine. This should not > cost you too much because loading .el files is only marginally slower than > loading *.elc files. You might want to rename the files instead of removing > them. > > On Mon, Apr 08, 2002 at 07:42:49AM -0600, Dave Lee wrote: > > > > > > Arcady Genkin wrote: > > > Dave Lee <davel@canuck.com> writes: > > > > > > > Has anyone been able to figure out why xemacs segfaults on startup? As > > > > mentioned before, if you are emerge-ing something, than xemacs will > > > > actually run w/o segfaulting. This is strange behavior. TIA, Dave > > > > > > Which version? > > > > both 21.1.whatever and 21.4.6 > > > > > Have you tried > > > > > > xemacs -debug-init > > > xemacs -vanilla > > > > > > Also try running in the terminal with > > > > > > xemacs -nw > > > > I did try -vanilla and -norc, but not the others. I'll see what they do > > for me. > > > > > Perhaps these would help you to pin-point the problem... > > > > I dont know, would it? Can anybody see why xemacs would run just fine > > when I am in the process of compiling something else, but when I am not > > compiling anything it segfaults immediately. > > > > I did try to run strace on xemacs, and although I dont have the results at > > hand to cut and paste, the segfault was happening after a bunch of stat > > calls that were looking for default.{elc,el,} but when I am compiling > > something nothing happens here other than ENOENT. > > > > Dave > > > > _______________________________________________ > > gentoo-dev mailing list > > gentoo-dev@gentoo.org > > http://lists.gentoo.org/mailman/listinfo/gentoo-dev > > > > -- > Naresh Donti > ndonti@swbell.net > > Tomorrow's computers some time next month. > -- DEC > > _______________________________________________ > gentoo-dev mailing list > gentoo-dev@gentoo.org > http://lists.gentoo.org/mailman/listinfo/gentoo-dev > ^ permalink raw reply [flat|nested] 8+ messages in thread
* [gentoo-dev] There is a Bug about this xemacs segfault 2002-04-08 15:40 ` Dave Lee @ 2002-04-08 20:24 ` Sloan Poe 0 siblings, 0 replies; 8+ messages in thread From: Sloan Poe @ 2002-04-08 20:24 UTC (permalink / raw To: gentoo-dev [-- Attachment #1: Type: text/plain, Size: 337 bytes --] this is a bugreport on this with a partial explanation as to why it works when emerge is running: http://bugs.gentoo.org/show_bug.cgi?id=1574 Though there seems to be a new ebuild out now 21.4.6-r1.. So now though I can't even get xemacs to compile. It seems to hang trying to find NAS which I have installed.. :( -- [-- Attachment #2: This is a digitally signed message part --] [-- Type: application/pgp-signature, Size: 232 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-dev] xemacs segfault 2002-04-08 3:52 ` Arcady Genkin 2002-04-08 13:42 ` Dave Lee @ 2002-04-08 17:17 ` Dave Lee 1 sibling, 0 replies; 8+ messages in thread From: Dave Lee @ 2002-04-08 17:17 UTC (permalink / raw To: gentoo-dev Arcady Genkin wrote: > Dave Lee <davel@canuck.com> writes: > > > Has anyone been able to figure out why xemacs segfaults on startup? As > > mentioned before, if you are emerge-ing something, than xemacs will > > actually run w/o segfaulting. This is strange behavior. TIA, Dave > > Which version? > Have you tried > > xemacs -debug-init > xemacs -vanilla > > Also try running in the terminal with > > xemacs -nw > > Perhaps these would help you to pin-point the problem... so I compiled xemacs-21.4.6-r1 on my headless webserver, so no X. When I run xemacs here I have no problems at al. Since this is in terminal mode I assume its the equivalent of 'xemacs -nw'. Here is the strace output stat64("/usr/lib/xemacs-21.4.6/lisp/default.elc", 0xbfffe700) = -1 ENOENT (No such file or directory) stat64("/usr/lib/xemacs-21.4.6/lisp/default.el", 0xbfffe700) = -1 ENOENT (No such file or directory) stat64("/usr/lib/xemacs-21.4.6/lisp/default", 0xbfffe700) = -1 ENOENT (No such file or directory) gettimeofday({1018271343, 614761}, NULL) = 0 gettimeofday({1018271343, 615396}, NULL) = 0 when xemacs was segfaulting on my home desktop machine, I never made it to those gettimeofday calls. Still, I wonder what the hell could cause a program to run fine only while emerge-ing. I guess I will see what I can figure out when I get home. Dave ^ permalink raw reply [flat|nested] 8+ messages in thread
[parent not found: <20020408080203.7C2B520EEAEA@chiba.3jane.net>]
* Re: [gentoo-dev] xemacs segfault [not found] <20020408080203.7C2B520EEAEA@chiba.3jane.net> @ 2002-04-08 18:56 ` Stefan Jones 0 siblings, 0 replies; 8+ messages in thread From: Stefan Jones @ 2002-04-08 18:56 UTC (permalink / raw To: gentoo-dev Also there is a quirk in the xemacs configure file: If you have wine installed then it thinks that it is compiling for windows, thus fails. This happens as it detects /usr/lib/libgdi32.so, thus thinking it is windows. > > Has anyone been able to figure out why xemacs segfaults on startup? As > > mentioned before, if you are emerge-ing something, than xemacs will > > actually run w/o segfaulting. This is strange behavior. TIA, Dave > > Which version? > Have you tried > > xemacs -debug-init > xemacs -vanilla > > Also try running in the terminal with > > xemacs -nw > > Perhaps these would help you to pin-point the problem... > -- > Arcady Genkin > Don't read everything you believe. > > --__--__-- > > Message: 8 > Subject: Re: [gentoo-dev] GCC 3 Vs GCC 2 and some other stuff > From: Stacey Keast <slik@telusplanet.net> > To: gentoo-dev@gentoo.org > Date: 07 Apr 2002 23:00:55 -0600 > Reply-To: gentoo-dev@gentoo.org > > On Sun, 2002-04-07 at 20:46, Spider wrote: > <snip> > > Of course it is going to take gcc3 longer to compile things with the new > profiling code (see http://gcc.gnu.org/news/profiledriven.html) > > All this basically is is the compiler running through code branches and > identifying blocks which should be optimized to produce faster > EXECUTABLES, this does not come at the price of faster COMPILE TIMES, as > the compiler has to build these profiles to do more advanced > optimizations. So, you are really benchmarking the wrong thing here. > > > --__--__-- > > Message: 9 > Date: Mon, 8 Apr 2002 07:43:32 +0200 (CEST) > Subject: Re: [gentoo-dev] Progress of kernel patches like grsecurity ? > From: "Kim Nielsen" <kn@insecurity.dk> > To: <gentoo-dev@gentoo.org> > Reply-To: gentoo-dev@gentoo.org > > > > > Take a look at http://sourceforge.net/projects/wolk/ > > > > It's works fine under Gentoo. > > > But it's not in portage .. I was looking for kernel patches that Gentoo > already has > > /Kim > > > > --__--__-- > > Message: 10 > From: "Mykhaylo Sorochan" <mihan@foss.kharkov.ua> > To: <gentoo-dev@gentoo.org> > Date: Mon, 8 Apr 2002 08:58:07 +0300 > Subject: [gentoo-dev] installing gentoo from i586.iso troubles > Reply-To: gentoo-dev@gentoo.org > > This is a multi-part message in MIME format. > > ------=_NextPart_000_0005_01C1DEDB.804E3E20 > Content-Type: text/plain; > charset="koi8-r" > Content-Transfer-Encoding: quoted-printable > > Hi guys! > > I have some problems in installing the Gentoo. > I've been downloaded i586.iso of Gentoo Linux and tried o install it. I = > have to say that I have access to Internet at my work and install Gentoo = > on my home machine. > So I have made all steps till making a boot and kernel. The problem is = > that /etc/make.profile (/usr/portage/profiles/default-1.0) is absent and = > emerge doesn't work. It seems that stage2(3)-i586 are incomplete. How I = > can fix it without downloading anything from my home machine. Where I = > can get that file and what else is absent there? > > Thank you. > Regards, Misha Sorochan. > > ------=_NextPart_000_0005_01C1DEDB.804E3E20 > Content-Type: text/html; > charset="koi8-r" > Content-Transfer-Encoding: quoted-printable > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> > <HTML><HEAD> > <META content=3D"text/html; charset=3Dkoi8-r" http-equiv=3DContent-Type> > <META content=3D"MSHTML 5.00.3315.2870" name=3DGENERATOR> > <STYLE></STYLE> > </HEAD> > <BODY bgColor=3D#ffffff> > <DIV><FONT face=3D"Arial Cyr" size=3D2>Hi guys!</FONT></DIV> > <DIV> </DIV> > <DIV><FONT face=3D"Arial Cyr" size=3D2>I have some problems in = > installing the=20 > Gentoo.</FONT></DIV> > <DIV><FONT face=3D"Arial CYR" size=3D2>I've been downloaded i586.iso of = > Gentoo Linux=20 > and tried o install it. I have to say that I have access to Internet at = > my work=20 > and install Gentoo on my home machine.</FONT></DIV> > <DIV><FONT face=3D"Arial CYR" size=3D2>So I have made all steps = > till making a=20 > boot and kernel. The problem is that /etc/make.profile=20 > (/usr/portage/profiles/default-1.0) is absent and emerge doesn't work. = > It seems=20 > that stage2(3)-i586 are incomplete. How I can fix it without downloading = > > anything from my home machine. Where I can get that file and what else = > is absent=20 > there?</FONT></DIV> > <DIV> </DIV> > <DIV><FONT face=3D"Arial CYR" size=3D2>Thank you.</FONT></DIV> > <DIV><FONT face=3D"Arial Cyr" size=3D2>Regards, Misha=20 > Sorochan.</FONT></DIV></BODY></HTML> > > ------=_NextPart_000_0005_01C1DEDB.804E3E20-- > > > --__--__-- > > Message: 11 > Date: Mon, 8 Apr 2002 08:18:08 +0200 > From: Spider <spider@gentoo.org> > To: gentoo-dev@gentoo.org > Subject: Re: [gentoo-dev] GCC 3 Vs GCC 2 and some other stuff > Organization: Chaotic > Reply-To: gentoo-dev@gentoo.org > > --=.OV,BdVR8_98KPy > Content-Type: text/plain; charset=US-ASCII > Content-Transfer-Encoding: 7bit > > No, I'm not. :) > > the "benchmark" as such was in response to peoples questions on wether > gcc3.0 was faster or slower during compilation than gcc2.9 > > For my own use, I think the results are well worth it now with gcc > 3.0.4, especially since gcc now can be used to compile the kernel ;) > (bugfix in gcc304) > > please take this the right way, I'm well aware of the improved results > of gcc3 compared to gcc 2.9 , and why the slowdowns occur. (Check the > memory usage of -Wall and other things and you'll be surprised) > > > //Spider > > > begin quote > On 07 Apr 2002 23:00:55 -0600 > Stacey Keast <slik@telusplanet.net> wrote: > > > On Sun, 2002-04-07 at 20:46, Spider wrote: > > <snip> > > > > Of course it is going to take gcc3 longer to compile things with the > > new profiling code (see http://gcc.gnu.org/news/profiledriven.html) > > > > All this basically is is the compiler running through code branches > > and identifying blocks which should be optimized to produce faster > > EXECUTABLES, this does not come at the price of faster COMPILE TIMES, > > as the compiler has to build these profiles to do more advanced > > optimizations. So, you are really benchmarking the wrong thing here. > > > > _______________________________________________ > > gentoo-dev mailing list > > gentoo-dev@gentoo.org > > http://lists.gentoo.org/mailman/listinfo/gentoo-dev > > > -- > begin happy99.exe > This is a .signature virus! Please copy me into your .signature! > See Microsoft KB Article Q265230 for more information. > end > > --=.OV,BdVR8_98KPy > Content-Type: application/pgp-signature > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.0.6 (GNU/Linux) > > iD8DBQE8sTYhXNNftdcUD70RAi2AAKCN18P8RHFi5BB9ttQxyXLOghL4iQCfYzoM > wo4g0qSIHIzOPz9hpviKRxo= > =YK+Z > -----END PGP SIGNATURE----- > > --=.OV,BdVR8_98KPy-- > > > --__--__-- > > Message: 12 > From: George Shapovalov <georges@its.caltech.edu> > To: gentoo-dev@gentoo.org > Subject: Re: [gentoo-dev] installing gentoo from i586.iso troubles > Date: Sun, 7 Apr 2002 23:36:04 -0700 > Reply-To: gentoo-dev@gentoo.org > > On Sunday 07 April 2002 22:58, Mykhaylo Sorochan wrote: > > Hi guys! > > > > I have some problems in installing the Gentoo. > > I've been downloaded i586.iso of Gentoo Linux and tried o install it. I > > have to say that I have access to Internet at my work and install Gento= > o on > > my home machine. So I have made all steps till making a boot and kernel= > =2E > > The problem is that /etc/make.profile (/usr/portage/profiles/default-1.= > 0) > So, does that mean that the link is in place? (if no you need to create i= > t=20 > anyway) and this is portage which is absent? > Under normal conditions I would tell you do: > emerge rsync (or even better emerge --clean rsync if you did that step at= > some=20 > point already). Since you do not have Internet access at home you need to= > =20 > download portage tree and unpack it under /usr (so that /usr/portage is=20 > created). > You can get it here: > http://cvs.gentoo.org/snapshots. > Please also check faq for more advice on how to use gentoo without a (fas= > t)=20 > connection at home. > > George > > > > --__--__-- > > Message: 13 > From: thomas.mitzkat@t-online.de (Thomas Mitzkat) > To: gentoo-dev@gentoo.org > Date: Mon, 8 Apr 2002 06:14:57 +0000 > Subject: [gentoo-dev] forbidden su under x > Reply-To: gentoo-dev@gentoo.org > > hello, > > i don't find the switch to enable su in grafical terminal or to give > root-password to change time or date. please send me an info where i can > enable this, because this is not so pratice. > > thanks a lot - fine system - > > > thomas > > > --__--__-- > > Message: 14 > Subject: Re: [gentoo-dev] forbidden su under x > From: Jens Blaesche <mr.big@pc-trouble.de> > To: gentoo-dev@gentoo.org > Date: 08 Apr 2002 10:00:39 +0200 > Reply-To: gentoo-dev@gentoo.org > > Am Mon, 2002-04-08 um 08.14 schrieb Thomas Mitzkat: > > hello, > > > > i don't find the switch to enable su in grafical terminal or to give > > root-password to change time or date. please send me an info where i can > > enable this, because this is not so pratice. > > > > thanks a lot - fine system - > > > > > > thomas > Put the User in Group Wheel. > > usermod -G wheel whateveruseryouwanttoadd > > J. > > > > --__--__-- > > _______________________________________________ > gentoo-dev mailing list > gentoo-dev@gentoo.org > http://lists.gentoo.org/mailman/listinfo/gentoo-dev > > > End of gentoo-dev Digest -- Stefan Jones Flat. 4, 46 Gold Street, Wellingborough, Northants, NN8 4QT email: stefanajones@btinternet.com tel: 01933 272991 mobile: 07900 432809 ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2002-04-08 20:25 UTC | newest] Thread overview: 8+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2002-04-08 2:39 [gentoo-dev] xemacs segfault Dave Lee 2002-04-08 3:52 ` Arcady Genkin 2002-04-08 13:42 ` Dave Lee 2002-04-08 15:05 ` Naresh Donti 2002-04-08 15:40 ` Dave Lee 2002-04-08 20:24 ` [gentoo-dev] There is a Bug about this " Sloan Poe 2002-04-08 17:17 ` [gentoo-dev] " Dave Lee [not found] <20020408080203.7C2B520EEAEA@chiba.3jane.net> 2002-04-08 18:56 ` Stefan Jones
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox