GithubHelp home page GithubHelp logo

Comments (11)

Antar1011 avatar Antar1011 commented on July 30, 2024

Does this mean anything to anyone?

*** glibc detected *** ./Server: double free or corruption (!prev): 0x00000000038d1530 ***

from pokemon-online.

coyotte508 avatar coyotte508 commented on July 30, 2024

yes,

I'll check it out

from pokemon-online.

Antar1011 avatar Antar1011 commented on July 30, 2024

So the current commit still crashes, but it's a little bit more verbose about it:

Plugin of 0x29f2d80 is 0x2991550 (Battle 0x29d6318 )
Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt. You must
reimplement QApplication::notify() and catch all exceptions there.

terminate called after throwing an instance of 'ContextQuitEx'
Aborted

from pokemon-online.

coyotte508 avatar coyotte508 commented on July 30, 2024

that's not a battle log crash, that's a PO crash...

I had a few different crash in succession due to adding the forfeit message and forgetting a few things of long ago, i hope it's all fixed now

from pokemon-online.

Antar1011 avatar Antar1011 commented on July 30, 2024

Nah, still getting

*** glibc detected *** ./Server: double free or corruption (!prev): 0x000000000399dc10 ***

from pokemon-online.

coyotte508 avatar coyotte508 commented on July 30, 2024

Then i'll try to stacktrace it using a debugger

from pokemon-online.

coyotte508 avatar coyotte508 commented on July 30, 2024

I can't seem to reproduce it. Do you succeed in reproducing it yourself, or do you have to rely on a lot of battles being played by players? Did you recompile everything, including dependencies? (BattleManager etc.)

from pokemon-online.

Antar1011 avatar Antar1011 commented on July 30, 2024

That's really odd. I've been recompiling everything myself (make clean all plugins) and have been testing it myself... I'm going to try some things and report back.

from pokemon-online.

Antar1011 avatar Antar1011 commented on July 30, 2024

Yeah, I just tried a fresh clone of your repo (the one I've been working with pulls stuff from lamperi's as well). Still getting a segfault upon battle completion. Are you sure that you've committed everything that you've changed?

Some background on my system (the one I've been testing on), in case anything HERE matters: I'm running Ubuntu 10.04 with Qt 4.7.4.

from pokemon-online.

coyotte508 avatar coyotte508 commented on July 30, 2024

Ok, but I just updated the makefile for better handling of the battle logs plugin (added BattleManager as a dependency). If you did make all, though, it shouldn't have an impact so it seems there's truly a problem somewhere.

This is getting complicated... Try make clean all plugin CONFIG=debug . Then enable core dumps on the host (ulimit -c unlimited) and run the server in the same terminal. When the server crashes, upload the binaries (i.e. utlities, battlelib, pokemonlib, the binaries of the server plugins, and Server and core) so i can try to work on the core dump to figure out more.

from pokemon-online.

coyotte508 avatar coyotte508 commented on July 30, 2024

coyotte508@be9125e

should be fixed

from pokemon-online.

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.