[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#447836: segfault in xterm (reading resources database?)



On Wed, Oct 24, 2007 at 01:31:31PM +1000, Drew Parsons wrote:
> Package: libx11-6
> Version: 2:1.1.3-1
> Severity: important
> 
> Hi, xterm is currently segfaulting on me.  As far as I can tell the
> segfault occurs inside libx11, so I'm posting this bug against that
> rather than xterm (ccing Thomas Dickey so he's aware of the problem).
> The bug would be grave against xterm, but only important against
> libx11 since other programs work OK.
> 
> Actually think the bug may be shared. The backtrace suggests something
> is wrong in /etc/X11/app-defaults/XTerm, but in that case libX11 (in
> Xrm) should deal with it rather than crashing.  I can't see anything
> obviously wrong in /etc/X11/app-defaults/XTerm, I think it's the
> Debian default. I'll attach it for reference.

I didn't look at it closely before, but now I see it ends with an
include for "XTerm", which is an infinite recursion:

> ! Alternatively,
> !*on2Clicks: regex [[:alpha:]]+://([[:alnum:]!#+,./=?@_~-]|(%[[:xdigit:]][[:xdigit:]]))+
> 
> #include "XTerm"

Your report mentioned xterm 222 - but I don't see that line in the
package diff for XTerm.ad:

+Index: XTerm.ad
+===================================================================
+--- XTerm.ad.orig      2006-10-23 22:34:18.000000000 +0200
++++ XTerm.ad   2006-10-23 23:56:58.000000000 +0200
+@@ -115,6 +115,10 @@
+ *tek4014*font3: 6x13
+ *tek4014*fontSmall: 6x10
+ 
++! Debian package customizations follow.
++*backarrowKeyIsErase: true
++*ptyInitialErase: true
++
+ ! If xterm is built with a toolbar, the widget hierarchy looks like this,
+ ! showing widget name / class names.  The complete menu hierarchy is built
+ ! at startup because it is needed to make the layout work for the menubar:
+Index: XTerm-col.ad


...and I don't see it in the diff for xterm 229-1:

+Index: XTerm.ad
+===================================================================
+--- XTerm.ad.orig      2007-06-17 22:24:53.000000000 +0100
++++ XTerm.ad   2007-06-17 22:24:57.000000000 +0100
+@@ -116,6 +116,10 @@
+ *tek4014*font3: 6x13
+ *tek4014*fontSmall: 6x10
+ 
++! Debian package customizations follow.
++*backarrowKeyIsErase: true
++*ptyInitialErase: true
++
+ ! If xterm is built with a toolbar, the widget hierarchy looks like this,
+ ! showing widget name / class names.  The complete menu hierarchy is built
+ ! at startup because it is needed to make the layout work for the menubar:
+Index: XTerm-col.ad

(perhaps your file was edited?)

-- 
Thomas E. Dickey <dickey@invisible-island.net>
http://invisible-island.net
ftp://invisible-island.net

Attachment: signature.asc
Description: Digital signature


Reply to: