Bug#847073: X doesn't start with new xserver-xorg-video-intel
Control: tags -1 fixed-upstream > On 5 Dec 2016, at 12:49, Micha vor dem Berge >wrote: >> Am 05.12.2016 um 12:27 schrieb James Clarke: >> Package: xserver-xorg-video-intel >> Version: 2:2.99.917+git20161105-1 >> Severity: important >> Tags: patch upstream >> Control: retitle -1 segfaults due to missing NULL check in >> has_connector_backlight >> >>> On 5 Dec 2016, at 10:25, Micha vor dem Berge >>> wrote: >>> >>> Hi all, >>> >>> >>> I recently upgraded my xserver-xorg-video-intel package to the newest >>> jessie-backports (version 2:2.99.917+git20161105-1~bpo8+1). After a reboot, >>> X doesn't start anymore. I used this package from backports for several >>> months, so the newest update must have caused the trouble, I think. >>> >>> After a downgrade to jessie stable (version 2:2.21.15-2+b2) X is starting >>> fine again, but I have no HW acceleration... :( >>> >>> >>> Please find attached the Xorg.log. >>> >>> Just for information: I'm using Linux Mint Debian Edition, so my desktop is >>> Cinnamon. And I compiled my own kernel (which was no problem in the past). >>> I also tried some of my older kernels of the 4.8.x kernel series - just to >>> be sure that the problem is not introduced by the newest kernel upgrade. >>> >>> >>> Best regards, >>> >>> Micha >>> >>> >>> >>> PS: Please keep me in the loop when discussing this error as I didn't >>> subscribe to the backports mailing-list. Thanks! >>> >> >> >> This looks like [1] was reached with dir being NULL, though since you don't >> have debugging symbols (and I don't know/can't seem to work out what address >> intel_drv.so was loaded at) I can't know for sure. Having said that, this is >> the only place where the result of readdir is not checked for NULL, so I >> don't >> know how else this would happen. This bug was introduced by [2]. Can you >> please >> try the attached patch? Whether or not this is the problem, I'll forward it >> upstream. >> >> Regards, >> James >> >> [1] >> https://sources.debian.net/src/xserver-xorg-video-intel/2:2.99.917%2Bgit20161105-1%7Ebpo8%2B1/src/sna/sna_display.c/#L1036 >> [2] >> https://cgit.freedesktop.org/xorg/driver/xf86-video-intel/commit/325570e731b5819e28ce6bae72242914bb2d7f8e > > I can confirm that this patch > > https://lists.x.org/archives/xorg-devel/2016-December/051958.html > > solves the problem! :-) This has now been merged upstream[1]. Regards, James [1] https://cgit.freedesktop.org/xorg/driver/xf86-video-intel/commit/?id=a1b39eb6dd1717501a0546275d07df8321fe4905
Bug#847073: X doesn't start with new xserver-xorg-video-intel
tags 847073 + patch thanks Hi all, I can confirm that this patch https://lists.x.org/archives/xorg-devel/2016-December/051958.html solves the problem! :-) Regards, Micha Am 05.12.2016 um 12:27 schrieb James Clarke: Package: xserver-xorg-video-intel Version: 2:2.99.917+git20161105-1 Severity: important Tags: patch upstream Control: retitle -1 segfaults due to missing NULL check in has_connector_backlight This looks like [1] was reached with dir being NULL, though since you don't have debugging symbols (and I don't know/can't seem to work out what address intel_drv.so was loaded at) I can't know for sure. Having said that, this is the only place where the result of readdir is not checked for NULL, so I don't know how else this would happen. This bug was introduced by [2]. Can you please try the attached patch? Whether or not this is the problem, I'll forward it upstream. Regards, James [1] https://sources.debian.net/src/xserver-xorg-video-intel/2:2.99.917%2Bgit20161105-1%7Ebpo8%2B1/src/sna/sna_display.c/#L1036 [2] https://cgit.freedesktop.org/xorg/driver/xf86-video-intel/commit/325570e731b5819e28ce6bae72242914bb2d7f8e On 5 Dec 2016, at 10:25, Micha vor dem Bergewrote: Hi all, I recently upgraded my xserver-xorg-video-intel package to the newest jessie-backports (version 2:2.99.917+git20161105-1~bpo8+1). After a reboot, X doesn't start anymore. I used this package from backports for several months, so the newest update must have caused the trouble, I think. After a downgrade to jessie stable (version 2:2.21.15-2+b2) X is starting fine again, but I have no HW acceleration... :( Please find attached the Xorg.log. Just for information: I'm using Linux Mint Debian Edition, so my desktop is Cinnamon. And I compiled my own kernel (which was no problem in the past). I also tried some of my older kernels of the 4.8.x kernel series - just to be sure that the problem is not introduced by the newest kernel upgrade. Best regards, Micha PS: Please keep me in the loop when discussing this error as I didn't subscribe to the backports mailing-list. Thanks! -- Mit freundlichen Grüßen Micha vor dem Berge christmann informationstechnik + medien GmbH & Co. KG Ilseder Hütte 10c 31241 Ilsede Tel: +49 (0) 5172 / 9876 - 0 Fax: +49 (0) 5172 / 9876 - 50 E-Mail: micha.vordembe...@christmann.info www.christmann.info www.shop.christmann.info www.facebook.com/ChristmannInformationstechnik www.twitter.com/christmann_info www.green-datacenters.eu www.fips-project.eu www.m2dc.eu Sitz: Ilsede, Registergericht: Hildesheim, HRA 100949 USt-IDNr.: DE241879704 Pers. haftende Gesellschafterin: christmann Beteiligungs-GmbH, Sitz Ilsede, Registergericht: Hildesheim, HRB 101676, Geschäftsführung: Beate und Wolfgang Christmann
Bug#847073: X doesn't start with new xserver-xorg-video-intel
> On 5 Dec 2016, at 12:05, Emilio Pozuelo Monfortwrote: > > On 05/12/16 12:27, James Clarke wrote: >> Package: xserver-xorg-video-intel >> Version: 2:2.99.917+git20161105-1 >> Severity: important >> Tags: patch upstream >> Control: retitle -1 segfaults due to missing NULL check in >> has_connector_backlight >> >> This looks like [1] was reached with dir being NULL, though since you don't >> have debugging symbols (and I don't know/can't seem to work out what address > > What's wrong with xserver-xorg-video-intel-dbg ? I was being an idiot; I had unpacked -dbg, but pointed addr2line at the stripped library... debian:xserver-xorg-video-intel james% addr2line -e root/usr/lib/debug/usr/lib/xorg/modules/drivers/intel_drv.so 0x74502 /build/xserver-xorg-video-intel-CxTaWA/xserver-xorg-video-intel-2.99.917+git20161105/build/src/sna/../../../src/sna/sna_display.c:1036 So yes, this was the problem (though I wasn't really in any doubt after seeing the source). James
Bug#847073: X doesn't start with new xserver-xorg-video-intel
On 05/12/16 12:27, James Clarke wrote: > Package: xserver-xorg-video-intel > Version: 2:2.99.917+git20161105-1 > Severity: important > Tags: patch upstream > Control: retitle -1 segfaults due to missing NULL check in > has_connector_backlight > > This looks like [1] was reached with dir being NULL, though since you don't > have debugging symbols (and I don't know/can't seem to work out what address What's wrong with xserver-xorg-video-intel-dbg ? Cheers, Emilio
Bug#847073: X doesn't start with new xserver-xorg-video-intel
Package: xserver-xorg-video-intel Version: 2:2.99.917+git20161105-1 Severity: important Tags: patch upstream Control: retitle -1 segfaults due to missing NULL check in has_connector_backlight This looks like [1] was reached with dir being NULL, though since you don't have debugging symbols (and I don't know/can't seem to work out what address intel_drv.so was loaded at) I can't know for sure. Having said that, this is the only place where the result of readdir is not checked for NULL, so I don't know how else this would happen. This bug was introduced by [2]. Can you please try the attached patch? Whether or not this is the problem, I'll forward it upstream. Regards, James [1] https://sources.debian.net/src/xserver-xorg-video-intel/2:2.99.917%2Bgit20161105-1%7Ebpo8%2B1/src/sna/sna_display.c/#L1036 [2] https://cgit.freedesktop.org/xorg/driver/xf86-video-intel/commit/325570e731b5819e28ce6bae72242914bb2d7f8e > On 5 Dec 2016, at 10:25, Micha vor dem Berge >wrote: > > Hi all, > > > I recently upgraded my xserver-xorg-video-intel package to the newest > jessie-backports (version 2:2.99.917+git20161105-1~bpo8+1). After a reboot, X > doesn't start anymore. I used this package from backports for several months, > so the newest update must have caused the trouble, I think. > > After a downgrade to jessie stable (version 2:2.21.15-2+b2) X is starting > fine again, but I have no HW acceleration... :( > > > Please find attached the Xorg.log. > > Just for information: I'm using Linux Mint Debian Edition, so my desktop is > Cinnamon. And I compiled my own kernel (which was no problem in the past). I > also tried some of my older kernels of the 4.8.x kernel series - just to be > sure that the problem is not introduced by the newest kernel upgrade. > > > Best regards, > > Micha > > > > PS: Please keep me in the loop when discussing this error as I didn't > subscribe to the backports mailing-list. Thanks! >