Random Chitchat 2017
Debugged a deadlock in the fuzzing plugin and found out that a the lua function loadfile has a problem with nil value.

Smaller code:
print("loading...")
loadfile(nil) -- DEADLOCK
print("loaded")

Edit: Also occurs on lua 5.3
Thanks given by:
It's strange, but I doubt we can do much to fix it except removing it from the API.

I've grown tired of the syntax highlighter not working, so I put the Javascript and CSS files inside the thread template manually. Now the syntax highlighter works again. I noticed some weird behavior with the [code] and [url] tag after messing around with the settings, but it seems they are resolved now. There is also the issue where a quick edit with a shcode tag will result in Json being displayed inside the post, but that's a visual glitch which is resolved after reloading the page.
Thanks given by:
It's not a deadlock. loadfile(), when called without valid parameters, loads the file from stdin.

Ref.: https://www.lua.org/manual/5.1/manual.html#pdf-loadfile

We should probably wrap the function in a wrapper that disallows the stdin reading and return an error instead. There are probably more functions with similar behavior.
Thanks given by:
It really smelled like a deadlock Tongue
Yes adding a wrapper should be a good idea.
Thanks given by:
Minecraft 1.12 will be released on Friday.
https://twitter.com/jeb_/status/869477395916611584
Thanks given by:
(05-30-2017, 09:56 PM)Mathias Wrote: Minecraft 1.12 will be released on Friday.
https://twitter.com/jeb_/status/869477395916611584
I should've known better. https://twitter.com/Dinnerbone/status/87...3617526785
Thanks given by:
Apropos spam protection: best spam filter ever is still the one I enrolled on our forum a few month ago: single sign on with a custom user control serviceTongue mybb registration is locked down by an api key, there hasn't been one spammed in month. (to be fair, the old forum, flarum, didn't have Spammers before, just once, but I think it's the forum software that caused this)
Thanks given by:
I got a e-mail from travis that a pull request that was merged in master failed. It's the lighting thread bug.
https://travis-ci.org/cuberite/cuberite/...6939#L3056
Thanks given by:
On Tuesday we took a day off with my girlfriend and went for a hike. Great place (ring any bell, STR?), pity that the wind was rather strong, so I didn't dare fly the quadcopter in there, would have been a great video. Well at least I have a nice photo together Smile

[Image: _20170613_123843.jpg]
Thanks given by:
Looks like it's just as beautiful as the day I was there Smile

I hope you both have a great time thereBig Grin
Thanks given by:




Users browsing this thread: 1 Guest(s)