Bug 14019 - [i810] segfault starting X server
Summary: [i810] segfault starting X server
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: i586 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL: https://bugs.freedesktop.org/show_bug...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-30 12:38 CEST by Felix Miata
Modified: 2014-08-31 12:03 CEST (History)
1 user (show)

See Also:
Source RPM: x11-driver-video-intel
CVE:
Status comment:


Attachments
gdb_log (3.24 KB, text/plain)
2014-08-30 12:38 CEST, Felix Miata
Details

Description Felix Miata 2014-08-30 12:38:01 CEST
Created attachment 5382 [details]
gdb_log

Cauldron with kernel 3.15.1, server 1.15.99.903 and driver 2.99.912 was OK.
Cauldron with kernel 3.15.1 & 3.15.6, server 1.16.0 and driver 2.99.914 segfaults.
Factory with kernel 3.16.0, server 1.16.0 and driver 3.0.0git-199 is OK.
Comment 1 Thierry Vignaud 2014-08-31 00:47:52 CEST
Interesting.

Well checking contents of http://download.opensuse.org/repositories/home:/sumski:/test/openSUSE_Factory/src/xf86-video-intel-3.0.0git-199.1.src.rpm shows that what is called 3.0.0git-199 is actually older code (2.99.911).
So there's no magic fix. Latest released version is broken and so would be real latest opensuse build (aka http://download.opensuse.org/factory/repo/src-oss/suse/src/xf86-video-intel-2.99.914-1.1.src.rpm)

According to http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/tree/src/legacy/i810/i810_driver.c?id=2.99.914#n253 it indeed segfaults on:
   pI810->pEnt = xf86GetEntityInfo(scrn->entityList[0]);
It would be interesting if you could run the following commands in gdb after "bt":
print scrn
print *scrn
print scrn->entityList
print scrn->entityList[0]



Anyway at least you've got a nice GDB trace.
Can you open a bug report upstream?
See https://bugs.freedesktop.org/enter_bug.cgi?product=xorg, choose "Driver/intel" as component
Once your bug report is opened, just add its URL here in the "URL" field (and add the "UPSTREAM" to "keywords").

Don't hesitate to ping Chris Wilson <chris@chris-wilson.co.uk> about it.

What would be nice is: can you bisect the upstream git commit that broke your machine?
See http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/
=> git clone http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/

Thanks.

Keywords: (none) => NEEDINFO
Source RPM: (none) => x11-driver-video-intel

Comment 2 Felix Miata 2014-08-31 01:42:37 CEST
Filed upstream with new gdb_log attached including comment 1 additions to my xdbg script.
https://bugs.freedesktop.org/show_bug.cgi?id=83287
BFO automatically assigned the bug to Chris.

Keywords: NEEDINFO => (none)

Comment 3 Felix Miata 2014-08-31 10:33:44 CEST
In upstream bug Chris states bug is fixed as of 31 days ago via git commit.
Comment 4 Thierry Vignaud 2014-08-31 12:01:44 CEST
Fixed in next build.

URL: (none) => https://bugs.freedesktop.org/show_bug.cgi?id=83287

Comment 5 Thierry Vignaud 2014-08-31 12:03:35 CEST
Closing accordingly

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.