#1776 Anonymous logon user sessions not destroyed since updating to v0.12

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

    What steps will reproduce the problem? 1. setup normal domain 2. setup built in webserver to display internal timers 3. monitor webserver with a watchdog like nagios's check_http and OpenRC's supervise-daemon 4. setup virtual domain for anonymous logon 5. use converseJS to connect to anonymous logon 6. close converseJS 7. repeat steps 5 and 6 until daemon freezes What is the expected output? Stale anonymous session are destroyed What do you see instead? Anonymous sessions persist within muc rosters and user list indefinitely until anonymous logon vdomain is deactivated and reactivated or builds up until daemon freezes itself and watchdog kills the process. What version of the product are you using? On what operating system? Package: prosody Version: 0.12.1-1~buster1 Distributor ID: Devuan Description: Devuan GNU/Linux 4 (chimaera) Release: 4 Codename: chimaera Please provide any additional information below. Issue started happening after upgrading to prosody 0.12.x from version 0.11.x relevant logs follow: Sep 18 15:17:51 c2s56184bb556d0 error Traceback[c2s]: /usr/lib/prosody/modules/mod_smacks.lua:607: attempt to index local 'queue' (a nil value) stack traceback: /usr/lib/prosody/modules/mod_smacks.lua:607: in function </usr/lib/prosody/modules/mod_smacks.lua:529> (...tail calls...) /usr/share/lua/5.2/prosody/util/events.lua:81: in function </usr/share/lua/5.2/prosody/util/events.lua:77> (...tail calls...) /usr/share/lua/5.2/prosody/core/stanza_router.lua:143: in function 'core_process_stanza' /usr/lib/prosody/modules/mod_c2s.lua:326: in function 'func' /usr/share/lua/5.2/prosody/util/async.lua:144: in function </usr/share/lua/5.2/prosody/util/async.lua:142> agris [15:33:55] Sep 18 15:17:35 xmpp supervise-daemon[997]: running health check for prosody Sep 18 15:17:45 xmpp supervise-daemon[997]: health check for prosody failed Sep 18 15:17:45 xmpp /etc/init.d/prosody[22609]: prosody: unknown function `unhealthy' Sep 18 15:17:45 xmpp supervise-daemon[997]: stopping /usr/bin/prosody, pid 999 Sep 18 15:17:45 xmpp supervise-daemon[997]: Will stop PID 999 Sep 18 15:17:45 xmpp supervise-daemon[997]: Sending signal 15 to PID 999 Sep 18 15:17:50 xmpp supervise-daemon[997]: Unable to kill 999: Success Sep 18 15:18:00 xmpp supervise-daemon[997]: /usr/bin/prosody, pid 999, exited with return code 0 Sep 18 15:18:00 xmpp supervise-daemon[22610]: Child command line: /usr/bin/prosody --config /etc/prosody/prosody.cfg.lua -F Aug 13 03:58:34 timer error Traceback[timer]: /usr/share/lua/5.2/prosody/core/sessionmanager.lua:111: attempt to index field '?' (a nil value) stack traceback: /usr/share/lua/5.2/prosody/core/sessionmanager.lua:111: in function 'destroy_session' /usr/lib/prosody/modules/mod_smacks.lua:493: in function </usr/lib/prosody/modules/mod_smacks.lua:476> (...tail calls...) [C]: in function 'xpcall' /usr/share/lua/5.2/prosody/util/timer.lua:46: in function 'callback' /usr/share/lua/5.2/prosody/net/server_event.lua:869: in function </usr/share/lua/5.2/prosody/net/server_event.lua:868> [C]: in function 'loop' /usr/share/lua/5.2/prosody/net/server_event.lua:801: in function </usr/share/lua/5.2/prosody/net/server_event.lua:800> [C]: in function 'xpcall' /usr/bin/prosody:78: in function 'loop' /usr/bin/prosody:83: in main chunk [C]: in ?

New comment

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