crunchuser / prosody-modules

Automatically exported from code.google.com/p/prosody-modules
MIT License
0 stars 0 forks source link

mod_mam crashes #30

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
mod_mam crashes without any useful information in when it's trying to archive a 
message:

Aug 02 19:16:48 mod_c2s error   Traceback[c2s]: 
/usr/lib/prosody/modules/mod_mam.lua:235: attempt to call method 'append' (a 
nil value)
stack traceback:
        /usr/lib/prosody/modules/mod_mam.lua:235: in function </usr/lib/prosody/modules/mod_mam.lua:208>
        (tail call): ?
        /usr/lib/prosody/util/events.lua:67: in function 'fire_event'
        /usr/lib/prosody/core/stanza_router.lua:180: in function 'core_post_stanza'
        /usr/lib/prosody/core/stanza_router.lua:132: in function </usr/lib/prosody/core/stanza_router.lua:55>
        (tail call): ?
        [C]: in function 'xpcall'
        /usr/lib/prosody/modules/mod_c2s.lua:121: in function 'cb_handlestanza'
        /usr/lib/prosody/util/xmppstream.lua:133: in function </usr/lib/prosody/util/xmppstream.lua:120>
        [C]: in function 'parse'
        /usr/lib/prosody/util/xmppstream.lua:185: in function 'feed'
        /usr/lib/prosody/modules/mod_c2s.lua:228: in function 'data'
        /usr/lib/prosody/modules/mod_c2s.lua:250: in function </usr/lib/prosody/modules/mod_c2s.lua:247>
        (tail call): ?
        /usr/lib/prosody/net/server_select.lua:847: in function </usr/lib/prosody/net/server_select.lua:829>
        [C]: in function 'xpcall'
        /usr/bin/prosody:366: in function 'loop'
        /usr/bin/prosody:396: in main chunk
        [C]: ?

What version of the product are you using? On what operating system?
prosody: trunk nightly build 406 (2013-07-27, 785da1854eb9)
mod_mam: changeset:   1116:2345a30dd8b4  Jul 13 17:43:30 2013 +0200

Please provide any additional information below.

I'm trying to use it without sql2 storage. Probably this is a reason, but it 
would be nice to be able to use it without sql or get proper error message.

Original issue reported on code.google.com by yori...@gmail.com on 2 Aug 2013 at 5:27