Skip to content

terminate called without an active exception #4

@serverok

Description

@serverok

When starting i get the following error

push@vps-5b6fc469:~/session-push-notification-server$ /usr/bin/python3 -mspns.hivemind
2023-11-20 16:08:04,498 vps-5b6fc469 spns[119704] INFO Loading config from spns.ini
2023-11-20 16:08:04 vps-5b6fc469 spns[119704] INFO Loaded hivemind X25519 keypair with pubkey f4af2b5774e482701fb4a3703cb8f67006b0b36cb18c58c34fbe10799c189cb2
2023-11-20 16:08:04 vps-5b6fc469 spns[119704] INFO Loaded onionreq X25519 keypair with pubkey d896bc1250e2244178a92edbc85dd2ca6d1277d5e954dc958d104cc9011a4370
2023-11-20 16:08:04 vps-5b6fc469 spns[119704] INFO Starting hivemind
[2023-11-20 16:08:04] [+0.089s] [pg:info|spns/pg.cpp:12] Connecting to postgresql database @ postgresql:///spns
[2023-11-20 16:08:04] [+0.094s] [utils:warning|spns/utils.cpp:67] NOFILE limit is only 1024; increasing to 10000
[2023-11-20 16:08:04] [+0.094s] [hivemind:info|spns/hivemind.cpp:102] Listening for local connections on ipc://./hivemind.sock
terminate called without an active exception
Aborted (core dumped)
push@vps-5b6fc469:~/session-push-notification-server$ 

When running service

root@vps-5b6fc469:/home/ubuntu# systemctl start spns-hivemind
Job for spns-hivemind.service failed because a fatal signal was delivered causing the control process to dump core.
See "systemctl status spns-hivemind.service" and "journalctl -xeu spns-hivemind.service" for details.
root@vps-5b6fc469:/home/ubuntu# systemctl status spns-hivemind.service
● spns-hivemind.service - Session Push Notification Server -- central push handler (hivemind)
     Loaded: loaded (/etc/systemd/system/spns-hivemind.service; enabled; vendor preset: enabled)
     Active: activating (auto-restart) (Result: core-dump) since Mon 2023-11-20 16:10:02 UTC; 2s ago
    Process: 119952 ExecStart=/usr/bin/python3 -mspns.hivemind (code=dumped, signal=ABRT)
   Main PID: 119952 (code=dumped, signal=ABRT)
     Status: "Cleaning database"
        CPU: 145ms

Nov 20 16:10:02 vps-5b6fc469 systemd[1]: spns-hivemind.service: Main process exited, code=dumped, status=6/ABRT
Nov 20 16:10:02 vps-5b6fc469 systemd[1]: spns-hivemind.service: Failed with result 'core-dump'.
Nov 20 16:10:02 vps-5b6fc469 systemd[1]: Failed to start Session Push Notification Server -- central push handler (hivemind).
root@vps-5b6fc469:/home/ubuntu# 

Any idea how to fix this?

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