Maniphest T47860

Selecting object crashes Blender 2.77 on Ubuntu 14.04
Closed, Archived

Assigned To
Julian Eisel (Severin)
Authored By
Jon Denning (gfxcoder)
Mar 20 2016, 9:14 PM
Tags
  • BF Blender
Subscribers
Antonis Ryakiotakis (psy-fi)
Brecht Van Lommel (brecht)
Jon Denning (gfxcoder)
Julian Eisel (Severin)
Mike Erwin (merwin)

Description

System Information
Ubuntu 14.04, Intel Graphics + Mesa DRI (3.0, 10.1.3)

Blender Version
Broken: 2.77 22a2853, 2.77 7f03e7c (both 64bit glibc211 and 64bit glibc219 from builder.blender.org)
Worked: 2.76b f337fea on Ubuntu 14.04, Blender 2.77 22a2853 on OSX

Short description of error
Right-clicking on object/mesh causes Blender to crash.

Exact steps for others to reproduce the error
With fresh install of Blender 2.77 on Linux machine and Blender factory defaults, selecting an object/mesh by right-click causes Blender to crash. Right-clicking on selected item to make active also causes crash. Further, Box Selection of object/mesh causes a crash, but Circle Selection has no problem.

All work without issue: selection of camera, light, empty, etc.; selection of verts, edges, and faces in Edit Mode; selecting the object in the Outliner.

Crash file:

Related Objects

Mentioned In
T48032: Blender 2.77 64bit linux crash when selecting object
Mentioned Here
rBf337feaf5a1d: BLender 2.76: We go 'b' series now
rB22a2853b5d56: Blender 2.77: Point submodules to an updated hashes

Event Timeline

Jon Denning (gfxcoder) created this task.Mar 20 2016, 9:14 PM
Jon Denning (gfxcoder) raised the priority of this task from to 90.
Jon Denning (gfxcoder) updated the task description.
Jon Denning (gfxcoder) edited a custom field.
Jon Denning (gfxcoder) added a subscriber: Jon Denning (gfxcoder).
Julian Eisel (Severin) lowered the priority of this task from 90 to 30.Mar 20 2016, 9:25 PM
Julian Eisel (Severin) added a subscriber: Julian Eisel (Severin).

*/me rings Intel driver issue bell* ;) In most cases such issues can be solved as described here. Could you check this and report back if it solved your issue?

Aaron Carlisle (Blendify) added a project: BF Blender.Mar 20 2016, 9:28 PM
Jon Denning (gfxcoder) added a comment.Mar 20 2016, 9:37 PM

Changing User Prefs to use OpenGL Occlusion Queries does solve the selection problem in 2.77 for right-click selection and box selection. Thanks!

Jon Denning (gfxcoder) added a comment.Mar 20 2016, 9:42 PM

Since this seems like a typical Intel driver issue, is there a way to make "Automatic" use OpenGL Occlusion Queries with Intel cards? Or are there strong reasons to use to OpenGL Select with Automatic?

Julian Eisel (Severin) changed the task status from Unknown Status to Unknown Status.Mar 20 2016, 9:49 PM
Julian Eisel (Severin) claimed this task.
Julian Eisel (Severin) added subscribers: Mike Erwin (merwin), Brecht Van Lommel (brecht).

I should've bet on that :) This is not the first report about such issues in 2.77 (all Intel IIRC), not sure what could cause it.
CCing @Brecht Van Lommel (brecht) and @Mike Erwin (merwin) - maybe they have an idea on what could cause this and how to solve.

Antonis Ryakiotakis (psy-fi) added a subscriber: Antonis Ryakiotakis (psy-fi).Mar 22 2016, 10:59 AM

Hey @Jon Denning (gfxcoder), check if upgrading your Mesa package resolves this. There was a bug in old Mesa which was exactly this (VBO + selection = crash) and fixed two years after we reported it :). I think it was sometime in 2014/2015 which is when your implementation came out, so there's a chance latest versions are fine.

Antonis Ryakiotakis (psy-fi) removed a subscriber: Antonis Ryakiotakis (psy-fi).Mar 22 2016, 11:00 AM
Antonis Ryakiotakis (psy-fi) added a subscriber: Antonis Ryakiotakis (psy-fi).Mar 22 2016, 2:08 PM

Found the bug report:

https://bugs.freedesktop.org/show_bug.cgi?id=59455

Looks like it is indeed older than 2014. Please update your Mesa library

Jon Denning (gfxcoder) added a comment.Mar 22 2016, 6:38 PM

Updating Mesa library to 11.1.2 did fix the problem. I can now use either OpenGL Select or Automatic without Blender crashing, although it is noticeably slower than OpenGL Occlusion Queries. Thank you for all your help!