public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Matthew Kennedy <mkennedy@gentoo.org>
To: gentoo-dev@gentoo.org
Subject: Re: [gentoo-dev] xemacs segfault : it's not over yet
Date: 15 Apr 2002 02:01:51 -0500	[thread overview]
Message-ID: <1018854112.4484.3.camel@gentoo.shacknet.nu> (raw)
In-Reply-To: <F172np5INuoy1mMCwwd00001c08@hotmail.com>

Howdy,

See Comment 8 at http://bugs.gentoo.org/show_bug.cgi?id=1501

The xemacs segfaults you are seeing seem to be related to sandbox. This
is a problem that is being currently researched by gentoo developers. In
the mean time, there are two work-arounds:

1. If you have a segfaulting xemacs you can run xemacs like this to
avoid the segfaulting:

   LD_PRELOAD=/usr/lib/portage/lib/libsandbox.so xemacs

Better yet, define yourself an alias:

   alias xemacs='LD_PRELOAD=/usr/lib/portage/lib/libsandbox.so xemacs'

2. If you feel like re-emerging xemacs, temporarily change the
FEATURES="..." line in /etc/make.conf from "sandbox" to "-sandbox". Then
"emerge xemacs". The resulting xemacs binary should no longer segfault.
At this point you can restore your old FEATURES="..." line in
/etc/make.conf to include "sandbox" (a good idea).

eg. If my FEATURES line looks like:

    FEATURES="sandbox digest noclean"

then I change it to:

    FEATURES="-sandbox digest noclean"

then "emerge xemacs", then change back to 

    FEATURES="sandbox digest noclean"

Then run xemacs as you normally would (ie. no LD_PRELOAD setting
required).


On Sun, 2002-04-14 at 18:57, Sebastien Phaneuf wrote:
> I'm having problem with xemacs. It's segfaulting at startup (im using Gentoo 
> 1.1a evrything has just been built. I did'nt run any command except for 
> emerge :) ).

-- 
Matthew Kennedy
Gentoo Linux Developer



  parent reply	other threads:[~2002-04-15  7:01 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-14 23:57 [gentoo-dev] xemacs segfault : it's not over yet Sebastien Phaneuf
2002-04-15  3:35 ` Dave Lee
2002-04-15  5:40 ` Arcady Genkin
2002-04-15  7:01 ` Matthew Kennedy [this message]
2002-04-15 15:03 ` Andreas Wacknitz
  -- strict thread matches above, loose matches on Subject: below --
2002-04-15 18:31 Aadi Deshpande
2002-04-15 19:01 ` Andreas Wacknitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1018854112.4484.3.camel@gentoo.shacknet.nu \
    --to=mkennedy@gentoo.org \
    --cc=gentoo-dev@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox