Skip to content

Linux: @HookUserMessage('SayText2') crashes server #334

Closed
@Frag1337

Description

@Frag1337

Hello,

@HookUserMessage('SayText2') crashes on linux when a player is on the server.

sp info

IMPORTANT: Please copy the full output.

Checksum      : 0f23eb6e30e633b9a028c12552cb6f25
Date          : 2020-05-13 16:11:47.263541
OS            : Linux-5.4.0-26-generic-x86_64-with-debian-bullseye-sid
Game          : css
SP version    : 695
Github commit : 92b3adfaaaf1bb9ecd2be1ddad55bc68589b4152
Server plugins:
   00: Source.Python, (C) 2012-2019, Source.Python Team.
SP plugins:
   00: test

test.py

from messages.hooks import HookUserMessage

@HookUserMessage('SayText2')
def on_user_message(recipients, data):
    print(data)

Console log:

Client "Frag" connected (XXXXXXXXX).
Server waking up from hibernation
Segmentation fault (core dumped)
Add "-debug" to the ./srcds_run command line to generate a debug.log to help with solving this problem
Wed 13 May 2020 06:13:55 PM CEST: Server restart in 10 seconds

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions