unity-6.4.0 from quantal-proposed crashed with SIGSEGV on omap4

Bug #1044709 reported by Oliver Grawert
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Nux
Fix Released
Critical
Oliver Grawert
Unity
Fix Released
Critical
Adam Conrad
nux (Ubuntu)
Fix Released
Critical
Oliver Grawert
Quantal
Fix Released
Critical
Oliver Grawert
unity (Ubuntu)
Fix Released
Critical
Oliver Grawert
Quantal
Fix Released
Critical
Oliver Grawert

Bug Description

testing the compiz build from quantal-proposed on a pandaboard the desktop does not come up and i am greeted with an apport dialog about compiz having crashed. trying DISPLAY=:0.0 unity --replace from a terminal i can see that it appear to try to use GL instead of GLES, seemingly the armhf GLES build did not actually happen...

ProblemType: Crash
DistroRelease: Ubuntu 12.10
Package: compiz-core 1:0.9.8.0-0ubuntu1
ProcVersionSignature: Ubuntu 3.5.0-209.15-omap4 3.5.2
Uname: Linux 3.5.0-209-omap4 armv7l
ApportVersion: 2.5.1-0ubuntu4
Architecture: armhf
Date: Sat Sep 1 15:14:27 2012
Disassembly: => 0xb5225cb6: Cannot access memory at address 0xb5225cb6
DistUpgraded: Fresh install
DistroCodename: quantal
DistroVariant: ubuntu
DkmsStatus:
 pvr-omap4, 1.9.0.5.1.1, 3.5.0-209-omap4, armhf: installed
 pvr-omap4, 1.9.0.5.1.1, 3.5.0-209-omap4, armv7l: installed
ExecutablePath: /usr/bin/compiz
GraphicsCard:

InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Alpha armhf+omap4 (20120830)
ProcCmdline: Compiz
ProcEnviron:
 PATH=(custom, no user)
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: ro quiet splash root=UUID=1d0a68f5-b96f-4ef8-bfe8-c0e93107fb2d
Signal: 11
SourcePackage: compiz
StacktraceTop:
 ?? ()
 ?? ()
 ?? ()
Title: compiz crashed with SIGSEGV
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
XorgLogOld:

version.compiz: compiz 1:0.9.8.0-0ubuntu1
version.libdrm2: libdrm2 2.4.38-0ubuntu2
version.libgl1-mesa-dri: libgl1-mesa-dri 9.0~git20120821.c1114c61-0ubuntu2
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 9.0~git20120821.c1114c61-0ubuntu2
version.xserver-xorg-core: xserver-xorg-core 2:1.12.99.905-0ubuntu3
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.7.3-0ubuntu1
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.99.99~git20120713.6ef1ad6a-0ubuntu1
version.xserver-xorg-video-intel: xserver-xorg-video-intel N/A
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.1-4~ubuntu1

Related branches

Revision history for this message
Oliver Grawert (ogra) wrote :
Changed in compiz (Ubuntu Quantal):
importance: Undecided → High
Revision history for this message
Oliver Grawert (ogra) wrote :

ogra@panda:~$ DISPLAY=:0.0 unity --replace
compiz (core) - Info: Loading plugin: core
compiz (core) - Info: Starting plugin: core
unity-panel-service: Kein Prozess gefunden
compiz (core) - Warn: Attempted to restack relative to 0x2800090 which is not a child of the root window or a window compiz owns
compiz (core) - Warn: Attempted to restack relative to 0x2800093 which is not a child of the root window or a window compiz owns
compiz (core) - Info: Loading plugin: ccp
compiz (core) - Info: Starting plugin: ccp
compizconfig - Info: Backend : gsettings
compizconfig - Info: Integration : true
compizconfig - Info: Profile : unity
compiz (core) - Info: Loading plugin: composite
compiz (core) - Info: Starting plugin: composite
compiz (core) - Info: Loading plugin: opengl
compiz (core) - Info: Starting plugin: opengl
ERROR: DRI2Authenticate failed
Segmentation fault (core dumped)
ogra@panda:~$

Revision history for this message
Oliver Grawert (ogra) wrote :
Download full text (5.6 KiB)

and a bit more verbose ...

