Skip to content
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

Unhandled exception thrown: read access violation. **this** was 0xFFFFFFFFFFFFFFF7. #417

Open
1 of 5 tasks
jron53 opened this issue Jul 28, 2024 · 0 comments
Open
1 of 5 tasks

Comments

@jron53
Copy link

jron53 commented Jul 28, 2024

Bug category

  • bug - compilation error
  • bug - compilation warning
  • bug - runtime error
  • bug - runtime warning
  • bug - logic error

Describe the bug

Steps to Reproduce

Copied an example from your website:
#include <cmath>
#include <matplot/matplot.h>

int main() {
    using namespace matplot;

    std::vector<double> x = linspace(0, 2 * pi);
    std::vector<double> y1 = transform(x, [](auto x) { return sin(x); });
    std::vector<double> y2 = transform(x, [](auto x) { return sin(x - 0.25); });
    std::vector<double> y3 = transform(x, [](auto x) { return sin(x - 0.5); });
    plot(x, y1, x, y2, "--", x, y3, ":");

    show();
    return 0;
}

Output
std::runtime_error exception, read access violation

Microsoft C++ exception: std::runtime_error at memory location 0x000000947E6FF060.

When I continue to debug I see:

this was 0xFFFFFFFFFFFFFFF7.```
</details>

**Platform**
<!-- Mark your platform with an x-->
- [ ] *cross-platform issue - linux*
- [x] *cross-platform issue - windows*
- [ ] *cross-platform issue - macos*

**Environment Details:**
 - OS: Windows 10 pro
 - OS Version: 
 - Compiler:
 - Compiler version:

**Additional context**
<!--optional-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant