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=-1.0 required=5.0 tests=DMARC_MISSING, MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=4.0.0 Received: from canuck.com (the-gimp.canuck.com [216.248.224.12]) by chiba.3jane.net (Postfix) with ESMTP id 2731020ED78F for ; Mon, 8 Apr 2002 10:44:48 -0500 (CDT) Received: from the-gimp (the-gimp [216.248.224.12]) by canuck.com (8.9.3/8.9.3) with ESMTP id JAA16481587 for ; Mon, 8 Apr 2002 09:40:36 -0600 (MDT) Date: Mon, 8 Apr 2002 09:40:36 -0600 From: Dave Lee X-Sender: davel@the-gimp To: gentoo-dev@gentoo.org Subject: Re: [gentoo-dev] xemacs segfault In-Reply-To: <20020408150527.GA941@mailnd.dynodns.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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: 92833ffb-a13e-46a8-bc9b-02bdb0de1c4d X-Archives-Hash: fedcbc6569a822d8ffad622b6ae45ef5 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 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 >