Git Product home page Git Product logo

Comments (6)

jonnenauha avatar jonnenauha commented on August 15, 2024

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.

jonnenauha avatar jonnenauha commented on August 15, 2024

Is this really resolved? At least the null renderer plugin is still disabled in pluginsd.cfg.

from tundra.

antont avatar antont commented on August 15, 2024

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.

jonnenauha avatar jonnenauha commented on August 15, 2024

Yes that sounds like a good idea :) I'll get a debug build going and test if it still crashes.

from tundra.

jonnenauha avatar jonnenauha commented on August 15, 2024

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.

Stinkfist0 avatar Stinkfist0 commented on August 15, 2024

Closing as prebuilt dependencies are no longer supported.

from tundra.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.