Skip site navigation (1)Skip section navigation (2)
Date:      20 Nov 1997 09:43:17 +0100
From:      Thomas Gellekum <tg@ihf.rwth-aachen.de>
To:        emulation@freebsd.org
Subject:   Problems with spicecad for Linux
Message-ID:  <87aff0dkgq.fsf@ghpc6.ihf.rwth-aachen.de>

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

sorry if you're receiving this mail a second time. Looks like there
was a problem with the lists yesterday.

Anyway, I'm trying to run spicecad-1.5 for Linux on 2.2.5-STABLE. The
binary crashes short after startup after a SIGBUS. Output from ktrace
looks like this:

  2566 ktrace   RET   ktrace 0
  2566 ktrace   CALL  execve(0xefbfd668,0xefbfd598,0xefbfd5a0)
  2566 ktrace   NAMI  "../bin/spicecad-linux"
  2566 ktrace   CSW  stop kernel
  2566 ktrace   CSW  resume kernel
  2566 spicecad-linux RET   execve 0
  2566 spicecad-linux CALL  mkdir(0)
  2566 spicecad-linux RET   mkdir 0
  2566 spicecad-linux CALL  getlogin
  2566 spicecad-linux RET   getlogin 1000/0x3e8
  2566 spicecad-linux CALL  getuid
  2566 spicecad-linux RET   getuid 1000/0x3e8
  2566 spicecad-linux CALL  getgid
  2566 spicecad-linux RET   getgid 1000/0x3e8
  2566 spicecad-linux CALL  setlogin
  2566 spicecad-linux RET   setlogin 1000/0x3e8
  2566 spicecad-linux CALL  ktrace(0)
  2566 spicecad-linux RET   ktrace 139378688/0x84ec000
  2566 spicecad-linux CALL  ktrace(0x84ef000)
  2566 spicecad-linux RET   ktrace 139390976/0x84ef000
  2566 spicecad-linux CALL  ktrace(0x84f0000)
  2566 spicecad-linux RET   ktrace 139395072/0x84f0000
  2566 spicecad-linux CALL  ktrace(0x84f1000)
  2566 spicecad-linux RET   ktrace 139399168/0x84f1000
  2566 spicecad-linux CALL  ktrace(0x84f2000)
  2566 spicecad-linux RET   ktrace 139403264/0x84f2000
  2566 spicecad-linux CALL  ktrace(0x84f3000)
  2566 spicecad-linux RET   ktrace 139407360/0x84f3000
  2566 spicecad-linux CALL  ktrace(0x84f5000)
  2566 spicecad-linux RET   ktrace 139415552/0x84f5000
  2566 spicecad-linux CALL  ktrace(0x84f7000)
  2566 spicecad-linux RET   ktrace 139423744/0x84f7000
  2566 spicecad-linux CALL  ktrace(0x84f8000)
  2566 spicecad-linux RET   ktrace 139427840/0x84f8000
  2566 spicecad-linux CALL  ktrace(0x84f9000)
  2566 spicecad-linux RET   ktrace 139431936/0x84f9000
  2566 spicecad-linux CALL  ioctl(0,0x5401 ,0xefbfd09c)
  2566 spicecad-linux RET   ioctl 0
  2566 spicecad-linux CALL  getpid
  2566 spicecad-linux RET   getpid 2566/0xa06
  2566 spicecad-linux CALL  ktrace(0x84f9000)
  2566 spicecad-linux RET   ktrace 139431936/0x84f9000
  2566 spicecad-linux CALL  obs_vread(0xb,0xefbfd084,0xefbfd074)
  2566 spicecad-linux RET   obs_vread 0
  2566 spicecad-linux PSIG  SIGSEGV caught handler=0x8058180 mask=0x0 code=0xc
  2566 spicecad-linux CALL  obs_vread(0xb,0xefbfd020,0xefbfd010)
  2566 spicecad-linux RET   obs_vread 0
  2566 spicecad-linux PSIG  SIGSEGV caught handler=0x8058180 mask=0x0 code=0xc
  2566 spicecad-linux CALL  obs_vread(0xb,0xefbfd020,0xefbfd010)
  2566 spicecad-linux RET   obs_vread 0
  2566 spicecad-linux PSIG  SIGSEGV caught handler=0x8058180 mask=0x0 code=0xc
  2566 spicecad-linux CALL  obs_vread(0xb,0xefbfd020,0xefbfd010)
  2566 spicecad-linux RET   obs_vread 0
  2566 spicecad-linux PSIG  SIGSEGV caught handler=0x8058180 mask=0x0 code=0xc
  2566 spicecad-linux CALL  obs_vread(0xb,0xefbfd020,0xefbfd010)
  2566 spicecad-linux RET   obs_vread 0
  2566 spicecad-linux PSIG  SIGBUS SIG_DFL
  2566 spicecad-linux NAMI  "spicecad-linux.core"
  2566 spicecad-linux CSW  stop kernel
  2566 spicecad-linux CSW  resume kernel
  2566 spicecad-linux CSW  stop kernel
  2566 spicecad-linux CSW  resume kernel
  2566 spicecad-linux CSW  stop kernel
  2566 spicecad-linux CSW  resume kernel

If I read /sys/kern/syscalls.master and
/sys/i386/linux/syscalls.master correctly, obs_vread() corresponds to
sigaction(). Any ideas or suggestions?

tg



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