samp-incognito / samp-streamer-plugin

Streamer Plugin for SA-MP (San Andreas Multiplayer)
Apache License 2.0
233 stars 92 forks source link

Crash on Fedora 35 Workstation #410

Closed alextwothousand closed 2 years ago

alextwothousand commented 2 years ago

On running the server, this crashdump is produced: see it here

As I've never ran Fedora as a distro prior, I would like to water this down to distro choice. I cannot confirm this until I've ran other tests, such as:

I will keep you posted.

alextwothousand commented 2 years ago

Built on my system, I've curled the file to 0x0.st. http://0x0.st/osSv.so

Have yet to try it.

alextwothousand commented 2 years ago

Doesn't appear to have resolved the issue. Going to attempt to run the server on whatever distro streamer was built with. Oddly enough, this would function fine before on something like CentOS (RHEL based like Fedora), or Debian.

alextwothousand commented 2 years ago

This time, I ran the gamemde on Ubuntu Xenial, to no avail. see crashdump here

This is through Docker, which is a completely isolated environment, though with it being a Type 2 Hypervisor, it relies on my system's kernel, which would be version 5.15.11. see dockerfile here

alextwothousand commented 2 years ago

It wouldn't be fair of me to note that, when running a blank script with the exact same dependencies, removing streamer from the list of dependencies then allows it to run as normal. Here are a list of my dependencies.

[
        "sampctl/samp-stdlib",
        "pawn-lang/YSI-Includes@5.x",
        "Awsomedude/easyDialog",
        "oscar-broman/strlib",
        "alextwothousand/eSelection",
        "NexiusTailer/Nex-AC",
        "BigETI/pawn-memory:2.0.1",
        "philip1337/samp-plugin-mapandreas:v1.2.1",
        "Y-Less/sscanf:2.10.2-r2",
        "Southclaws/samp-whirlpool:v1.0.0",
        "Zeex/samp-plugin-crashdetect:v4.20",
        "samp-incognito/samp-streamer-plugin:v2.9.5",
        "YashasSamaga/I-ZCMD"
]

I am not using any legacy dependencies, other than mysql R39-6. I was previously using dc_cmd and TOTP, but I have managed to deprecate those, just to eliminate the chance of it being them that are causing incompatibility issues.

alextwothousand commented 2 years ago

Funnily enough, I had managed to actually run streamer, among many other plugins prior, using a relatively similar set up on Fedora, albeit the latest at the time was version 34. Not sure what the latest streamer version back then was, but I doubt it was 2.9.5. I attempted to run the gamemode through 2.9.3, but there are issues with the macro / tag thing, which caused compilation to fail miserably.

For now, I have Windows as a last resort, to ensure there is nothing fundamentally wrong with the plugin or my set up itself. It is possible to run the server through Wine, but not ideal. We will see what comes next.

@AliLogic

alextwothousand commented 2 years ago

crashdump with streamer version 2.9.4.

alextwothousand commented 2 years ago

with a completely seperate gamemode logs dependencies

alextwothousand commented 2 years ago

I found out that this is actually an issue with the linux kernel itself, rather than streamer. Will be reporting to the linux foundation. Server functioning perfectly fine on Debian 11, through a type 1 hypervisor (VM), running longterm (5.10) kernel as opposed to stable (5.15). logs