compiz crashes with SIGSEGV in ccsGNOMEIntegrationInitializeIntegratedSettingsList [ccs_gnome_integration_constants.c:170]

Bug #1065814 reported by Daniel van Vugt on 2012-10-12
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Compiz
Medium
Daniel van Vugt
compiz (Ubuntu)
Medium
Daniel van Vugt

Bug Description

Compiled compiz with clang (env CC=clang CXX=clang++) and it crashes on startup:

Core was generated by `./bin/compiz --replace ccp'.
Program terminated with signal 11, Segmentation fault.
#0 0x00007f7a75716ad1 in ccsGNOMEIntegrationInitializeIntegratedSettingsList (data=<optimised out>) at /home/dan/bzr/compiz/trunk/compizconfig/integration/gnome/src/ccs_gnome_integration_constants.c:170
170 array[0].pluginName = plugins->CORE;
(gdb) bt
#0 0x00007f7a75716ad1 in ccsGNOMEIntegrationInitializeIntegratedSettingsList (data=<optimised out>) at /home/dan/bzr/compiz/trunk/compizconfig/integration/gnome/src/ccs_gnome_integration_constants.c:170
#1 0x00007f7a7913fa88 in g_once_impl (once=0x7f7a7591f7f8, func=0x7f7a75716ac0 <ccsGNOMEIntegrationInitializeIntegratedSettingsList>, arg=0x7f7a7571bbc0) at /build/buildd/glib2.0-2.32.3/./glib/gthread.c:627
#2 0x00007f7a75716ab0 in ccsGNOMEIntegratedSettingsList () at /home/dan/bzr/compiz/trunk/compizconfig/integration/gnome/src/ccs_gnome_integration_constants.c:421
#3 0x00007f7a757144e7 in registerAllIntegratedOptions (integration=<optimised out>, integration=<optimised out>) at /home/dan/bzr/compiz/trunk/compizconfig/integration/gnome/src/ccs_gnome_integration.c:94
#4 ccsGNOMEIntegrationBackendGetIntegratedSetting (integration=<optimised out>, pluginName=<optimised out>, settingName=<error reading variable: Unhandled dwarf expression opcode 0x0>)
    at /home/dan/bzr/compiz/trunk/compizconfig/integration/gnome/src/ccs_gnome_integration.c:116
#5 0x00007f7a7592293f in readSetting (backend=0x1a7b280, context=0x1a79050, setting=0x1a9b790) at /home/dan/bzr/compiz/trunk/compizconfig/gsettings/src/gsettings.c:370
#6 0x00007f7a760b3dbc in ccsBackendReadSetting (plugin=<optimised out>, context=<error reading variable: Unhandled dwarf expression opcode 0x0>, setting=<optimised out>, backend=<optimised out>,
    context=<error reading variable: Unhandled dwarf expression opcode 0x0>, setting=<optimised out>) at /home/dan/bzr/compiz/trunk/compizconfig/libcompizconfig/src/main.c:1457
#7 ccsReadPluginSettingsDefault (plugin=<optimised out>) at /home/dan/bzr/compiz/trunk/compizconfig/libcompizconfig/src/main.c:3461
#8 0x00007f7a760a5e42 in ccsLoadPluginSettings (plugin=<optimised out>) at /home/dan/bzr/compiz/trunk/compizconfig/libcompizconfig/src/compiz.cpp:3263
#9 0x00007f7a760ad733 in ccsContextNew (screenNum=<optimised out>, iface=<optimised out>) at /home/dan/bzr/compiz/trunk/compizconfig/libcompizconfig/src/main.c:545
#10 0x00007f7a762cfec7 in CcpScreen::CcpScreen (this=0x1a78f40, screen=0x1a16eb0) at /home/dan/bzr/compiz/trunk/plugins/ccp/src/ccp.cpp:509
#11 0x00007f7a762d0d72 in CompPlugin::VTableForScreen<CcpScreen>::initScreen (this=<optimised out>, s=0x0) at /home/dan/bzr/compiz/trunk/plugins/../include/core/plugin.h:282
#12 0x00007f7a7b121d75 in CompManager::initPlugin (p=<optimised out>) at /home/dan/bzr/compiz/trunk/src/plugin.cpp:233
#13 0x00007f7a7b1227cf in CompPlugin::push (p=<optimised out>) at /home/dan/bzr/compiz/trunk/src/plugin.cpp:449
#14 0x00007f7a7b0ec2e0 in compiz::private_screen::PluginManager::updatePlugins (this=<error reading variable: Unhandled dwarf expression opcode 0x0>, screen=<optimised out>, extraPluginsRequested=...)
    at /home/dan/bzr/compiz/trunk/src/screen.cpp:1117
#15 0x00007f7a7b0f6f59 in initPlugins (this=<optimised out>, this=<optimised out>) at /home/dan/bzr/compiz/trunk/src/screen.cpp:4777
#16 CompScreenImpl::init (this=<optimised out>, name=<optimised out>) at /home/dan/bzr/compiz/trunk/src/screen.cpp:4820
#17 0x0000000000404425 in CompManager::init (this=0x7fffa1ea6858) at /home/dan/bzr/compiz/trunk/src/main.cpp:168
#18 0x00000000004046f2 in main (argc=<optimised out>, argv=<optimised out>) at /home/dan/bzr/compiz/trunk/src/main.cpp:257
(gdb)

Related branches

tags: added: clang
Changed in compiz:
milestone: none → 0.9.9.0
Changed in compiz:
assignee: nobody → Daniel van Vugt (vanvugt)
status: New → In Progress
Changed in compiz:
status: In Progress → Fix Committed
Changed in compiz:
importance: Undecided → Medium
Changed in compiz (Ubuntu):
assignee: nobody → Daniel van Vugt (vanvugt)
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