rr icon indicating copy to clipboard operation
rr copied to clipboard

Test fails due to rr hang

Open neon12345 opened this issue 2 years ago • 2 comments

Some test hang in "Task::read_bytes_fallible" for me.

This is due to the workaround running indefinitely:

   if (0 == nread && 0 == all_read && 0 == errno) {
   ...
      continue;
    }

With a condition to only check this one, the tests work fine.

I also applied #3436 which could contribute to the whole behavior.

But I don't know if the test coverage still works as expected with the changes.

neon12345 avatar Jun 13 '23 03:06 neon12345

When you get this loop, can you attach gdb to rr and get the addr value, then look up addr in /proc/<tid>/maps for the Task tid and tell us what's at that address?

rocallahan avatar Jun 13 '23 09:06 rocallahan

@neon12345 the referenced issue was closed. Can you please recheck if this works for you now (using current master) and if it still hangs check for the requested Task tid?

GitMensch avatar Sep 08 '23 21:09 GitMensch