Xvfb fails with new mesa, results in ubiquity FTBFS

Bug #1647600 reported by Dimitri John Ledkov
66
This bug affects 20 people
Affects Status Importance Assigned to Milestone
libepoxy (Ubuntu)
Fix Released
Critical
Timo Aaltonen
Xenial
Fix Released
High
Gianfranco Costamagna
Yakkety
Won't Fix
High
Gianfranco Costamagna
Zesty
Fix Released
High
Gianfranco Costamagna
Artful
Fix Released
Critical
Timo Aaltonen

Bug Description

[Impact]

fakeroot ./debian/rules tests

from ubiquity 17.04.1 package, from zesty-proposed to build successfully.

It does in zesty-release. It does in zesty-proposed too, if one downgrades: libgl1-mesa-glx libglapi-mesa

If one uses libgl1-mesa-glx libglapi-mesa from zesty-proposed, the Xvfb fails to spawn and thus tests fail, and the build fails.

[Test case]

* try an ssh -X and start emacs
* launch apport-gtk with new mesa installed

[Regression potential]
* none, part of upstream code, they are checks for null pointer exceptions, missing in the current code

Revision history for this message
Timo Aaltonen (tjaalton) wrote :
affects: mesa (Ubuntu) → libepoxy (Ubuntu)
Changed in libepoxy (Ubuntu):
assignee: nobody → Timo Aaltonen (tjaalton)
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libepoxy - 1.3.1-1ubuntu1

---------------
libepoxy (1.3.1-1ubuntu1) zesty; urgency=medium

  * add-null-checks.diff: Fix gtk apps crashings on Xvfb. (LP: #1647600)

 -- Timo Aaltonen <email address hidden> Thu, 08 Dec 2016 14:49:13 +0200

Changed in libepoxy (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

I did a sync and rebased the above patch, would be nice to recheck it on artful

Mathew Hodson (mhodson)
tags: added: xenial
tags: added: regression-release
tags: added: zesty
Timo Aaltonen (tjaalton)
description: updated
Changed in libepoxy (Ubuntu Xenial):
status: New → In Progress
Revision history for this message
Brian Murray (brian-murray) wrote : Missing SRU information

Thanks for uploading the fix for this bug report to -proposed. However, when reviewing the package in -proposed and the details of this bug report I noticed that the bug description is missing information required for the SRU process. You can find full details at http://wiki.ubuntu.com/StableReleaseUpdates#Procedure but essentially this bug is missing some of the following: a statement of impact, a test case and details regarding the regression potential. Thanks in advance!

Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :
Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :
Changed in libepoxy (Ubuntu Yakkety):
status: New → In Progress
Changed in libepoxy (Ubuntu Zesty):
status: New → In Progress
description: updated
Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :
Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

can anybody please test my ppa?
I pushed no change rebuilds for ubiquity and the fixes for libepoxy there
https://launchpad.net/~costamagnagianfranco/+archive/ubuntu/locutusofborg-ppa

Changed in libepoxy (Ubuntu Zesty):
importance: Undecided → High
Changed in libepoxy (Ubuntu Yakkety):
importance: Undecided → High
Changed in libepoxy (Ubuntu Xenial):
importance: Undecided → High
assignee: nobody → LocutusOfBorg (costamagnagianfranco)
Changed in libepoxy (Ubuntu Zesty):
assignee: nobody → LocutusOfBorg (costamagnagianfranco)
Changed in libepoxy (Ubuntu Yakkety):
assignee: nobody → LocutusOfBorg (costamagnagianfranco)
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

I don't think this is needed for yakkety, since it won't get a new mesa backport, and is soon EOL anyway.

Revision history for this message
Timo Aaltonen (tjaalton) wrote : Please test proposed package

Hello Dimitri, or anyone else affected,

Accepted libepoxy into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/libepoxy/1.3.1-1ubuntu0.16.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in libepoxy (Ubuntu Xenial):
status: In Progress → Fix Committed
tags: added: verification-needed
Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

Ping, can anybody please verify this?

Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

I can see that ubiquity now is building correctly, and nobody reported regressions so far

Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

Get:333 http://archive.ubuntu.com/ubuntu xenial-proposed/main amd64 libepoxy-dev amd64 1.3.1-1ubuntu0.16.04.1 [112 kB]
[...]
dh_md5sums
NO_PNG_PKG_MANGLE=1 dh_builddeb -- -Zxz
dpkg-deb: building package 'ubiquity' in '../ubiquity_2.21.63.3_amd64.deb'.
dpkg-deb: building package 'ubiquity-frontend-debconf' in '../ubiquity-frontend-debconf_2.21.63.3_amd64.deb'.
dpkg-deb: building package 'ubiquity-frontend-gtk' in '../ubiquity-frontend-gtk_2.21.63.3_amd64.deb'.
 dpkg-genchanges >../ubiquity_2.21.63.3_amd64.changes

seems good

tags: added: verification-done-xenial
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libepoxy - 1.3.1-1ubuntu0.16.04.1

---------------
libepoxy (1.3.1-1ubuntu0.16.04.1) xenial; urgency=medium

  * Fix mesa crash (NPE) when no GL is available on X server
    LP: #1647600

 -- Gianfranco Costamagna <email address hidden> Tue, 06 Jun 2017 11:28:19 +0200

Changed in libepoxy (Ubuntu Xenial):
status: Fix Committed → Fix Released
Revision history for this message
Chris J Arges (arges) wrote : Update Released

The verification of the Stable Release Update for libepoxy has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Dimitri, or anyone else affected,

Accepted libepoxy into zesty-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/libepoxy/1.3.1-1ubuntu1.17.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in libepoxy (Ubuntu Zesty):
status: In Progress → Fix Committed
tags: added: verification-needed
Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

dpkg-deb: building package 'ubiquity-frontend-gtk' in '../ubiquity-frontend-gtk_17.04.9_amd64.deb'.
dpkg-deb: building package 'ubiquity' in '../ubiquity_17.04.9_amd64.deb'.
dpkg-deb: building package 'ubiquity-frontend-debconf' in '../ubiquity-frontend-debconf_17.04.9_amd64.deb'.

it builds fine!

tags: added: verification-done-zesty
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libepoxy - 1.3.1-1ubuntu1.17.04.1

---------------
libepoxy (1.3.1-1ubuntu1.17.04.1) zesty; urgency=medium

  * Fix mesa crash (NPE) when no GL is available on X server
    LP: #1647600

 -- Gianfranco Costamagna <email address hidden> Tue, 06 Jun 2017 11:36:27 +0200

Changed in libepoxy (Ubuntu Zesty):
status: Fix Committed → Fix Released
Changed in libepoxy (Ubuntu Yakkety):
status: In Progress → Won't Fix
Revision history for this message
Fadi Racy (mo-mashi) wrote :

Anyone getting the segmentation fault bug in 17.10, would it still be libepoxy or could it be something else?

Revision history for this message
Fadi Racy (mo-mashi) wrote :

Was this fix applied in 17.10? I'm still getting Segmentation fault (core dumped) when trying to run a non-root synaptic (basically for browsing purposes only) in Wayland.

Revision history for this message
Fadi Racy (mo-mashi) wrote :

sorry, didn't realize I had already posted here...

Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.