Results 1 to 4 of 4

Thread: [RESOLVED] Checking for Pointer Corrupted, Out of Memory, Stack Space, OR ?????

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Feb 2017
    Posts
    857

    Resolved [RESOLVED] Checking for Pointer Corrupted, Out of Memory, Stack Space, OR ?????

    I have a proprietary routine for which I can't post the code.

    PRIOR to this routine there is another routine which uses the same data, and the program and that Routine work as designed, which indicates the data is OK.

    The Procedure of CONCERN is a loop inside of a loop.
    The loop works for about 2/3's of the loop value, then Fails.
    I appears the loop stops incrementing, and then maybe the loop is timing out.

    I put in line numbers inside the routine (MZTool).
    The procedure ALWAYS fails on the same record.
    In the Error Routine it points to Line 0, which is the Procedure ITSELF that is being called.

    If the loop is timing out, would I gain anything by moving the inside loop to outside the procedure?

    if a pointer is getting lost, after a certain point in the loop -- timeout or other reason --, how does one go about troubleshooting this?

  2. #2

    Thread Starter
    Fanatic Member
    Join Date
    Feb 2017
    Posts
    857

    Re: Checking for Pointer Corrupted, Out of Memory, Stack Space, OR ?????

    It appears something got screwed up in the IDE.

    I removed all code in the procedure and then called it. No Issues.
    But most interesting it impacted my previous procedure (reason I can tell is because this is graphics,
    and it erased the previous graphic from the screen.)
    WEIRD.

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Feb 2017
    Posts
    857

    Re: Checking for Pointer Corrupted, Out of Memory, Stack Space, OR ?????

    Problem SOLVED. My BAD!
    Forgot to put an "Exit Sub" in Front of Label for my Standard Error Routine Label.
    NO Error Routine was included at this time.
    So code was falling through that Label into my Check Code below the Label.
    The "Stop" in the check code caught it AND returned the record I was ON.
    So NO Error, just BAD EYESIGHT. :>( :>(

  4. #4
    PowerPoster Elroy's Avatar
    Join Date
    Jun 2014
    Location
    Near Nashville TN
    Posts
    9,817

    Re: [RESOLVED] Checking for Pointer Corrupted, Out of Memory, Stack Space, OR ?????

    Happens to the best of us.
    Any software I post in these forums written by me is provided "AS IS" without warranty of any kind, expressed or implied, and permission is hereby granted, free of charge and without restriction, to any person obtaining a copy. To all, peace and happiness.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width