[banshee] Workaround X BadMatch crash (bgo#641515)



commit 88604c9667512f43edce9abcf08fd4a096917b3d
Author: Gabriel Burt <gabriel burt gmail com>
Date:   Tue Mar 22 09:26:46 2011 -0500

    Workaround X BadMatch crash (bgo#641515)
    
    For some reason, when webkit is loaded in Banshee switching to Now
    Playing causes this crash.  Setting the XLIB_SKIP_ARGB_VISUALS=1 env
    variable seems to resolve it on many systems.

 src/Clients/Booter/banshee.linux.in |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/Clients/Booter/banshee.linux.in b/src/Clients/Booter/banshee.linux.in
index 38db80a..727f220 100644
--- a/src/Clients/Booter/banshee.linux.in
+++ b/src/Clients/Booter/banshee.linux.in
@@ -47,6 +47,9 @@ fi
 # We are testing the SGen compacting GC
 export MONO_ENV_OPTIONS="--gc=sgen"
 
+# Work around NowPlaying/webkit crash (bgo#641515)
+export XLIB_SKIP_ARGB_VISUALS=1
+
 if [ -n "$BANSHEE_DEBUG" -o -n "$BANSHEE_TRACE" -o -n "$BANSHEE_PROFILE" ]; then
     MONO_OPTIONS="$BANSHEE_DEBUG $BANSHEE_TRACE $BANSHEE_PROFILE"
     echo "** Running Mono with $MONO_OPTIONS **"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]