Giter Site home page Giter Site logo

Comments (7)

timfel avatar timfel commented on May 24, 2024

(by rheld)

from stratagus.

timfel avatar timfel commented on May 24, 2024

(by pali)
Please check if this problem is in stable 2.2.5.5 version too.

from stratagus.

timfel avatar timfel commented on May 24, 2024

(by rheld)
Yes, I guess it is.. in 2.2.5.5, the same assertion appears.

Just a note: after the assertion, the way how the game exits is sometimes different.. sometimes there is a libc " double free or corruption".. sometimes there is a "X Error of failed request: BadWindow (invalid Window parameter)"

I guess, there is something wrong in the multithreading-code (these kind of error are typical for multithreading-issues)..

from stratagus.

timfel avatar timfel commented on May 24, 2024

(by pali)
Ok. It is problem only with debug version (you wrote that you compiled stratagus with --enable-debug)?

from stratagus.

timfel avatar timfel commented on May 24, 2024

(by rheld)
No.. the release version crashes (seg fault) too.. the only reason for the debug version was the (better) feedback to you.

from stratagus.

timfel avatar timfel commented on May 24, 2024

(by iddqd-mail)
the reason of this bug:
in 7872 revision was deleted this piece of code in actions.cpp:
520 DropResource(unit);
and now when 2 workers enter the mine which have resources only for 1 worker, the game crashes
DropResource(unit) clears any information about resources from unit, also it deassigns it from mine which it was assigned before
so it's need to find a better way to drop worker's resources
maybe the crash happens because of going out of array bounds

from stratagus.

timfel avatar timfel commented on May 24, 2024

(by pali)
Fixed in rev 7962:
http://bazaar.launchpad.net/~stratagus/stratagus/trunk/revision/7962

from stratagus.

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.