在运行随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', 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" "$@
在研究了一下,我发现,
应该使用64位库.(如果这是原因请告诉我该怎么做).
找不到正确的JRE.下载了一个新的JRE并在shell脚本中提供了它的路径.同样的警告和崩溃.
可能导致这种情况的原因,我该如何解决?
关于在打开提交对话框时防止SmartGit 6.0.7崩溃的问题,作为解决方法,我修改了smartgithg.sh以添加-Dorg.eclipse.swt.internal.gtk.cairoGraphics=false
到Java命令.即将命令更改为:
$_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" "$@"
我找到了这个解决方法,用于基于Eclipse的另一个软件项目,在http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/379466.aspx中有所描述.
[我也已将此信息发送给syntevo支持]