From owner-freebsd-x11@FreeBSD.ORG  Sat Jun 23 05:45:58 2012
Return-Path: <owner-freebsd-x11@FreeBSD.ORG>
Delivered-To: freebsd-x11@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id D1AFA106566B
	for <freebsd-x11@freebsd.org>; Sat, 23 Jun 2012 05:45:58 +0000 (UTC)
	(envelope-from Cy.Schubert@komquats.com)
Received: from idcmail-mo2no.shaw.ca (idcmail-mo2no.shaw.ca [64.59.134.9])
	by mx1.freebsd.org (Postfix) with ESMTP id 979418FC12
	for <freebsd-x11@freebsd.org>; Sat, 23 Jun 2012 05:45:58 +0000 (UTC)
Received: from lb7f8hsrpno-svcs.dcs.int.inet (HELO pd5ml3no-ssvc.prod.shaw.ca)
	([10.0.144.222])
	by pd6mo1no-svcs.prod.shaw.ca with ESMTP; 22 Jun 2012 23:45:57 -0600
X-Cloudmark-SP-Filtered: true
X-Cloudmark-SP-Result: v=1.1 cv=TH029eDfZHqIRue7hhxWRjZ7JL4S9vo/jJY5vkv2d5E=
	c=1 sm=1
	a=QrugwKR0C_UA:10 a=wAGQQ9Az6v0A:10 a=BLceEmwcHowA:10 a=ICAaq7hcmGcA:10
	a=kj9zAlcOel0A:10 a=IbtKDeXwb2+SRU442/pi3A==:17 a=BWvPGDcYAAAA:8
	a=6I5d2MoRAAAA:8 a=l6qQVQA4NHgPr7onMw8A:9 a=CjuIK1q_8ugA:10
	a=V7tsTZBp22UA:10 a=SV7veod9ZcQA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117
Received: from unknown (HELO spqr.komquats.com) ([96.50.7.119])
	by pd5ml3no-dmz.prod.shaw.ca with ESMTP; 22 Jun 2012 23:45:57 -0600
Received: from slippy.cwsent.com (slippy2 [10.1.2.91])
	by spqr.komquats.com (Postfix) with ESMTP id 71E493A8
	for <freebsd-x11@freebsd.org>; Fri, 22 Jun 2012 22:45:57 -0700 (PDT)
Received: from slippy (localhost [127.0.0.1])
	by slippy.cwsent.com (8.14.5/8.14.5) with ESMTP id q5N5jvHx002690
	for <freebsd-x11@freebsd.org>; Fri, 22 Jun 2012 22:45:57 -0700 (PDT)
	(envelope-from Cy.Schubert@komquats.com)
Message-Id: <201206230545.q5N5jvHx002690@slippy.cwsent.com>
X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3
From: Cy Schubert <Cy.Schubert@komquats.com>
X-os: FreeBSD
X-Sender: cy@cwsent.com
X-URL: http://www.komquats.com/
To: freebsd-x11@freebsd.org
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Fri, 22 Jun 2012 22:45:57 -0700
Subject: xorg 7.5.2 + emacs
X-BeenThere: freebsd-x11@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: Cy Schubert <Cy.Schubert@komquats.com>
List-Id: X11 on FreeBSD -- maintaining and support <freebsd-x11.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-x11>,
	<mailto:freebsd-x11-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-x11>
List-Post: <mailto:freebsd-x11@freebsd.org>
List-Help: <mailto:freebsd-x11-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-x11>,
	<mailto:freebsd-x11-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 23 Jun 2012 05:45:59 -0000

It appears that xorg 7.5.2 causes emacs to segfault. The workaround is to 
set emacs.synchronous: on in .Xresources.

Another data point. I copied my $LOCALBASE from my old laptop (i915) to my 
new laptop (intel hd3000), in a jail (won't bore you why). Running emacs in 
the jail and displaying to the new X server resulted in no segfault, 
suggesting that this may be library related. Furthermore running emacs 
under truss, without synchronous also works (probably because truss 
inadvertently causes calls to X to be synchronous.

If anyone is having problems with emacs under 7.5.2, the workaround should 
do it until a better solution is found.


-- 
Cheers,
Cy Schubert <Cy.Schubert@komquats.com>
FreeBSD UNIX:  <cy@FreeBSD.org>   Web:  http://www.FreeBSD.org

	The need of the many outweighs the greed of the few.