View Issue Details

IDProjectCategoryView StatusLast Update
0001982unrealircdpublic2004-07-21 12:03
Reporterbit Assigned To 
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionopen 
Product Version3.2.1 
Summary0001982: OS X 10.3.4 + md5 = crash
DescriptionCompiling on MacOS X 10.3.4 aka Darwin 7.4.0 works nicely except that the md5-routines collides with those from the system librarys. Compilation works, but the first user connecting crashes the ircd. After relinking ircd without md5.o everything works well.
Steps To ReproduceRemove md5.o from the list of objects for ircd when compiling on MacOS X aka Darwin.
3rd party modules

Activities

syzop

2004-07-21 11:41

administrator   ~0007183

Last edited: 2004-07-21 11:42

What are the exact errors? [<- woops I ment gdb backtrace, anyway.. try the include thingy in the next paragraph first]
Anyway, I think I already found the mistake... did you perhaps compile with SSL support?

I noticed there's an '#if !defined(USE_SSL)' in src/md5.c but there's no 'include "config.h"' line, try adding that line right before the #if !defined thingy and recompile (without having md5.o ripped out [and do make clean; make]).

edited on: 2004-07-21 11:42

bit

2004-07-21 11:54

reporter   ~0007184

gdb is a problem on MacOS X - not all system provided librarys contains debugging symbols. So I was not able to produce a usable backtrace after the SIGBUS...

Yes, I'm using SSL. And yes, it works when adding
#include "config.h" to md5.c. Thanks!

syzop

2004-07-21 12:03

administrator   ~0007185

Good! Fixed in CVS [.105].

Issue History

Date Modified Username Field Change
2004-07-21 11:10 bit New Issue
2004-07-21 11:41 syzop Note Added: 0007183
2004-07-21 11:41 syzop Summary md5 allready in libc => OS X 10.3.4 + md5 = crash
2004-07-21 11:42 syzop Note Edited: 0007183
2004-07-21 11:54 bit Note Added: 0007184
2004-07-21 12:03 syzop Status new => closed
2004-07-21 12:03 syzop Note Added: 0007185