make test fails in CompizConfigPython.test_* (OTHER_FAULT)

Bug #1070817 reported by Daniel van Vugt on 2012-10-24
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Compiz
Medium
Sam Spilsbury
0.9.8
Medium
Unassigned
compiz (Ubuntu)
Medium
Sam Spilsbury
glib2.0 (Ubuntu)
Undecided
Unassigned

Bug Description

make test
...
99% tests passed, 4 tests failed out of 928

Total Test time (real) = 24.32 sec

The following tests FAILED:
   1 - CompizConfigPython.test_backend (OTHER_FAULT)
   2 - CompizConfigPython.test_plugin (OTHER_FAULT)
   3 - CompizConfigPython.test_profile (OTHER_FAULT)
   4 - CompizConfigPython.test_setting (OTHER_FAULT)
Errors while running CTest
make: *** [test] Error 8

Related branches

Daniel van Vugt (vanvugt) wrote :
Changed in compiz:
assignee: nobody → Daniel van Vugt (vanvugt)
Daniel van Vugt (vanvugt) wrote :

OK, I got a core file from this. The stack is quite similar to bug 1044662, but we should have known it would be by:
  (process:10447): GLib-GIO-ERROR **: Settings schema 'org.gnome.desktop.wm.keybindings' is not installed

Daniel van Vugt (vanvugt) wrote :

Hmm, it is installed and I have recompiled it too:
    /usr/share/glib-2.0/schemas/org.gnome.desktop.wm.keybindings.gschema.xml
    /usr/share/glib-2.0/schemas/gschemas.compiled
But still no luck. Same error.

Daniel van Vugt (vanvugt) wrote :

So at the lowest level in compiz, the issue is this call generating SIGTRAP:
    g_settings_new("org.gnome.desktop.wm.keybindings")

The schema is installed:
    /usr/share/glib-2.0/schemas/org.gnome.desktop.wm.keybindings.gschema.xml
and I have recompiled it a couple of times too.

Changed in glib2.0 (Ubuntu):
assignee: nobody → Ryan Lortie (desrt)
Changed in compiz:
assignee: Daniel van Vugt (vanvugt) → nobody
Daniel van Vugt (vanvugt) wrote :
Download full text (3.5 KiB)

And now it's turned into a Segfault (again)...

The following tests FAILED:
   1 - CompizConfigPython.test_backend (SEGFAULT)
   2 - CompizConfigPython.test_profile (SEGFAULT)
   3 - CompizConfigPython.test_plugin (SEGFAULT)
   4 - CompizConfigPython.test_setting (SEGFAULT)
Errors while running CTest

(gdb) bt
#0 ccsObjectGetInterface_ (object=object@entry=0x0, interface_type=4)
    at /home/dan/bzr/compiz/trunk/compizconfig/libcompizconfig/src/main.c:180
#1 0x00007f09960888dd in ccsGSettingsWrapperConnectToChangedSignal (
    wrapper=0x0, callback=0x7f09967f24d0 <gnomeGSettingsValueChanged>,
    data=0x2547f50)
    at /home/dan/bzr/compiz/trunk/compizconfig/gsettings/gsettings_backend_shared/ccs_gsettings_interface.c:58
#2 0x00007f09967f3033 in connectWrapperToChangedSignal (wrapper=0x0,
    priv=<optimised out>)
    at /home/dan/bzr/compiz/trunk/compizconfig/integration/gnome/gsettings/src/ccs_gnome_integration_gsettings_wrapper_factory.c:59
#3 ccsGNOMEIntegrationGSettingsWrapperFactoryNewGSettingsWrapper (
    factory=<optimised out>,
    schemaName=0x25468ca "org.gnome.desktop.wm.keybindings",
    ai=<optimised out>)
    at /home/dan/bzr/compiz/trunk/compizconfig/integration/gnome/gsettings/src/ccs_gnome_integration_gsettings_wrapper_factory.c:73
#4 0x00007f09967f228d in initializeGSettingsWrappers (factory=<optimised out>)
    at /home/dan/bzr/compiz/trunk/compizconfig/integration/gnome/gsettings/src/ccs_gnome_integration_gsettings_integrated_setting_factory.c:139
#5 ccsGSettingsIntegratedSettingFactoryCreateIntegratedSettingForCCSSettingNameAndType (factory=0x255a700, integration=<optimised out>,
    pluginName=0x7f09967f72e2 "core",
    settingName=0x7f09967f75a8 "audible_bell", type=TypeInt)
    at /home/dan/bzr/compiz/trunk/compizconfig/integration/gnome/gsettings/src/ccs_gnome_integration_gsettings_integrated_setting_factory.c:171
#6 0x00007f09967f1359 in registerAllIntegratedOptions (
    integration=integration@entry=0x255a7d0)
    at /home/dan/bzr/compiz/trunk/compizconfig/integration/gnome/src/ccs_gnome_integration.c:98
#7 0x00007f09967f13f8 in ccsGNOMEIntegrationBackendGetIntegratedSetting (
    integration=0x255a7d0, pluginName=0x25697a0 "core",
    settingName=0x256e710 "active_plugins")
    at /home/dan/bzr/compiz/trunk/compizconfig/integration/gnome/src/ccs_gnome_integration.c:116
#8 0x00007f09967f0c89 in readSetting (backend=0x24ef860, context=0x246be10,
    setting=0x256e600)
    at /home/dan/bzr/compiz/trunk/compizconfig/gsettings/src/gsettings.c:375
