[PATCH] fhandler_pipe: add sanity limit to handle loops

Jon Turney jon.turney@dronecode.org.uk
Thu Dec 30 15:44:00 GMT 2021


On 29/12/2021 05:45, Jeremy Drake wrote:
> On Mon, 27 Dec 2021, Jon Turney wrote:
> 
>> On 24/12/2021 00:29, Jeremy Drake via Cygwin-patches wrote:
>>> again, so I can't confirm this.  I took a core with 'dumper' but gdb
>>> doesn't want to load it (it says Core file format not supported, maybe
>>> something with msys2's gdb?).
>>
>> I think you need gdb 11 (for this patch set [1], which is also in cygwin's
>> gdb 10 package) to read x86_64 cygwin core dumps.
>>
>> [1] https://sourceware.org/pipermail/gdb-patches/2020-August/171232.html
> 
> Thanks, this was the problem.  But the core dump wasn't much help anyway,
> the stuff I was interested in was pre-exception, and the backtrace
> seemed to stop at the exception handling (unlike when 'live' debugging
> when the stack trace continued).

Hmm..  That's probably a bug of some sort, since I think the two methods 
should produce the same results...


More information about the Cygwin-patches mailing list