dhotson / prosody-modules

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

mod_remote_roster producing errors in the log #22

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Install prosody and the newest mod_remote_roster module.
2. Connect spectrum2 in gateway mode

What is the expected output? What do you see instead?

 Revision 295ae44b8a01 - continuously produces the error shown below in the prosody log. In addition to outputting the error, prosody consumed high cpu and responded very slowly when connecting up a transport.

 I downloaded and reverted back to c86fc337d56f, and this corrected the issue.

 Oct 04 13:11:08 general    error   
stack traceback:
    /usr/lib/prosody/modules/mod_remote_roster.lua:152: in function 'component_roster_push'
    /usr/lib/prosody/modules/mod_remote_roster.lua:166: in function 'func'
    /usr/lib/prosody/util/timer.lua:53: in function '?'
    /usr/lib/prosody/net/server_select.lua:835: in function </usr/lib/prosody/net/server_select.lua:802>
    [C]: in function 'xpcall'
    /usr/lib/prosody/../../bin/prosody:427: in function 'loop'
    /usr/lib/prosody/../../bin/prosody:494: in main chunk

What version of the product are you using? On what operating system?
prosody 0.8.2-1 (from ubuntu repository) on Ubuntu 12.04.1 LTS 

Also using  1:2.0.0~beta2-416-g4100b4c-1 of spectrum2-git (from spectrum 
repository)

Please provide any additional information below.

http://code.google.com/p/prosody-modules/source/list?path=/mod_remote_roster/mod
_remote_roster.lua&r=295ae44b8a010f1974e4ead122de6b4883dfd09b

Original issue reported on code.google.com by j...@hogenmiller.net on 4 Oct 2012 at 6:51

GoogleCodeExporter commented 9 years ago
I can confirm this issue.

I'm using 
Debian Squeeze
prosody 0.8.2-1
spectrum2 2.0.0~beta2-482-g8c7caaf-1+8~squeeze

the same with spectrum 1.4.8-1

Original comment by alexre...@googlemail.com on 15 Nov 2012 at 9:37