forked from OpenVPN/openvpn
-
Notifications
You must be signed in to change notification settings - Fork 0
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
dmalloc stack overflow #7
Comments
Reported to upstream dmalloc project as j256/dmalloc#4 |
drok
pushed a commit
that referenced
this issue
Apr 1, 2020
This test fails for me due to an apparent bug in dmalloc triggered by cmocka (#7) so it is marked as XFAIL This will allow the test suite (make check) to continue past the failing test. At some point in the future, dmalloc will be fixed, and somone may run into an unexpected pass. When this happens, please revert this commit, and to the commit message the version of dmalloc that is fixed, and cherry-pick it into the tests repo. It is possible that even after dmalloc is fixed, the test will still fail, but due to an actual bug in the buffer implementation. To prepare for this eventuality, a genuine implementation bug will be reported as a HARD_ERROR, so the XFAIL mark will be ignored, and the test suite will report the bug. When dmalloc is fixed, and this commit is reverted, the test will no longer be XFAIL (expected to fail), and any bugs will be reported as normal errors, not HARD_ERRORs.
drok
pushed a commit
that referenced
this issue
Apr 4, 2020
This test fails for me due to an apparent bug in dmalloc triggered by cmocka (#7) so it is marked as XFAIL This will allow the test suite (make check) to continue past the failing test. At some point in the future, dmalloc will be fixed, and somone may run into an unexpected pass. When this happens, please revert this commit, and to the commit message the version of dmalloc that is fixed, and cherry-pick it into the tests repo. It is possible that even after dmalloc is fixed, the test will still fail, but due to an actual bug in the buffer implementation. To prepare for this eventuality, a genuine implementation bug will be reported as a HARD_ERROR, so the XFAIL mark will be ignored, and the test suite will report the bug. When dmalloc is fixed, and this commit is reverted, the test will no longer be XFAIL (expected to fail), and any bugs will be reported as normal errors, not HARD_ERRORs.
drok
pushed a commit
that referenced
this issue
Apr 5, 2020
This test fails for me due to an apparent bug in dmalloc triggered by cmocka (#7) so it is marked as XFAIL This will allow the test suite (make check) to continue past the failing test. At some point in the future, dmalloc will be fixed, and somone may run into an unexpected pass. When this happens, please revert this commit, and to the commit message the version of dmalloc that is fixed, and cherry-pick it into the tests repo. It is possible that even after dmalloc is fixed, the test will still fail, but due to an actual bug in the buffer implementation. To prepare for this eventuality, a genuine implementation bug will be reported as a HARD_ERROR, so the XFAIL mark will be ignored, and the test suite will report the bug. When dmalloc is fixed, and this commit is reverted, the test will no longer be XFAIL (expected to fail), and any bugs will be reported as normal errors, not HARD_ERRORs.
drok
pushed a commit
that referenced
this issue
Apr 8, 2020
This test fails for me due to an apparent bug in dmalloc triggered by cmocka (#7) so it is marked as XFAIL This will allow the test suite (make check) to continue past the failing test. At some point in the future, dmalloc will be fixed, and somone may run into an unexpected pass. When this happens, please revert this commit, and to the commit message the version of dmalloc that is fixed, and cherry-pick it into the tests repo. It is possible that even after dmalloc is fixed, the test will still fail, but due to an actual bug in the buffer implementation. To prepare for this eventuality, a genuine implementation bug will be reported as a HARD_ERROR, so the XFAIL mark will be ignored, and the test suite will report the bug. When dmalloc is fixed, and this commit is reverted, the test will no longer be XFAIL (expected to fail), and any bugs will be reported as normal errors, not HARD_ERRORs.
drok
pushed a commit
that referenced
this issue
Apr 9, 2020
This test fails for me due to an apparent bug in dmalloc triggered by cmocka (#7) so it is marked as XFAIL This will allow the test suite (make check) to continue past the failing test. At some point in the future, dmalloc will be fixed, and somone may run into an unexpected pass. When this happens, please revert this commit, and to the commit message the version of dmalloc that is fixed, and cherry-pick it into the tests repo. It is possible that even after dmalloc is fixed, the test will still fail, but due to an actual bug in the buffer implementation. To prepare for this eventuality, a genuine implementation bug will be reported as a HARD_ERROR, so the XFAIL mark will be ignored, and the test suite will report the bug. When dmalloc is fixed, and this commit is reverted, the test will no longer be XFAIL (expected to fail), and any bugs will be reported as normal errors, not HARD_ERRORs.
drok
pushed a commit
that referenced
this issue
Apr 11, 2020
This test fails for me due to an apparent bug in dmalloc triggered by cmocka (#7) so it is marked as XFAIL This will allow the test suite (make check) to continue past the failing test. At some point in the future, dmalloc will be fixed, and somone may run into an unexpected pass. When this happens, please revert this commit, and to the commit message the version of dmalloc that is fixed, and cherry-pick it into the tests repo. It is possible that even after dmalloc is fixed, the test will still fail, but due to an actual bug in the buffer implementation. To prepare for this eventuality, a genuine implementation bug will be reported as a HARD_ERROR, so the XFAIL mark will be ignored, and the test suite will report the bug. When dmalloc is fixed, and this commit is reverted, the test will no longer be XFAIL (expected to fail), and any bugs will be reported as normal errors, not HARD_ERRORs.
This has been hopefully fixed with a impl of snprintf: j256/dmalloc@313cd95 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When running the unit test base.buffer.kitchen-sink.test with dmalloc 5.5.2 and cmocka 1.0.1, the following stack overflow happens when the test ends:
In order to get _dmalloc_die to stop looping, I instrumented it to detect loops and abort after the 4th loop:
The host OS is CentOS6 32 bit with the following libc* :
The text was updated successfully, but these errors were encountered: