I ran into the same problem (10.5 on Intel).
I recompiled tcl as 64 bit explicitly (didn't do it by default),
recompiled aolserver and now it runs.
nsdci ... couldn't get those apps to compile properly though
And get the following on startup (though it runs OK) and when using
ns_proxy to exec an external application
The process has forked and you cannot use this CoreFoundation
functionality safely. You MUST exec().
Break on
__THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__
() to debug.
Damien
On 11/01/2008, at 1:05 AM, Nick Miller wrote:
Hi all,
I have tried to send this a couple of times to the list so I do
apologies if this has hit the list multiple times (I don't think it
has though).
I have been having some issues getting AOLServer 4.5 or 4.0.10 to
run on Mac OS X 10.5
I compiled and installed AOL Server and Tcl on Mac OS X 10.5 with no
issues but then tried to run the NSDs only to get a "Segmentation
Fault". Below is the crash report:
Process: nsd [32027]
Path:bin/nsd
Identifier: nsd
Version: ??? (???)
Code Type: X86 (Native)
Parent Process: bash [4205]
Date/Time: 2008-01-04 04:47:25.052 +
OS Version: Mac OS X 10.5.1 (9B18)
Report Version: 6
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x7fff
Crashed Thread: 0
Thread 0 Crashed:
0 libnsd.dylib0x0008fb75 Ns_DStringVPrintf
+ 2277
(dsprintf.c:363)
1 libnsd.dylib0x00097599 Log + 86 (log.c:
576)
2 libnsd.dylib0x00096f59 Ns_Log + 37
(log.c:252)
3 libnsd.dylib0x0009262a NsInitFd + 335
(fd.c:
146)
4 libnsd.dylib0x0009578b Ns_LibInit + 52
(init.c:
84)
5 libnsd.dylib0x000c2a2f _Ns_LibInit + 11
(nslibinit.c:46)
6 dyld0x8fe159c2
ImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&) +
162
7 dyld0x8fe0e623
ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&,
unsigned int) + 307
8 dyld0x8fe0e5b5
ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&,
unsigned int) + 197
9 dyld0x8fe0e709
ImageLoader::runInitializers(ImageLoader::LinkContext const&) + 57
10 dyld0x8fe040c2
dyld::initializeMainExecutable() + 162
11 dyld0x8fe07b1f
dyld::_main(mach_header
const*, unsigned long, int, char const**, char const**, char const**)
+ 2975
12 dyld0x8fe01872
dyldbootstrap::start(mach_header const*, int, char const**, long) +
818
13 dyld0x8fe01037 _dyld_start + 39
Thread 0 crashed with X86 Thread State (32-bit):
eax: 0x ebx: 0x0008f2a1 ecx: 0x edx: 0xbfffe08c
edi: 0x7fff esi: 0x0100 ebp: 0xbfffe018 esp: 0xbfffdcd0
ss: 0x001f efl: 0x00010286 eip: 0x0008fb75 cs: 0x0017
ds: 0x001f es: 0x001f fs: 0x gs: 0x0037
cr2: 0x7fff
Binary Images:
0x1000 - 0x3ffc +nsd ??? (???)
/Users/Nick/usr/local/aolserver2/
bin/nsd
0x7000 - 0xaffd +libnsthread.dylib ??? (???)
<358ffb6a804af15a454064994ba6b2e7> /Users/Nick/usr/local/aolserver2/
lib/libnsthread.dylib
0x7e000 -0xccff1 +libnsd.dylib ??? (???)
/Users/Nick/usr/local/aolserver2/
lib/libnsd.dylib
0xa00 - 0xa0b2fe7 +libtcl8.4g.dylib ??? (???)
/Users/Nick/usr/local/aolserver/
lib/
libtcl8.4g.dylib
0x8fe0 - 0x8fe2d883 dyld 95.3 (???)
<81592e798780564b5d46b988f7ee1a6a> /usr/lib/dyld
0x90407000 - 0x90539fe7 com.apple.CoreFoundation 6.5 (476)
<8bfebc0dbad6fc33bea0fa00a1b9ec37> /System/Library/Frameworks/
CoreFoundation.framework/Versions/A/CoreFoundation
0x905c5000 - 0x905ccfe9 libgcc_s.1.dylib ??? (???)
/usr/lib/libgcc_s.1.dylib
0x91a6f000 - 0x91accffb libstdc++.6.dylib ??? (???)
<04b812dcec670daa8b7d2852ab14be60> /usr/lib/libstdc++.6.dylib
0x91bae000 - 0x91bd8fef libauto.dylib ??? (???)
/usr/lib/libauto.dylib
0x931e5000 - 0x9331dff7 libicucore.A.dylib ??? (???)
/usr/lib/libicucore.A.dylib
0x93c92000 - 0x93d71fff libobjc.A.dylib ??? (???)
<5eda47fec2d0e7853b3506aa1fd2dafa> /usr/lib/libobjc.A.dylib
0x9467b000 - 0x947d5fe3 libSystem.B.dylib ??? (???)
<8ecc83dc0399be3946f7a46e88cf4bbb> /usr/lib/libSystem.B.dylib
0x948d5000 - 0x948d6fef libmathCommon.A.dylib ??? (???) /usr/lib/
system/libmathCommon.A.dylib
0xfffe8000 - 0xfffebfff libobjc.A.dylib ??? (???) /usr/lib/
libobjc.A.dylib
0x - 0x1780 libSystem.B.dylib ??? (???) /usr/lib/
libSystem.B.dylib
I did previously have this up and running nicely on 10.4 so something
in Leopard has broken things.
Any help, advice, pointers is greatly appreciated. I dont have the
skills to dig into this lot above and figure out w