#1116 ASYNC-01 during shutdown

Reporter Zash
Owner Zash
Created
Updated
Stars ★ (1)
Tags
  • Milestone-0.12
  • Type-Defect
  • Priority-Medium
  • Status-Fixed
  1. Zash on

    mod_lastlog recording sessions being closed during shutdown /usr/lib/prosody/core/storagemanager.lua:53: in function </usr/lib/prosody/core/storagemanager.lua:50> (tail call): ? /usr/src/prosody-modules/mod_lastlog/mod_lastlog.lua:21: in function '?' /usr/lib/prosody/util/events.lua:79: in function </usr/lib/prosody/util/events.lua:75> (tail call): ? ...-modules/mod_log_slow_events/mod_log_slow_events.lua:12: in function <...-modules/mod_log_slow_events/mod_log_slow_events.lua:10> (tail call): ? /usr/lib/prosody/core/sessionmanager.lua:106: in function 'sm_destroy_session' /usr/lib/prosody/modules/mod_c2s.lua:183: in function 'close' /usr/lib/prosody/modules/mod_c2s.lua:336: in function '?' /usr/lib/prosody/util/events.lua:79: in function </usr/lib/prosody/util/events.lua:75> (tail call): ? ...-modules/mod_log_slow_events/mod_log_slow_events.lua:12: in function <...-modules/mod_log_slow_events/mod_log_slow_events.lua:10> (tail call): ? /usr/lib/prosody/util/startup.lua:247: in function 'shutdown' /usr/lib/prosody/modules/mod_posix.lua:168: in function </usr/lib/prosody/modules/mod_posix.lua:165> [C]: in function 'wait' /usr/lib/prosody/net/server_epoll.lua:631: in function </usr/lib/prosody/net/server_epoll.lua:628> [C]: in function 'xpcall' /usr/bin/prosody:79: in function 'loop' /usr/bin/prosody:89: in main chunk [C]: ?

  2. MattJ on

    Bumping async to 0.12

    Changes
    • tags Milestone-0.12
  3. Zash on

    So this is really in the signal handlers in mod_posix, the `server-cleanup` and `server-stopped` events are separate.

  4. Zash on

    Fixed in https://hg.prosody.im/trunk/rev/249eb306f668 as part of #1225

    Changes
    • owner Zash
    • tags Status-Fixed

New comment

Not published. Used for spam prevention and optional update notifications.