-
Notifications
You must be signed in to change notification settings - Fork 536
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
rsz: use adequate buffers for each operation #5752
rsz: use adequate buffers for each operation #5752
Conversation
Signed-off-by: Arthur Koucher <[email protected]>
…d repairing tests Signed-off-by: Arthur Koucher <[email protected]>
…ize ok Signed-off-by: Arthur Koucher <[email protected]>
Signed-off-by: Arthur Koucher <[email protected]>
clang-tidy review says "All clean, LGTM! 👍" |
clang-tidy review says "All clean, LGTM! 👍" |
Signed-off-by: Arthur Koucher <[email protected]>
…ing uses the same buffers Signed-off-by: Arthur Koucher <[email protected]>
clang-tidy review says "All clean, LGTM! 👍" |
@maliberty Could you take a look if the approach here seems reasonable? I updated the description with the changes I added. |
Signed-off-by: Arthur Koucher <[email protected]>
@maliberty @precisionmoon gdb shows that the failures in the Cpp tests happens, because some tests need to create a dbSta object. It blows up when it tries to create the sta::PatternMacth from within the instantiation of the new BufferUseAnalyser member of dbSta. However, it looks like the segfault comes from within the Tcl library (?):
Is there something that need to be manually initialized before we can access the Tcl libraries from sta? |
Is interp_ null? |
The problem is you are initializing in the ctor but the call sequence is
So initVars hasn't happened yet. I suggest dbSta contain by unique_ptr rather than by value and initialization happens in initVars. |
Signed-off-by: Arthur Koucher <[email protected]>
clang-tidy review says "All clean, LGTM! 👍" |
…fer selection strategy Signed-off-by: Arthur Koucher <[email protected]>
c8deaae
to
5ee9d16
Compare
clang-tidy review says "All clean, LGTM! 👍" |
@precisionmoon @maliberty After updating the FlowTests results and the last changes to avoid the rmp cpp tests segfaults all tests are passing. I need to run a secure-ci and there'll probably be many metrics to update. I'll wait for #5790 to be merged before I run it. |
@AcKoucher 5790 was merged |
There are .ok files which haven't been properly updated on master. On src/gpl/test/simple01-td-tune.ok I see:
I'm fixing the ones regarding this PR. |
Signed-off-by: Arthur Koucher <[email protected]>
Running CI |
clang-tidy review says "All clean, LGTM! 👍" |
Signed-off-by: Arthur Koucher <[email protected]>
clang-tidy review says "All clean, LGTM! 👍" |
For #5577,
Replaces #5693.
Changes:
Note: On the previous PR the increase in the number of hold buffers inserted was leading gcd_resize rsz regression test to ERROR, with the changes here we have a subtle increase in the number of hold buffers inserted (99 --> 105), however it doesn't blow up.