opening bugs for OpenBSD 6.0

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

opening bugs for OpenBSD 6.0

Alceu R. de Freitas Jr.
Hi,

I think I spotted a bug for OpenBSD 6.0:

https://github.com/perl5-dbi/DBD-mysql/issues/120

But since 6.1 is already available (and I couldn't reproduce the error
for it), I'm not sure if I should open a bug at all.

Could someone please give some hints about that?

Thanks!

Alceu

Reply | Threaded
Open this post in threaded view
|

Re: opening bugs for OpenBSD 6.0

Stuart Henderson
On 2017-04-15, Alceu Rodrigues de Freitas Junior <[hidden email]> wrote:

> Hi,
>
> I think I spotted a bug for OpenBSD 6.0:
>
> https://github.com/perl5-dbi/DBD-mysql/issues/120
>
> But since 6.1 is already available (and I couldn't reproduce the error
> for it), I'm not sure if I should open a bug at all.
>
> Could someone please give some hints about that?
>
> Thanks!
>
> Alceu
>
>

The local perl build that is showing "undefined symbol 'recallocarray'"
is broken.

The "DBD::mysql::st DESTROY failed: \xdf\xdf\xdf[...]" suggest a use-after-free
and I do reproduce this in -current. See the explanation of 'j "Less junking"
in http://man.openbsd.org/malloc.conf.

Reply | Threaded
Open this post in threaded view
|

Re: opening bugs for OpenBSD 6.0

Alceu R. de Freitas Jr.
Em 16/04/2017 09:16, Stuart Henderson escreveu:

> On 2017-04-15, Alceu Rodrigues de Freitas Junior <[hidden email]> wrote:
>> Hi,
>>
>> I think I spotted a bug for OpenBSD 6.0:
>>
>> https://github.com/perl5-dbi/DBD-mysql/issues/120
>>
>> But since 6.1 is already available (and I couldn't reproduce the error
>> for it), I'm not sure if I should open a bug at all.
>>
>> Could someone please give some hints about that?
>>
>> Thanks!
>>
>> Alceu
>>
>>
>
> The local perl build that is showing "undefined symbol 'recallocarray'"
> is broken.

How so? I mean, what can I check in the compile process to make it right?

I compiled the interpreter with perlbrew, used different versions and
the results are the same.

Should I review any specific notes about compiling perl for OpenBSD?
Please let me know if there are any references about it.

> The "DBD::mysql::st DESTROY failed: \xdf\xdf\xdf[...]" suggest a use-after-free
> and I do reproduce this in -current. See the explanation of 'j "Less junking"
> in http://man.openbsd.org/malloc.conf.
>

I check this out, thanks!

Reply | Threaded
Open this post in threaded view
|

Re: opening bugs for OpenBSD 6.0

Stuart Henderson
On 2017-04-17, Alceu Rodrigues de Freitas Junior <[hidden email]> wrote:

> Em 16/04/2017 09:16, Stuart Henderson escreveu:
>>
>> The local perl build that is showing "undefined symbol 'recallocarray'"
>> is broken.
>
> How so? I mean, what can I check in the compile process to make it right?
>
> I compiled the interpreter with perlbrew, used different versions and
> the results are the same.
>
> Should I review any specific notes about compiling perl for OpenBSD?
> Please let me know if there are any references about it.

I have no idea about perlbrew or locally compiled versions of perl, I
just build it as part of the OpenBSD source build. But whatever perlbrew
is doing isn't working correctly on your system, something is getting
mixed up with library versions. recallocarray(3) is in libc but was only
added recently.