Forum .LRN Q&A: aolserver crash with url http://myhost/dotlrn

hi! I am having aolserver crashes when I try to access my utl http://myhost:/dotlrn and here is what gdb has to say about it.

Can some aolserver experts help me to debug this?

aolserver version and platform
------------------------------
AOLserver/3.3.1+ad13 (aolserver3_3_1_ad13)
   CVS Tag:         $Name: nsd_v3_r3_p1 $
   Built:           Aug 22 2002 at 09:42:23
   Tcl version:     8.3
   Thread library:  pthread
   Platform:        solaris


(gdb) where
#0  0x1356e8 in TclReExec (re=0x3fd967c, string=0x3728a84, len=24,
    details=0x3fd96a4, nmatch=1, pmatch=0x961f68, flags=0)
    at ./../generic/regexec.c:190
Cannot access memory at address 0xfdea1f94
(gdb) print *re
$9 = {re_magic = 65239, re_nsub = 0, re_info = 192, re_csize = 2,
  re_endp = 0xfdeb94a0 "", re_guts = 0x3be0160 "", re_fns = 
0x17a128 ""}
(gdb) print *string
$10 = 10
(gdb) ptype details
type = struct {
    regmatch_t rm_extend;
} *
(gdb) print *details
$11 = {rm_extend = {rm_so = -1, rm_eo = -1}}
(gdb) ptype pmatch
type = struct {
    regoff_t rm_so;
    regoff_t rm_eo;
} *
(gdb) print *pmatch
$12 = {rm_so = 4, rm_eo = 5}
(gdb) bt
#0  0x1356e8 in TclReExec (re=0x3fd967c, string=0x3728a84, len=24,
    details=0x3fd96a4, nmatch=1, pmatch=0x961f68, flags=0)
    at ./../generic/regexec.c:190
Cannot access memory at address 0xfdea1f94
(gdb) print *re
$13 = {re_magic = 65239, re_nsub = 0, re_info = 192, re_csize = 2,
  re_endp = 0xfdeb94a0 "", re_guts = 0x3be0160 "", re_fns = 
0x17a128 ""}
(gdb) print *string
$14 = 10
(gdb) print *details
$15 = {rm_extend = {rm_so = -1, rm_eo = -1}}
(gdb) print pmatch
$16 = (regmatch_t *) 0x961f68
(gdb) print *pmatch
$17 = {rm_so = 4, rm_eo = 5}
Collapse
Posted by Arjun Sanyal on
make sure in your aolserver config file in section "ns_section ns/threads" the stacksize parameter is at least 500000. see if that helps.
Thanks for that tip Arjun! It works fine after that change in the config file.