summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel Burt <gabriel.burt@gmail.com>2011-03-22 09:26:46 -0500
committerGabriel Burt <gabriel.burt@gmail.com>2011-03-22 09:26:46 -0500
commit88604c9667512f43edce9abcf08fd4a096917b3d (patch)
tree62484842515c16a4383d94b278dfda24dcf27d98
parent62866637b148e3be7c56b7c90fd5639f527299e6 (diff)
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.
-rw-r--r--src/Clients/Booter/banshee.linux.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Clients/Booter/banshee.linux.in b/src/Clients/Booter/banshee.linux.in
index 38db80a00..727f220ee 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 **"