ogra@panda:~$ DISPLAY=:0.0 unity --replace
compiz (core) - Info: Loading plugin: core
compiz (core) - Info: Starting plugin: core
unity-panel-service: Kein Prozess gefunden
compiz (core) - Info: Loading plugin: ccp
compiz (core) - Info: Starting plugin: ccp
compizconfig - Info: Backend : gsettings
compizconfig - Info: Integration : true
compizconfig - Info: Profile : unity
compiz (core) - Info: Loading plugin: composite
compiz (core) - Info: Starting plugin: composite
compiz (core) - Info: Loading plugin: opengl
compiz (core) - Info: Starting plugin: opengl
PVR:(Warning): PVRSRVOpenDCDevice: Warning - 138 returned [80, /bridged_pvr_dc_glue.c]
compiz (core) - Info: Loading plugin: compiztoolbox
compiz (core) - Info: Starting plugin: compiztoolbox
compiz (core) - Info: Loading plugin: decor
compiz (core) - Info: Starting plugin: decor
compiz (core) - Info: Loading plugin: vpswitch
compiz (core) - Info: Starting plugin: vpswitch
compiz (core) - Info: Loading plugin: snap
compiz (core) - Info: Starting plugin: snap
compiz (core) - Info: Loading plugin: mousepoll
compiz (core) - Info: Starting plugin: mousepoll
compiz (core) - Info: Loading plugin: resize
compiz (core) - Info: Starting plugin: resize
compiz (core) - Info: Loading plugin: place
compiz (core) - Info: Starting plugin: place
compiz (core) - Info: Loading plugin: move
compiz (core) - Info: Starting plugin: move
compiz (core) - Info: Loading plugin: wall
compiz (core) - Info: Starting plugin: wall
compiz (core) - Info: Loading plugin: grid
compiz (core) - Info: Starting plugin: grid
compiz (core) - Info: Loading plugin: regex
compiz (core) - Info: Starting plugin: regex
compiz (core) - Info: Loading plugin: imgpng
compiz (core) - Info: Starting plugin: imgpng
compiz (core) - Info: Loading plugin: session
compiz (core) - Info: Starting plugin: session
compiz (core) - Info: Loading plugin: gnomecompat
compiz (core) - Info: Starting plugin: gnomecompat
compiz (core) - Info: Loading plugin: animation
compiz (core) - Info: Starting plugin: animation
compiz (core) - Info: Loading plugin: fade
compiz (core) - Info: Starting plugin: fade
compiz (core) - Info: Loading plugin: unitymtgrabhandles
compiz (core) - Info: Starting plugin: unitymtgrabhandles
compiz (core) - Info: Loading plugin: workarounds
compiz (core) - Info: Starting plugin: workarounds
compiz (core) - Info: Loading plugin: scale
compiz (core) - Info: Starting plugin: scale
compiz (core) - Info: Loading plugin: expo
compiz (core) - Info: Starting plugin: expo
compiz (core) - Info: Loading plugin: ezoom
compiz (core) - Info: Starting plugin: ezoom
compiz (core) - Info: Loading plugin: unityshell
compiz (core) - Info: Starting plugin: unityshell
Fontconfig warning: "/etc/fonts/conf.d/69-language-selector-ja-jp.conf", line 141: Having multiple values in <test> isn't supported and may not works as expected
Fontconfig warning: "/etc/fonts/conf.d/69-language-selector-zh-tw.conf", line 79: Having multiple values in <test> isn't supported and may not works as expected
Fontconfig warning: "/etc/fonts/conf.d/90-fonts-nanum.conf", line 9: Having multiple values in <test> isn't supported and may not works as...

Read more...

Oliver Grawert (ogra)
visibility: private → public
Revision history for this message
Oliver Grawert (ogra) wrote :

here the output from the es2_info tool (from mesa-utils-extra)

ogra@panda:~$ DISPLAY=:0.0 es2_info
PVR:(Warning): PVRSRVOpenDCDevice: Warning - 138 returned [80, /bridged_pvr_dc_glue.c]
EGL_VERSION = 1.4 build 1.9@2120756
EGL_VENDOR = Imagination Technologies
EGL_EXTENSIONS = EGL_IMG_client_api_ogl EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_vg_parent_image EGL_KHR_fence_sync EGL_IMG_hibernate_process EGL_NV_post_sub_buffer
EGL_CLIENT_APIS = OpenGL_ES
GL_VERSION: OpenGL ES 2.0 build 1.9@2120756
GL_RENDERER: PowerVR SGX 540
GL_EXTENSIONS:
    GL_OES_rgb8_rgba8, GL_OES_depth24, GL_OES_vertex_half_float,
    GL_OES_texture_float, GL_OES_texture_half_float,
    GL_OES_element_index_uint, GL_OES_mapbuffer,
    GL_OES_fragment_precision_high, GL_OES_compressed_ETC1_RGB8_texture,
    GL_OES_EGL_image, GL_OES_EGL_image_external,
    GL_OES_required_internalformat, GL_OES_depth_texture,
    GL_OES_get_program_binary, GL_OES_packed_depth_stencil,
    GL_OES_standard_derivatives, GL_OES_vertex_array_object, GL_OES_egl_sync,
    GL_EXT_multi_draw_arrays, GL_EXT_texture_format_BGRA8888,
    GL_EXT_discard_framebuffer, GL_EXT_shader_texture_lod,
    GL_IMG_shader_binary, GL_IMG_texture_compression_pvrtc,
    GL_IMG_texture_npot, GL_IMG_texture_format_BGRA8888, GL_IMG_read_format,
    GL_IMG_program_binary, GL_IMG_uniform_buffer_object,
    GL_IMG_multisampled_render_to_texture, GL_TI_image_external_raw_video

tags: added: compiz-0.9
Revision history for this message
Oliver Grawert (ogra) wrote : Re: unity-6.4.0 from quantal-propsed crashed with SIGSEGV on omap4

