Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jan 2001 18:04:16 -0500 (EST)
From:      "Russell D. Murphy Jr." <rdmurphy@knock.econ.vt.edu>
To:        emulation@FreeBSD.org
Subject:   Linux emulation difficulty
Message-ID:  <14943.36208.537376.968113@knock.econ.vt.edu>

next in thread | raw e-mail | index | archive | help

I'm trying to install version 7 of Stata, a statistics/econometrics
package.  I've used Stata's Linux versions 4, 5, and 6 successfully.
The previous versions were more or less text only applications (you
can open up separate windows under X for displaying graphs).  This
made their Unix versions look different than their Windows versions,
so. . .

Version 7 has a text (traditional) executable and an alternative
X-based gui.  The text version seems to work fine, but the gui version
seg faults:

knock [rdmurphy]% ktrace -f xstata-ktrace.out /usr/local/stata7/xstata
Segmentation fault (core dumped)

Can anyone decipher this?

knock [rdmurphy]% linux_kdump -f xstata-ktrace.out  | less
  2077 ktrace   RET   linux_brk 0
  2077 ktrace   CALL  linux_olduname(0xbfbff70e,0xbfbff5e4,0xbfbff5ec)
  2077 ktrace   NAMI  "/usr/local/stata7/xstata"
  2077 xstata   RET   linux_olduname 0
  2077 xstata   CALL  linux_fcntl(0x82ca4ac)
  2077 xstata   RET   linux_fcntl -1 errno 1 Operation not permitted
  2077 xstata   CALL  linux_fcntl(0x82ca4e0)
  2077 xstata   RET   linux_fcntl -1 errno 1 Operation not permitted
  2077 xstata   CALL  linux_fcntl(0x82ca519)
  2077 xstata   RET   linux_fcntl -1 errno 1 Operation not permitted
  2077 xstata   CALL  linux_personality(0,0xbfbff5ec)
  2077 xstata   RET   linux_personality -1 errno 14 Bad address
  2077 xstata   CALL  geteuid(0xbfbff5f4,0xbfbff5ec)
  2077 xstata   RET   geteuid 0
  2077 xstata   CALL  getuid
  2077 xstata   RET   getuid 1000/0x3e8
  2077 xstata   PSIG  SIGSEGV SIG_DFL

The Stata people tend to be helpful, but they haven't been
enthusiastic about worrying about Linux applications on FreeBSD
systems.

Thanks-

Russ M.

-- 
Russell D. Murphy
Department of Economics
Virginia Polytechnic Institute and State University
3034 Pamplin Hall
Blacksburg, Virginia  24061-0316
(540) 231-4537
rdmurphy@vt.edu


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-emulation" in the body of the message




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