emerald crashed with SIGSEGV in decor_quads_to_property()

Bug #726229 reported by rolfc
530
This bug affects 103 people
Affects Status Importance Assigned to Milestone
emerald (Ubuntu)
Expired
High
Unassigned
Oneiric
Won't Fix
High
Unassigned

Bug Description

Binary package hint: emerald

Updating from 10.10 to 11.04

ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: emerald 0.7.2-0ubuntu6
ProcVersionSignature: Ubuntu 2.6.38-5.32-generic 2.6.38-rc6
Uname: Linux 2.6.38-5-generic i686
Architecture: i386
Date: Sun Feb 27 21:30:19 2011
ExecutablePath: /usr/bin/emerald
ProcCmdline: emerald --replace
ProcEnviron:
 LANGUAGE=sv_SE:sv:en_GB:en
 PATH=(custom, no user)
 LANG=sv_SE.UTF-8
 SHELL=/bin/bash
SegvAnalysis:
 Segfault happened at: 0x2ae7f6 <decor_quads_to_property+86>: mov (%ecx),%esi
 PC (0x002ae7f6) ok
 source "(%ecx)" (0x00000000) not located in a known VMA region (needed readable region)!
 destination "%esi" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: emerald
StacktraceTop:
 decor_quads_to_property () from /usr/lib/libdecoration.so.0
 ?? ()
 ?? ()
 ?? ()
 __libc_start_main () from /lib/libc.so.6
Title: emerald crashed with SIGSEGV in decor_quads_to_property()
UserGroups: adm admin audio cdrom dialout dip floppy fuse lpadmin plugdev scanner video

Revision history for this message
rolfc (rolfcronberg) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 decor_quads_to_property (data=<value optimized out>, pixmap=27263176, frame=0x935a248, border=0x935a248, max_frame=0x0, max_border=0x0, min_width=-1074667288, min_height=12, quad=0x59, nQuad=0) at /build/buildd/compiz-0.9.4/libdecoration/decoration.c:139
 update_default_decorations (screen=<value optimized out>, fs_act=<value optimized out>, fs_inact=<value optimized out>) at main.c:2353
 update_settings (ws=0x935a008) at main.c:5344
 main (argc=2, argv=0xbff1f584) at main.c:5644

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in emerald (Ubuntu):
importance: Undecided → Medium
tags: removed: need-i386-retrace
visibility: private → public
Revision history for this message
Frantique (undernetangel) wrote :

Confirming this.

Changed in emerald (Ubuntu):
status: New → Incomplete
status: Incomplete → New
Revision history for this message
moises fernades de sousa (moises-cirilo) wrote :

Segmentation fault (core image recorded)

Revision history for this message
moises fernades de sousa (moises-cirilo) wrote :

this bug is preventing the initiation of the emerald several weeks so that I can not use emerald and is macado importance only with media
in my opinion a bug that prevents a User from using it devirai macado be as critical

Nicolai_J. (fireandfuel)
Changed in emerald (Ubuntu):
status: New → Confirmed
Revision history for this message
luk1don (luk1don) wrote :

Hi! What are plans for Campiz/Unity and Emerald in 11.04?

From syslog:

emerald[13177]: segfault at 0 ip b6fb67f6 sp bfc9b988 error 4 in libdecoration.so.0.0.0[b6fb4000+7000]
emerald[13187]: segfault at 0 ip b6ff57f6 sp bfaabc88 error 4 in libdecoration.so.0.0.0[b6ff3000+7000]
emerald[13189]: segfault at 0 ip b70387f6 sp bfbe0948 error 4 in libdecoration.so.0.0.0[b7036000+7000]
compiz[13183]: segfault at 20 ip b70f733d sp bfdea114 error 4 in libpthread-2.13.so[b70ef000+15000]
compiz[13200]: segfault at f ip b71fd33d sp bf8ad6f4 error 4 in libpthread-2.13.so[b71f5000+15000]

This bug should be higher severity!

Revision history for this message
Vladimir (thunder27) wrote :

I confirm this bug too on Ubuntu 11.04 64bit (Gnome 2.32)

Revision history for this message
ServerAlex (serveralex) wrote :

are there any news about this? i can confirm the bug, running natty beta2 amd64. emerald is fully unusable. this must be fixed quickly!

Revision history for this message
s0undt3ch (ufs) wrote :

This needs a fix, and fast. I'm on Kubuntu but KWin is too dam slow compared to compiz. But in order to use compiz I need emerald. Higher priority please!

Revision history for this message
Axel H. (staff-pro-unreal) wrote :

Hi,

I can confirm this issue and since Unity sucks heavily though it freezes X.org I'll have to replace it with emerald. Please macke this shitty unity mess optional!

Revision history for this message
Alex (a-t-page) wrote :

Axel,
As I'll be doing for the foreseeable future, log in to a "Ubuntu Classic" session instead of regular "Ubuntu".

Revision history for this message
Axel H. (staff-pro-unreal) wrote :

This doesn't work either. I can only sign in using "Safe Model" without compiz.
I reported a bug about it. I did this on my computer at work so I spend all the time getting this crap to work instead of performing my duty. I wish I hadn't upgraded to natty ...

I'm thinking about to reinstall 10.10 and wait for 11.10.

This release is the greatest blow ever. I never had that much problems upgrading Ubuntu.

Revision history for this message
s0undt3ch (ufs) wrote :

I'm with you Alex H, on your comment #14, all of it! And I don't event have unity :)

Revision history for this message
Charlie Kravetz (cjkgeek) wrote :

Thank you for your bug report. To maintain a respectful atmosphere, please follow the code of conduct - http://www.ubuntu.com/community/conduct/ . Bug reports are handled by humans, the majority of whom are volunteers, so please bear this in mind.

tags: added: compiz
Revision history for this message
Charlie Kravetz (cjkgeek) wrote :

Thanks for reporting this bug and any supporting documentation. Since this bug has enough information provided for a developer to begin work, I'm going to mark it as confirmed and let them handle it from here. Based on number of duplicates and user comments, this is adversely affecting many people. Thanks for taking the time to make Ubuntu better!

Changed in emerald (Ubuntu):
importance: Medium → High
status: Confirmed → Triaged
greaves (nihuya)
Changed in emerald (Ubuntu):
status: Triaged → Confirmed
Revision history for this message
Charlie Kravetz (cjkgeek) wrote :

Please do not change the status without knowing what it means. In this case, confirmed says "I have this too", but triaged says "this is ready for the developers to look and fix". Statuses are changed according to https://wiki.ubuntu.com/Bugs/Status .

Changed in emerald (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
s0undt3ch (ufs) wrote :

Charlie, from my perspective, no one was disrespectful.
Even if humans, if someone messed up, that someone should be told about it.
From my point of view, that was it.
And I still wished I hadn't upgraded.
I've felt like this on the last 2 upgrades, this one included, only on the previous it was easy( and unrelated), just pull a natty package.
Anyway, thank you for the time spent so far, and I hope this is a fast fix. This is the end of any comments not related to the specific ticket.

Revision history for this message
Vanessa Dannenberg (vanessadannenberg) wrote :

Same bug for me. After some searching and hair-pulling, the workaround at http://ubuntuforums.org/showthread.php?t=1702253 results in a working version of Emerald. Attached is a working .deb created using checkinstall after following these instructions. GIT fetched and built today.

Revision history for this message
Dàrent (animaletdesequia) wrote :

Thank you, Vanessa. I can confirm than in my case de .deb atached in #20 works for me perfectly. Tried myself the patch thing you refer but couldn't make it work. Thank you a lot!

Revision history for this message
Indrek Juhkam (innu) wrote :

HEAD @ git://anongit.compiz.org/fusion/decorators/emerald (compiz++ branch) works well. No deb package though.

Revision history for this message
Lemmiwinks (lemmiwinks) wrote :

@ Vannessa Ezekowitz: Could you provide a package for 64 bit too? :)

Revision history for this message
Vanessa Dannenberg (vanessadannenberg) wrote :

Sorry, forgot to mention that I did *not* use the "build fix" patch mentioned in that thread since it wouldn't apply. Wasn't necessary though, as the program built fine without it. As for 64 bit... I'd gladly provide such a .deb if someone can explain how to cross-compile. :-)

Revision history for this message
luk1don (luk1don) wrote :

Thank you for deb package Vanessa. It works like a charm:)

Revision history for this message
Łukasz Czuja (lukasz-czuja) wrote :

Since the problem is now well known, identified and solved, I've managed to recompile the package with latest emerald tag 0.9.4 (branch compiz++):

