luvit / luv

Bare libuv bindings for lua
Apache License 2.0
831 stars 187 forks source link

Intermittent CI failure: assertion tripped when run under Valgrind #730

Open squeek502 opened 2 weeks ago

squeek502 commented 2 weeks ago

Split from https://github.com/luvit/luv/issues/721


This assertion was tripped in a CI run of our tests here: https://github.com/luvit/luv/actions/runs/11649845591/job/32437850489

ok 126 thread - getaffinity, setaffinity
default priority    0
hello world from thread
priority in thread  0
lua: /home/runner/work/luv/luv/src/loop.c:98: luv_walk_cb: Assertion `data && data->ref < 0x1000000' failed.

It occurred during the "getpriority, setpriority" test, and a re-run fixed it so it is an intermittent failure.

Our own tests tripping this assertion seems like bad news.


Same failure here and (presumably, logs have been cleared) here

Not sure why it's only getting tripped when run under Valgrind.