From: Zoran V. <zv...@ar...> - 2006-07-10 15:03:56
|
Am 10.07.2006 um 16:56 schrieb Zoran Vasiljevic: > > Am 10.07.2006 um 16:44 schrieb Vlad Seryakov: > >> I use 8.4.13 and AOLserver mentions on 4.5 release that 8.4.13 is the >> right version. > > Well, no... > > Reading symbols for shared libraries .++ done > [10/Jul/2006:16:55:09][23983.2684415384][-main-] Notice: binder: > started > [10/Jul/2006:16:55:10][23983.2684415384][-main-] Notice: nsmain: > NaviServer/4.99.2 starting > [10/Jul/2006:16:55:10][23983.2684415384][-main-] Notice: nsmain: > security info: uid=0, euid=0, gid=0, egid=0 > [10/Jul/2006:16:55:10][23983.2684415384][-main-] Notice: nsmain: Tcl > version: 8.4.13 > [10/Jul/2006:16:55:10][23983.2684415384][-main-] Notice: nsmain: max > files: FD_SETSIZE = 1024, rl_cur = 12288, rl_max = 12288 > > > [10/Jul/2006:16:56:12][23983.2684415384][-main-] Notice: serv: > stopping server: lexxsrv > [10/Jul/2006:16:56:12][23983.2684415384][-main-] Notice: serv: > connection threads stopped > [10/Jul/2006:16:56:12][23983.2684415384][-main-] Notice: sched: > shutdown pending > [10/Jul/2006:16:56:12][23983.25245184][-driver-] Notice: exiting > [10/Jul/2006:16:56:12][23983.25176064][-sched-] Notice: sched: > shutdown started > [10/Jul/2006:16:56:12][23983.25176064][-sched-] Notice: sched: > shutdown complete > [10/Jul/2006:16:56:12][23983.25171456][-socks-] Notice: socks: > shutdown pending > [10/Jul/2006:16:56:12][23983.25171456][-socks-] Notice: nscp: shutdown > [10/Jul/2006:16:56:12][23983.25171456][-socks-] Notice: socks: > shutdown complete > [10/Jul/2006:16:56:12][23983.2684415384][-main-] Notice: driver: > shutdown complete > [10/Jul/2006:16:56:12][23983.25345536][-tclthread-] Notice: Scheduler > thread exiting > > Program received signal EXC_BAD_ACCESS, Could not access memory. > Reason: KERN_PROTECTION_FAILURE at address: 0x00000004 > [Switching to process 23983 thread 0x3613] > 0x0a016204 in Tcl_AsyncDelete (async=0x3a51508) at /Users/zoran/sf/ > tcl/unix/../generic/tclAsync.c:297 > 297 while (prevPtr->nextPtr != asyncPtr) { > (gdb) > > The problem is: Breakpoint 1, Tcl_AsyncDelete (async=0x3a51508) at /Users/zoran/sf/ tcl/unix/../generic/tclAsync.c:285 285 ThreadSpecificData *tsdPtr = TCL_TSD_INIT(&dataKey); (gdb) print *tsdPtr $1 = { firstHandler = 0x27e880, lastHandler = 0x3ab6d08, asyncReady = 0, asyncActive = 48307496, asyncMutex = 0x0 } (gdb) cont Continuing. Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_PROTECTION_FAILURE at address: 0x00000004 0x0a016204 in Tcl_AsyncDelete (async=0x3a51508) at /Users/zoran/sf/ tcl/unix/../generic/tclAsync.c:297 297 while (prevPtr->nextPtr != asyncPtr) { You see: Tcl_AsyncDelete is called two times with the same async handler. This can never work. How come you call it twice? Zoran > > > >> >> Zoran Vasiljevic wrote: >>> Am 10.07.2006 um 16:31 schrieb Vlad Seryakov: >>> >>>> That is strange, what version of Tcl is it? >>> >>> [10/Jul/2006:16:35:26][23776.2684415384][-main-] Notice: nsmain: >>> NaviServer/4.99.2 starting >>> [10/Jul/2006:16:35:26][23776.2684415384][-main-] Notice: nsmain: >>> security info: uid=0, euid=0, gid=0, egid=0 >>> [10/Jul/2006:16:35:26][23776.2684415384][-main-] Notice: nsmain: Tcl >>> version: 8.4.12 >>> >>> >>>> Zoran Vasiljevic wrote: >>>>> Am 10.07.2006 um 16:25 schrieb Vlad Seryakov: >>>>> >>>>>> Does it happen all the time >>>>> Every time I stop the server. Just did a fresh checkout and >>>>> recompile: >>>>> >>>>> Program received signal EXC_BAD_ACCESS, Could not access memory. >>>>> Reason: KERN_PROTECTION_FAILURE at address: 0x00000004 >>>>> [Switching to process 23748 thread 0x3803] >>>>> 0x0a016204 in Tcl_AsyncDelete (async=0x3821688) at /Users/zoran/ >>>>> sf/ >>>>> tcl/unix/../generic/tclAsync.c:297 >>>>> 297 while (prevPtr->nextPtr != asyncPtr) { >>>>> (gdb) print prevPtr >>>>> $1 = (AsyncHandler *) 0x0 >>>>> (gdb) list >>>>> 292 if (tsdPtr->firstHandler == NULL) { >>>>> 293 tsdPtr->lastHandler = NULL; >>>>> 294 } >>>>> 295 } else { >>>>> 296 prevPtr = tsdPtr->firstHandler; >>>>> 297 while (prevPtr->nextPtr != asyncPtr) { >>>>> 298 prevPtr = prevPtr->nextPtr; >>>>> 299 } >>>>> 300 prevPtr->nextPtr = asyncPtr->nextPtr; >>>>> 301 if (tsdPtr->lastHandler == asyncPtr) { >>>>> (gdb) print *tsdPtr >>>>> $2 = { >>>>> firstHandler = 0x0, >>>>> lastHandler = 0x0, >>>>> asyncReady = 0, >>>>> asyncActive = 0, >>>>> asyncMutex = 0x33a64c8 >>>>> } >>>>> (gdb) >>>>> >>>>> >>>>> >>>>> >>>>> ------------------------------------------------------------------ >>>>> - >>>>> -- >>>>> ---- >>>>> Using Tomcat but need to do more? Need to support web services, >>>>> security? >>>>> Get stuff done quickly with pre-integrated technology to make your >>>>> job easier >>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache >>>>> Geronimo >>>>> http://sel.as-us.falkag.net/sel? >>>>> cmd=lnk&kid=120709&bid=263057&dat=121642 >>>>> _______________________________________________ >>>>> naviserver-devel mailing list >>>>> nav...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/naviserver-devel >>>>> >>>> -- >>>> Vlad Seryakov >>>> 571 262-8608 office >>>> vl...@cr... >>>> http://www.crystalballinc.com/vlad/ >>>> >>>> >>>> >>>> ------------------------------------------------------------------- >>>> - >>>> -- >>>> --- >>>> Using Tomcat but need to do more? Need to support web services, >>>> security? >>>> Get stuff done quickly with pre-integrated technology to make your >>>> job easier >>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache >>>> Geronimo >>>> http://sel.as-us.falkag.net/sel? >>>> cmd=lnk&kid=120709&bid=263057&dat=121642 >>>> _______________________________________________ >>>> naviserver-devel mailing list >>>> nav...@li... >>>> https://lists.sourceforge.net/lists/listinfo/naviserver-devel >>> >>> >>> >>> -------------------------------------------------------------------- >>> - >>> ---- >>> Using Tomcat but need to do more? Need to support web services, >>> security? >>> Get stuff done quickly with pre-integrated technology to make your >>> job easier >>> Download IBM WebSphere Application Server v.1.0.1 based on Apache >>> Geronimo >>> http://sel.as-us.falkag.net/sel? >>> cmd=lnk&kid=120709&bid=263057&dat=121642 >>> _______________________________________________ >>> naviserver-devel mailing list >>> nav...@li... >>> https://lists.sourceforge.net/lists/listinfo/naviserver-devel >>> >> >> -- >> Vlad Seryakov >> 571 262-8608 office >> vl...@cr... >> http://www.crystalballinc.com/vlad/ >> >> >> >> --------------------------------------------------------------------- >> - >> --- >> Using Tomcat but need to do more? Need to support web services, >> security? >> Get stuff done quickly with pre-integrated technology to make your >> job easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache >> Geronimo >> http://sel.as-us.falkag.net/sel? >> cmd=lnk&kid=120709&bid=263057&dat=121642 >> _______________________________________________ >> naviserver-devel mailing list >> nav...@li... >> https://lists.sourceforge.net/lists/listinfo/naviserver-devel > > > > ---------------------------------------------------------------------- > --- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your > job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > naviserver-devel mailing list > nav...@li... > https://lists.sourceforge.net/lists/listinfo/naviserver-devel |