home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / acorn / tech / 699 < prev    next >
Encoding:
Internet Message Format  |  1992-11-19  |  1.9 KB

  1. Path: sparky!uunet!haven.umd.edu!ames!agate!doc.ic.ac.uk!doc.ic.ac.uk!not-for-mail
  2. From: ijp@doc.ic.ac.uk (Ian Palmer)
  3. Newsgroups: comp.sys.acorn.tech
  4. Subject: Basic Crashing
  5. Date: 20 Nov 1992 10:19:55 -0000
  6. Organization: Department of Computing, Imperial College, University of London, UK.
  7. Lines: 37
  8. Message-ID: <1eie4bINN9u8@oak8.doc.ic.ac.uk>
  9. NNTP-Posting-Host: oak8.doc.ic.ac.uk
  10.  
  11. I have an odd problem with a number of programs I have written in
  12. Basic. These programs, which are all based on the same WIMP
  13. interfaceing routines (so probably herein lies the problem)
  14. occasionally, and rather randomly bottom out - or rather Basic bottoms
  15. out for them (how helpful).
  16.  
  17. It always seems to happen when loading another application (ie. it
  18. only happens when loading an application, but not every time you load
  19. an application, if you see what I mean).
  20.  
  21. What happens is that I get a rather useful error message along the
  22. iconbar stating :
  23.  
  24. Attempt to use badly nested error handlers (or R13 corrupt)
  25.  
  26. and I also get an error box from my program stating an address
  27. exception type thing (probably abort on data transfer).
  28.  
  29. This happens under both RO3.00 and RO3.1 (don't know about RO2), and
  30. it seems to happen at the line in the program that calls Wimp_Poll, ie
  31. it must crash when returning to Basic from a wimp_poll.
  32.  
  33. So what can be going wrong. I'm using a buffer of 512 bytes for
  34. passing to the wimp_poll, so it can't be large wimp messages causing
  35. the problem. But it's the complete randomness of it that gets me, all
  36. will be fine, but occasionally (about once a day) the program will
  37. bottom out on me for not good reason.
  38.  
  39. Any handle hints/pointers gratefully received...
  40.  
  41. Ian
  42.  
  43. -- 
  44.                             E-mail : ijp@doc.ic.ac.uk
  45.  ___           __       Snail mail : Department of Computing, Huxley Building,
  46.   /  _   _    /_/ _   / _ _   _  _   Imperial College, 180 Queens Gate,
  47. _/_ (_|_| )  /   (_|_(_| ) )_|/_)    London. SW7 2BZ. England.
  48.