Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1] 2   Go Down

Author Topic: Anope 1.7.22 UnrealIRCd 3.2.7  (Read 23144 times)

0 Members and 1 Guest are viewing this topic.

IceDragon

  • Anope User
  • Offline Offline
  • Posts: 5
Anope 1.7.22 UnrealIRCd 3.2.7
« on: September 16, 2008, 12:00:31 AM »

Ok, my problem is that I can get anope services to connect fine, I register my nick it is fine, but whenever I try to register a channel Windows Vista error message pops up saying Anope IRC Services has stopped working. This happens EVERY TIME I try to register a channel. The channel doesn't matter. I'm running Windows Vista 32-bit with Anope 1.7.22 and UnrealIRCd 3.2.7

Here is my debug log.

(Anope paste bin said I needed to enable cookies even though I have so had to use a different paste bin)
http://paste.stirk.org/37511

Oh and by the way, if someone could post the EXACT location I should put the services.cfg on Windows Vista please. I've got them copy/pasted in almost every folder inside C:\Program Files\Anope lol.

Please help. :) Thanks for your time! :D
« Last Edit: September 16, 2008, 12:36:56 AM by IceDragon »
Logged

Jan Milants

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1372
Re: Anope 1.7.22 UnrealIRCd 3.2.7
« Reply #1 on: September 16, 2008, 01:32:00 AM »

working on it.. it seems something s causing .22 to segfault, but haven't figured out what yet...
Logged
If you like me donate coins to 1FBmZVT4J8WAUMHKqpWhgNVj3XXnRN1cCk :)

IceDragon

  • Anope User
  • Offline Offline
  • Posts: 5
Re: Anope 1.7.22 UnrealIRCd 3.2.7
« Reply #2 on: September 16, 2008, 02:00:33 AM »

Ah ok, so it isn't my fault correct? Thanks for the quick reply by the way! :D
Logged

Jan Milants

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1372
Re: Anope 1.7.22 UnrealIRCd 3.2.7
« Reply #3 on: September 16, 2008, 02:08:58 AM »

we r not entirely sure yet... it doesn't seem to affect all systems.
Logged
If you like me donate coins to 1FBmZVT4J8WAUMHKqpWhgNVj3XXnRN1cCk :)

IceDragon

  • Anope User
  • Offline Offline
  • Posts: 5
Re: Anope 1.7.22 UnrealIRCd 3.2.7
« Reply #4 on: September 16, 2008, 02:19:18 AM »

Ah, ok. Well if you need me to try anything or need more info just post, I'll be glad to supply it.
Logged

IceDragon

  • Anope User
  • Offline Offline
  • Posts: 5
Re: Anope 1.7.22 UnrealIRCd 3.2.7
« Reply #5 on: September 16, 2008, 10:17:11 PM »

Any updates on the situation?
Logged

katsklaw

  • Guest
Re: Anope 1.7.22 UnrealIRCd 3.2.7
« Reply #6 on: September 16, 2008, 11:59:13 PM »

Any updates on the situation?

You will just have to be patient. This entire thread has been around for less than 12 hours. Anope is staffed by volunteers that have lives and day jobs, not an army of dedicated, highly paid coders that are just waiting to trouble shoot issues.

You will get an answer when an answer is available.
Logged

Jan Milants

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1372
Re: Anope 1.7.22 UnrealIRCd 3.2.7
« Reply #7 on: September 17, 2008, 12:24:26 AM »

we have found the issue... it s a problem that occurs when registering a channel when anope uses enc_none as encryption type. Though it doesn't appear to be fatal on all systems, it may cause corruption etc.
A fix is being worked on, but not yet working properly.
The bug will probably require a sooner next release, or an update to the currently published .22
Logged
If you like me donate coins to 1FBmZVT4J8WAUMHKqpWhgNVj3XXnRN1cCk :)

IceDragon

  • Anope User
  • Offline Offline
  • Posts: 5
Re: Anope 1.7.22 UnrealIRCd 3.2.7
« Reply #8 on: September 17, 2008, 11:35:43 PM »

Hmm weird. I dont see why using no encryption would cause that but ok. Thanks for a quick response. Hope to get it patched soon! :(
Logged

Kleborp

  • Anope User
  • Offline Offline
  • Posts: 2
Re: Anope 1.7.22 UnrealIRCd 3.2.7
« Reply #9 on: September 20, 2008, 02:33:09 PM »

What is the current status of this problem?

We're experiencing this on a rather large network, and for now we've unloaded cs_register, but it is quite a pain because serveral channels are usually registered every day, and it has been a few days now.

If there's anything users could do to help then feel free to ask for it.
Logged

katsklaw

  • Guest
Re: Anope 1.7.22 UnrealIRCd 3.2.7
« Reply #10 on: September 20, 2008, 02:46:40 PM »

Again, an answer will come when it's available.

few points.

1> 1.7 is a development branch and is advertised as not suitable for production networks (yet mainly is) We also advertise that as a devel branch there will be bugs.
2> You should have tried out everything on a TestNet first before rolling it out to your production network. Channel registration is a commonly used feature so I doubt you tested .22 first at all. The ChangeLog was substantial and that should also have been a red flag to test first.
3> Roll back to 1.7.21 on you production net and leave 1.7.22 on your TestNet. If for no other reason than to get your channel registration back.
Logged

Jan Milants

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1372
Re: Anope 1.7.22 UnrealIRCd 3.2.7
« Reply #11 on: September 20, 2008, 03:16:35 PM »

i recommend going back to .21 for now... while I did patch that particular crash, there s another in getpass... i need another dev to take a look at it.. and i can't predict when that will be happening..  ::)
Logged
If you like me donate coins to 1FBmZVT4J8WAUMHKqpWhgNVj3XXnRN1cCk :)

katsklaw

  • Guest
Re: Anope 1.7.22 UnrealIRCd 3.2.7
« Reply #12 on: September 20, 2008, 03:17:26 PM »

additionally I'd like to add that I can not reproduce this on Debian, so it's possible its a Windows only thing. I'll try later on XP Pro 32-bit.
Logged

Jan Milants

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1372
Re: Anope 1.7.22 UnrealIRCd 3.2.7
« Reply #13 on: September 20, 2008, 03:18:47 PM »

additionally I'd like to add that I can not reproduce this on Debian, so it's possible its a Windows only thing. I'll try later on XP Pro 32-bit.
i can.. this issue occurs on every OS with anope .22 using enc_none.. it just doesn't always seem to crash right away. in all cases however anopes memory will be corrupted.
Logged
If you like me donate coins to 1FBmZVT4J8WAUMHKqpWhgNVj3XXnRN1cCk :)

katsklaw

  • Guest
Re: Anope 1.7.22 UnrealIRCd 3.2.7
« Reply #14 on: September 20, 2008, 03:28:31 PM »

i can.. this issue occurs on every OS with anope .22 using enc_none.. it just doesn't always seem to crash right away. in all cases however anopes memory will be corrupted.

My TestNet runs Debian 64 and has no issues at all with 1.7.22 and enc_none, I just tried with Win XP Pro 32bit and it crashes.

Debug log, Debian 64bit:

Code: [Select]
[Sep 20 10:14:36.676508 2008] debug: chan_has_user_status wanted 1 the user is 1
[Sep 20 10:14:36.676599 2008] ChanServ: Channel '#Testing' registered by katsklaw!darkness@192.168.2.9
[Sep 20 10:14:36.676675 2008] debug: Sent: :ChanServ NOTICE katsklaw :Channel #Testing registered under your nickname: katsklaw
[Sep 20 10:14:36.676720 2008] debug: Sent: :ChanServ NOTICE katsklaw :Your channel password is blahblah - remember it for later use.
[Sep 20 10:14:36.676803 2008] debug: Sent: :ChanServ MODE #Testing +r
[Sep 20 10:14:36.676869 2008] debug: Sent: :ChanServ MODE #Testing +q katsklaw
[Sep 20 10:14:36.676894 2008] debug: Emitting event "chan_registered" (1 args)
[Sep 20 10:16:09.945767 2008] debug: Received: PING :irc.foonet.com
[Sep 20 10:16:09.945940 2008] debug: Sent: :services.ircmojo.net PONG irc.foonet.com

and it's still running. I'll wait a bit and see what's up. I have it in -debug -nofork running inside gdb, so I'll know the instant it crashes and I'll have gdb info for you then if it dies.
« Last Edit: September 20, 2008, 03:35:04 PM by katsklaw »
Logged

Jan Milants

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1372
Re: Anope 1.7.22 UnrealIRCd 3.2.7
« Reply #15 on: September 20, 2008, 03:35:16 PM »

weird.. it s fatal on my debian etch 32bit...
tried if it crashes on a getpass?

i have a patch that should be an improvement on the implementation, but it still crashes on getpass. i m guessing it has todo with the termination of the char[], but can't seem to figure it out. I d need Rob or GD to take a look, but.. well.. you know how hard that is..
Logged
If you like me donate coins to 1FBmZVT4J8WAUMHKqpWhgNVj3XXnRN1cCk :)

Kleborp

  • Anope User
  • Offline Offline
  • Posts: 2
Re: Anope 1.7.22 UnrealIRCd 3.2.7
« Reply #16 on: September 20, 2008, 03:39:12 PM »

