View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0001546||Anope Stable (1.8.x series)||MemoServ||public||2013-09-16 06:34||2013-09-19 02:10|
|Platform||Linux||OS||CET 2012 i686 GNU/Linux|
|Summary||0001546: MemoServ Delete Memos|
|Description||We have run into an issue on our Network where every time a user deletes their third Memo, Services Crash with the following.|
[22:20] *** Global -- from services.420-hightimes.com: PANIC! buffer = :cards PRIVMSG firstname.lastname@example.org :del 1
[22:20] *** LocOps -- Received SQUIT services.420-hightimes.com from services.420-hightimes.com[18.104.22.168] (Services terminating: Segmentation fault)
Steps to Reproduce:
|Steps To Reproduce||/ms del 1 (3 Times)|
|Additional Information||I'm told this started happening after a user used /hs request 3 times for the same host. Because of the nature of the issue, we have disabled MemoServ and HS_Request, but will enable if someone would like to test on our network irc.420-hightimes.com|
|Tags||No tags attached.|
This was due to not properly recompiling Anope after changing USE_MYSQL.
Padding has been added to the memo struct to fix this in the furture in 7a741b467c1e178ba721550ec62fecd2d4afbf90.
||if you would like, log onto irc.420-hightimes.com and find me in #hightimes-lounge|
||Is there any way I could get access to this machine to look at it closer?|
New User CrashMe3
||Can you show the full log from when you register Crashme2?|
OS MODLIST (Note: We have used the same modules for over 2 years and this problem just started happening)
-[15:50] -OperServ- Module: cs_regonly [1.0.0] [3rd]
-[15:50] -OperServ- Module: cs_accessfounder [4.1] [3rd]
-[15:50] -OperServ- Module: cs_appendtopic [1.8.8 (3112)] [Supported]
-[15:50] -OperServ- Module: cs_enforce [1.8.8 (3112)] [Supported]
-[15:50] -OperServ- Module: enc_none [1.8.8 (3112)] [Encryption]
-[15:50] -OperServ- Module: ircd_tssync [1.0] [3rd]
-[15:50] -OperServ- Module: ns_maxemail [1.8.8 (3112)] [Supported]
-[15:50] -OperServ- Module: os_notinchanlist [2.4] [3rd]
-[15:50] -OperServ- Module: os_superadmin_pass [2.0.1] [3rd]
-[15:50] -OperServ- Module: os_info [1.8.8 (3112)] [Supported]
-[15:50] -OperServ- Module: unreal32 [1.8.8 (3112)] [Protocol]
Newly registered Nick CrashMe2 and sent 5 memos. On the second /ms del 1 under valgrind
Can you run services under valgrind and reproduce the issue?
valgrind ./services -support
If you are able to reproduce it on a nickname that is newly registered that would be more helpful.
I tried very hard but I can't reproduce this on my testnet.
Do you use any third party modules?
(if yes, please post the output of /operserv modlist)
We have MYSQL compiled in, but we do not use it (It is commented out).
I made it happen twice. First time I Sent myself 4 memo's from a nick grouped to the one I deleted them from.
This one someone else sent me 4 memos and it crashed on /ms del 1 for the second time.
1. are you using a mysql database?
2. can you provide a backtrace?
(1) From the directory that you would do ./services from, do the following instead: gdb ./services
(2) Do: r -support
(3) Upon crash, do: bt full
(4) Pastebin everything from step 1 to step 3. (Alternatively, if that output is too long, just pastebin everything from when Anope crashed to the end of the output of bt full.)
|2013-09-16 06:34||cards||New Issue|
|2013-09-16 08:07||DukePyrolator||Note Added: 0006512|
|2013-09-16 23:37||cards||Note Added: 0006513|
|2013-09-17 07:23||DukePyrolator||Note Added: 0006514|
|2013-09-17 07:27||Adam||Note Added: 0006515|
|2013-09-18 22:01||cards||Note Added: 0006516|
|2013-09-18 22:02||cards||Note Edited: 0006516||View Revisions|
|2013-09-18 22:42||Adam||Note Added: 0006517|
|2013-09-18 23:28||cards||Note Added: 0006518|
|2013-09-18 23:36||Adam||Note Added: 0006519|
|2013-09-18 23:40||cards||Note Added: 0006521|
|2013-09-19 02:10||Adam||Note Added: 0006522|
|2013-09-19 02:10||Adam||Status||new => resolved|
|2013-09-19 02:10||Adam||Resolution||open => fixed|
|2013-09-19 02:10||Adam||Assigned To||=> Adam|