From nobody@FreeBSD.org  Sat Apr 23 19:04:58 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 20F88106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 23 Apr 2011 19:04:58 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 10D0E8FC19
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 23 Apr 2011 19:04:58 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p3NJ4v13096720
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 23 Apr 2011 19:04:57 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id p3NJ4vs2096719;
	Sat, 23 Apr 2011 19:04:57 GMT
	(envelope-from nobody)
Message-Id: <201104231904.p3NJ4vs2096719@red.freebsd.org>
Date: Sat, 23 Apr 2011 19:04:57 GMT
From: Aldis Berjoza <aldis@bsdroot.lv>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Can crash X with rxvt-unicode and xterm with -e argument
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         156600
>Category:       ports
>Synopsis:       sysutils/consolekit can crash X with rxvt-unicode and xterm with -e argument
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gnome
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 23 19:10:10 UTC 2011
>Closed-Date:    Sat Jun 04 22:43:52 UTC 2011
>Last-Modified:  Sat Jun 04 22:43:52 UTC 2011
>Originator:     Aldis Berjoza
>Release:        
>Organization:
>Environment:
>Description:
I've noticed and in many experiments proved, that I can easily crash X with xterm and urxvt.

When I run any of
xterm -e mutt
xterm -e irssi
urxvtc -e mutt
urxvtc -e irssi

Xorg crashes (without coredump!!! How can that be?)
However I noticed /console-kit-daemon.core (perhaps it's console-kit crashing)

However X doesn't crash if I run
xterm -e sh -c mutt
xterm -e sh -c irssi
urxvtc -e sh -c mutt
urxvtc -e sh -c irssi

Pretty weird.
Logs didn't reveal anything.

From Xorg.0.log:
X.Org X Server 1.7.7
Release Date: 2010-05-04
X Protocol Version 11, Revision 0
Build Operating System: FreeBSD 8.0-RELEASE-p2 amd64 
Current Operating System: FreeBSD desktop.pc 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC 2011     root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
Build Date: 02 April 2011  10:16:56PM

VGA: GeForce GT 240
using nvidia-driver-256.53_1

uname -a 
FreeBSD desktop.pc 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC 2011     root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

I used packages to install software.
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:

From: Pan Tsu <inyaoo@gmail.com>
To: Aldis Berjoza <aldis@bsdroot.lv>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/156600: Can crash X with rxvt-unicode and xterm with -e argument
Date: Sat, 23 Apr 2011 23:45:08 +0400

 Aldis Berjoza <aldis@bsdroot.lv> writes:
 
 >>Description:
 > I've noticed and in many experiments proved, that I can easily crash X with xterm and urxvt.
 >
 > When I run any of
 > xterm -e mutt
 > xterm -e irssi
 > urxvtc -e mutt
 > urxvtc -e irssi
 
 Are those with default config? If not do the clients use Xft fonts?
 
 >
 > Xorg crashes (without coredump!!! How can that be?)
 
 You need to use NoTrapSignals option in xorg.conf, cf.
 
   http://www.x.org/wiki/Development/Documentation/ServerDebugging
 
 FWIW, I can't reproduce but my environment is different.
 
 >>From Xorg.0.log:
 > X.Org X Server 1.7.7
 > Release Date: 2010-05-04
 > X Protocol Version 11, Revision 0
 > Build Operating System: FreeBSD 8.0-RELEASE-p2 amd64 
 > Current Operating System: FreeBSD desktop.pc 8.2-RELEASE FreeBSD
 > 8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC 2011
 > root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
 > Build Date: 02 April 2011  10:16:56PM
 
 Do you use packages? Backup then try rebuilding Xserver and its dependencies.
Responsible-Changed-From-To: freebsd-ports-bugs->gnome 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sat Apr 23 21:29:22 UTC 2011 
Responsible-Changed-Why:  
Attempt to assign this based on the info in the PR.  However, the problem 
may be with x11/xorg. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=156600 
State-Changed-From-To: open->closed 
State-Changed-By: mezz 
State-Changed-When: Sat Jun 4 22:43:38 UTC 2011 
State-Changed-Why:  
I can't reproduce it. If you are able to figure what it has caused, submit 
another new PR with full details. 

http://www.freebsd.org/gnome/docs/bugging.html 

http://www.freebsd.org/cgi/query-pr.cgi?pr=156600 
>Unformatted:
