Unable to open the clipboard

Mark Geisert mark@maxrnd.com
Sat Jan 22 08:35:17 GMT 2022


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


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /