![Davmail Java 在 11.10 升级后因 SIGSEGV 终止](https://linux22.com/image/1093743/Davmail%20Java%20%E5%9C%A8%2011.10%20%E5%8D%87%E7%BA%A7%E5%90%8E%E5%9B%A0%20SIGSEGV%20%E7%BB%88%E6%AD%A2.png)
我最喜欢的程序之一 davmail 在升级到 11.10 后崩溃了。在提交错误报告之前,我只想检查一下是否有快速修复方法。谢谢。
$ davmail
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007ff9e08d46b0, pid=7998, tid=140711267337984
#
# JRE version: 6.0_23-b23
# Java VM: OpenJDK 64-Bit Server VM (20.0-b11 mixed mode linux-amd64 compressed oops)
# Derivative: IcedTea6 1.11pre
# Distribution: Ubuntu oneiric (development branch), package 6b23~pre10-0ubuntu5
# Problematic frame:
# C [libdbus-1.so.3+0x246b0]
[error occurred during error reporting (printing problematic frame), id 0xb]
# An error report file with more information is saved as:
# /home/pcm/hs_err_pid7998.log
GConf Error: Configuration server couldn't be contacted: D-BUS error: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
答案1
我通过安装解决了openjdk-7-jre,然后链接/usr/bin/davmail
脚本以使用 JDK1.7 java 二进制文件。
答案2
安装openjdk7后,执行以下操作:
sudo update-alternatives --set java /usr/lib/jvm/java-7-openjdk-i386/jre/bin/java