-
Notifications
You must be signed in to change notification settings - Fork 7.3k
Crash in timers.js on master "Cannot set property '_idlePrev' of null" #481
Comments
which version of node? |
3.2 checked out master about two hours ago. |
Ya I encountered this last night too. I think it was caused by one of the mingw commits. |
it's probably caused by 645c3b3 i would love a test if you can isolate it. |
sorry, pretty sure this was my fault. Don't let gcr mess with the timers again. When you write to a socket, it calls 'active' on it. active notices that it was previously removed (perhaps it timed out or something) and just does an 'inline append' which relinks the timer. My change garbaged that data though; that's where this failed. I can't get your specific test built but here's a stupid test that shows the issue in my commit. Try it on: (ry, should I make another pull request?) |
Testcase:
Crashes with current master, works with gcr/node@540b3e8 |
gcr fixed this in 5f3464c. beautiful test case. |
That's what I get as soon as I write to a socket:
https://github.com/BonsaiDen/NodeGame-Orbit/blob/master/server/libs/socket.js#L277
The text was updated successfully, but these errors were encountered: