CrashPlan client closes in some Linux installations

From ThinkServer
Revision as of 01:57, 20 November 2013 by Sam (talk | contribs) (Page created, slightly amended for openSUSE 13.1)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Affects

CrashPlan Client 3.5.3 openSUSE 13.1 Linux, running GNOME 3, have GNOME 3 repositories added, and/or have installed libwebkitgtk-dev

Summary

The desktop client fails to launch. The splash screen appears for a second or two, and then disappears without error.

Diagnosis

The ui_output.log file within usr/local/crashplan/log (for openSUSE) displays:

   #
   # A fatal error has been detected by the Java Runtime Environment:
   #
   #  SIGSEGV (0xb) at pc=0x00007f1d89bd7009, pid=14960, tid=139766130898688
   #
   # JRE version: 6.0_25-b06
   # Java VM: Java HotSpot(TM) 64-Bit Server VM (20.0-b11 mixed mode linux-amd64 compressed oops)
   # Problematic frame:
   # C  [libsoup-2.4.so.1+0x6e009]  short+0x19
   #
   # An error report file with more information is saved as:
   # /tmp/hs_err_pid14960.log
   #
   # If you would like to submit a bug report, please visit:
   #   http://java.sun.com/webapps/bugreport/crash.jsp
   # The crash happened outside the Java Virtual Machine in native code.
   # See problematic frame for where to report the bug.
   #

Root Cause

This is a bug in libsoup:

Wordaround

  1. Edit ./crashplan/bin/run.conf
  2. Navigate to the end of the GUI_JAVA_OPTS section
  3. Add this line, inside the quotes:
-Dorg.eclipse.swt.browser.DefaultType=mozilla
  • Example:
SRV_JAVA_OPTS="-Dfile.encoding=UTF-8 -Dapp=CrashPlanService -DappBaseName=CrashPlan -Xms20m -Xmx512m -Djava.net.preferIPv4Stack=true -Dsun.net.inetaddr.ttl=300 -Dnetworkaddress.cache.ttl=300 -Dsun.net.inetaddr.negative.ttl=0 -Dnetworkaddress.cache.negative.ttl=0 -Dc42.native.md5.enabled=false"
GUI_JAVA_OPTS="-Dfile.encoding=UTF-8 -Dapp=CrashPlanDesktop -DappBaseName=CrashPlan -Xms20m -Xmx512m -Djava.net.preferIPv4Stack=true -Dsun.net.inetaddr.ttl=300 -Dnetworkaddress.cache.ttl=300 -Dsun.net.inetaddr.negative.ttl=0 -Dnetworkaddress.cache.negative.ttl=0 -Dc42.native.md5.enabled=false -Dorg.eclipse.swt.browser.DefaultType=mozilla"

After saving the file, the CrashPlan Desktop should launch properly.

For more information

This article was taken from the Code42 CrashPlan forums and has been slightly ammended to work with openSUSE 13.1 where I'm having the problem. Has been tested and works.

Original website: https://helpdesk.code42.com/entries/24395528-CrashPlan-client-closes-in-some-Linux-installations