On 02/19/2011 11:05 AM, David C. Rankin wrote: > On 02/19/2011 03:23 AM, Rémy Oudompheng wrote: >> Hello, >> >> Your backtrace doesn't give any information: you might need to >> recompile xcb with debug symbols. Do you have messages in the console? >> It vaguely looks like a failed assertion, so giving more information >> about what events are actally happening around is also useful. >> >> Rémy. > > Thank you Rémy! > > That's the help I needed. I'll go rebuild xcb with debugging turned on. I'll > look at how the PKGBUILD works, but depending on what it builds with, I may need > help know what flags to set. Will report back :) > Grrr.... How do I add a debugging flag? Do I use CFLAGS=-DEBUG? CPPFLAGS=-DEBUG? add --enable-debug? I've checked ./configure --help and it is silent on the issue. I've added the --enable-debug below. It builds fine, but is only slightly larger than the original: -rw-r--r-- 1 david david 274088 Feb 19 12:12 libxcb-1.7-1-x86_64.pkg.tar.xz -rw-r--r-- 1 david david 273996 Feb 19 11:46 libxcb-1.7-1-x86_64.pkg.tar.xz.sav Do I need to enable debugging in another manner? The build() is: build() { cd "${srcdir}/${pkgname}-${pkgver}" patch -Np1 -i "${srcdir}/libxcb-1.1-no-pthread-stubs.patch" libtoolize --force --copy aclocal autoconf automake --add-missing PYTHON=python2 ./configure --prefix=/usr --enable-xinput --enable-debug make make DESTDIR="${pkgdir}" install install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" } Any help appreciated :) -- David C. Rankin, J.D.,P.E.