unity crashed with NameError in reset_unity_compiz_profile(): global name 'GError' is not defined
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| Unity |
Fix Released
|
High
|
Didier Roche-Tolomelli | ||
| 5.0 |
Fix Released
|
High
|
Didier Roche-Tolomelli | ||
| unity (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
| Precise |
Fix Released
|
High
|
Didier Roche-Tolomelli | ||
Bug Description
[Test Case]
No obvious test case, just making sure the crash does not happen.
[Regression Potential]
No regression potential.
Original description:
Binary package hint: unity
changed the focus animation of all windows to fade
ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: unity 3.8.12-0ubuntu1
ProcVersionSign
Uname: Linux 2.6.38-8-generic i686
Architecture: i386
CompizPlugins: No value set for `/apps/
Date: Fri May 6 12:20:35 2011
ExecutablePath: /usr/bin/unity
InterpreterPath: /usr/bin/python2.7
LiveMediaBuild: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
ProcCmdline: /usr/bin/python /usr/bin/unity --reset
ProcEnviron:
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
PythonArgs: ['/usr/bin/unity', '--reset']
SourcePackage: unity
Title: unity crashed with NameError in reset_unity_
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:
Related branches
- jenkins (community): Needs Fixing (continuous-integration)
- Unity Team: Pending requested
-
Diff: 7802 lines (+5697/-86) (has conflicts) 78 files modifiedapidash/DashController.cpp (+28/-3)
dash/DashView.cpp (+11/-0)
dash/PlacesGroup.cpp (+6/-0)
dash/ResultViewGrid.cpp (+63/-0)
dash/ResultViewGrid.h (+24/-1)
hud/HudButton.cpp (+47/-0)
hud/HudButton.h (+25/-0)
hud/HudController.cpp (+40/-1)
hud/HudController.h (+24/-6)
hud/HudView.cpp (+72/-8)
hud/HudView.h (+30/-0)
launcher/BamfLauncherIcon.cpp (+109/-0)
launcher/BamfLauncherIcon.h (+7/-0)
launcher/DeviceLauncherIcon.cpp (+58/-1)
launcher/DeviceLauncherIcon.h (+19/-2)
launcher/DeviceLauncherSection.cpp (+25/-0)
launcher/DeviceLauncherSection.h (+13/-0)
launcher/Launcher.cpp (+157/-1)
launcher/Launcher.h (+12/-0)
launcher/LauncherController.cpp (+36/-0)
launcher/LauncherIcon.cpp (+27/-5)
launcher/QuicklistView.cpp (+86/-10)
launcher/StandaloneLauncher.cpp (+17/-0)
launcher/SwitcherController.cpp (+27/-0)
launcher/SwitcherView.h (+8/-0)
manual-tests/Dash.txt (+30/-14)
manual-tests/Launcher.txt (+94/-0)
plugins/unityshell/src/HudAbstractView.cpp (+33/-0)
plugins/unityshell/src/HudAbstractView.h (+66/-0)
plugins/unityshell/src/ScreenEffectFramebufferObject.cpp (+6/-0)
plugins/unityshell/src/compizminimizedwindowhandler.h (+10/-0)
plugins/unityshell/src/unityshell.cpp (+38/-0)
plugins/unityshell/src/unityshell.h (+24/-0)
standalone-clients/CMakeLists.txt.OTHER (+574/-0)
tests/CMakeLists.txt (+106/-0)
tests/autopilot/autopilot/emulators/bamf.py.OTHER (+411/-0)
tests/autopilot/autopilot/keybindings.py.OTHER (+259/-0)
tests/autopilot/autopilot/matchers/__init__.py (+31/-0)
tests/autopilot/autopilot/utilities.py.OTHER (+78/-0)
tests/autopilot/unity/emulators/__init__.py (+289/-0)
tests/autopilot/unity/emulators/dash.py (+4/-0)
tests/autopilot/unity/emulators/icons.py (+6/-0)
tests/autopilot/unity/emulators/launcher.py (+10/-0)
tests/autopilot/unity/emulators/tooltip.py (+23/-0)
tests/autopilot/unity/emulators/window_manager.py (+25/-0)
tests/autopilot/unity/tests/__init__.py (+274/-0)
tests/autopilot/unity/tests/test_command_lens.py (+8/-0)
tests/autopilot/unity/tests/test_dash.py (+70/-6)
tests/autopilot/unity/tests/test_home_lens.py (+12/-0)
tests/autopilot/unity/tests/test_hud.py (+73/-0)
tests/autopilot/unity/tests/test_ibus.py (+79/-0)
tests/autopilot/unity/tests/test_launcher.py.OTHER (+875/-0)
tests/autopilot/unity/tests/test_panel.py (+29/-0)
tests/autopilot/unity/tests/test_quicklist.py (+298/-0)
tests/autopilot/unity/tests/test_shortcut_hint.py (+10/-0)
tests/autopilot/unity/tests/test_switcher.py (+24/-0)
tests/test_hud_button.cpp (+76/-0)
tests/test_hud_controller.cpp (+87/-0)
tests/test_hud_private.cpp (+80/-0)
tests/test_hud_view.cpp (+74/-0)
tests/test_im_text_entry.cpp (+173/-0)
tests/test_main.cpp (+9/-0)
tests/test_resultviewgrid.cpp (+103/-0)
tools/unity.cmake (+2/-1)
unity-shared/IMTextEntry.cpp (+18/-0)
unity-shared/IconTexture.cpp (+2/-0)
unity-shared/IconTexture.h (+4/-0)
unity-shared/OverlayRenderer.cpp (+10/-0)
unity-shared/PluginAdapterCompiz.cpp (+16/-0)
unity-shared/SearchBar.cpp (+18/-4)
unity-shared/StaticCairoText.cpp (+34/-0)
unity-shared/StaticCairoText.h (+4/-0)
unity-shared/UBusMessages.h (+5/-0)
unity-shared/UScreen.cpp (+81/-8)
unity-shared/UScreen.h (+18/-0)
unity-shared/UnityWindowView.h (+5/-0)
unity-shared/WindowManager.cpp (+32/-15)
unity-shared/WindowManager.h (+6/-0)
- Sam Spilsbury (community): Approve
-
Diff: 19 lines (+2/-1) 1 file modifiedapitools/unity.cmake (+2/-1)
- Sam Spilsbury (community): Approve
- jenkins (community): Approve (continuous-integration)
-
Diff: 19 lines (+2/-1) 1 file modifiedapitools/unity.cmake (+2/-1)
- Dependencies.txt Edit (5.6 KiB, text/plain; charset="utf-8")
- GconfCompiz.txt Edit (36.3 KiB, text/plain; charset="utf-8")
- ProcMaps.txt Edit (10.9 KiB, text/plain; charset="utf-8")
- ProcStatus.txt Edit (721 bytes, text/plain; charset="utf-8")
- Traceback.txt Edit (248 bytes, text/plain; charset="utf-8")
Still the case on an up-to-date Oneiric. If needed, crash file is still in /var/crash which I was about to upload via apport, but found this bug and only confirmed.
Reproducable.
Disable automatic plugin sorting in CCSM. Enable cube, rotate and switcher, disable wall and staticswitcher. Enable automatic plugin sorting. Panel disrupts, desktop gets emptied. No keystrokes work, hardreset, recovery mode root shell gives the topic message when trying to reset Unity. Didn't let me mount encrypted /home either in order to remove files.
Never got back a working desktop and wanted to reinstall with usb-stick, which didn't boot, but was displayed on the empty desktop. Double click on usb-stick opened Nautilus, removed recently changed session files and compizconf, which resulted in bringing back launcher and panel. Conclusion for now, rather leave CCSM alone.
In my case, easily reproducible: on a dual-monitor setup, all I have to do is run 'unity --reset &'. Crashes every time.
BTW, I ran --reset for bug 833130.
I have tried running unity --reset from a Terminal (byobu) and it crashes. This is done within a Gnome Classic session running Gnome 3.2, and just a single monitor setup.
unity --reset segfaults for me on 11.10.
The issue that I had was a compiz config file in the ~/.compiz-1 directory. Once I deleted that unity --reset was able to bring back unity 3d.
unity --reset segfaults for me on Ubuntu 12.04 LTS
Didier, could you look at trapping that error? The issue got reported a bit over 600 times on errors.ubuntu.com this month, which means quite some users see whoopsie due to it, not sure the bug is worth tracking and fixing since that's on the reset command but we should at least catch it I guess, what do you think?
This bug was fixed in the package unity - 6.0.0-0ubuntu1
---------------
unity (6.0.0-0ubuntu1) quantal-proposed; urgency=low
[ Didier Roche ]
* debian/rules, debian/control, debian/
- install new unity-autopilot package, containing autopilot bindings and
test for Unity
- add some python build-dep for executing setup.py
- use dh_python2 and add some python:Depends dep for automatic python
version detection
* debian/control:
- remove gnome-desktop dependency: not needed upstream anymore
- unity Breaks older lenses due to path change
- remove libgdu in build-dep
* debian/
debian/control:
- version bump in libunity-core, change soname
[ Matthieu Baerts (matttbe) ]
* Update apport hook for python3 ; thanks to Edward Donovan (LP: #1013171)
[ Łukasz 'sil2100' Zemczak ]
* New upstream release.
- compiz crashed with SIGSEGV in get_current_slide() from
unity:
- Unity is visible on top of fullscreen apps (LP: #734908)
- App icon on the Unity Launcher lost track of running instance
(LP: #772063)
- unity crashed with NameError in reset_unity_
name 'GError' is not defined (LP: #778470)
- compiz crashed with SIGSEGV in CompWindow::id() from getPaintMask()
[
(LP: #851982)
- HUD - Formatting of text in the auto-complete is wrong (LP: #939436)
- [regression] Launcher is silent to screen reader users (LP: #949448)
- still some accent issues with unity/nux (LP: #950740)
- [regression] [precise] 3D apps run much slower under Unity (LP: #987304)
- No launcher icon or Alt+Tab entry for Gimp windows (LP: #995916)
- Locked smuxi launcher icon does not indicate smuxi running status
(LP: #999820)
- When number of workspaces is set to 1, the Spread no longer works
(LP: #996604)
- Much slower OpenGL frame rates with unityshell loaded, than plain compiz
(LP: #988079)
- Port to libudisks2 (LP: #1012000)
- Desktop, Launcher and menu bar still visible when screen locked
(LP: #886605)
- Searching in the HUD freezes unity (LP: #1016239)
- Dragged icons rendered under dash (LP: #1021541)
- Regression in Launcher keyboard navigation (with Alt+F1) (LP: #1021549)
- Unity dash is is much slower/laggy after revision 2469. (LP: #1021665)
- Dash and Launcher - As soon as a user starts dragging a file from the
Dash, there is a 'flicker' before the Launcher icons that are valid drop
receptacles re-saturate (LP: #863230)
- Dash - when a file is dragged from the Dash (Dash home, file lens, or
music lens) and dropped on a Launcher icon, the Dash should
automatically close (LP: #865168)
- Refreshing active blur makes the dash painfully slow (LP: #874230)
- Open dash, press Alt+f1 - dash remains open (LP: #919209)
- application reopens itself when last instance is closed from
windows/
- HUD D...
Hello BkoChan, or anyone else affected,
Accepted unity into precise-proposed. The package will build now and be available at http://
Please help us by testing this new package. See https:/
If this package fixes the bug for you, please change the bug tag from verification-needed to verification-done. If it does not, change the tag to verification-
Further information regarding the verification process can be found at https:/
removed: verification-needed
This bug was fixed in the package unity - 5.14.0-0ubuntu1
---------------
unity (5.14.0-0ubuntu1) precise-proposed; urgency=low
* New upstream release.
- Unity launcher shows internal partitions after they have been unmounted
(LP: #994163)
- can't click to dismiss hud in the area where dynamic hud results are
meant to appear (LP: #962651)
- Spread/Scale should exit if Dash is invoked (LP: #944033)
- Searching in the HUD freezes unity (LP: #1016239)
- Dash - The search bar gets the focus when pressing invalid keys
(LP: #931393)
- unity crashed with NameError in reset_unity_
'GError' is not defined (LP: #778470)
- When number of workspaces is set to 1, the Spread no longer works
(LP: #996604)
- compiz crashed with SIGSEGV in CompWindow::id() from getPaintMask()
from unity::
- "Keyboard Shortcuts" overlay can cause annoyance (LP: #934062)
- padding between last quicklist item and bottom edge is non-deterministic
(changes randomly) (LP: #955158)
- HUD Draws improperly while searching for results (LP: #932531)
- compiz crashed with SIGSEGV in
unity:
- Launcher - when a user starts dragging a item, any folded launcher icons
that are valid drop receptacles should unfold (LP: #839717)
- Dragging image from firefox/chrome to dock causes lagg/freeze
(LP: #772445)
- dash should open when pressing "super" in scale mode (LP: #1023811)
- Multimonitor, Launcher - When the Launcher is set to autohide and
'Sticky edges' are turned off, 'Launcher Edge Stop Overcome Pressure'
seems to be broken when revealing the Launcher (LP: #987955)
- Software Center add to launcher icon animation is delayed when the
launcher is in auto-hide mode (LP: #1012896)
- Purchased items are not being added to the Unity launcher (LP: #925014)
- Unity Launcher Fails To Auto-Hide When Enabled & Installing Commercial
Software (LP: #1002440)
- Regression: shift+click on a launcher icon to open a new application
instance gone (LP: #754565)
- Regression: Installing apps causes a terrible visual glitch-- have to
restart X.org. (LP: #981168)
- Duplicated applications icons on quick application restart (LP: #1003574)
- HUD - Formatting of text in the auto-complete is wrong (LP: #939436)
- alt-backtick flickers between windows (LP: #987156)
- [Hud] The result grid is not drawn in proximity of the search entry
(LP: #1008603)
- Dash and Launcher - As soon as a user starts dragging a file from the
Dash, there is a 'flicker' before the Launcher icons that are valid drop
receptacles re-saturate (LP: #863230)
- [hud] The last button is not rounded (LP: #1008656)
- Hud flickers when show up (LP: #1011507)
- Dash maximise button changed location (LP: #987674)
- launcher reordering "line" doesn't go to the bottom slot (LP: #971421)
- Dash/HUD should close on "Spread" (LP: #870284)
- Nothing should be written into the dash/hud searchbar whe...
The verification of this Stable Release Update 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 regresssions.