在运行随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" "$@
研究了一下,我找到了,
应使用64位库。 (如果这是原因请告诉我该怎么做)。
找不到正确的JRE。下载了一个新的JRE并在shell脚本中提供了它的路径。同样的警告和崩溃。
可能导致这种情况的原因,我该如何解决?
答案 0 :(得分:6)
关于在打开提交对话框时阻止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" "$@"
我在http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/379466.aspx
中描述了另一个基于Eclipse的软件项目。[我还将此信息发送给syntevo支持]
答案 1 :(得分: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” “$ @”