Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Oct 2008 01:06:13 +0400
From:      Boris Samorodov <bsam@ipt.ru>
To:        "Ben Kaduk" <minimarmot@gmail.com>
Cc:        freebsd-emulation@freebsd.org
Subject:   Re: edwin scheme/emacs SEGV's in X; not on console
Message-ID:  <81099402@bs1.sp34.ru>
In-Reply-To: <47d0403c0810121319k28f2badbm87fa3d93cb45b1be@mail.gmail.com> (Ben Kaduk's message of "Sun\, 12 Oct 2008 16\:19\:30 -0400")
References:  <47d0403c0810121319k28f2badbm87fa3d93cb45b1be@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
"Ben Kaduk" <minimarmot@gmail.com> writes:

> Hi all,
>
> I'm taking a classical mechanics class that uses an scmutils package
> on top of mit-scheme.
> Attempting to build this software on FreeBSD natively has been ...
> painful, so I'm looking
> at using the linuxulator to run an already-compiled version.
>
> I'm running FreeBSD-CURRENT from the September snapshot, and I installed
> linux_base-f8 and linux-xorg-libs.
> I then downloaded this tarball:
> http://groups.csail.mit.edu/mac/users/gjs/6946/scmutils-tarballs/scmutils-20080929-ix86-ubuntu-gutsy.tar.gz
> and unpacked it in /usr/local .
> I needed to brandelf -t Linux
> /usr/local/scmutils/mit-scheme/bin/mit-scheme-native
> and change /usr/local/bin/mechanics to have #!/usr/compat/linux/bin/bash
> instead of #!/bin/bash, but then the program runs just fine in console mode.
> (edwin is an emacs18, and it has a module on top of it to run a scheme
> interpreter
> using their mechanics library.)
>
> However, when I run the program in X11, whenever I try to evaluate a command
> (C-x, even), I get the message:
> Internal error: Hardware trap SIGSEGV.
> I can try to ktrace the call to scheme, but kdump segfaults on the ktrace.out.
>
> Is there anything obvious that I should look at?

You should use devel/linux_kdump instead of the native one.


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?81099402>