Webcat 2.0.1 date math bug -> Crash!
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 13502
interpreted = N
texte = After 3 hours of continuously testing and crashing Webstar, we found thatthe following code will cause our Webstar 2.1 or 2.0 server to Type 11 ifmore than one instance is executed concurrently (i.e. using Netsplat):
Untitled[MATH DATE]{9/17/1997}-{00/10/0000}[/MATH]You can load this page with one copy of Netscape all day long, and it willwork fine. However, CONCURRENT users will cause this to crash almostimmediately (Netsplat is awesome!). When we switched to the WC2.0.1 pluginon our live server, it usually lasts only about 5 minutes before twobrowsers execute this code at the exact same moment. This code works justfine with the WC2.0 plugin, even under a load. I'm not sure if this isbroken in 2.0.1b1, I didn't try it.The error also occurs if this is only a [MATH] context (without the DATE).As a partial workaround, the code:[MATH DATE]{9/17/1997}-10[/MATH]does work without any problems for numbers less than 28. How exactly tocorrectly add more than one month is problematic, due to the varying lengthof months...Another solution is to switch to the Webcat ACGI, which seems to serializethe requests enough for this to not happen.Along the way to tracking this down we found that the code:[MATH DATE]{9/17/1997}-{00/10/00}[/MATH]produces the result 9/7/0000, while[MATH DATE]{9/17/1997}-{00/10/0000}[/MATH]produces the correct result 9/7/1997.I thought that 19 was assumed when you only used a two digit year, but ifthat was so then the answer should have been 9/7/0097, right? Notconsistent.Our site depends heavily upon the addition and subtraction of dates, so wewould greatly appreciate getting this crashing bug fixed!! Also, since wecan't seem to get many things to work in WC2.0 but they appear to be fixedin WC2.0.1 (like SEARCH, LOOP, etc), we REALLY want to use WC2.0.1...Our server:AISS 7250/12040mb RAMSystem 7.5.3r2, OT 1.1.2Webstar 2.1 and 2.0 20mb allocatedWebCatalog plugin 2.0.1 Sept 4 1997no other plugins or cgisThe other server:Powercenter 604/12048mb RAMMacOS 8, OT 1.2Webstar 2.1 and 2.0 30mb allocatedWebCatalog plugin 2.0.1 Sept 4 1997no other plugins or cgisThis one had a bad L2 cache which was causing our hard hangs with the 2.0plugin last week.The above problems occur on both of these machines.Help!!Thanks,Dale ________________________ ______________________________| Dale LaFountain | mailto:dalel@dhorse.com || MIS Director,WebMaster | web: http://www.dhorse.com/ || Dark Horse Comics, Inc.|Phone: 503-652-8815 x324 |\_________ID97___________|______________________________/
Associated Messages, from the most recent to the oldest:
After 3 hours of continuously testing and crashing Webstar, we found thatthe following code will cause our Webstar 2.1 or 2.0 server to Type 11 ifmore than one instance is executed concurrently (i.e. using Netsplat):
Untitled[MATH DATE]{9/17/1997}-{00/10/0000}[/MATH]You can load this page with one copy of Netscape all day long, and it willwork fine. However, CONCURRENT users will cause this to crash almostimmediately (Netsplat is awesome!). When we switched to the WC2.0.1 pluginon our live server, it usually lasts only about 5 minutes before twobrowsers execute this code at the exact same moment. This code works justfine with the WC2.0 plugin, even under a load. I'm not sure if this isbroken in 2.0.1b1, I didn't try it.The error also occurs if this is only a
[math] context (without the DATE).As a partial workaround, the code:[MATH DATE]{9/17/1997}-10[/MATH]does work without any problems for numbers less than 28. How exactly tocorrectly add more than one month is problematic, due to the varying lengthof months...Another solution is to switch to the Webcat ACGI, which seems to serializethe requests enough for this to not happen.Along the way to tracking this down we found that the code:[MATH DATE]{9/17/1997}-{00/10/00}[/MATH]produces the result 9/7/0000, while[MATH DATE]{9/17/1997}-{00/10/0000}[/MATH]produces the correct result 9/7/1997.I thought that 19 was assumed when you only used a two digit year, but ifthat was so then the answer should have been 9/7/0097, right? Notconsistent.Our site depends heavily upon the addition and subtraction of dates, so wewould greatly appreciate getting this crashing bug fixed!! Also, since wecan't seem to get many things to work in WC2.0 but they appear to be fixedin WC2.0.1 (like SEARCH, LOOP, etc), we REALLY want to use WC2.0.1...Our server:AISS 7250/12040mb RAMSystem 7.5.3r2, OT 1.1.2Webstar 2.1 and 2.0 20mb allocatedWebCatalog plugin 2.0.1 Sept 4 1997no other plugins or cgisThe other server:Powercenter 604/12048mb RAMMacOS 8, OT 1.2Webstar 2.1 and 2.0 30mb allocatedWebCatalog plugin 2.0.1 Sept 4 1997no other plugins or cgisThis one had a bad L2 cache which was causing our hard hangs with the 2.0plugin last week.The above problems occur on both of these machines.Help!!Thanks,Dale ________________________ ______________________________| Dale LaFountain | mailto:dalel@dhorse.com || MIS Director,WebMaster | web: http://www.dhorse.com/ || Dark Horse Comics, Inc.|Phone: 503-652-8815 x324 |\_________ID97___________|______________________________/
Dale LaFountain
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Searching multiple Databases (1997)
Hosting Service (1998)
Crediting money back to a customer (2000)
WebCat2 several catalogs? (1997)
WC2.0 Memory Requirements (1997)
Authorize.net setup (2002)
Fun with Dates - revisited (1997)
suggestion (1997)
Searchtitle (2000)
WebCatalog can't find database (1997)
RE: Help name our technology! (1997)
Giving out error pages (1997)
WebCat & Liststar ... & Rumpus, too! (1997)
Security Issue (1999)
WebCatalog for Postcards ? (1997)
RE: type 2 errors with ssl server (1997)
Thanks ! (1997)
EMailFolder vs. EMailCompleted folder (2002)
multi-paragraph fields (1997)
[URL] and [showif] or [hideif] comparisons (2003)