New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

memory read overrun in test35 #24

mlite opened this Issue Sep 3, 2018 · 1 comment


None yet
2 participants
Copy link

mlite commented Sep 3, 2018

This is the runtime error msg.

DTS_MSG: Stensal C/C++ DTS detected a fatal program error!
DTS_MSG: Continuing the execution will cause unexpected behaviors, abort!
DTS_MSG: Reading 4 bytes at 0xffffced8 will read undefined values.
DTS_MSG: Diagnostic information:

  • The object to-be-read (start:0xffffcecc, size:12 bytes) is allocated at
  • file:/home/sbuilder/workspace/tpl/tests/test35.c::6, 18
  • 0xffffcecc 0xffffced7
  • +------------------------+
  • | the object to-be-read |......
  • +------------------------+
  •                        ^~~~~~~~~~
  •    the read starts at 0xffffced8 that is right after the object end.
  • Stack trace (most recent call first):
    -[1] file:/home/sbuilder/workspace/tpl/tests/test35.c::10, 38
    -[2] file:/musl-1.1.10/src/env/__libc_start_main.c::168, 11

This comment has been minimized.

Copy link

troydhanson commented Sep 5, 2018

I believe a6d734c to test35 fixes this.

@troydhanson troydhanson closed this Sep 5, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment