From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: X-Spam-Status: No, score=-0.6 required=5.0 tests=DMARC_MISSING, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_DYNAMIC autolearn=unavailable autolearn_force=no version=4.0.0 Received: from mailnd.dynodns.net (adsl-64-219-129-66.dsl.kscymo.swbell.net [64.219.129.66]) by chiba.3jane.net (Postfix) with SMTP id 43CB720EEC39 for ; Mon, 8 Apr 2002 10:05:21 -0500 (CDT) Received: (qmail 950 invoked by uid 1000); 8 Apr 2002 15:05:27 -0000 Date: Mon, 8 Apr 2002 10:05:27 -0500 From: Naresh Donti To: gentoo-dev@gentoo.org Subject: Re: [gentoo-dev] xemacs segfault Message-ID: <20020408150527.GA941@mailnd.dynodns.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i Sender: gentoo-dev-admin@gentoo.org Errors-To: gentoo-dev-admin@gentoo.org X-BeenThere: gentoo-dev@gentoo.org X-Mailman-Version: 2.0.6 Precedence: bulk Reply-To: gentoo-dev@gentoo.org List-Help: List-Post: List-Subscribe: , List-Id: Gentoo Linux developer list List-Unsubscribe: , List-Archive: X-Archives-Salt: 414c05ef-1f24-49f6-85f9-38e3da03103e X-Archives-Hash: 92d10c843a29fbce0ab764fb8f7cc52f 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 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