Ticket #71 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

arm4_daemon doesn't correctly call signal handlers when data store is sqlite

Reported by: dcarter Owned by: dcarter
Priority: high Milestone: Release 0.8
Component: ARM4 Agent Version: Development
Severity: Operational Stability Keywords:
Cc:

Description

Neither on_close set by atexit nor termination_handler set by sigaction are called.

sqlite3 version 3.5.9

This means that the null_collector field is never set in shared memory which may cause applications to hang when the daemon isn't running.

Change History

comment:1 Changed 4 years ago by dcarter

  • Status changed from new to closed
  • Resolution set to fixed

OK, so why this showed only with sqlite and not berkeley is a bit beyond me. Basically what was happening was that the application was being held in a zombie state beacause waitpid wasn't being called in Arm4DbTestDaemon. This has been corrected.

Note: See TracTickets for help on using tickets.