Date: Sun, 12 Oct 2008 17:34:34 -0400 From: "Ben Kaduk" <minimarmot@gmail.com> To: "Boris Samorodov" <bsam@ipt.ru> Cc: freebsd-emulation@freebsd.org Subject: Re: edwin scheme/emacs SEGV's in X; not on console Message-ID: <47d0403c0810121434r3a84bf4bj3b04b5184b6f097a@mail.gmail.com> In-Reply-To: <81099402@bs1.sp34.ru> References: <47d0403c0810121319k28f2badbm87fa3d93cb45b1be@mail.gmail.com> <81099402@bs1.sp34.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Oct 12, 2008 at 5:06 PM, Boris Samorodov <bsam@ipt.ru> wrote: > "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. > Ah, thanks. The (8M) linux_kdump output is here: http://stuff.mit.edu/afs/sipb.mit.edu/user/kaduk/freebsd/prolix/mechanics.dump.txt though I am not getting much useful out of it ... -Ben Kaduk
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47d0403c0810121434r3a84bf4bj3b04b5184b6f097a>