Comments (6)
I rebuilt the null renderer. It seems it has some deeper issues as I can not get it working in debug mode, even know that im sure it it built correctly. I dont know what to say other than I am going to disable it from pluginsd.cfg, the main purpose for this is to run it with production (release mode) servers anyway so no biggie imo.
I'll have to find a proper solution later.
Btw. Debug mode Tundra.exe --headless runs fine with it being disabled. Somehow it borks on headed mode, I looked for asserts in there but could not find any. The call stack with only null renderer loading shows some malloc call last where it crashes.
from tundra.
Is this really resolved? At least the null renderer plugin is still disabled in pluginsd.cfg.
from tundra.
ah, well better re-check i figure, was interpreting the comments that is. there were many old resolved issues, and >10 pages of issues, so was trying to get the situation up-to-date
from tundra.
Yes that sounds like a good idea :) I'll get a debug build going and test if it still crashes.
from tundra.
Yes it still crashes. RenderSystem_Null incorrectly initializes its hardware buffer manager in the contstructor or the plugin, meaning it does it when the plugin is loaded. This however does not mean it will get used. This should be easily fixed to change the init to _initialize() like it is correctly done eg. in the DX render plugin. This way only the selected rendersystem will make the signleton hardware buffer manager.
This is the reason the actually used render system will crash in the singleton init as it has already been set once by null renderer, as there is a assert in debug mode. The situation here can also (didn't look further) cause unexpected thing when freeing the ptrs when the plugins are unloaded, also in release mode so it definitely should be fixed.
Singleton init incorrectly: http://code.google.com/p/realxtend-tundra-deps/source/browse/RenderSystem_Null/NullRenderSystem.cpp?name=sources#37
Should be done here: http://code.google.com/p/realxtend-tundra-deps/source/browse/RenderSystem_Null/NullRenderSystem.cpp?name=sources#367
Additionally whoever will do this (I can prolly do it after the release is 2.3.3 admino release is out). Null the ptr in ctor and null check delete the ptr in dtor. One can easily inspect here how to do it properly: https://bitbucket.org/clb/ogre-safe-nocrashes/src/ecb52aa39927/RenderSystems/Direct3D9/src/OgreD3D9RenderSystem.cpp
from tundra.
Closing as prebuilt dependencies are no longer supported.
from tundra.
Related Issues (20)
- (De)serialize enum Attributes using the symbol names instead of (u)int values HOT 12
- Omit leading zeros when serializing float Attribute (and other Attributes consisting of floats) into TXML HOT 11
- Copy-paste replicated entity in EC Editor: wrong (unacked) entity ID shown for the new entity in the client
- RegisterKeyEvent always return undefined in script HOT 13
- Mouse events broken on linux HOT 1
- The Oculus Tundra... ahh HOT 3
- Use MathGeoLib as a dependency instead of embedding it into Tundra codebase
- Move LocalAssetStorage and LocalAssetProvider classes to TundraCore HOT 3
- Server not sending all parents before children in initial scene sync HOT 1
- Possibility to save scene as "slim TXML" HOT 4
- Complete quoting for parameters of some CMake commands HOT 2
- Use of angle brackets around file names for include statements HOT 1
- Completion of error handling HOT 7
- Remove compile-time/optional EC mechanism as unneeded
- EC_RigidBody scaling breaks when parented
- PCH for non-MSVC compilers
- TXML versioning
- Possibility to set name for dynamic attributes
- is this the end of Tundra HOT 2
- BuildDeps.cmd fails on Qt and TBB (and maybe others)
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 tundra.