#1079 mod_pinger: Sometimes crashes prosody when reconnecting

Reporter Charlemagne Lasse
Owner Nobody
Created
Updated
Stars ★ (1)  
Tags
  • Status-New
  • Priority-Medium
  • Type-Defect
  1. Charlemagne Lasse on

    Used was prosody from debian Stretch https://packages.debian.org/source/stretch/prosody & prosody-modules from stretch https://packages.debian.org/source/stretch/prosody-modules with mod_pinger https://hg.prosody.im/prosody-modules/rev/c971b2cee2cc Feb 07 17:54:32 mod_c2s error Traceback[c2s]: /usr/lib/prosody/modules/mod_pinger.lua:35: attempt to index local 'session' (a nil value) stack traceback: /usr/lib/prosody/modules/mod_pinger.lua:35: in function 'watch_session' /usr/lib/prosody/modules/mod_pinger.lua:56: in function '?' /usr/lib/prosody/util/events.lua:67: in function </usr/lib/prosody/util/events.lua:63> (tail call): ? /usr/lib/prosody/modules/mod_smacks/mod_smacks.lua:400: in function </usr/lib/prosody/modules/mod_smacks/mod_smacks.lua:349> (tail call): ? (tail call): ? /usr/lib/prosody/util/events.lua:67: in function 'fire_event' /usr/lib/prosody/core/stanza_router.lua:149: in function </usr/lib/prosody/core/stanza_router.lua:56> (tail call): ? ... [C]: in function 'parse' /usr/lib/prosody/util/xmppstream.lua:255: in function 'feed' /usr/lib/prosody/modules/mod_c2s.lua:233: in function 'data' /usr/lib/prosody/modules/mod_c2s.lua:255: in function </usr/lib/prosody/modules/mod_c2s.lua:252> (tail call): ? /usr/lib/prosody/net/server_select.lua:868: in function </usr/lib/prosody/net/server_select.lua:850> [C]: in function 'xpcall' /usr/bin/prosody:376: in function 'loop' /usr/bin/prosody:407: in main chunk [C]: ? Feb 07 17:54:32 general error Top-level error, please report: /usr/lib/prosody/modules/mod_pinger.lua:9: attempt to index field 'idle_watchdog' (a nil value) Feb 07 17:54:32 general error stack traceback: /usr/lib/prosody/modules/mod_pinger.lua:9: in function '?' /usr/lib/prosody/util/filters.lua:24: in function 'filter' /usr/lib/prosody/modules/mod_c2s.lua:231: in function 'data' /usr/lib/prosody/modules/mod_c2s.lua:255: in function </usr/lib/prosody/modules/mod_c2s.lua:252> (tail call): ? /usr/lib/prosody/net/server_select.lua:868: in function </usr/lib/prosody/net/server_select.lua:850> [C]: in function 'xpcall' /usr/bin/prosody:376: in function 'loop' /usr/bin/prosody:407: in main chunk [C]: ? Feb 07 17:54:32 general warn Attempt to read a non-existent global 'socket' stack traceback: /usr/bin/prosody:377: in function 'loop' /usr/bin/prosody:407: in main chunk [C]: ?

  2. Zash on

    This seems to have something to do with integration between mod_pinger and mod_smacks. What do you mean when you link both the debian package and the hg repository?

  3. Charlemagne Lasse on

    These are the version I am using

New comment