public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
* Nedit unstable after 1.7.0-56 update -- clipboard copy segfault
@ 2009-08-03 15:49 Rob Gillen
  2009-08-06  8:11 ` -clipboard has been broken by Microsoft .NET sp1 Duane Krings
  2009-11-01 22:30 ` Nedit unstable after 1.7.0-56 update -- clipboard copy segfault Yaakov (Cygwin/X)
  0 siblings, 2 replies; 7+ messages in thread
From: Rob Gillen @ 2009-08-03 15:49 UTC (permalink / raw)
  To: cygwin-xfree

I'm not sure if this is a X11 issue or a cygwin update issue.  I'm
leaning toward the latter, but figured that I should start on this
list.

After updating my 1.7 installation to the latest cygwin DLL, my xterms
were finally able to exec bash (with some issues from bash as well),
but I immediately ran into segfault when copying to the clipboard from
nedit.  I.e. as soon as I highlighted a line of text and hit CTRL-C,
it dumped core.  The (probably mostly useless) stackdump:

    Exception: STATUS_ACCESS_VIOLATION at eip=6B12954A
    eax=01000345 ebx=00806C00 ecx=00968528 edx=00000000 esi=00806C00
edi=01000345
    ebp=0022C578 esp=0022C520 program=C:\cygwin1.7\bin\nedit.exe, pid
4684, thread main
    cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023
    Stack trace:
    Frame     Function  Args
    0022C578  6B12954A  (00000008, 00000000, 00000020, 00000000)
    0022C5D8  6B129B86  (00806C00, 01000345, 00962F70, 00962FE0)
    0022C618  004544F1  (009AA390, 0E3C1BF7, 0022CA50, 00000000)
    0022C638  0044E011  (009AA390, 0E3C1BF7, 0022C698, 689E880A)
    0022C648  0044FD2E  (009AA390, 0022CA50, 00000000, 0022C6B0)
    0022C698  689E880A  (009AA390, 004AC7AF, 0022CA50, 00000000)
    0022C6C8  004090A4  (00971D78, 004AC7AF, 0022C710, 0022C710)
    0022C6F8  689C176B  (00971D78, 00970C18, 0022C710, 0022C71F)
    0022C728  6B169C6B  (00971D78, 0022CA50, 00000000, 0022C768)
    0022C778  6B160288  (009648C0, 00971D78, 0022CA50, 0022C8FA)
    0022C908  689CE2DC  (009648C0, 0022CA50, 00811ADC, 00811ADC)
    0022CA08  689CE91D  (0022CA50, 00000001, 008974A0, 00000001)
    0022CA38  689CDA14  (0022CA50, 0022CA50, 008BCFB8, 689C1332)
    0022CAB8  689CDB85  (007C2B20, 0022CC50, 0022CB40, 00000001)
    0022CD78  00401E9E  (00000002, 61206E9C, 007C00F8, 61004A2D)
    0022CDA8  61006E0A  (00000000, 0022CDE0, 610066F0, 7FFDE000)
    End of stack trace (more stack frames may be present)

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* -clipboard has been broken by Microsoft .NET sp1
  2009-08-03 15:49 Nedit unstable after 1.7.0-56 update -- clipboard copy segfault Rob Gillen
@ 2009-08-06  8:11 ` Duane Krings
  2009-08-11 11:49   ` Marc Girod
  2009-11-01 22:30 ` Nedit unstable after 1.7.0-56 update -- clipboard copy segfault Yaakov (Cygwin/X)
  1 sibling, 1 reply; 7+ messages in thread
From: Duane Krings @ 2009-08-06  8:11 UTC (permalink / raw)
  To: cygwin-xfree

Microsoft's latest high priority update for .NET 3.5 SP1 for XP has broken the -clipboard option to XWin.
I have seen the following behavior on 2 PCs so far using cygwin 1.5:
   before the MS update all works fine
   after the update, any paste function in vim, or xterm, or wherever causes an immediate crash
   removing the -clipboard option to the XWin and everything works fine again (except of coarse copying between X and 
windows)

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: -clipboard has been broken by Microsoft .NET sp1
  2009-08-06  8:11 ` -clipboard has been broken by Microsoft .NET sp1 Duane Krings
@ 2009-08-11 11:49   ` Marc Girod
  2009-10-21 12:17     ` Anonymous bin ich
  0 siblings, 1 reply; 7+ messages in thread
From: Marc Girod @ 2009-08-11 11:49 UTC (permalink / raw)
  To: cygwin-xfree



Duane Krings wrote:
> 
>    removing the -clipboard option to the XWin and everything works fine
> again (except of coarse copying between X and windows)
> 
I am using Vista, and XWin -clipboard
I had, long ago already, to disable the 'Office Clipboard', which I did from
Outlook, by clicking away all the options.
It did not disable the 'clipboard' by any means: I can still happily
copy/paste between Windows (including Outlook) and cygwin (e.g. cat
/dev/clipboard).

