From owner-freebsd-emulation@FreeBSD.ORG Sun Oct 12 20:45:06 2008 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 721AF1065678 for ; Sun, 12 Oct 2008 20:45:06 +0000 (UTC) (envelope-from minimarmot@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.26]) by mx1.freebsd.org (Postfix) with ESMTP id 2CCD78FC12 for ; Sun, 12 Oct 2008 20:45:05 +0000 (UTC) (envelope-from minimarmot@gmail.com) Received: by qw-out-2122.google.com with SMTP id 9so402733qwb.7 for ; Sun, 12 Oct 2008 13:45:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=aOaJX2/q7mdfkbuU+GTqHQU0F9t2Di/owgEftTZEZ1M=; b=YYqHYax52ZWR3cjW35RtYMNvmxfGII7/GF8bD6WRgOMIt9tLPpo/h1mUwQkAYJFE11 oT5u46HdHGv4j2aZ2Np/CISXOzpv6DKxbubt/lpA/XRXp+09mc9u3r2u0Ry0bQoRvlm4 xoG8K3Y6WYSG2bI4ynXvzjSalq5/a8SjDcta0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=x4jbKT5Q93oY7VxTFN2bsFx6CchMECRKNTmV3326qnuNahvXlf6dngrv73kl/4Sj10 dGp7hE8xqykTwu031ZrvGYXx+nBZCtCK1tee9l9zFnijLhjHpCvuxEKISwXZ8uBQhY5N PcEwhYjzi3G/jE5qc7dp6UYdMRodvpgmRiG/A= Received: by 10.214.183.8 with SMTP id g8mr3945150qaf.72.1223842770833; Sun, 12 Oct 2008 13:19:30 -0700 (PDT) Received: by 10.214.116.19 with HTTP; Sun, 12 Oct 2008 13:19:30 -0700 (PDT) Message-ID: <47d0403c0810121319k28f2badbm87fa3d93cb45b1be@mail.gmail.com> Date: Sun, 12 Oct 2008 16:19:30 -0400 From: "Ben Kaduk" To: freebsd-emulation@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: edwin scheme/emacs SEGV's in X; not on console X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Oct 2008 20:45:06 -0000 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? Thanks, Ben Kaduk