6

在运行 SmartGit 提供的 shell 脚本时,

  Java HotSpot(TM) 64-Bit Server VM warning: You have loaded library /home/User/.smartgit/6/jna-tmp/com/sun/jna/linux-i386/libjnidispatch.so which might have disabled stack guard. The VM will try to fix the stack guard now.

  It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.

虽然它打开得很好,但在我做出提交时,

java: cairo-misc.c:380: _cairo_operator_bounded_by_source: Assertion `NOT_REACHED' failed.
smartgithg.sh: line 100:   394 Aborted                 $_JAVA_EXEC $_VM_PROPERTIES -Xmx${SMARTGITHG_MAX_HEAP_SIZE} -Xverify:none -Dsmartgit.vm-xmx=${SMARTGITHG_MAX_HEAP_SIZE} -jar "$SMARTGIT_HOME/lib/bootloader.jar" "$@

经过一番研究,我发现,

  1. 应使用 64 位库。(如果这是原因,请告诉我该怎么做)。

  2. 未找到正确的 JRE。下载了一个新的 JRE 并在 shell 脚本中给出了它的路径。同样的警告和崩溃。

可能是什么原因造成的,我该如何解决?

4

2 回答 2

6

On the subject of the preventing the SmartGit 6.0.7 crash on opening the commit dialog, as a work-around I modified the smartgithg.sh to add -Dorg.eclipse.swt.internal.gtk.cairoGraphics=false to the Java command. i.e. changed the command to:

$_JAVA_EXEC $_VM_PROPERTIES -Xmx${SMARTGITHG_MAX_HEAP_SIZE} -Xverify:none -Dsmartgit.vm-xmx=${SMARTGITHG_MAX_HEAP_SIZE} -Dorg.eclipse.swt.internal.gtk.cairoGraphics=false -jar "$SMARTGIT_HOME/lib/bootloader.jar" "$@"

I found this work-around, for another item of software based upon Eclipse, described at http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/379466.aspx

[I have also sent this information to syntevo support]

于 2014-11-02T15:34:14.763 回答
0

与上述相同SmartSvn in smartsvn.sh

$_JAVA_EXEC $_VM_PROPERTIES -Xmx${SMARTSVN_MAX_HEAP_SIZE} -Dsmartsvn.vm-xmx=${SMARTSVN_MAX_HEAP_SIZE} -Dorg.eclipse.swt.internal.gtk.cairoGraphics=false -jar "$SMARTSVN_HOME/lib/bootloader.jar" "$@ "

于 2014-11-03T15:26:46.160 回答