[Intel-gfx] intel_drv.so segfault

Chris Wilson chris at chris-wilson.co.uk
Wed Nov 6 15:28:06 CET 2013


On Wed, Nov 06, 2013 at 06:22:40AM -0800, Grant wrote:
> >> >> > I'm getting the following segfault intermittently when using sna.
> >> >> > I've tried xf86-video-intel-2.99.905 and the latest from git a week or
> >> >> > so ago.
> >> >>
> >> >> Symbols, please.
> >> >>
> >> >> addr2line -e /usr/lib64/xorg/modules/drivers/intel_drv.so -i 0x2fe790x3037f
> >> >
> >> > addr2line -e /usr/lib64/xorg/modules/drivers/intel_drv.so -i 0x2fe79 0x3037f
> >>
> >> Maybe this needs to be run immediately after the crash?  Or before rebooting?
> >
> > Ah, it does require xf86-video-intel to have been built with debug
> > symbols (-g in CFLAGS) and not stripped upon installation.
> 
> I'm running Gentoo and I added -g to the following in make.conf:
> 
> CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer -g"
> 
> I rebooted but I still get nothing from the addr2line command.  What
> am I missing?

gentoo's /bin/install strips by default, iirc. Try

addr2line -e /path/to/build/xf86-video-intel/src/.libs/intel_drv.so -i 0x2fe79 0x3037f

-- 
Chris Wilson, Intel Open Source Technology Centre



More information about the Intel-gfx mailing list