[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: obscure bug "extern void free (void *__ptr) __attribute__ ((__nothro

From: Chet Ramey
Subject: Re: obscure bug "extern void free (void *__ptr) __attribute__ ((__nothrow__ , __leaf__));"
Date: Thu, 21 Jan 2021 22:01:54 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.6.1

On 1/21/21 5:07 PM, Mathias Steiger wrote:

As such bugs are likely related to buffer issues, maybe even in underlying APIs, and since they only surface after very lengthy mysterious sequences of commands - often just on single specific system installations - I wouldn't know how you can reproduce this in a test.

And that's the problem. While the behavior you're seeing may be related to
some `buffer issue', it's just as likely that there's some issue with how
autoconf-generated scripts manipulate file descriptors or that your script
interacts badly in some other way with what autoconf generates. But without
a way to reproduce it independently, there's no way to tell whether it's a
bug separate from autoconf.

Maybe you have specific testing frameworks for this, that would reduce the whole script to more basic components and which schematically remove or add complexity until the nature of the bug becomes more apparent?

This is why I advised you to report it to bug-autoconf. They're more
familiar with the code generator and what problems might result from it.

Of course in a giant script, all sorts of random things might happen. But this is not one of them.

Maybe. Maybe not. You just don't have enough information to say.

``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]