Re: Paranoid about serial numbers...not

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 21278
interpreted = N
texte = >The real issue is that WebCatalog is quitting unexpectedly and not getting >a chance to clean up. To clear up the problem initially, you must reboot.>From your description, it sounds like webcat somehow 'implants' the SN into RAM somewhere -- perhaps in a special RAM partition within the MacOS's RAM partition ... and webcat is *supposed to* remove that SN when it quits ... but because webcat crashes instead of quitting properly, its SN is not removed from RAM ... so the next time webcat is launched, it sees the same SN still loaded in the MacOS ... and therefore it tells us that 'the SN is in use'.Is that what's going on here?If that's all there is to it, then this problem has nothing whatsoever to do with SN's, it's a simple matter of identifying the bad webdna code that's causing it to crash in the first place ... unless there's some bad programming code in the webcat application itself, which I sincerely doubt very much.Late this afternoon, after intensive testing for most of the day, I noticed that webcat was crashing only when I tried to load a specific page. That indicates a problem with the code in that page, of course.>We have never been able to duplicate the problem here.I have a surprise for you! :)I've duplicated this problem at least a dozen times -- once or twice yesterday afternoon, and many times again today. This problem *can* be reproduced, and here's the code that will very likely do it for you:
As you can see, this is not the entire page, it's the portion with the bad code. There's a bunch of text and html code preceeding and following this example, and the last tag on the page is an [include footer] tag which works fine when this code is removed.I don't think any of the rest of the page is necessary, however, because as you can see there's no ending bracket on the include tag -- which makes me think that's the problem.Maybe there has to be a certain number of bytes of data following the missing bracket in order to cause a crash, or maybe a missing end bracket like this will crash webcat no matter how many bytes follow. Maybe the crash requires another [include] tag to follow. Maybe the crash requires the > character to follow immediately. I have NOT checked into any of these possibilities myself ...If this code doesn't cause a crash when you paste it into one of your templates, email me again and I'll send you the actual file that crashes my Mac every time I try to load it.I hope this new information helps your debugging efforts. :)Sincerely, Ken Grome 808-737-6499 WebDNA Solutions mailto:ken@webdna.net http://www.webdna.net Associated Messages, from the most recent to the oldest:

    
  1. Re: Paranoid about serial numbers...not (Brian B. Burton 1998)
  2. Re: Paranoid about serial numbers...not (Kenneth Grome 1998)
  3. Re: Paranoid about serial numbers...not (PCS Technical Support 1998)
  4. Re: Paranoid about serial numbers...not (Bill Taylor 1998)
  5. Re: Paranoid about serial numbers...not (Kenneth Grome 1998)
  6. Re: Paranoid about serial numbers...not (Stephan Neumann 1998)
  7. Paranoid about serial numbers...not (PCS Technical Support 1998)
>The real issue is that WebCatalog is quitting unexpectedly and not getting >a chance to clean up. To clear up the problem initially, you must reboot.>From your description, it sounds like webcat somehow 'implants' the SN into RAM somewhere -- perhaps in a special RAM partition within the MacOS's RAM partition ... and webcat is *supposed to* remove that SN when it quits ... but because webcat crashes instead of quitting properly, its SN is not removed from RAM ... so the next time webcat is launched, it sees the same SN still loaded in the MacOS ... and therefore it tells us that 'the SN is in use'.Is that what's going on here?If that's all there is to it, then this problem has nothing whatsoever to do with SN's, it's a simple matter of identifying the bad webdna code that's causing it to crash in the first place ... unless there's some bad programming code in the webcat application itself, which I sincerely doubt very much.Late this afternoon, after intensive testing for most of the day, I noticed that webcat was crashing only when I tried to load a specific page. That indicates a problem with the code in that page, of course.>We have never been able to duplicate the problem here.I have a surprise for you! :)I've duplicated this problem at least a dozen times -- once or twice yesterday afternoon, and many times again today. This problem *can* be reproduced, and here's the code that will very likely do it for you:
As you can see, this is not the entire page, it's the portion with the bad code. There's a bunch of text and html code preceeding and following this example, and the last tag on the page is an [include footer] tag which works fine when this code is removed.I don't think any of the rest of the page is necessary, however, because as you can see there's no ending bracket on the include tag -- which makes me think that's the problem.Maybe there has to be a certain number of bytes of data following the missing bracket in order to cause a crash, or maybe a missing end bracket like this will crash webcat no matter how many bytes follow. Maybe the crash requires another [include] tag to follow. Maybe the crash requires the > character to follow immediately. I have NOT checked into any of these possibilities myself ...If this code doesn't cause a crash when you paste it into one of your templates, email me again and I'll send you the actual file that crashes my Mac every time I try to load it.I hope this new information helps your debugging efforts. :)Sincerely, Ken Grome 808-737-6499 WebDNA Solutions mailto:ken@webdna.net http://www.webdna.net Kenneth Grome

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:

Copyright ? (1997) RE: PIXO support (1997) Re:Copyright ? (1997) [ShowNext] feature in 2.0 (1997) Replacing a Word (1999) [WebDNA] lists opinion - [listwords] delimiter change (2009) Editor Recommendation for NT Users (1998) Bug Report, maybe (1997) Cobalt RaQ2 and WebCatalog: who uses it? (2000) Major Security Hole IIS NT (1998) Is there an alternative to emailer? (1999) Redirect and passing more than one variable... (2002) Determining Method (2000) Proper file locations (1997) Interactive Docs (2007) [include] (1998) [WriteFile] problems (1997) RE: IIS4b2 and WebCatalog b19 (1997) Make sure I understand this??? (1997) Sorting Numbers (1997)