compiz crashed with SIGSEGV in memmove() from drisw_update_tex_buffer() from dri_set_tex_buffer2() from drisw_bind_tex_image() from __glXBindTexImageEXT() from TfpTexture::enable() from enableFragmentOperationsAndDrawGeometry()

- compiz crashed with SIGSEGV in drisw_update_tex_buffer() from ... from+ compiz crashed with SIGSEGV in memmove() from drisw_update_tex_buffer()+ from dri_set_tex_buffer2() from drisw_bind_tex_image() from __glXBindTexImageEXT() from TfpTexture::enable() from enableFragmentOperationsAndDrawGeometry()

summary:

- compiz crashed with SIGSEGV in memmove() from drisw_update_tex_buffer()+ compiz crashed with SIGSEGV inmemmove() from drisw_update_tex_buffer() from dri_set_tex_buffer2() from drisw_bind_tex_image() from __glXBindTexImageEXT() from TfpTexture::enable() from enableFragmentOperationsAndDrawGeometry()

summary:

- compiz crashed with SIGSEGV inmemmove() from drisw_update_tex_buffer()+ compiz crashed with SIGSEGV in memmove() from drisw_update_tex_buffer() from dri_set_tex_buffer2() from drisw_bind_tex_image() from __glXBindTexImageEXT() from TfpTexture::enable() from enableFragmentOperationsAndDrawGeometry()

I first encountered the problem when I was in the process of installing a big pile of
updates using aptitude... (see Bug #1040774)

Then the UI began behaving all wacky. Everything started flashing
black every time I moved the mouse. Menus were positioned in the wrong
places, Could not reposition windows on the UI. It was very difficult
to see the windows inside the GU layers. This made Quantal practically unusable
because because it would only correctly respond to about 1% of the mouse clicks.

It turns out that during the upgrade my screen resolution was changed to 3840x1920 ( the first one in the pick list). I run Quantal on VMware® Workstation 8.0.4 build-744019. In the Systems-Settings => Displays I now see 'Laptop' where I used to see 'Unknown'. Perhaps this is the new default.

Anyway after editing the xorg.conf file with nano and setting the display resolution back to 1920 x 1200 - everything seems fine.

I had the same situation described in comment #12, and changing screen resolution, even down to 1024x768, didn't help much. It did reduce the flashing and black screen, but not enough to make it really usable. So I think that reducing screen resolution makes the problem "less bad", not actually better.

That having been said, with the latest (as of Aug 29) updates, the black screen and display artifact issues went away, and when Compiz crashes, Unity manages to restart itself after a short delay, so the machine isn't completely unusable.

Forget what I said in #12 (changing screen resolution didnt stop it - still happening as of Bug #1044454 [unity 6.2.0-0ubuntu4 ; Ubuntu 3.2.0-12.21-generic 3.2.2 ). Although I agree with jdreed in #13 it is way more stable than before.

smspillaz:
Would it make sense to keep the pixmap allocation in the decorator, but move all pixmap frees into the decor plugin? That should ensure any pixmap passed to decor is still valid. Assuming that is the problem.

Yes, that will work, however we'll need to be careful about not leaking in the decorator in that case. That will probably involve compiz creating a session window as well for the decorator, which isn't a difficult task

[ Timo Jyrinki ]
* New upstream snapshot.
- Fix multiple window placement bugs (LP: #974242) (LP: #976032)
- Don't waste CPU looping through and looking at all the windows if you're
rendering an output that has no damage on it. (LP: #1014986)
- Updated convert files to fix some typos in the key names. (LP: #1041631)
- Fix crash when imgsvg is loaded, due to missing symbol
(decor_apply_gravity from libdecoration). (LP: #956986)
- Treat unresolved symbols at link time as an error, rather than letting
them through and cause strange crashes later. (LP: #1043143)
- Refactors a little bit of the upgrade code and gets it under test to
prepare to fix (LP: #1042537)
- Updated AUTHORS from the full bzr log, and re-sort the list.
(LP: #1042095)
- Fixes FTBFS for kde4-window-decorator (LP: #1041310)
- Fix obvious omissions from the introduction of unminimize_*,
which were causing the unminimize animation settings to be ignored
(LP: #1040455)
- resize plugin: don't crash if resize wasn't initiated externally
(LP: #1045191)
- Clean up capitalization (LP: #1045652)
- Avoid division by zero, if plugins try to deform a window down to size
zero. (LP: #1045235)
- Make "Unredirect Fullscreen Windows" more reliable. This fixes the
problem with unredirection failing to engage at all (LP: #1041066) when
gtk-window-decorator creates offscreen windows that are stacked on top.
This also fixes the problem with unredirect hiding all windows,
because it thinks the desktop window should be stacked on top
(LP: #980663).
- Ensure unredirected windows don't stay unredirected if they're no longer
on top. (LP: #1041047)
- Fix launching terminal functionality and make show-hud default key
visible. Update the defaults to org.compiz.integrated to reflect the
actual gnome values pre-gnome-3. (LP: #1040081) (LP: #1046199)
(LP: #1046190)
- Fix show-hud, bump COMPIZ_GNOME_INTEGRATED_SETTINGS_LIST_SIZE.
(LP: #1046212)
- Fixed: Windows with an alpha-channel, like gnome-terminal, were not
being considered as possibly covering fullscreen windows. But they most
certainly can. This ensures such RGBA windows are visible if they're
stacked above a fullscreen window. (LP: #1046661)
- Remove ListToStringList (LP: #1046184)
- Fix typo causing CMake Error (LP: #1045665)
- Transitions gtk-window-decorator over to use GSettings. Add a testing
framework for the options code. (LP: #1042323)
- Also need kdeworkspace since kdecorationbridge.h is there
(LP: #1046770)
- Implements some cleanup that was suggested on the merge for the original
port to gsettings. Other issues fixed as wel...