Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

EXCEPTION ERROR - ACCESS VIOLATION

Tyro
2022-11-04
2023-01-16
  • Tyro - 2022-11-04

    Hello,
    can somebody help me with this sporadic error? How to find the source of this error?
    it just comes from nowhere and haunts :)
    Please see the attached picture
    Regards
    Singh

     
  • PaRo - 2022-11-04

    Hi,
    interesting ..
    this happens when you try to download?
    Which runtime version is in use?

     
  • Tyro - 2022-11-04

    Hi
    i am using 4.4.0.0
    It came yesterday during running. Today it came after i did immediately doing cold start

     
    • zastrow - 2023-01-04

      Did you ever figure this out? I have the same issue.

       
  • sgronchi - 2023-01-05

    An invalid pointer (either because it is 0 or points outside the memory reserved to the program) is being dereferenced. Track down pointers or interfaces that you have in code and check them - you should also be wary of mixing online change and pointers.

     
    • zastrow - 2023-01-05

      This was sort of what I was suspect of but couldn't find any firm documentation on what caused the error. I think I may have resolved my issue but for a long time I thought it was random. Thank you! πŸ˜„

       
  • Tyro - 2023-01-15

    Hello
    i have found the reason why it was happening. i have used an array of ints of dimensions [1..x].
    It never happened since i resize array to [0..x], though i never used first element.

     

Log in to post a comment.