Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Seg fault with hiredis-rb tests #2703

Open
stanhu opened this issue Aug 8, 2022 · 3 comments
Open

Seg fault with hiredis-rb tests #2703

stanhu opened this issue Aug 8, 2022 · 3 comments
Labels

Comments

@stanhu
Copy link

stanhu commented Aug 8, 2022

As mentioned in redis/hiredis-rb#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 
@eregon
Copy link
Member

eregon commented Aug 9, 2022

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

@ylluminate
Copy link

ylluminate commented Jun 30, 2024

Any progress here? Seems this was closed before @eregon asked for investigation...?

@andrykonchin
Copy link
Member

Now tests are passing successfully. Created a PR to add TruffleRuby on CI redis/hiredis-rb#96

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants