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

Test failures on OpenBSD 6.4 #299

Open
dveeden opened this issue Jan 29, 2019 · 6 comments
Open

Test failures on OpenBSD 6.4 #299

dveeden opened this issue Jan 29, 2019 · 6 comments
Labels

Comments

@dveeden
Copy link
Collaborator

dveeden commented Jan 29, 2019

http://www.cpantesters.org/cpan/report/16a30d94-22ba-11e9-b2ea-9ec3a8a2fe4a
Might be a good opportunity to look at #120

@dveeden dveeden self-assigned this Jan 29, 2019
@pali
Copy link
Member

pali commented Jan 29, 2019

This looks like a same issue as for DBD::MariaDB from comment: perl5-dbi/DBD-MariaDB#80 (comment)
(Temporary) fix for DBD::MariaDB: perl5-dbi/DBD-MariaDB@7752126
It seems that OpenBSD malloc overhead is bigger then on Linux. Some more debugging is needed.

@dveeden
Copy link
Collaborator Author

dveeden commented Jan 29, 2019

Note that p5-Proc-ProcessTable-0.53p1 results in

t/60leaks.t ............................. skipped: module Proc::ProcessTable does not support size attribute on current platform

So this needs a newer version of Proc::ProcessTable (the test report says 0.55)

@dveeden
Copy link
Collaborator Author

dveeden commented Jan 29, 2019

OpenBSD has MALLOC_OPTIONS, but using that to enable/disable features doesn't seem to make a real difference.

@dveeden
Copy link
Collaborator Author

dveeden commented Jan 29, 2019

This seems to happen with both clang and gcc (as expected)

@dveeden
Copy link
Collaborator Author

dveeden commented Jan 29, 2019

https://www.openbsd.org/papers/eurobsdcon2009/otto-malloc.pdf
https://www.openbsd.org/innovations.html
"malloc(3) randomization implemented by Thierry Deval. Guard pages and randomized (delayed) free added by Ted Unangst. Reimplemented by Otto Moerbeek for OpenBSD 4.4. "

@dveeden
Copy link
Collaborator Author

dveeden commented Feb 6, 2019

The plan here is to re-write the test.

@dveeden dveeden removed their assignment Jan 12, 2022
@dveeden dveeden added the bsd label Aug 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants