Giter Club home page Giter Club logo

Comments (10)

oscar-broman avatar oscar-broman commented on June 15, 2024

You could at least put some effort into making the issue.

What were you doing when it happened? What other plugins do you have loaded?

from samp-plugin-crashdetect.

karimcambridge avatar karimcambridge commented on June 15, 2024

Sorry, I thought gdb would've given enough info.

Anyway I managed to recreate this by killing the server using (kill -9 pID). I don't know how it happened before as I wasn't there to see it.

plugins crashdetect.so mysql_static_r39.so streamer.so irc_debug.so sscanf.so Whirlpool.so MapAndreas.so socket.so nativechecker.so

from samp-plugin-crashdetect.

Zeex avatar Zeex commented on June 15, 2024

Strange, the server doesn't seem to be calling dlclose() when I kill it like that.

from samp-plugin-crashdetect.

oscar-broman avatar oscar-broman commented on June 15, 2024

I might add, though, that I experienced similar issues with the subhook C++ implementation (hook was NULL in subhook_remove error). I didn't make an issue because I wasn't sure if I was using it wrong. Switching to C made the issue go away.

from samp-plugin-crashdetect.

karimcambridge avatar karimcambridge commented on June 15, 2024

Thats how I restart my server, finding the pIDs with ps aux then I use kill -9 pID (killing gdb plus the samp server).

Also zeex hmm.. try this

load mysql R39-2 static first then crashdetect then streamer.so, I got the output everytime it was loaded like that.

from samp-plugin-crashdetect.

oscar-broman avatar oscar-broman commented on June 15, 2024

Restarting with kill -9, that's just horrible.

from samp-plugin-crashdetect.

karimcambridge avatar karimcambridge commented on June 15, 2024

Well give me a better solution. GMXing is out of the question due to sa-mp. I just kill the server so my auto restart script starts it again.

from samp-plugin-crashdetect.

oscar-broman avatar oscar-broman commented on June 15, 2024

SendRconCommand("exit")

You could script GDB to automatically quit when the SA-MP server didn't quit from a crash. You could probably script it to save the backtrace/dump to a file and quit even when something goes wrong.

from samp-plugin-crashdetect.

karimcambridge avatar karimcambridge commented on June 15, 2024

gdb does all that already, it exits if the process doesn't exist anymore.

I use rcon exit once inawhile, I don't see a harmful difference though but ok.

from samp-plugin-crashdetect.

karimcambridge avatar karimcambridge commented on June 15, 2024

I haven't seen this in awhile. Seems like it only happened for a week.

from samp-plugin-crashdetect.

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.