Skip to content

Clean SharedMemory #40

@blackdiamont

Description

@blackdiamont

Hey there,
I've noticed that g19daemon won't start again after stopping it (CTRL+C) and noticed that two files will be created under /dev/shm which look like bas64 encoded strings.
I have a basic understanding for C and C++ to write code for my Arduino projects but I didn't find any hints where these files will be created. I assume it's from the CMake build system because I've found this line:
singleapplication_p.cpp: blockServerName = QString::fromUtf8(appData.result().toBase64().replace("/", "_"));

And singleapplication leads to this repo but I don't know where to look etc :/

I've created a bash script as workaround:

#!/bin/bash

find /dev/shm -type f -user <user> -name 'sem.*' -delete

g19daemon

Maybe this helps someone in the same situation like me (I've compiled g19deamon from git).

-black

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions