Anope IRC Services

Anope Support => 2.0.x/1.9.x Support => Topic started by: user017 on June 20, 2010, 09:57:12 AM

Title: A few bugs in Anope 1.9.2
Post by: user017 on June 20, 2010, 09:57:12 AM
Hi. In testing of this version I get some errors.
1. When ss_main is deflined to load as 3rd party module from config, services crashes before add any Q:Lines.
Also error message occurs about that memory can`t be read. StatServ loads fine via /os modload.
2. If try to load some converted DB the same error occurs as above.
3. Services dont save DB at all (including any /os commands to save DB and periodic save).
anope.db is exist but have size is 0. Also if normal DB is loaded, services clear it to 0.
4. /os defcon is not loaded if default commented values in config.
5. HelpChannel is not work even if it is deflined.
6. Reply from /os stats all/uplink not show the capabilities of uplinked ircd.
7. Runtime directory not cleaned when services restarts or quits.
8. Output from /cs akick view not contain last used time.
9. Example config have missed cs_ before forbid in ChanCoreModules section.

All of these bugs are happens on Windows XP SP3 with precompiled win32 non-ssl version of UnrealIRCd 3.2.8.1
and anope 1.9.2 r3007.
If you want I can provide a logs.
Sorry if my English is wrong. Thanks.



 
Title: Re: A few bugs in Anope 1.9.2
Post by: Naram Qashat on June 20, 2010, 03:14:53 PM
1) ss_main was a dummy module used to test the possibility of having StatServ from Denora brought in as a module, thus allowing Denora to merge back into the Anope project.  As such, it currently has no use.

2) Without knowing what the error is, we can't help you on this.  Provide us the error, and also provide the logs.  Run Anope in debug if you have to so the logs have some more information for us.

3) I too noticed this when I was testing Anope 1.9.2 on my Windows XP machine here, but Adam said it should've been working.  I'll look into this eventually, but I am currently going OCD on the code itself.

4) Why would we load the defcon module if defcon is disabled?

5) Not working in what way?

6) Can you show an example?  Because looking at the code, it should show those.

7) I believe this has been a longstanding problem, will look into it eventually.

8. I'd blame Adam for this, as he was the one who added that command.
(Stupid auto-smiley for 8 followed by a close parenthesis...)

9) Not sure how that happened, but we'll fix it.
Title: Re: A few bugs in Anope 1.9.2
Post by: Charles Kingsley on June 20, 2010, 03:21:43 PM
4. /os defcon is not loaded if default commented values in config.

Download the exe again this is fixed there.
Title: Re: A few bugs in Anope 1.9.2
Post by: user017 on June 20, 2010, 04:33:49 PM
2. After the last log entry services crashes.
I have error message:

Application: anope.exe - error : Instruction "0x00446b84" call to memory to address "0x0000006c". Memory cannot be "read".

"OK" -- close the program
"Cancel" -- debug

4. Just always was so that module loads even without config.
Charles Kingsley, sorry but that not fixed in new exe.
5. Services not giving the umode +h to ops.
6. Not shows chanmodes and nickchars, not all capabs, sorry.
-OperServ- Uplink capab: NOQUIT NICKIP ZIP TOK1 TOKEN SSJ3 SJB64 CHANMODES NICKCHARS
Title: Re: A few bugs in Anope 1.9.2
Post by: Adam on June 21, 2010, 10:23:13 PM
Hi,

Could you test http://adam.anope.org/anope-1.9.2-p1-unofficial.exe to see if bugs 2, 3, 4, 5 (use its example.conf), 8 and 9 are fixed and get back to me?

1 - ss_main isn't done, don't use it.
6 - The whole CAPAB/modes thing was changed a lot, I'm not sure what we're going to do about it. For now I'm leaving it as it is a trivial matter.
7 - This should clean out most of runtime modules (but not all), I'm looking into it but it is also rather trivial.

Thanks,
Adam
Title: Re: A few bugs in Anope 1.9.2
Post by: user017 on June 22, 2010, 01:15:03 PM
Thanks for this build, bugs 2, 3, 5 and 9 is fixed.
However, in the converted from 1.8.4 DB fields of last seen address/real name in /ns info contains Null instead of correct values.
Example conf have a new typo which prevent m_helpchan from load - modules { name = "m_helpchan" } instead of module { name = "m_helpchan" }
Output from /cs akick view contain last used time but only after restart of services.
defcon module is still not loads.
Title: Re: A few bugs in Anope 1.9.2
Post by: Adam on June 22, 2010, 04:25:55 PM
Can you paste your config for defcon and the message you receive when you try to load it?
Title: Re: A few bugs in Anope 1.9.2
Post by: user017 on June 22, 2010, 04:44:38 PM
Can you paste your config for defcon and the message you receive when you try to load it?

Config is default:
   #defaultlevel = 5
   level4 = "nonewchannels nonewnicks nomlockchanges reducedsessions"
   level3 = "nonewchannels nonewnicks nomlockchanges forcechanmodes reducedsessions"
   level2 = "nonewchannels nonewnicks nomlockchanges forcechanmodes reducedsessions silentoperonly"
   level1 = "nonewchannels nonewnicks nomlockchanges forcechanmodes reducedsessions silentoperonly akillnewclients"
   #sessionlimit = 2
   #akillexpire = 5m
   #chanmodes = "+R"
   #timeout = 15m
   #globalondefcon = yes
   #globalondefconmore = yes
   #message = "Put your message to send your users here. Dont forget to uncomment globalondefconmore"
   #offmessage = "Services are now back to normal, sorry for any inconvenience"
   #akillreason = "This network is currently not accepting connections, please try again later"

Message from the log:
[Jun 22 21:57:44 2010] Error while loading os_defcon: Invalid configuration settings
Title: Re: A few bugs in Anope 1.9.2
Post by: Adam on June 22, 2010, 04:48:02 PM
Config is default:
   #defaultlevel = 5
   level4 = "nonewchannels nonewnicks nomlockchanges reducedsessions"
   level3 = "nonewchannels nonewnicks nomlockchanges forcechanmodes reducedsessions"
   level2 = "nonewchannels nonewnicks nomlockchanges forcechanmodes reducedsessions silentoperonly"
   level1 = "nonewchannels nonewnicks nomlockchanges forcechanmodes reducedsessions silentoperonly akillnewclients"
   #sessionlimit = 2
   #akillexpire = 5m
   #chanmodes = "+R"
   #timeout = 15m
   #globalondefcon = yes
   #globalondefconmore = yes
   #message = "Put your message to send your users here. Dont forget to uncomment globalondefconmore"
   #offmessage = "Services are now back to normal, sorry for any inconvenience"
   #akillreason = "This network is currently not accepting connections, please try again later"

Message from the log:
[Jun 22 21:57:44 2010] Error while loading os_defcon: Invalid configuration settings

This is not a bug, you have it configured incorrectly.
Title: Re: A few bugs in Anope 1.9.2
Post by: user017 on June 22, 2010, 05:03:39 PM
This is not a bug, you have it configured incorrectly.
Is this means that module will be no longer loaded if not configured?
Title: Re: A few bugs in Anope 1.9.2
Post by: Adam on June 22, 2010, 06:11:58 PM
Correct, whats the use of it loading if its not configured?
Title: Re: A few bugs in Anope 1.9.2
Post by: user017 on June 23, 2010, 05:35:05 AM
Nothing is wrong except my expection.
In the all prior versions to 1.9.2 defcon was available (not for use, just listed in /os help) even with invalid/commented settings.
Title: Re: A few bugs in Anope 1.9.2
Post by: therock247uk on June 25, 2010, 09:28:33 PM
/me is trying to remake a few of these bugs but i dont get any of them on the latest git.
Title: Re: A few bugs in Anope 1.9.2
Post by: user017 on June 29, 2010, 03:34:50 PM
In 1.9.2-p1 win32 (official) services crashes after trying to squit the juped server.
Ircd - unreal3.2.8.1
Title: Re: A few bugs in Anope 1.9.2
Post by: Charles Kingsley on June 29, 2010, 08:50:06 PM
Please log a bug report, this forum is for support not bugs.