I built the tcl. . threads were enabled. TCL8.4.4. I tried the 20mB stack, same results... What's the default stacksize, as on my AOLserver 3.5.5 installation on my AIX4.3.3 machine, that stacksize line is commented out. I tried that here too, same results.
Now that you mention it, I think I had a problem with a certain tcl version on my 4.3.3 machine, although it wasn't this problem. I think I'll build up tcl 8.4.2, which is what I have on the AIX4.3.3 machine running AOLserver3.5.5..
Ken
Dossy wrote:
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.
-- 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.
