Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Aug 2018 12:25:58 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 230731] lang/go: crash with SIGILL using 586-class CPU
Message-ID:  <bug-230731-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230731

            Bug ID: 230731
           Summary: lang/go: crash with SIGILL using 586-class CPU
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: jlaffaye@FreeBSD.org
          Reporter: eugen@freebsd.org
             Flags: maintainer-feedback?(jlaffaye@FreeBSD.org)
          Assignee: jlaffaye@FreeBSD.org

I'm creating new port that USES=3Dgo. It already runs just fine using amd64
system. Now I need to test it using FreeBSD 11/i386. I've used "pkg install=
 go"
to install go-1.10.3,1 to my i386 system that has this CPU:

CPU: Geode(TM) Integrated Processor by AMD PCS (499.91-MHz 586-class CPU)
  Origin=3D"AuthenticAMD"  Id=3D0x5a2  Family=3D0x5  Model=3D0xa  Stepping=
=3D2
  Features=3D0x88a93d<FPU,DE,PSE,TSC,MSR,CX8,SEP,PGE,CMOV,CLFLUSH,MMX>
  AMD Features=3D0xc0400000<MMX+,3DNow!+,3DNow!>

When "make" runs "go" to build the software, "go" crashes with SIGILL (ille=
gal
instruction). Here is part of kdump output:

 55336 go       CALL  thr_self(0x28a14000)
 55336 go       RET   thr_self 0
 55336 go       CALL=20
mmap(0xbbbfe000,0x1000,0<PROT_NONE>,0x1000<MAP_ANON>,0xffffffff,0,0)
 55336 go       RET   mmap -1145053184/0xbbbfe000
 55336 go       CALL  rtprio_thread(0,0x18835,0xbfbfd840)
 55336 go       RET   rtprio_thread 0
 55336 go       CALL  sysarch(0xa,0xbfbfd840)
 55336 go       RET   sysarch 0
 55336 go       CALL  sigaction(SIG 32,0xbfbfd820,0)
 55336 go       RET   sigaction 0
 55336 go       CALL  sigprocmask(SIG_UNBLOCK,0xbfbfd828,0)
 55336 go       RET   sigprocmask 0
 55336 go       CALL  _umtx_op(0xbfbfd814,UMTX_OP_WAKE,0x1,0,0)
 55336 go       RET   _umtx_op 0
 55336 go       CALL  mprotect(0,0,0<PROT_NONE>)
 55336 go       RET   mprotect 0
 55336 go       CALL  getpid
 55336 go       RET   getpid 55336/0xd828
 55336 go       CALL  getpid
 55336 go       RET   getpid 55336/0xd828
 55336 go       CALL  sigprocmask(SIG_BLOCK,0x28646a1c,0x28a140a0)
 55336 go       RET   sigprocmask 0
 55336 go       CALL  sigprocmask(SIG_SETMASK,0x28a140a0,0)
 55336 go       RET   sigprocmask 0
 55336 go       CALL  getcontext(0xbfbfd550)
 55336 go       RET   getcontext 0
 55336 go       PSIG  SIGILL SIG_DFL code=3DILL_PRVOPC
 55336 go       NAMI  "go.core"
 55323 make     RET   wait4 55336/0xd828

This system is pretty busy and runs lots of software just fine: NFS Server,
Unbound, Quagga, Samba, Transmission, Mpd5, hostapd, ISC DHCPD, ntpd, lpd,
racoon, Midnight Commander, all rock stable excluding this go package.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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