http://cgit.compiz.org/fusion/decorators/emerald/diff/?id=2f5649c6d57c1b38c9b1aca9c6e9987f66828bf5
http://cgit.compiz.org/fusion/decorators/emerald/snapshot/emerald-2f5649c6d57c1b38c9b1aca9c6e9987f66828bf5.tar.gz

Generated configure scripts with autoconf and included them in tar.gz package. I've also removed all the source code patches for 0.7.2 version since the directory/file layout changed a bit. Didn't investigate it further, maybe some can verify if they are still needed.

Its working well for me. However I've noticed some quirks in the behavior of compiz (not emerald related IMHO). There are already fixes in the compiz repo for some so we should see a more stable compiz release is hopefully not to far along the way from now.

Verify if its working for you.

Revision history for this message
Łukasz Czuja (lukasz-czuja) wrote :
Revision history for this message
Łukasz Czuja (lukasz-czuja) wrote :
Revision history for this message
Łukasz Czuja (lukasz-czuja) wrote :
Revision history for this message
Łukasz Czuja (lukasz-czuja) wrote :
Revision history for this message
Łukasz Czuja (lukasz-czuja) wrote :

The last one...

Hope its usefull

tags: added: patch
Revision history for this message
Lemmiwinks (lemmiwinks) wrote :

@Lukasz: Thank you very much! For me it works quite well!

Revision history for this message
andrew thomas (atswartz) wrote :
Revision history for this message
bacatta (formulaire) wrote :
Revision history for this message
Lorenzo Bettini (bettini) wrote :

the deb provided in #20 seems to work for me!
thanks!

Revision history for this message
Will Crawford (billcrawford1970) wrote :

I now have compiz crashing instead, so I've reverted to using kwin for now :/

Revision history for this message
Lorenzo Bettini (bettini) wrote :

Actually also the deb does not perform correctly: for instance, after restart compiz and emerald are used correctly, but the KDE panel does not show correctly some icons, like Dropbox... so compiz is still unusable as for me...

Revision history for this message
Maia Everett (linneris) wrote :

Has 0.9.4 been officially released? Is a tarball available somewhere?

tags: added: bugpattern-needed
Revision history for this message
NKK (kiknadze) wrote :
Changed in emerald (Ubuntu Oneiric):
assignee: nobody → Canonical Desktop Team (canonical-desktop-team)
Revision history for this message
Test-tools (roland-verifysoft) wrote :

Hello,
(this related to oneiric)
this package emerald 0.8.8-0ubuntu1 has a dependency on libdecoration0 (>= 1:0.9.2.1)
But the API for decor_quads_to_property() has changed in libdeocration0 0.9.5.
Previously, it had 10 arguments, now 14.
There should then be a conflicts with libdecoration0 >=0.9.5
Best regards,
Roland "Test-tools" Bär

Revision history for this message
Martin Pitt (pitti) wrote :

Canonical desktop team does not maintain emerald. Subscribing sponsors, as there is a newer package attached.

Changed in emerald (Ubuntu Oneiric):
assignee: Canonical Desktop Team (canonical-desktop-team) → nobody
Revision history for this message
Chris Halse Rogers (raof) wrote :

I think this bug is actually fixed in the emerald 0.8.8-0ubuntu1 release already in Oneiric. I'm unsubscribing sponsors.

If this turns out not to be fixed, then the packaging attached will need to be updated to include the changes from 0.8.8-0ubuntu1. Also, because it's not an upstream release, it needs a different version number - 0.9.4~git$DATE.$GIT_SHORT_SHA is a good upstream version to use, as it provides useful information (when and what the upstream snapshot was) and is a smaller version than 0.9.4, which will have a different tarball once upstream releases it.

Changed in emerald (Ubuntu Oneiric):
status: Triaged → Incomplete
assignee: nobody → Chris Halse Rogers (raof)
Brad Figg (brad-figg)
tags: added: rls-mgr-o-tracking
tags: removed: bugpattern-needed
tags: added: bugpattern-written
Revision history for this message
Martin Pitt (pitti) wrote :

emerald was removed from oneiric, so this shouldn't be a targetted bug any more.

Changed in emerald (Ubuntu Oneiric):
assignee: Chris Halse Rogers (raof) → nobody
status: Incomplete → Won't Fix
Changed in emerald (Ubuntu):
assignee: Chris Halse Rogers (raof) → nobody
tags: removed: rls-mgr-o-tracking
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for emerald (Ubuntu) because there has been no activity for 60 days.]

Changed in emerald (Ubuntu):
status: Incomplete → Expired
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.