FS#17712 - [lesstif] causes segfaults on copy/paste action

Attached to Project: Arch Linux
Opened by Marcel (ferkulat) - Tuesday, 05 January 2010, 13:38 GMT
Last edited by Eric Belanger (Snowman) - Tuesday, 05 January 2010, 22:02 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Eric Belanger (Snowman)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: copy/paste actions in Nedit cause Nedit to end with a segmentation fault


Additional info:
dmesg gives: "nedit[6221]: segfault at 0 ip b77ab88b sp bfcbfd90 error 6 in libXm.so.2.0.1[b7750000+12e000]"

this problem is reported already at http://lesstif.sourceforge.net:

"We are looking for help. Our copy/paste code in /lib/Xm-2.1/CutPaste.c needs some serious attention as it is likely the cause of a lot of trouble. "




Steps to reproduce: Open Nedit and try to copy some text.

Solution: Downgrade to lesstif-0.95.0-3
This task depends upon

Closed by  Eric Belanger (Snowman)
Tuesday, 05 January 2010, 22:02 GMT
Reason for closing:  Fixed
Comment by Eric Belanger (Snowman) - Tuesday, 05 January 2010, 15:07 GMT
I can't reproduce it.
Comment by Eric Belanger (Snowman) - Tuesday, 05 January 2010, 15:14 GMT
From a Google search, there seem to be other people have the same problem. I'll look for a patch.
Comment by Marcel (ferkulat) - Tuesday, 05 January 2010, 15:41 GMT
Thank you Eric.

I apreciate the bleeding edge way of arch linux.
But since the problem ist known by the lesstif developers already.
And (even) THEY are calling for help on their project page.
Should we stick on this (known as buggy) version and looking for (maybe quick and dirty) patches from anyone but the developers of lesstif?
Or would it be better to keep the last working package version (0.95.0-3) until the problem is fixed officially by the lesstif devs?

Bleeding egde is nice! But for any price?
I and maybe others too, need a _working_ installation of archlinux.
Comment by Eric Belanger (Snowman) - Tuesday, 05 January 2010, 22:02 GMT
Finally, I was able to reproduce it and I found a patch. It should be fixed in lesstif-0.95.2-2.

The issue here is not the "bleeding edge" but the fact that lesstif is basically no longer maintained upstream. The 0.95.0 version was released in 2006. Even the 0.95.2 version was released quite some time ago (May 2009) and it fixes some other problems so we should stick with it. If there are other problems, open a bug report and I'll look for a patch.

Loading...