From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) by sourceware.org (Postfix) with ESMTPS id 26DF23834E42 for ; Wed, 22 Jun 2022 08:49:51 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 26DF23834E42 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ej1-x634.google.com with SMTP id lw20so10350726ejb.4 for ; Wed, 22 Jun 2022 01:49:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=lrO8fE0UBHAWitwFg0zNTKJ/hNjCQTkTwHJYYXmAOJg=; b=XbMvtNyhagsUuLuGhJqg0yv7nYoCFSwigjXbrCjcz1Gndi6viZc9Hh4UkIYVKFWl6e tmTUBd9Xyv/fb1lbjgJCePd0/2RCyxIY2DTX/598cXPk+iGDXGWzLz6Yxx9ytJxB7xwj LaMds8CI1VgBgd7JNdtCjzTQlwVMgZsTPVNhGcIOxLOgLiTUV6y2Qea4oErtJLiHWMaF CiCuHDAUGGWM65WNP3DZQY2SDgQrIOuS8HsBgOsXe218JJge309W5FaJadOw99CM6vOo H3ofxhnQiAeX/Aib/wTMQ3GB0hg14zQqHGd6Vu/8fAek/xy8AefVxyTvYjuuQDokn115 su1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=lrO8fE0UBHAWitwFg0zNTKJ/hNjCQTkTwHJYYXmAOJg=; b=ymMClxcjt/agt07561tdq9+kIKoVWvBtd7KiXWcdRtwKgHPBWQsESKyHyNHM+68AQj IKS4qJInUIZkwyH7nu04mOaH9K3t7eb35F54jMh+Uw/AVmo64zjx7u2X8mT3t3KtuNr9 z2rrt7XZGKLJkT+AU/aG+Z5ThHzomcchwTyxCyiWXSkyC3iweD8FZLK6lt8hsp8irZV9 f4pflAYnUqKXPVc5fahp4wwp5V740H+FGPukPsfdCfNvI0RB3XydQd/CS0nhEdW/N6l2 uIMlSgfRguWyN9spfVkYdc1SGlPTU0RnSl0yw91h3yysbH0fJ6aQ6og3pJiPqVezxP11 isQQ== X-Gm-Message-State: AJIora8OrNnQOLGZJ1eK+IorVRbnajt8BEn6HzRB6X/8GUtH0NShFRY8 /czuYe/Q1fdzrfrGFWlIfKYGFtguv/T3VJV+gAz+Q8A+WyE= X-Google-Smtp-Source: AGRyM1sx1ULVWo8qNChc84bwCJlIqBKyoG4s4rLxdKqrTVla7Fj13YlGlVt2vGlsZP8AQn5YvTqenyelt89gf4DIiUU= X-Received: by 2002:a17:906:2086:b0:712:1257:77bf with SMTP id 6-20020a170906208600b00712125777bfmr2131022ejq.655.1655887789844; Wed, 22 Jun 2022 01:49:49 -0700 (PDT) MIME-Version: 1.0 References: <703a2749-e144-8264-4001-4bdc9056445c@dronecode.org.uk> In-Reply-To: <703a2749-e144-8264-4001-4bdc9056445c@dronecode.org.uk> From: Ariel Burbaickij Date: Wed, 22 Jun 2022 10:49:38 +0200 Message-ID: Subject: Re: dumper does not dump To: Jon Turney Cc: The Cygwin Mailing List X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jun 2022 08:49:53 -0000 > Can you point out what documentation mentions that so we can fix it! The very source of it: https://sourceware.org/legacy-ml/cygwin-patches/2000-q3/msg00041.html ;-). OK, yes, I see that -c is not there anymore -- the things, they are changing. Let me try what you suggest and see where it brings me. Kind Regards Ariel Burbaickij Have just followed what is there. On Wed, Jun 22, 2022 at 10:38 AM Jon Turney wrote: > On 22/06/2022 08:19, Ariel Burbaickij wrote: > > Hello cygwin group, > > I am facing the following issue: > > there is GTK application reproducibly "core dumping" (in quotation marks > > because so far there is no comfortable core file that we know and learnt > to > > love from native *NIX, of course) upon me selecting a certain menu entry. > > Now, I went and enabled dumper (version 3.3.5) by means of setting CYGWIN > > environment variable to > > > > error_start=c:\cygwin64\bin\dump.cmd > > > > with backslashes properly escaped and dump.cmd set to: > > c:\cygwin64\bin\dumper.exe -d -c %1 %2 > > '-c' is not a valid option for dumper. > > Can you point out what documentation mentions that so we can fix it! > > It's awkward because a new terminal is started for dumper, which > disappears almost immediately, but if you add 'pause' at the end of your > .cmd file, you should see it. > > But I think you are overcomplicating things here: 'export > CYGWIN=error_start=dumper' should work (or even 'error_start=gdb' if > you're just going to load the core dump into gdb afterwards...) > > > I am on Windows 10 here. > > > > Now, all I get for it is following: > > > > *** starting debugger for pid 2876, tid 16112 > > > > after which it hangs indefinitely and nothing more happens. > > Cygwin is waiting for the debugger to attach, indefinitely since it > never happens here. > > > Any ideas, suggestions how to move on here ? >