Anope Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001232Anope Development (1.9.x series)Otherpublic2011-01-18 21:182011-01-19 02:07
ReporterSyloq 
Assigned ToAdam 
PrioritynormalSeveritycrashReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0001232: CMODE_REDIRECT causing crash when FJOIN issued.
DescriptionThis effects 1.9.3 when converted from 1.9.1p1 (initially)

On InspIRCd 2.0.2 when the command is issued:

[Jan 18 18:25:42.474070 2011] Debug: Received: :725 FJOIN #chan1 1295030524 +LPlnt #chan2 0 :

The db file has the following entry for the cmodes for #chan1:

MD MLOCK_ON CMODE_NOEXTERNAL CMODE_TOPIC CMODE_LIMIT CMODE_REGISTERED CMODE_REDIRECT
MD MLP CMODE_LIMIT 1 CMODE_REDIRECT #chan2

When the FJOIN is issued above the server crashes. The gdb output is here:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x2b381417a570 (LWP 2256)]
0x00000000004b4f0a in Channel::SetModeInternal (this=Cannot access memory at address 0x7fff9747fd98
) at /home/syloq/build/anope/src/channels.cpp:309
309 void Channel::SetModeInternal(ChannelMode *cm, const Anope::string &param, bool EnforceMLock)

Removing the CMODE_REDIRECT in the db fixes the problem. Also to note that if you set an MLOCK on #chan1 with the same settings as before on (after removing it initially) 1.9.3 the db saves it as:

MD MLP CMODE_LIMIT 1
MD MLP CMODE_REDIRECT #chan2

It sounds like one or both of the converters are trying to put them as one line when the server requires it to each be on a separate line.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0005722)
Adam (administrator)
2011-01-19 02:07

Fixed in e7a8bcc30ba5bef41b7f59386856b813b7979532

- Issue History
Date Modified Username Field Change
2011-01-18 21:18 Syloq New Issue
2011-01-19 02:07 Adam Note Added: 0005722
2011-01-19 02:07 Adam Status new => resolved
2011-01-19 02:07 Adam Resolution open => fixed
2011-01-19 02:07 Adam Assigned To => Adam


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker