Web lists-archives.com

Re: Cygwin debugger crashes every time on following a unique_ptr

On 2019-05-26 01:51, Mark Geisert wrote:
> Mark Geisert wrote:
>> I can confirm this issue.  The fault is reported by Cygwin's memcpy().  I'm
>> having a heck of a time trying to get a gdb backtrace to show what in gdb itself
>> is likely calling memcpy() with a bad arg.
> This seems to be a regression in gdb 8.1.1.  If you downgrade to gdb 8.0.1 on
> Cygwin the fault does not occur.  Obviously just a workaround.
> I'm curious which version of gdb the OP was using within CLion.  In any case
> this issue should be pointed out upstream (to the gdb developers).  It doesn't
> seem to be a Cygwin issue after all.
You should follow JetBrains debugger problem reporting guidelines (as you should
Cygwin's) if that is relevant to your use:

You should push this back to JetBrains for proper reproduction and diagnosis (if
Cygwin volunteers can do it in hours, JetBrains should have some employees
capable to do so) and have them report it to their upstream, which may be
https://sourceware.org/gdb/ also hosted on SourceWare like Cygwin.

CLion 2019.1 may now support gdb 8.1:
and fixes are available in upgrades:
but below reports CLion 2018.1.6 uses gdb 8.0.1 - you should not use newer gdb
capabilities than supported by the installed release:
and that info should be available for each release and up to date for the
current release.

Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.

Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple