#1317 mod_smacks: h=nil stacktrace

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

    Found this stacktrace today, prosody 0.10 latest nightly, prosody-modules up-to-date from today: Feb 07 18:26:12 rostermanager debug load_roster: asked for: *censored*@yax.im Feb 07 18:26:12 rostermanager debug load_roster: loading for offline user: *censored*@yax.im Feb 07 18:26:12 socket debug try to close client connection with id: 55694f952230 Feb 07 18:26:12 socket debug closing delayed until writebuffer is empty Feb 07 18:26:12 mod_c2s error Traceback[c2s]: /etc/prosody/modules-enabled/mod_smacks.lua:348: attempt to perform arithmetic on local 'h' (a nil value) stack traceback: /etc/prosody/modules-enabled/mod_smacks.lua:348: in function </etc/prosody/modules-enabled/mod_smacks.lua:332> (tail call): ? /usr/lib/prosody/util/events.lua:78: in function </usr/lib/prosody/util/events.lua:74> (tail call): ? ...-enabled/mod_log_slow_events/mod_log_slow_events.lua:12: in function <...-enabled/mod_log_slow_events/mod_log_slow_events.lua:10> (tail call): ? /usr/lib/prosody/core/stanza_router.lua:152: in function </usr/lib/prosody/core/stanza_router.lua:63> (tail call): ? [C]: in function 'xpcall' /usr/lib/prosody/modules/mod_c2s.lua:141: in function 'cb_handlestanza' ... /usr/lib/prosody/util/xmppstream.lua:271: in function 'feed' /usr/lib/prosody/modules/mod_c2s.lua:265: in function 'data' /usr/lib/prosody/modules/mod_c2s.lua:288: in function 'onincoming' /usr/lib/prosody/net/server_event.lua:608: in function </usr/lib/prosody/net/server_event.lua:557> [C]: in function 'loop' /usr/lib/prosody/net/server_event.lua:751: in function </usr/lib/prosody/net/server_event.lua:750> [C]: in function 'xpcall' /usr/bin/prosody:400: in function 'loop' /usr/bin/prosody:431: in main chunk [C]: ?

New comment

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