truffleruby icon indicating copy to clipboard operation
truffleruby copied to clipboard

Seg fault with hiredis-rb tests

Open stanhu opened this issue 3 years ago • 3 comments

As mentioned in https://github.com/redis/hiredis-rb/pull/81, the test for the native extension seems to be failing at the moment. From https://github.com/redis/hiredis-rb/runs/7707432485?check_suite_focus=true:

[ [ SubstrateSegfaultHandler caught a segfault in thread 0x000055c1fbb29300 ] ]
siginfo: si_signo: 11, si_code: 1, si_addr: 0x0000000000000000

Current timestamp: 1659731297612

General purpose register values:
  RAX 0x00007ff5ab6f3608 points into an aligned TLAB chunk of thread 0x000055c1fbb29300
    is an object of type com.oracle.truffle.llvm.runtime.nodes.memory.store.LLVMI32StoreNodeGen
  RBX 0x00007ff5da6a3ab0 points into the image heap (read-only relocatables)
    is the hub of com.oracle.truffle.llvm.runtime.LLVMLanguage
  RCX 0x00007ff5ab808da8 points into an aligned TLAB chunk of thread 0x000055c1fbb29300
    is an object of type com.oracle.truffle.llvm.runtime.pointer.LLVMPointerImpl
  RDX 0x0000000000000012 is an unknown value
  RBP 0x0000000000000000 
  RSI 0x00007ff5da6a3ab0 points into the image heap (read-only relocatables)
    is the hub of com.oracle.truffle.llvm.runtime.LLVMLanguage
  RDI 0x0000000000000000 
  RSP 0x00007ffdc56b35c0 points into the stack for thread 0x000055c1fbb29300
  R8  0x0000000000000001 is an unknown value
  R9  0x0000000000000012 is an unknown value
  R10 0x0000000000000000 
  R11 0x00007ff5ab808dd8 points into an aligned TLAB chunk of thread 0x000055c1fbb29300
  R12 0x0000000000000001 is an unknown value
  R13 0xffffffffd2f08c88 is an unknown value
  R14 0x00007ff5d8900000 is the heap base
  R15 0x000055c1fbb29300 is a thread
  EFL 0x0000000000010283 is an unknown value
  RIP 0x00007ff5e1ef13d8 points into AOT compiled code 

stanhu avatar Aug 08 '22 16:08 stanhu

@aardvark179 Could you try to repro it locally and investigate?

eregon avatar Aug 09 '22 12:08 eregon