Bugs item #1849929, was opened at 2007-12-13 10:01
Message generated for change (Comment added) made by jf505
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=111005&aid=1849929&group_id=11005
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Program
Group: release
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Ilyes Gouta (ilyes)
Assigned to: Nobody/Anonymous (nobody)
Summary: Copy/Paste text in Find dialog hangs (with a backtrace)
Initial Comment:
Hi,
Pasting text to the Find... dialog (Control+F) leads sometimes to NEdit to hang
indefinitely. Using a monitoring program shows that the program spends his time
jumping between user-space and kernel-space. Here is the content of the Help |
Version dialog:
NEdit 5.5
Sep 30, 2004
Built on: Linux, 386, GNU C
Built at: Nov 10 2007, 07:57:53
With Motif: 2.1.0 [@(#)GNU/LessTif Version 2.1 Release 0.95.0] (UNTESTED)
Running Motif: 2.1 [unknown]
Server: The X.Org Foundation 10300000
Visual: 16-bit TrueColor (ID 0x23, Default)
Locale: en_US
I got this stack trace by attaching GDB to the running process:
0xb7f3d410 in __kernel_vsyscall ()
#1 0x00cc45bd in ___newselect_nocancel () from /lib/libc.so.6
#2 0x4722b215 in XmCreateErrorDialog () from /usr/lib/libxcb.so.1
#3 0x4722ced9 in xcb_wait_for_reply () from /usr/lib/libxcb.so.1
#4 0x4728715d in _XReply () from /usr/lib/libX11.so.6
#5 0x47265b0c in XGetSelectionOwner () from /usr/lib/libX11.so.6
#6 0x473c3191 in XmCreateErrorDialog () from /usr/lib/libXm.so.2
#7 0x473c36d4 in XmClipboardStartRetrieve () from /usr/lib/libXm.so.2
#8 0x47430149 in XmTextPaste () from /usr/lib/libXm.so.2
#9 0x4743d3cd in XmCreateErrorDialog () from /usr/lib/libXm.so.2
#10 0x47fc33c1 in XmCreateErrorDialog () from /usr/lib/libXt.so.6
#11 0x47fc379a in XmCreateErrorDialog () from /usr/lib/libXt.so.6
#12 0x47fc3d9b in _XtTranslateEvent () from /usr/lib/libXt.so.6
#13 0x47f9b685 in XtDispatchEventToWidget () from /usr/lib/libXt.so.6
#14 0x47f9be0a in XmCreateErrorDialog () from /usr/lib/libXt.so.6
#15 0x47f9ace7 in XtDispatchEvent () from /usr/lib/libXt.so.6
#16 0x47f9ae9c in XtAppMainLoop () from /usr/lib/libXt.so.6
#17 0x0804f634 in XmCreateErrorDialog ()
#18 0x00c0e390 in __libc_start_main () from /lib/libc.so.6
#19 0x0804e621 in XmCreateErrorDialog ()
The trace clearly shows that NEdit deadlocks once xcb_wait_for_reply is invoked
(which is followed by an extra call to XmCreateErrorDialog?).
I'm using Fluxbox with 4 virtual desktops and running the latest kernel.
Hope it helps,
Ilyes Gouta.
----------------------------------------------------------------------
Comment By: Joerg Fischer (jf505)
Date: 2007-12-13 21:18
Message:
Logged In: YES
user_id=918104
Originator: NO
This rather seems to be a bug in the lesstif version. You can download the
Linux executable to verify the assumption,
http://www.nedit.org/ftp/v5_5/executables/
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=111005&aid=1849929&group_id=11005
--
NEdit Develop mailing list - [email protected]
http://www.nedit.org/mailman/listinfo/develop