1> 1.7 is a development branch and is advertised as not suitable for production networks (yet mainly is) We also advertise that as a devel branch there will be bugs.
We use modules that are only available for 1.7, and the modularised core allows a lot more customization of which features are and aren't available for users. 1.6 hasn't updated for almost 2 years, and is lacking a lot of the fixes/additions of 1.7.
2> You should have tried out everything on a TestNet first before rolling it out to your production network. Channel registration is a commonly used feature so I doubt you tested .22 first at all. The ChangeLog was substantial and that should also have been a red flag to test first.
It was tested, but on a different box, everything works fine there, no segfaults with channel registration or getpass. The box it was tested on runs Gentoo, production box is CentOS, gcc version and stuff are the same though.
3> Roll back to 1.7.21 on you production net and leave 1.7.22 on your TestNet. If for no other reason than to get your channel registration back.
I would rather not go back, .22 is a 'recommended' update, and fixes memory leaks and a crashbug (the reason we considered to upgrade at all was the massive list of fixes in the changelog). Although it would get channel registration back, it would also be open to more abuse than .22.

I'll run some test on other ircds on the network and see if I can temporarely move the services there if that fixes it.
Or I can try downgrading just cs_register and ns_getpass.
« Last Edit: September 20, 2008, 03:46:05 PM by Kleborp »
Logged

Jan Milants

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1372
Re: Anope 1.7.22 UnrealIRCd 3.2.7
« Reply #17 on: September 20, 2008, 03:41:21 PM »

i will admit this is a hard one to detect by running it on a testnet.. no1 who had been running svn  reported this bug either even though it s been in for some time. it s only fatal on some configurations..
Logged
If you like me donate coins to 1FBmZVT4J8WAUMHKqpWhgNVj3XXnRN1cCk :)

Charles Kingsley

  • Contributor
  • *
  • Offline Offline
  • Posts: 1405
Re: Anope 1.7.22 UnrealIRCd 3.2.7
« Reply #18 on: September 20, 2008, 03:47:18 PM »

I must be lucky, not crashed on my network yet... enc_none and just tried a getpass for good measure.

Services up 5 days, 20:55
Logged

katsklaw

  • Guest
Re: Anope 1.7.22 UnrealIRCd 3.2.7
« Reply #19 on: September 20, 2008, 03:50:38 PM »

weird.. it s fatal on my debian etch 32bit...
tried if it crashes on a getpass?

i have a patch that should be an improvement on the implementation, but it still crashes on getpass. i m guessing it has todo with the termination of the char[], but can't seem to figure it out. I d need Rob or GD to take a look, but.. well.. you know how hard that is..

Code: [Select]
[Sep 20 10:44:27.739006 2008] debug: Emitting event "db_saving" (1 args)
[Sep 20 10:45:11.668174 2008] debug: Received: :katsklaw PRIVMSG chanserv@services.ircmojo.net :getpass #Testing4
[Sep 20 10:45:11.668403 2008] ChanServ: katsklaw!darkness@192.168.2.9 used GETPASS on #Testing4
[Sep 20 10:45:11.670325 2008] debug: Sent: :ChanServ GLOBOPS :katsklaw used GETPASS on channel #Testing4
[Sep 20 10:45:11.672840 2008] debug: Sent: :ChanServ NOTICE katsklaw :Password for channel #Testing4 is blahblah.

This is 1.7.22 release, not svn .. so no patches applied.
Logged

katsklaw

  • Guest
Re: Anope 1.7.22 UnrealIRCd 3.2.7
« Reply #20 on: September 20, 2008, 03:54:31 PM »

Quote
I'll run some test on other ircds on the network and see if I can temporarely move the services there if that fixes it.
Or I can try downgrading just cs_register and ns_getpass.

I wouldn't do that. Either downgrade completely or not at all. With as much code that has changed, it's uncertain what else may break.
Logged

Charles Kingsley

  • Contributor
  • *
  • Offline Offline
  • Posts: 1405
Re: Anope 1.7.22 UnrealIRCd 3.2.7
« Reply #21 on: September 20, 2008, 04:01:24 PM »

It would appear there is an issue as we have proven now on both anope's network and mine; however I should note, neither crashed out.
Logged

katsklaw

  • Guest
Re: Anope 1.7.22 UnrealIRCd 3.2.7
« Reply #22 on: September 20, 2008, 04:02:41 PM »

my windows XP crashed nearly instantly, my debian 64bit is still going with no signs of anything wrong.

I'm also running no 3rd party modules at all. Vanilla module list.
Logged

katsklaw

  • Guest
Re: Anope 1.7.22 UnrealIRCd 3.2.7
« Reply #23 on: September 20, 2008, 05:20:04 PM »

Update: I'm also running FreeBSD 32bit, enc_none 1.7.22 and have no issues at all.

Also running in gdb, so if something happens I'll update.
Logged

someone

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 42
    • http://www.somenet.org
Re: Anope 1.7.22 UnrealIRCd 3.2.7
« Reply #24 on: September 30, 2008, 08:09:47 AM »

same problem here - just wanted to tell - dont rush it - .17 will do it some longer.

win 2000 server 32bit.
crash occurs on enc_old AND enc_none.
non-mysql anope .22
Logged
Pages: [1] 2   Go Up