Skip to content

OScam shutdown if (kill -1 `pidof oscam`) is sent to reinit user db + suggestion how to fix

Sorry to copy this issue again. but i have a suggestion

  • yes this command works - but if command be repeated several times the crash of oscam inevitable

I have a suggestion how to fix it

  • see the reloads configs: (oscam.c) 608 * - useraccounts (oscam.user) 609 * - readers (oscam.server) 610 * - services ids (oscam.srvid) 611 * - tier ids (oscam.tiers) the problem is all reloads = oscam sometimes make twice! .. it could be safe but except double simultaneous reload of readers

_so i suggest to remove all reloads (server. srvid. tiers) except reload of useraccount (oscam.server) .. this what we expect when press Reinit User DB _

Revision 8538 works with this command kill -1 pidof oscam all later revision after that makes oscam crash

Issue Description if you send this command to oscam with ssh (kill -1 pidof oscam) oscam should reinit user db, this works fine in 8538 but in later revisions oscam will crash and shutdown permanetly.

When the issue occurs right after sending this command in ssh kill -1 pidof oscam

How the issue is reproducable send this command to oscam kill -1 pidof oscam