On 2003.11.10, Kenneth Snyder <[EMAIL PROTECTED]> wrote:
> Ok, that made complete sense, Figured that out (dbx:multproc on)

Cool.  Yeah, that's it ...

> It passes to the child and moves along a little, then....
>
> Here's what happens:(dbx) next
> trace in nsmain.c:  394       nsconf.nsd = (char *) Tcl_GetNameOfExecutable();
> stopped in Ns_Main at line 394 in file
> "/aolserver_devel/aolserver-4.0-beta10-src/nsd/nsmain.c" ($t1)
>   394       nsconf.nsd = (char *) Tcl_GetNameOfExecutable();
> (dbx) next
> trace in nsmain.c:  395       NsConfigEval(config, argc, argv, optind);
> stopped in Ns_Main at line 395 in file
> "/aolserver_devel/aolserver-4.0-beta10-src/nsd/nsmain.c" ($t1)
>   395       NsConfigEval(config, argc, argv, optind);
> (dbx) next
>
> Illegal instruction in . at 0x0 ($t1)
> 0x00000000 00000000       Invalid opcode.
> (dbx) next
>
> Illegal instruction in . at 0x0 ($t1)
> 0x00000000 00000000       Invalid opcode.
> (dbx) next
>
> Line 396 is:
> ns_free(config);

What version of Tcl are you using?  Did you build it for this box, or
are you using a prebuilt binary?  When you built it, did you rememeber
to --enable-threads and stuff?

> I've tried stack size up to 1Mb and as low as 65k, same results. System is
> 43P150 375MhzPowerPc with 1GbRam and 2Gb paging(swap).

I think 1MB stack is too small.  Try using 20MB stack, for testing.  You
should be able to get away with a 4-8MB stack, but lets just go
arbitrarily high and see if that makes the problem go away.

    set stacksize [expr 20 * 1024 * 1024]

-- Dossy

--
Dossy Shiobara                       mail: [EMAIL PROTECTED]
Panoptic Computer Network             web: http://www.panoptic.com/
  "He realized the fastest way to change is to laugh at your own
    folly -- then you can let go and quickly move on." (p. 70)


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of 
your email blank.

Reply via email to