View Issue Details

IDProjectCategoryView StatusLast Update
0001546Anope Stable (1.8.x series)MemoServpublic2013-09-19 02:10
Reportercards Assigned ToAdam  
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
PlatformLinuxOSCET 2012 i686 GNU/Linux 
Product Version1.8.8 
Summary0001546: MemoServ Delete Memos
DescriptionWe 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 memoserv@services.420-hightimes.com :del 1
 [22:20] *** LocOps -- Received SQUIT services.420-hightimes.com from services.420-hightimes.com[217.146.93.137] (Services terminating: Segmentation fault)

Steps to Reproduce:
Steps To Reproduce/ms del 1 (3 Times)
Additional InformationI'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
TagsNo tags attached.

Activities

Adam

2013-09-19 02:10

administrator   ~0006522

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.

cards

2013-09-18 23:40

reporter   ~0006521

if you would like, log onto irc.420-hightimes.com and find me in #hightimes-lounge

Adam

2013-09-18 23:36

administrator   ~0006519

Is there any way I could get access to this machine to look at it closer?

cards

2013-09-18 23:28

reporter   ~0006518

New User CrashMe3
https://pastebin.anope.org/index.php?page=viewpaste&id=30b74dcb95

Adam

2013-09-18 22:42

administrator   ~0006517

Can you show the full log from when you register Crashme2?

cards

2013-09-18 22:01

reporter   ~0006516

Last edited: 2013-09-18 22:02

View 2 revisions

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
https://pastebin.anope.org/index.php?page=viewpaste&id=9409cb91cd

Adam

2013-09-17 07:27

administrator   ~0006515

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.

DukePyrolator

2013-09-17 07:23

administrator   ~0006514

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)

cards

2013-09-16 23:37

reporter   ~0006513

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.

https://pastebin.anope.org/index.php?page=viewpaste&id=9604061400
This one someone else sent me 4 memos and it crashed on /ms del 1 for the second time.
https://pastebin.anope.org/index.php?page=viewpaste&id=77974b82ca

DukePyrolator

2013-09-16 08:07

administrator   ~0006512

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.)

Issue History

Date Modified Username Field Change
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