Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Sep 2011 11:26:45 +0300
From:      Kostik Belousov <kostikbel@gmail.com>
To:        Andrey Kosachenko <andrey.kosachenko@gmail.com>
Cc:        freebsd-x11@freebsd.org
Subject:   Re: xorg-dev + intel driver + KMS
Message-ID:  <20110903082645.GR17489@deviant.kiev.zoral.com.ua>
In-Reply-To: <4E61DF8F.1090206@gmail.com>
References:  <CAK8LArPHWe6-O7BR74EsDpi94Om%2B3rwfGcGAiUOMA435png-vw@mail.gmail.com> <20110823085937.GC17489@deviant.kiev.zoral.com.ua> <4E543828.2040703@gmail.com> <20110824081303.GG17489@deviant.kiev.zoral.com.ua> <4E61DF8F.1090206@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110903082645.GR17489>