Marc
-- 
View this message in context: http://www.nabble.com/Nedit-unstable-after-1.7.0-56-update----clipboard-copy-segfault-tp24793154p24916048.html
Sent from the cygwin-xfree mailing list archive at Nabble.com.


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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: -clipboard has been broken by Microsoft .NET sp1
  2009-08-11 11:49   ` Marc Girod
@ 2009-10-21 12:17     ` Anonymous bin ich
  0 siblings, 0 replies; 7+ messages in thread
From: Anonymous bin ich @ 2009-10-21 12:17 UTC (permalink / raw)
  To: cygwin-xfree

[-- Attachment #1: Type: text/plain, Size: 1496 bytes --]

Hi!

I am running "XWin -multiwindow" (without any other option), and nedit
still segfaults on pasting anything (even something copied from nedit
itself). I am attaching both coredump and cygcheck.out.

Kindly tell me if this is actually the same problem as described
before, because I am also having stability problems with vim.exe (not
gvim.exe, but vim.exe in xterm)

Regards,




On Tue, Aug 11, 2009 at 1:49 PM, Marc Girod <marc.girod@gmail.com> wrote:
>
>
> Duane Krings wrote:
>>
>>    removing the -clipboard option to the XWin and everything works fine
>> again (except of coarse copying between X and windows)
>>
> I am using Vista, and XWin -clipboard
> I had, long ago already, to disable the 'Office Clipboard', which I did from
> Outlook, by clicking away all the options.
> It did not disable the 'clipboard' by any means: I can still happily
> copy/paste between Windows (including Outlook) and cygwin (e.g. cat
> /dev/clipboard).
>
> Marc
> --
> View this message in context: http://www.nabble.com/Nedit-unstable-after-1.7.0-56-update----clipboard-copy-segfault-tp24793154p24916048.html
> Sent from the cygwin-xfree mailing list archive at Nabble.com.
>
>
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:       http://cygwin.com/problems.html
> Documentation:         http://x.cygwin.com/docs/
> FAQ:                   http://x.cygwin.com/docs/faq/
>
>



-- 
Regards,

[-- Attachment #2: nedit.exe.stackdump --]
[-- Type: application/octet-stream, Size: 1348 bytes --]

Exception: STATUS_ACCESS_VIOLATION at eip=6B12954A
eax=00A0018E ebx=007EBDC0 ecx=0093F908 edx=00000000 esi=007EBDC0 edi=00A0018E
ebp=0022C578 esp=0022C520 program=C:\cygwin\bin\nedit.exe, pid 1600, thread main
cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023
Stack trace:
Frame     Function  Args
0022C578  6B12954A  (00000008, 00000000, 00000020, 00000000)
0022C5D8  6B129B86  (007EBDC0, 00A0018E, 0093F1F0, 0093F1F8)
0022C618  004544F1  (009040A0, 04BE34F9, 0022CA50, 00000000)
0022C638  0044E011  (009040A0, 04BE34F9, 0022C698, 689E880A)
0022C648  0044FD2E  (009040A0, 0022CA50, 00000000, 0022C6B0)
0022C698  689E880A  (009040A0, 004AC7AF, 0022CA50, 00000000)
0022C6C8  004090A4  (0088FA20, 004AC7AF, 0022C710, 0022C710)
0022C6F8  689C176B  (0088FA20, 0088E848, 0022C710, 0022C71F)
0022C728  6B169C6B  (0088FA20, 0022CA50, 00000000, 0022C768)
0022C778  6B160288  (0086B7F8, 0088FA20, 0022CA50, 0022C8FA)
0022C908  689CE2DC  (0086B7F8, 0022CA50, 007F6C8C, 007F6C8C)
0022CA08  689CE91D  (0022CA50, 00000001, 00925CA8, 00000001)
0022CA38  689CDA14  (0022CA50, 0022CA50, 00926300, 689C1332)
0022CAB8  689CDB85  (007C2AE0, 00000000, 00000000, 00000000)
0022CD78  00401E9E  (00000001, 61210234, 007C00F8, 61004A2D)
0022CDA8  61006DEA  (00000000, 0022CDE0, 610066F0, 7FFDF000)
End of stack trace (more stack frames may be present)

[-- Attachment #3: cygcheck.out --]
[-- Type: application/octet-stream, Size: 44134 bytes --]

[-- Attachment #4: Type: text/plain, Size: 223 bytes --]

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Nedit unstable after 1.7.0-56 update -- clipboard copy segfault
  2009-08-03 15:49 Nedit unstable after 1.7.0-56 update -- clipboard copy segfault Rob Gillen
  2009-08-06  8:11 ` -clipboard has been broken by Microsoft .NET sp1 Duane Krings
@ 2009-11-01 22:30 ` Yaakov (Cygwin/X)
  2009-11-27  9:00   ` Albrecht Schlosser
  2010-01-21  5:40   ` Jim Weisert
  1 sibling, 2 replies; 7+ messages in thread
From: Yaakov (Cygwin/X) @ 2009-11-01 22:30 UTC (permalink / raw)
  To: cygwin-xfree

On 03/08/2009 10:49, Rob Gillen wrote:
> After updating my 1.7 installation to the latest cygwin DLL, my xterms
> were finally able to exec bash (with some issues from bash as well),
> but I immediately ran into segfault when copying to the clipboard from
> nedit.  I.e. as soon as I highlighted a line of text and hit CTRL-C,
> it dumped core.

Actually, this appears to be a known problem with lesstif (the Motif 
implementation which nedit and other programs use).  It looks like other 
distros may have a fix, but it will take me a little while until I can 
focus on this.


Yaakov
Cygwin/X

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Nedit unstable after 1.7.0-56 update -- clipboard copy segfault
  2009-11-01 22:30 ` Nedit unstable after 1.7.0-56 update -- clipboard copy segfault Yaakov (Cygwin/X)
@ 2009-11-27  9:00   ` Albrecht Schlosser
  2010-01-21  5:40   ` Jim Weisert
  1 sibling, 0 replies; 7+ messages in thread
From: Albrecht Schlosser @ 2009-11-27  9:00 UTC (permalink / raw)
  To: cygwin-xfree

Yaakov (Cygwin/X) wrote:
> On 03/08/2009 10:49, Rob Gillen wrote:
>> After updating my 1.7 installation to the latest cygwin DLL, my xterms
>> were finally able to exec bash (with some issues from bash as well),
>> but I immediately ran into segfault when copying to the clipboard from
>> nedit.  I.e. as soon as I highlighted a line of text and hit CTRL-C,
>> it dumped core.
> 
> Actually, this appears to be a known problem with lesstif (the Motif 
> implementation which nedit and other programs use).  It looks like other 
> distros may have a fix, but it will take me a little while until I can 
> focus on this.

FWIW, if this is still in the pipeline...

I'm still on cygwin 1.5, but I experienced similar crashes witn nedit.
I don't remember that it crashed when hitting CTRL-C, but it crashes
most of the time if I hit CTRL-V to paste some text (sometimes it
works, though). The workaround is to use middle-mouse click to paste
(and maybe also the edit/paste menu).

Albrecht



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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Nedit unstable after 1.7.0-56 update -- clipboard copy segfault
  2009-11-01 22:30 ` Nedit unstable after 1.7.0-56 update -- clipboard copy segfault Yaakov (Cygwin/X)
  2009-11-27  9:00   ` Albrecht Schlosser
@ 2010-01-21  5:40   ` Jim Weisert
  1 sibling, 0 replies; 7+ messages in thread
From: Jim Weisert @ 2010-01-21  5:40 UTC (permalink / raw)
  To: cygwin-xfree

Yaakov (Cygwin/X) wrote:
> On 03/08/2009 10:49, Rob Gillen wrote:
>> After updating my 1.7 installation to the latest cygwin DLL, my xterms
>> were finally able to exec bash (with some issues from bash as well),
>> but I immediately ran into segfault when copying to the clipboard from
>> nedit.  I.e. as soon as I highlighted a line of text and hit CTRL-C,
>> it dumped core.
> 
> Actually, this appears to be a known problem with lesstif (the Motif 
> implementation which nedit and other programs use).  It looks like other 
> distros may have a fix, but it will take me a little while until I can 
> focus on this.

I've encountered the same problem with copying to the clipboard within 
nedit. As a workaround, I downgraded to libXm2-0.95.0-2, as the problem 
does not appears to occur with this older version of the lesstif.

There is a patch to lesstif-0.95.2 described in 
http://sourceforge.net/tracker/?func=detail&aid=2846234&group_id=8596&atid=308596
Might this be the fix? (I don't have the knowledge to rebuild libXm2 
myself, so I'm unable to test the patch.)


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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-01-21  5:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-03 15:49 Nedit unstable after 1.7.0-56 update -- clipboard copy segfault Rob Gillen
2009-08-06  8:11 ` -clipboard has been broken by Microsoft .NET sp1 Duane Krings
2009-08-11 11:49   ` Marc Girod
2009-10-21 12:17     ` Anonymous bin ich
2009-11-01 22:30 ` Nedit unstable after 1.7.0-56 update -- clipboard copy segfault Yaakov (Cygwin/X)
2009-11-27  9:00   ` Albrecht Schlosser
2010-01-21  5:40   ` Jim Weisert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).