← Back to team overview

compiz team mailing list archive

[Bug 1065815] Re: compiz crashes with SIGSEGV in startup: ./bin/compiz (core) - Fatal: Private index value "15CompositeScreen_index_5" already stored in screen.

 

** Description changed:

- == Impact ==
+ [Impact]
  
  A crasher that may explain a class of compiz crashes regarding disabling
  and enabling plugins.
  
- == Test case ==
+ [Test case]
  
  Compile compiz with clang and try to start it.
  
- == Regression potential ==
+ [Regression potential]
  
  Low, adds only template lines and no real code.
  
  ---original description below---
  
  Compiled compiz with clang (env CC=clang CXX=clang++) and it crashes on
  startup:
  
  ./bin/compiz (core) - Info: Loading plugin: core
  ./bin/compiz (core) - Info: Starting plugin: core
  ./bin/compiz (core) - Info: Loading plugin: composite
  ./bin/compiz (core) - Info: Starting plugin: composite
  ./bin/compiz (core) - Info: Loading plugin: opengl
  ./bin/compiz (core) - Info: Starting plugin: opengl
  ./bin/compiz (core) - Fatal: Private index value "15CompositeScreen_index_5" already stored in screen.
  Segmentation fault (core dumped)
  
  Core was generated by `./bin/compiz --replace composite opengl move resize decor'.
  Program terminated with signal 11, Segmentation fault.
  #0  CompositeScreen::output (this=<optimised out>)
      at /home/dan/bzr/compiz/trunk/plugins/composite/src/screen.cpp:627
  627	    return priv->output;
  (gdb) bt
  #0  CompositeScreen::output (this=<optimised out>)
      at /home/dan/bzr/compiz/trunk/plugins/composite/src/screen.cpp:627
  #1  0x00007f5b0fde5441 in PrivateGLScreen::PrivateGLScreen (
      this=<optimised out>, gs=<optimised out>)
      at /home/dan/bzr/compiz/trunk/plugins/opengl/src/screen.cpp:1139
  #2  0x00007f5b0fde453c in GLScreen::GLScreen (this=<optimised out>,
      s=<optimised out>)
      at /home/dan/bzr/compiz/trunk/plugins/opengl/src/screen.cpp:829
  #3  0x00007f5b0fdd3f56 in PluginClassHandler<GLScreen, CompScreen, 6>::get (
      base=<error reading variable: Unhandled dwarf expression opcode 0x0>)
      at /home/dan/bzr/compiz/trunk/plugins/../src/pluginclasshandler/include/core/pluginclasshandler.h:225
  #4  0x00007f5b0fde175c in CompPlugin::VTableForScreenAndWindow<GLScreen, GLWindow>::initScreen(CompScreen*) ()
     from /home/dan/trunk.clang/lib/compiz/libopengl.so
  #5  0x00007f5b192ddd75 in CompManager::initPlugin (p=<optimised out>)
      at /home/dan/bzr/compiz/trunk/src/plugin.cpp:233
  #6  0x00007f5b192de7cf in CompPlugin::push (p=<optimised out>)
      at /home/dan/bzr/compiz/trunk/src/plugin.cpp:449
  #7  0x00007f5b192a82e0 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
  #8  0x00007f5b192b2f59 in initPlugins (this=<optimised out>,
      this=<optimised out>) at /home/dan/bzr/compiz/trunk/src/screen.cpp:4777
  #9  CompScreenImpl::init (this=<optimised out>, name=<optimised out>)
      at /home/dan/bzr/compiz/trunk/src/screen.cpp:4820
  #10 0x0000000000404425 in CompManager::init (this=0x7fffd8b3aa58)
      at /home/dan/bzr/compiz/trunk/src/main.cpp:168
  #11 0x00000000004046f2 in main (argc=<optimised out>, argv=<optimised out>)
      at /home/dan/bzr/compiz/trunk/src/main.cpp:257
  (gdb)

-- 
You received this bug notification because you are a member of compiz
packagers, which is subscribed to compiz in Ubuntu.
https://bugs.launchpad.net/bugs/1065815

Title:
  compiz crashes with SIGSEGV in startup: ./bin/compiz (core) - Fatal:
  Private index value "15CompositeScreen_index_5" already stored in
  screen.

To manage notifications about this bug go to:
https://bugs.launchpad.net/compiz/+bug/1065815/+subscriptions