GithubHelp home page GithubHelp logo

Comments (11)

akien-mga avatar akien-mga commented on July 28, 2024

Unrelated: You should try to use the ``` tags before pasting a backtrace, else the numbered references are interpreted as issue numbers, and you get cross-referencing like in all issues up to issue 11 currently: "Andrettin referenced this issue 5 days ago" (see the GitHub doc about Markdown formatting for details)

from wyrmsun.

akien-mga avatar akien-mga commented on July 28, 2024

I could not reproduce the crash here with v1.3.1 on 64bit. I'll keep an eye out for such issues though.

from wyrmsun.

Andrettin avatar Andrettin commented on July 28, 2024

Ops, I forgot to put the code tags, thanks for the heads up! Thanks for testing; I'll close this issue then since it could not be reproduced with version 1.3.1 (if someone reports it again I'll reopen it).

from wyrmsun.

akien-mga avatar akien-mga commented on July 28, 2024

Actually I get this issue now, still with v1.3.1 (from Steam). The game freezes, with the music still playing to the end, and only this output in the terminal:

realloc(): invalid next size: 0x0000000006740ca0

from wyrmsun.

akien-mga avatar akien-mga commented on July 28, 2024

I see you've investigated some minor lua issues in the grand strategy code lately, I'll check if it works better with the master branch.

from wyrmsun.

akien-mga avatar akien-mga commented on July 28, 2024

I tried building the master branch on Mageia 5 and I get the same issue. The good news is that it's therefore not linked to the fact that we link Ubuntu 12.04's lua5.1 lib into the binary, as the binary I just compiled on Mageia uses the system-wide version of lua5.1 dynamically.

from wyrmsun.

akien-mga avatar akien-mga commented on July 28, 2024

When I run the binary through gdb, I can't reproduce the issue anymore :-/

from wyrmsun.

Andrettin avatar Andrettin commented on July 28, 2024

Based on some tests the user who reported this issue did, it seems that the error is due to the size of the argument for the SetWorldMapTerrain function in the world map definitions. As a fix to this issue, I changed the world maps to use the SetWorldMapTileTerrain for each tile now in c531bd6

The issue thus should be solved, but let me know if it persists :)

from wyrmsun.

akien-mga avatar akien-mga commented on July 28, 2024

Ah indeed I can imagine that the argument was a bit heavy for lua. It's the kind of long stuff security researchers use to try to find vulnerabilities :-P

from wyrmsun.

akien-mga avatar akien-mga commented on July 28, 2024

I confirm that it fixes the issue, well done :)

from wyrmsun.

Andrettin avatar Andrettin commented on July 28, 2024

Nice :)

from wyrmsun.

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.