Open Liniya opened 2 years ago
have you tried to escape pass? Probably some memory problem on miner side and it crashes at specific pass length. And if LTC works try to remove one symbol from ID, like -p c=DASH,ID=MYRIG
Tried to remove the rig id part - no luck, still crashes. I think it really has something to do with the DASH address. If I literally replace it with an LTC address but keep c=DASH and everything else (even though this is incorrect, of course), the service runs fine.
this is kinda weird. And what if use DASH address but pass is c=LTC?
Well, it seems like the title here should rather be a more generic 'Wildrig crashes with certain arguments when run as a systemd service'. Because just now I've tried it with an entirely unrelated command line for Raptoreum, something like this:
wildrig-multi --algo ghostrider --url stratum+tcps://rtm.suprnova.cc:4273 --user username --pass password
And it still crashes as a service (but works if this command is run in a regular terminal).
In any case, I think something must be definitely wrong with wildrig. I've created plenty of these services on my system (Manjaro KDE), everything works perfectly.
Yeah might be some problem with stack/memory corruption. Need to check that someday
Steps to reproduce:
/etc/systemd/system/wildrig.service
, replacing username/path as needed:[Service] Type=simple User=username ExecStart=/home/username/Programs/wildrig/wildrig-multi -a heavyhash -o stratum+tcp://heavyhash.mine.zergpool.com:5137 -u XsP94KqaJhEbums6fyuz8RDeZqYsc1GKQW -p c=DASH,ID=MY_RIG
[Install] WantedBy=multi-user.target
Dec 16 12:32:20 hikaru-pc systemd-coredump[6304]: [🡕] Process 6302 (wildrig-multi) of user 1000 dumped core.
Dec 16 12:32:20 hikaru-pc systemd[1]: heavyhash.service: Main process exited, code=dumped, status=6/ABRT Dec 16 12:32:20 hikaru-pc systemd[1]: heavyhash.service: Failed with result 'core-dump'.