delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/01/22/03:36:09

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 6BD333858431
Authentication-Results: sourceware.org;
dmarc=none (p=none dis=none) header.from=maxrnd.com
Authentication-Results: sourceware.org; spf=none smtp.mailfrom=maxrnd.com
Subject: Re: Unable to open the clipboard
To: cygwin AT cygwin DOT com
References: <003beea2-b710-f0bd-d323-0dd78574c8ab AT gmail DOT com>
<804ad578-4cbb-c4b4-f0ae-1717fb4b4af9 AT maxrnd DOT com>
<0e94e79a-d827-e67f-6e3f-c866c1b84c77 AT gmail DOT com>
<727e2220-77f5-79e5-abf3-3dc65ffd0ef5 AT maxrnd DOT com>
<cfa86dae-7822-c916-c08e-4c82721f38e3 AT maxrnd DOT com>
<135344c6-0211-4779-7a04-7b081a37f30c AT gmail DOT com>
<21a16bfc-5b83-d0c9-4cf8-7aff4e46f2a5 AT gmail DOT com>
<ec70b02e-cf0e-c56f-db41-b678dacc04f5 AT maxrnd DOT com>
<88da5384-72c5-7c45-b0d5-68703842f14c AT maxrnd DOT com>
<20e4a66c-476c-e059-81df-d85c2d3a8308 AT gmail DOT com>
From: Mark Geisert <mark AT maxrnd DOT com>
Message-ID: <0b92b1a2-2206-6022-cbf2-bdc870003ead@maxrnd.com>
Date: Sat, 22 Jan 2022 00:35:17 -0800
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101
Firefox/52.0 SeaMonkey/2.49.4
MIME-Version: 1.0
In-Reply-To: <20e4a66c-476c-e059-81df-d85c2d3a8308@gmail.com>
X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, BODY_8BITS,
KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, SPF_HELO_NONE,
SPF_NONE, TXREP autolearn=no autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 20M8a8Fr007291

Hi Marco,

Marco Atzeri wrote:
> On 10.01.2022 07:44, Mark Geisert wrote:
>>> Marco Atzeri wrote:
>>>> On 04.01.2022 19:08, Marco Atzeri wrote:
>>>>> On 04.01.2022 06:15, Mark Geisert wrote:
>>>>
>>>> Hi Mark,
>>>> just found another issue
>>>>
>>>> $ putclip < Announce_octave
>>>> Aborted (core dumped)
>>>>
>>>> It seems caused by the longest line (86 characters)
>>>>
>>>> $ cat Announce_octave  | putclip
>>>> Aborted (core dumped)
>>>>
>>>> $ cat Announce_octave | sed -e "/html$/ d" | putclip
>>>>
>>>> of course the Clipboard is fine
>>>>
>>>> $ cat Announce_octave  > /dev/clipboard
>>
>> I'm unable to reproduce.  If you happen to have a putclip.exe.stackdump left 
>> behind, could you post that please?
>>
>> ..mark
>>
> 
> here it is
> 
> $ cat putclip.exe.stackdump
> Stack trace:
> Frame        Function    Args
> 000FFFFB980  001800620B7 (000FFFFBB88, 00000000002, 00000000002, 000FFFFDE50)
> 00000000000  001800640F5 (00000000064, 00000000000, 00000000078, 00000000000)
> 000FFFFC090  001801305E8 (00100000080, 000007E67F0, 00000000000, 00000000000)
> 000000000C1  0018012BD1B (0000000001F, 00000000000, 00000000000, 0018022DE20)
> 00000000609  0018012C125 (7FF84F2EBA68, 000FFFFC420, 7FF84FA9FB43, 00000000000)
> 00000000609  00180212C08 (000FFFFC440, 00000000000, 00800000000, 13920028A3BD5C75)
> 00000000609  00180213065 (00000400028, 7FF84FA958B0, 7FF84FA95990, 00000400028)
> 00000000609  001800D7FE8 (00000000000, 00000400018, 00100000001, 00800000BB0)
> 00000000609  0018018EFFB (00000000000, 00000400018, 00100000001, 00800000BB0)
> 00000000609  0010040162C (37003600000002, EA8087F46D20, 7FF84EA653DC, 00000000000)
> 00000000000  0010040261E (00180049B21, 00180048A70, 00000000002, 00180322FC0)
> 000FFFFCD30  00180049B8D (00000000000, 00000000000, 00000000000, 00000000000)
> 000FFFFFFF0  00180047746 (00000000000, 00000000000, 00000000000, 00000000000)
> 000FFFFFFF0  001800477F4 (00000000000, 00000000000, 00000000000, 00000000000)
> End of stack trace

Thanks for that.  Just wanted to say I haven't forgotten about this report. 
Unlike previous putclip|getclip error reports, this one is a Heisenbug.. difficult 
to reproduce under a debugger or with any change made to the source.  I do have a 
handle on the issue thanks to a malloc debugger: it's a buffer overrun.  Debugging 
continues...

..mark

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019