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

Weird C++ test failure in AsyncCallback #847

Closed
cmnrd opened this issue Jan 14, 2022 · 1 comment
Closed

Weird C++ test failure in AsyncCallback #847

cmnrd opened this issue Jan 14, 2022 · 1 comment
Labels
bug Something isn't working cpp Related to C++ target

Comments

@cmnrd
Copy link
Collaborator

cmnrd commented Jan 14, 2022

In this test run a weird error occurred. The AsyncCallback test prints a negative elapsed logical time:

Execution output:
    [INFO]  Starting the execution
    Asynchronous callback 0: Assigned logical time greater than start time by 178363000 nsecs
    Asynchronous callback 1: Assigned logical time greater than start time by 178376000 nsecs
    Asynchronous callback 2: Assigned logical time greater than start time by 470647000 nsecs
    Asynchronous callback 3: Assigned logical time greater than start time by 470654000 nsecs
    Asynchronous callback 4: Assigned logical time greater than start time by 718998000 nsecs
    Asynchronous callback 5: Assigned logical time greater than start time by 719005000 nsecs
    Asynchronous callback 6: Assigned logical time greater than start time by 821232000 nsecs
    Asynchronous callback 7: Assigned logical time greater than start time by 821236000 nsecs
    Asynchronous callback 8: Assigned logical time greater than start time by 972080000 nsecs
    Asynchronous callback 9: Assigned logical time greater than start time by 972089000 nsecs
    Asynchronous callback 10: Assigned logical time greater than start time by 1177969000 nsecs
    Asynchronous callback 11: Assigned logical time greater than start time by 1177979000 nsecs
    Asynchronous callback 12: Assigned logical time greater than start time by 1420456000 nsecs
    Asynchronous callback 13: Assigned logical time greater than start time by 1420466000 nsecs
    Asynchronous callback 14: Assigned logical time greater than start time by -2621918000 nsecs
    ERROR: Expected logical time to be larger than 1500000000 nsecs

I am a bit clueless as to what might be causing this... and this requires further investigation.

@cmnrd cmnrd added bug Something isn't working cpp Related to C++ target labels Jan 14, 2022
@cmnrd
Copy link
Collaborator Author

cmnrd commented Dec 16, 2022

I think this is fixed by lf-lang/reactor-cpp#31. However, there is still another problem occurring for AsyncCallback on Windows: #1502

@cmnrd cmnrd closed this as completed Dec 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cpp Related to C++ target
Projects
None yet
Development

No branches or pull requests

1 participant