#552 Invalid presence causes traceback

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

    Hi, we are getting these Tracebacks from time to time in the prosody logfile: Oct 01 11:33:07 mod_c2s error Traceback[c2s]: /usr/lib/prosody/modules/mod_presence.lua:67: invalid value (table) at index 2 in table for 'concat' stack traceback: [C]: in function 't_concat' /usr/lib/prosody/modules/mod_presence.lua:67: in function 'handle_normal_presence' /usr/lib/prosody/modules/mod_presence.lua:325: in function '?' /usr/lib/prosody/util/events.lua:67: in function 'fire_event' /usr/lib/prosody/core/stanza_router.lua:187: in function 'core_post_stanza' /usr/lib/prosody/core/stanza_router.lua:135: in function </usr/lib/prosody/core/stanza_router.lua:56> (tail call): ? [C]: in function 'xpcall' /usr/lib/prosody/modules/mod_c2s.lua:123: in function 'cb_handlestanza' /usr/lib/prosody/util/xmppstream.lua:187: in function </usr/lib/prosody/util/xmppstream.lua:167> [C]: in function 'parse' /usr/lib/prosody/util/xmppstream.lua:255: in function 'feed' /usr/lib/prosody/modules/mod_c2s.lua:230: in function 'data' /usr/lib/prosody/modules/mod_c2s.lua:252: in function </usr/lib/prosody/modules/mod_c2s.lua:249> (tail call): ? /usr/lib/prosody/net/server_select.lua:854: in function </usr/lib/prosody/net/server_select.lua:836> [C]: in function 'xpcall' /usr/bin/prosody:376: in function 'loop' /usr/bin/prosody:407: in main chunk [C]: ? Is there anything bad happening? Regards Robert

  2. Zash on

    This seems to be what happens if someone sends a broken presence stanza. E.g: <presence><priority>123<cause-traceback/></priority></presence>

    Changes
    • title Invalid presence causes traceback
    • tag Status-Accepted
  3. ge0rg on

    Also happened to me today, running 0.9.10 on Debian.

New comment