[Xquartz-dev] XQuartz 2.6.3_rc1

Jeremy Huddleston jeremyhu at apple.com
Sat May 28 12:34:39 PDT 2011


I believe that code has remained pretty much unchanged for quite some time... it's also not XQuartz specific.

I don't see anything between 2.6.2 and 2.6.3 which should be related to this.

Are you able to reproduce it 100% of the time?  Would you mind helping debug this?

1) Install 2.6.3.

2) Edit /Applications/Utilities/X11.app/Contents/MacOS/X11 ... add the following to the second line (below the #! line):

export DYLD_INSERT_LIBRARIES=/usr/lib/libgmalloc.dylib

This will cause X11 to run with guardmalloc which will slow it down a bit but will cause it to crash at a more helpful location (hopefully the location where we had a buffer overrun or similar).

3) Run X11 and try triggering the bug (by quitting Enlightenment?).

4) Install the 1.10.1 server over 2.6.3*.
$ install_x11_version_sl 1.10.1

5) Run X11 and try triggering the bug (by quitting Enlightenment?).

6) Install the 1.10.1.901 server over 2.6.3.
$ install_x11_version_sl 1.10.1.901

7) Run X11 and try triggering the bug (by quitting Enlightenment?).

8) Install the 1.10.1.902 server over 2.6.3.
$ install_x11_version_sl 1.10.1.902

9) Run X11 and try triggering the bug (by quitting Enlightenment?).

What is the first version that exhibits the bug (note that the version in 2.6.3 is slightly newer than 1.10.1.902).  Please attach the associated crash log as well.

Could you provide me your built binaries (you can do 'sudo make install DESTDIR=/tmp/for_jeremy' then just tar up /tmp/for_jeremy)?

Thanks,
Jeremy




*: You can use this bash function.  More info is at http://xquartz.macosforge.org/trac/wiki/Releases

install_x11_version_sl () {
	local version=$1
	if [[ ! -f X11.bin-${version} ]] ; then
		if [[ ! -f X11.bin-${version}.bz2 ]] ; then
			curl -LO http://static.macosforge.org/xquartz/downloads/SL/X11.bin-${version}.bz2 || die "Failed to fetch version ${version}"
		fi
		bunzip2 X11.bin-${version}.bz2 || die "Failed to decompress version ${version}"
	fi
	chmod 755 X11.bin-${version} || die "Failed to chmod version ${version}"
	sudo cp X11.bin-${version} /Applications/Utilities/XQuartz.app/Contents/MacOS/X11.bin
}




On May 28, 2011, at 10:44 AM, Dave Ray wrote:

> Jeremy Huddleston <jeremyhu at apple.com> wrote:
> 
>> If you hit a crash in 2.6.3_rc1 or later, I want to know about it, but anything before that will just result in me asking "does it happen on 2.6.3?" ... ;)
>> 
> 
> Actually I am experiencing a crash in 2.6.3_rc1 that I did not have before. I built a window manager (e16) against the libs and headers of 2.6.3_rc1, and X11.bin was crashing whenever I exit the window manager. Normally, I exit the window manager and X11.bin quits cleanly. I reverted to 2.6.2 and rebuilt the same code, and no crash.
> 
> Crash report is here: http://pastebin.com/2Wztpkrq
> 
> -Dave



More information about the Xquartz-dev mailing list