Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-10071

TestClientServer_SinglelineStringFormattedWithBigInts from delve internal testsuite fails with SIGILL on rhel-8.8

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhel-8.8.0
    • delve
    • rhel-sst-pt-llvm-rust-go
    • ssg_platform_tools
    • 2
    • Dev ack
    • False
    • Hide

      None

      Show
      None
    • Yes
    • None
    • None
    • None
    • If docs needed, set a value
    • None

      Also reproducible with delve-1.9.1-1.module+el8.8.0+16778+5fbb74f5 on RHEL-8.8.0-20221017.2:

      https://beaker.engineering.redhat.com/tasks/executed?task=%2Ftools%2Fdelve%2FRegression%2Finternal-testsuite&job_id=7134677&job_id=7138107

      +++ This bug was initially created as a clone of Bug #2133842 +++

      Description of problem:
      TestClientServer_SinglelineStringFormattedWithBigInts from delve-1.9.1-1.el9 fails with 'SIGILL: illegal instruction' on RHEL-9.2.0-20221005.0:

      (...)
      === RUN TestClientServer_SinglelineStringFormattedWithBigInts
      SIGILL: illegal instruction
      PC=0x48268e m=0 sigcode=2
      instruction bytes: 0xc5 0xfd 0x73 0xf0 0x24 0xcc 0xfe 0x7f 0x3 0xc3 0x0 0x0 0x0 0x0 0x0 0x0

      goroutine 1 [running]:
      main.VPSLLQ36(0xc000092ed8, 0xc000092ef8)
      /home/tmp.nwFa0KeaC1/BUILD/delve-1.9.1/_build/src/github.com/go-delve/delve/_fixtures/xmm0print/main.s:7 +0xe fp=0xc000092e98 sp=0xc000092e90 pc=0x48268e
      main.main()
      /home/tmp.nwFa0KeaC1/BUILD/delve-1.9.1/_build/src/github.com/go-delve/delve/_fixtures/xmm0print/main.go:11 +0x6e fp=0xc000092f80 sp=0xc000092e98 pc=0x48252e
      runtime.main()
      /usr/lib/golang/src/runtime/proc.go:250 +0x212 fp=0xc000092fe0 sp=0xc000092f80 pc=0x433fd2
      runtime.goexit()
      /usr/lib/golang/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000092fe8 sp=0xc000092fe0 pc=0x45cdc1

      goroutine 2 [force gc (idle)]:
      runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
      /usr/lib/golang/src/runtime/proc.go:363 +0xd6 fp=0xc000042fb0 sp=0xc000042f90 pc=0x434396
      runtime.goparkunlock(...)
      /usr/lib/golang/src/runtime/proc.go:369
      runtime.forcegchelper()
      /usr/lib/golang/src/runtime/proc.go:302 +0xad fp=0xc000042fe0 sp=0xc000042fb0 pc=0x43422d
      runtime.goexit()
      /usr/lib/golang/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000042fe8 sp=0xc000042fe0 pc=0x45cdc1
      created by runtime.init.6
      /usr/lib/golang/src/runtime/proc.go:290 +0x25

      goroutine 17 [GC sweep wait]:
      runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
      /usr/lib/golang/src/runtime/proc.go:363 +0xd6 fp=0xc00003e790 sp=0xc00003e770 pc=0x434396
      runtime.goparkunlock(...)
      /usr/lib/golang/src/runtime/proc.go:369
      runtime.bgsweep(0x0?)
      /usr/lib/golang/src/runtime/mgcsweep.go:278 +0x8e fp=0xc00003e7c8 sp=0xc00003e790 pc=0x4214ce
      runtime.gcenable.func1()
      /usr/lib/golang/src/runtime/mgc.go:178 +0x26 fp=0xc00003e7e0 sp=0xc00003e7c8 pc=0x416386
      runtime.goexit()
      /usr/lib/golang/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00003e7e8 sp=0xc00003e7e0 pc=0x45cdc1
      created by runtime.gcenable
      /usr/lib/golang/src/runtime/mgc.go:178 +0x6b

      goroutine 18 [GC scavenge wait]:
      runtime.gopark(0xc000080000?, 0x4b8c90?, 0x1?, 0x0?, 0x0?)
      /usr/lib/golang/src/runtime/proc.go:363 +0xd6 fp=0xc00003ef70 sp=0xc00003ef50 pc=0x434396
      runtime.goparkunlock(...)
      /usr/lib/golang/src/runtime/proc.go:369
      runtime.(*scavengerState).park(0x52b6a0)
      /usr/lib/golang/src/runtime/mgcscavenge.go:389 +0x53 fp=0xc00003efa0 sp=0xc00003ef70 pc=0x41f573
      runtime.bgscavenge(0x0?)
      /usr/lib/golang/src/runtime/mgcscavenge.go:617 +0x45 fp=0xc00003efc8 sp=0xc00003efa0 pc=0x41fb45
      runtime.gcenable.func2()
      /usr/lib/golang/src/runtime/mgc.go:179 +0x26 fp=0xc00003efe0 sp=0xc00003efc8 pc=0x416326
      runtime.goexit()
      /usr/lib/golang/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00003efe8 sp=0xc00003efe0 pc=0x45cdc1
      created by runtime.gcenable
      /usr/lib/golang/src/runtime/mgc.go:179 +0xaa

      goroutine 19 [finalizer wait]:
      runtime.gopark(0x0?, 0xc000042670?, 0x2b?, 0x38?, 0xc000042770?)
      /usr/lib/golang/src/runtime/proc.go:363 +0xd6 fp=0xc000042628 sp=0xc000042608 pc=0x434396
      runtime.goparkunlock(...)
      /usr/lib/golang/src/runtime/proc.go:369
      runtime.runfinq()
      /usr/lib/golang/src/runtime/mfinal.go:180 +0x10f fp=0xc0000427e0 sp=0xc000042628 pc=0x41548f
      runtime.goexit()
      /usr/lib/golang/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0000427e8 sp=0xc0000427e0 pc=0x45cdc1
      created by runtime.createfing
      /usr/lib/golang/src/runtime/mfinal.go:157 +0x45

      rax 0xc000092ed8
      rbx 0xc000092ef8
      rcx 0x0
      rdx 0x4a1be0
      rdi 0xc00008c000
      rsi 0x1
      rbp 0xc000092f70
      rsp 0xc000092e90
      r8 0x10
      r9 0x0
      r10 0x7fd576a3cee8
      r11 0x4b8c90
      r12 0xc000092f18
      r13 0x8
      r14 0xc0000081a0
      r15 0x7fd576ba0111
      rip 0x48268e
      rflags 0x10202
      cs 0x33
      fs 0x0
      gs 0x0
      — FAIL: TestClientServer_SinglelineStringFormattedWithBigInts (0.66s)
      (...)

      Version-Release number of selected component (if applicable):
      RHEL-9.2.0-20221005.0
      delve-1.9.1-1.el9

      How reproducible:
      100%

      Steps to Reproduce:
      1. rpm -ivh delve-1.9.1-1.el9.src.rpm
      2. rpmbuild -bp rpmbuild/SPECS/delve.spec
      3. cd rpmbuild/BUILD/delve-1.9.1/_build/
      4. export GO111MODULE=off
      5. export GOPATH=$(pwd)
      6. go test github.com/go-delve/delve/service/test -count 1 -v

      — Additional comment from Edjunior Barbosa Machado on 2022-10-11 15:03:22 UTC —

      Test results with delve-1.9.1-1.el9 and golang-1.19.1-2 on RHEL-9.2.0-20221005.0:

      https://beaker.engineering.redhat.com/tasks/executed?task=%2Ftools%2Fdelve%2FRegression%2Finternal-testsuite&job_id=7095961&job_id=7096210

              dbenoit@redhat.com David Benoit
              rhn-support-emachado Edjunior Machado
              David Benoit David Benoit
              Edjunior Machado Edjunior Machado
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: