Comments (5)
debug.txt: https://gist.github.com/1935576
from minetest.
select
appears to throw an EINTR
signal when it is unsuccessful.
In socket.cpp
, the EINTR case is lumped together with the other error cases - it really should be handled differently (see http://osdir.com/ml/c-programming/2002-04/msg00039.html).
Try going to line 328, and changing the line from if(result == 0){
to if (result == 0 || result == EINTR){
, run make
in the toplevel directory, and see if that changes anything.
from minetest.
I've got one less line at the end. The line "11: Select failed: Interrupted system call" is no longer in the log. I've still got the line after it though: "12: Select failed: Interrupted system call"
from minetest.
Fixed it. Your suggestion was correct except that I had to check if errno == EINTR, not result (as per http://support.sas.com/documentation/onlinedoc/sasc/doc750/html/lr2/select.htm in the CAUTION section).
So the fix is to change line 328 to if(result == 0 || errno == EINTR){
from minetest.
Fixed in d834d6e.
from minetest.
Related Issues (20)
- Pointing problems when you stand exactly at (-10.5, ?, ?) HOT 1
- Cross compilation ready Dockerfile (for `arm` images) HOT 2
- Possible dangling reference in ModifySafeMap::get HOT 7
- interpolation does nothing on set_bone_override HOT 2
- Add something that moves to the shutdown screen HOT 4
- Unknown texture when shiftclicking item into full crafting grid HOT 3
- Particle spawner distance tweens
- minetest.register_on_die_entity HOT 7
- Allow texture packs to provide fallback button styling via textures
- Mapblock occlusion culling can hide visible geometry HOT 2
- [BUG] Pressing both "/" and "t" keys causes Minetest to be unresponsive HOT 5
- Texture won't load and everything is black HOT 1
- Segfault with minetest.get_worldpath() in async env HOT 2
- The move to SDL2 broke some keybinds under Linux/X11 HOT 5
- Linux Mint Freeze HOT 2
- Input text field blocks keyboard button from being pressed again
- What 3D modeller is recommended when making Minetest Mods models. HOT 1
- Minetest built with SDL conflicts with kwin_x11 compositing HOT 3
- Missing CURLPART_ZONEID on building with an old version of CURL HOT 2
- Smooth Rotation with set_yaw for lua entities HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from minetest.