apparently gles2_architectures is set to "foo" in debian/rules in the unity package ...

affects: compiz (Ubuntu Quantal) → unity (Ubuntu Quantal)
summary: - compiz 0:0.9.8.0-0ubuntu1 from quantal-propsed crashed with SIGSEGV on
- omap4
+ unity-6.4.0 from quantal-propsed crashed with SIGSEGV on omap4
Omer Akram (om26er)
summary: - unity-6.4.0 from quantal-propsed crashed with SIGSEGV on omap4
+ unity-6.4.0 from quantal-proposed crashed with SIGSEGV on omap4
Revision history for this message
Omer Akram (om26er) wrote :

@ogra, is unity working for you now? after you uploaded new unity?

debian/rules: "foo" really isnt a valid architecture, set
    gles2_architectures to "armel armhf" so that GLES support gets actually
    enabled on arm builds (...from the stories of the "Doh! Department")
    (LP: #1044709)

Revision history for this message
Oliver Grawert (ogra) wrote :

no, sadly not, seems the nux in the proposed archive has exactly the same issue *sigh*
i just uploaded a fix for this too, lets hope it makes the main archive in time for beta

Omer Akram (om26er)
Changed in unity (Ubuntu Quantal):
importance: High → Critical
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity - 6.4.0-0ubuntu2

---------------
unity (6.4.0-0ubuntu2) quantal-proposed; urgency=low

  * debian/rules: "foo" really isnt a valid architecture, set
    gles2_architectures to "armel armhf" so that GLES support gets actually
    enabled on arm builds (...from the stories of the "Doh! Department")
    (LP: #1044709)
 -- Oliver Grawert <email address hidden> Sat, 01 Sep 2012 20:28:01 +0000

Changed in unity (Ubuntu Quantal):
status: New → Fix Released
Revision history for this message
Omer Akram (om26er) wrote :
Changed in nux (Ubuntu Quantal):
importance: Undecided → Critical
status: New → In Progress
assignee: nobody → Oliver Grawert (ogra)
Changed in unity (Ubuntu Quantal):
assignee: nobody → Oliver Grawert (ogra)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nux - 3.4.0-0ubuntu3

---------------
nux (3.4.0-0ubuntu3) quantal-proposed; urgency=low

  * fix armel/armhf build dependencies
 -- Oliver Grawert <email address hidden> Sun, 02 Sep 2012 12:15:51 +0200

Changed in nux (Ubuntu Quantal):
status: In Progress → Fix Released
Revision history for this message
Oliver Grawert (ogra) wrote :

right, nux needed additional build dependency adjustments ... after fixing these and after a no-change rebuild of unity to pick up the new GLES bits in nux all seems to work fine now.

Revision history for this message
Oliver Grawert (ogra) wrote :

seems i spoke to soon, there seems to be some new code under the dash/preview folder that hardcodes -lGL and -lGLU in the cmake setup, so unity cant build with -lEGL -lGLESv2 as it does for all other binaires in the build...

https://launchpadlibrarian.net/114534081/buildlog_ubuntu-quantal-armel.unity_6.4.0-0ubuntu3_FAILEDTOBUILD.txt.gz

Revision history for this message
Oliver Grawert (ogra) wrote :

something similar to line 16-24 in http://paste.ubuntu.com/1182513/ might fix it

Changed in unity (Ubuntu Quantal):
status: Fix Released → Triaged
Revision history for this message
Oliver Grawert (ogra) wrote :

setting back to Triaged for unity

Omer Akram (om26er)
Changed in unity:
importance: Undecided → Critical
status: New → Confirmed
Changed in unity:
milestone: none → 6.4
Revision history for this message
Ricardo Salveti (rsalveti) wrote :

With the diff made by infinity at http://launchpadlibrarian.net/114595044/unity_6.4.0-0ubuntu3_6.4.0-0ubuntu4.diff.gz it works as expected.

Locally I also removed the dependency on 4.6, which is also not needed anymore (besides the broken series for armel/armhf).

Revision history for this message
Omer Akram (om26er) wrote :

Marked as fixed for ubuntu package. The fix needs to be merged into trunk.

Changed in unity (Ubuntu Quantal):
status: Triaged → Fix Released
Changed in unity:
assignee: nobody → Łukasz Zemczak (sil2100)
milestone: 6.4 → 6.6
Revision history for this message
Oliver Grawert (ogra) wrote :

would it be possible for the Unity (upstream) team to enable arm buildds for their daily builds so we can prevent such disasters in the future ?

Omer Akram (om26er)
Changed in unity:
status: Confirmed → Fix Committed
assignee: Łukasz Zemczak (sil2100) → Adam Conrad (adconrad)
Changed in unity:
milestone: 6.6 → 7.0
Omer Akram (om26er)
no longer affects: unity/6.0
Changed in unity:
milestone: 7.0 → 6.6
Changed in unity:
status: Fix Committed → Fix Released
Changed in nux:
assignee: nobody → Oliver Grawert (ogra)
importance: Undecided → Critical
status: New → Fix Released
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.