#9 0x00007f0997eff0cb in ccsReadPluginSettingsDefault (plugin=0x2569270)
    at /home/dan/bzr/compiz/trunk/compizconfig/libcompizconfig/src/main.c:3468
#10 ccsReadPluginSettingsDefault (plugin=0x2569270)
    at /home/dan/bzr/compiz/trunk/compizconfig/libcompizconfig/src/main.c:3446
#11 0x00007f0997ef16ae in ccsLoadPluginSettings (plugin=plugin@entry=0x2569270)
    at /home/dan/bzr/compiz/trunk/compizconfig/libcompizconfig/src/compiz.cpp:3263
#12 0x00007f0997efded2 in ccsContextNew (screenNum=screenNum@entry=0,
    iface=<optimised out>)
    at /home/dan/bzr/compiz/trunk/compizconfig/libcompizconfig/src/main.c:552
#13 0x00007f0998645dfa in __pyx_f_12compiz...

Read more...

Daniel van Vugt (vanvugt) wrote :

I'll treat the Segfault as a separate issue --> bug 1080555

Changed in compiz:
assignee: nobody → Daniel van Vugt (vanvugt)
status: Triaged → In Progress
Changed in compiz:
assignee: Daniel van Vugt (vanvugt) → Sam Spilsbury (smspillaz)
Changed in compiz:
status: In Progress → Fix Committed
Daniel van Vugt (vanvugt) wrote :

Fix committed into lp:compiz at revision 3477, scheduled for release in Compiz 0.9.9.0

Changed in glib2.0 (Ubuntu):
assignee: Ryan Lortie (desrt) → nobody
Daniel van Vugt (vanvugt) wrote :

Not so much a gsettings bug any more, but only because the fix was to avoid gsettings completely and use the ini backend.

Changed in compiz (Ubuntu):
assignee: nobody → Sam Spilsbury (smspillaz)
importance: Undecided → Medium
status: New → Fix Committed
Launchpad Janitor (janitor) wrote :
Download full text (5.6 KiB)

This bug was fixed in the package compiz - 1:0.9.9~daily12.12.05-0ubuntu1

---------------
compiz (1:0.9.9~daily12.12.05-0ubuntu1) raring; urgency=low

  [ Michael Terry ]
  * debian/control:
    - Update Vcs-Bzr
  * debian/patches/100_expo_layout.patch:
    - Fix to apply
  * Automatic snapshot from revision 3451 (bootstrap)
    - Fix crash from writing to static memory (LP: #1065814)
    - Fix maximized windows changing workspaces (LP: #1071791)
    - Respect Zoom Factor setting (LP: #1066187)
    - Respect Show Window Title setting (LP: #1009999)
    - Restore text background transparency (LP: #1042132)
    - Restore screenshot selection rectangle transparency (LP: #1047788)
    - Restore top and bottom cube transparency (LP: #1048272)
    - Fix scaleaddon window highlighting being solid (LP #1068503)
    - Make resize hint overlay disappear when changing edges (LP: #839602)
    - Preserve grid IDs during drag (LP: #1067812, LP: #1048855)
    - Save current display before doing snap preview (LP: #1068173)
    - Ignore inactive keybindings (LP: #1053280)
    - Handle <primary> in keyboard shortcuts (LP: #936840)
    - Make sure showdesktop plugin is loaded after unityshell (LP: #1067534)
    - Fix grid build failure (LP: #1067577)
    - Fix Jenkins test failures (LP: #1058577)
    - Don't allow duplicate static symbols when linking (LP: #1067964)
    - Make external templates C++0x compatible (LP: #1067598)
    - Make sure to initialize class members (LP: #1033877)
    - Don't duplicate templates in plugins (LP: #1066793, LP: #1066803,
      LP: #1066804, LP: #1066805, LP: #1066799, LP: #1066796,
      LP: #1066795, LP: #1066798, LP: #1067218, LP: #1067219)
    - Don't needlessly set gsettings keys (LP: #1064791)
    - Remove unused code (LP: #1037142, LP: #1067234)
    - Fix syntax highlighting for trunk xml files (LP: #1066823)
    - Fix documentation for building with python2 (LP: #1070211)

  [ Stephen M. Webb ]
  * Windows open below panel and launcher, grid does not work at all,
    window animations missing, and general plugin chaos if built on
    raring (cmake >= 2.8.10) (LP: #1085581)

  [ Iven Hsu ]
  * KDE Appmenu doesn't work with compiz decorators (LP: #1082265)
  * compiz 0.9.8.6 fails to build from source in KDE4-window-decorator
    with latest KDE 4.10 beta (LP: #1082152)
  * kde4-window-decorator crashes when starting up with oxygen theme
    (LP: #1050776)

  [ sampo555 ]
  * Grid: Window management - resize preview does not show when moving a
    window from the semi-maximised state to the maximised state in a
    single action (LP: #1071689)

  [ Timo Jyrinki ]
  * HTML5 video in Firefox continues to tear (LP: #1086337)

  [ MC Return ]
  * Workspacenames Plug-in: Wishlist: Default Appearance values not
    ideal (LP: #1075600)
  * Resizeinfo Plug-in: No possibility to change the color and
    transparency of the rounded background outline (LP: #1070297)
  * Resizeinfo Plug-in: Gradient color 2 and 3 settings are ignored and
    no background gradient is rendered (LP: #1070233)
  * Expo animations "Fade + Zoom" & "Vortex" result in a black screen
    (LP: #875311)
  * Workspacenames Plug-in: Wishlist: No default values...

Read more...

Changed in compiz (Ubuntu):
status: Fix Committed → Fix Released
Changed in compiz:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments