From owner-freebsd-x11@FreeBSD.ORG Sat Sep 3 08:30:36 2011 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9350E106564A for ; Sat, 3 Sep 2011 08:30:36 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id 2F8648FC08 for ; Sat, 3 Sep 2011 08:30:35 +0000 (UTC) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id p838QjRv076895 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 3 Sep 2011 11:26:45 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4) with ESMTP id p838QjxN015284; Sat, 3 Sep 2011 11:26:45 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4/Submit) id p838Qjvg015283; Sat, 3 Sep 2011 11:26:45 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Sat, 3 Sep 2011 11:26:45 +0300 From: Kostik Belousov To: Andrey Kosachenko Message-ID: <20110903082645.GR17489@deviant.kiev.zoral.com.ua> References: <20110823085937.GC17489@deviant.kiev.zoral.com.ua> <4E543828.2040703@gmail.com> <20110824081303.GG17489@deviant.kiev.zoral.com.ua> <4E61DF8F.1090206@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="4XsLtGC6Do4LOcE8" Content-Disposition: inline In-Reply-To: <4E61DF8F.1090206@gmail.com> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean Cc: freebsd-x11@freebsd.org Subject: Re: xorg-dev + intel driver + KMS X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Sep 2011 08:30:36 -0000 --4XsLtGC6Do4LOcE8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Sep 03, 2011 at 11:04:31AM +0300, Andrey Kosachenko wrote: > Hi, Konstantin, >=20 > On 24.08.2011 11:13, Kostik Belousov wrote: > >>Anyway, if you consider the info above helpful, need to acquire more or > >>smth. just let me know. > > > >Again, the backtrace is not useful. To make it useful, debugging symbols > >must be compiled into the dso loaded into the process. I highly suspect > >that the real backtrace ends at the frame 10. > > > >Try to start with compiling rtld/libc/libthr with debugging symbols. > >It is enough to do > >cd $SRC/libexec/rtld-elf > >make obj&& make all install DEBUG_FLAGS=3D-g > >cd $SRC/lib/libc > >make obj&& make all install DEBUG_FLAGS=3D-g > >cd $SRC/lib/libthr > >make obj&& make all install DEBUG_FLAGS=3D-g >=20 > I tried one more time to rebuild everything (xorg-dev, intel driver=20 > (2.16), dependent libs, relevant system libs and so forth) with=20 > debugging symbols. Unfortunately I didn't managed to obtain smth. useful= =20 > for you. To make sure that nothing were missed I reinstalled world with= =20 > DEBUG_FLAGS=3D-g (as build(7) and you suggested). >=20 > Just to prove that: > > echo quit > /tmp/quit > > sudo gdb /usr/local/bin/Xorg /a/cores/Xorg.core.6 -x /tmp/quit >=20 > /tmp/gdb.out > > sed -n -e '/Reading symbols/ { s/Reading symbols from //;=20 > s/\.\.\.done.*//; p; }' /tmp/gdb.out | xargs -I % file % | awk=20 > '{print($1, $(NF-1), $NF); }' > /lib/libcrypto.so.6: not stripped > /usr/local/lib/libpciaccess.so.0: not stripped > /usr/local/lib/libpixman-1.so.9: not stripped > /usr/local/lib/libXfont.so.1: not stripped > /usr/local/lib/libfreetype.so.9: not stripped > /usr/lib/libbz2.so.4: not stripped > /usr/local/lib/libfontenc.so.1: not stripped > /lib/libz.so.6: not stripped > /usr/local/lib/libXau.so.6: not stripped > /usr/local/lib/libXdmcp.so.6: not stripped > /usr/lib/librpcsvc.so.5: not stripped > /lib/libm.so.5: not stripped > /lib/libthr.so.3: not stripped > /lib/libc.so.7: not stripped > /usr/local/lib/xorg/modules/input/synaptics_drv.so: not stripped > /usr/local/lib/xorg/modules/extensions/libextmod.so: not stripped > /usr/local/lib/xorg/modules/extensions/librecord.so: not stripped > /usr/local/lib/xorg/modules/extensions/libdbe.so: not stripped > /usr/local/lib/xorg/modules/extensions/libglx.so: not stripped > /usr/local/lib/xorg/modules/extensions/libdri2.so: not stripped > /usr/local/lib/libdrm.so.2: not stripped > /usr/local/lib/xorg/modules/extensions/libdri.so: not stripped > /usr/local/lib/xorg/modules/drivers/intel_drv.so: not stripped > /usr/local/lib/libdrm_intel.so.1: not stripped > /usr/local/lib/libpthread-stubs.so.0: not stripped > /usr/local/lib/xorg/modules/input/kbd_drv.so: not stripped > /usr/local/lib/xorg/modules/input/mouse_drv.so: not stripped > /usr/local/lib/xorg/modules/libfb.so: not stripped > /usr/local/lib/dri/i965_dri.so: not stripped > /usr/local/lib/libexpat.so.6: not stripped > /usr/lib/libstdc++.so.6: not stripped > /lib/libgcc_s.so.1: not stripped > /libexec/ld-elf.so.1: not stripped >=20 > Results are still seem to be not sufficient :( > http://pastebin.com/4zSwxqDZ >=20 > So, I kindly ask you is there anything else I should try to obtain=20 > useful info for you? > thanks >=20 > PS: > - all.8.2.patch was applied; > - core file is newer then stuff that was rebuilt with debugging symbols. Is the X server itself built and installed with the debugging symbols ? I had no problems with debugging X server built from xorg-dev ports using -DWITH_DEBUG make flag. =46rom the evidence sent to me in private, it seems that the gem page fault handler might be responsible for the problem. Then, the request to use and provide me the ktr dump is valid, see wiki for details. --4XsLtGC6Do4LOcE8 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEARECAAYFAk5h5MUACgkQC3+MBN1Mb4jELgCg0wovwPCwhr+pcn5PEh2Wr/e/ kywAni/RA2CUkGqNdsdbKmJTmotTzOd+ =V1YW -----END PGP SIGNATURE----- --4XsLtGC6Do4LOcE8--