DBD-mysql icon indicating copy to clipboard operation
DBD-mysql copied to clipboard

Test failures on OpenBSD 6.4

Open dveeden opened this issue 6 years ago • 6 comments

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

dveeden avatar Jan 29 '19 07:01 dveeden

This looks like a same issue as for DBD::MariaDB from comment: https://github.com/gooddata/DBD-MariaDB/issues/80#issuecomment-404682682 (Temporary) fix for DBD::MariaDB: https://github.com/gooddata/DBD-MariaDB/commit/77521260a8e6c987e920f425b4c5dce4a6403456 It seems that OpenBSD malloc overhead is bigger then on Linux. Some more debugging is needed.

pali avatar Jan 29 '19 08:01 pali

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 avatar Jan 29 '19 08:01 dveeden

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

dveeden avatar Jan 29 '19 14:01 dveeden

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

dveeden avatar Jan 29 '19 14:01 dveeden

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 avatar Jan 29 '19 14:01 dveeden

The plan here is to re-write the test.

dveeden avatar Feb 06 '19 08:02 dveeden