问题
在将我的macOS更新到蒙特雷(12.0.1)之后,我很难用ExtJS启动我的本地项目。
执行时:
sencha app watch
获取错误:
Sencha Cmd v7.5.0.5
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007ff813dcb6f2, pid=18621, tid=0x000000000000a707
#
# JRE version: OpenJDK Runtime Environment (8.0_242-b08) (build 1.8.0_242-b08)
# Java VM: OpenJDK 64-Bit Server VM (25.242-b08 mixed mode bsd-amd64 compressed oops)
# Problematic frame:
# C [libsystem_platform.dylib+0x16f2] _platform_strlen+0x12
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# [my app folder]/hs_err_pid18621.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
/Users/kellerkichel/bin/Sencha/Cmd/sencha: line 167: 18621 Abort trap: 6 $BASEDIR/$VER/sencha "$@"
有趣的是…如果再次运行…相同的命令(sencha app watch
),错误会发生变化:
2021-12-06 22:10:28.229 java[17909:173895]***Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '***-[NSPlaceholderString initWithFormat:locale:arguments:]: nil argument'
***First throw call stack:
(
0 CoreFoundation 0x00007ff813efae5b __exceptionPreprocess + 242
1 libobjc.A.dylib 0x00007ff813c5bb9d objc_exception_throw + 48
2 Foundation 0x00007ff814c9126d -[NSPlaceholderString initWithFormat:locale:arguments:] + 295
3 Foundation 0x00007ff814c9ff2f +[NSString stringWithFormat:] + 153
4 Update1478821341979869630.dylib 0x00000001218897a9 wuusgJAD + 553
5 Update1478821341979869630.dylib 0x0000000121874319 pGgFelzv + 9
6 Update1478821341979869630.dylib 0x0000000121888ab2 MKNXgAzM + 562
7 Update1478821341979869630.dylib 0x000000012188795d tyRtaPXr + 61
8 Update1478821341979869630.dylib 0x00000001218877bb ZWwnJFGw + 283
9 Update1478821341979869630.dylib 0x0000000121880dc6 Phdl_SDOTFG + 246
10 Update1478821341979869630.dylib 0x0000000121880e49 Phdl_SDOTF + 25
11 Update1478821341979869630.dylib 0x000000012186e505 Java_phdl_Phdl_SDOTF + 21
12 ??? 0x000000010e0e3407 0x0 + 4530779143
)
libc++abi: terminating with uncaught exception of type NSException
/Users/kellerkichel/bin/Sencha/Cmd/sencha: line 167: 17909 Abort trap: 6 $BASEDIR/$VER/sencha "$@"
再一次(sencha app watch
)……另一个:
java(18084,0x7000041c5000) malloc: Heap corruption detected, free list is damaged at 0x6000005f3330
***Incorrect guard value: 105553126503408
java(18084,0x7000041c5000) malloc:***set a breakpoint in malloc_error_break to debug
/Users/kellerkichel/bin/Sencha/Cmd/sencha: line 167: 18084 Abort trap: 6 $BASEDIR/$VER/sencha "$@"
每次执行后,错误在上面的错误之间交替出现。。。
尝试次数
1-JAVA首先,我认为是JAVA版本的问题,所以我删除了所有安装的JAVA*,包括brew安装的版本。
还删除了对JAVA_HOME的所有引用,并重新安装了JAVA 8。没有成功……用JAVA 11和JAVA 17再次尝试,但没有成功。
Obs.在JAVA 17,问题有所改变,但这是因为JAVA 17不再有javascript处理器(javax
)。
2-SENCHA CMD在JAVA之后,已经检查了SENCHA CMD,如果有任何更新或其他内容……我的Senchacmd版本是7.4.0.39,并且令我惊讶的是有了新版本(7.5.0.5),但更新之后仍然不起作用。
有什么建议吗?
2条答案
按热度按时间s3fp2yjn1#
1.下载JRE 8(支持apple sillicon necessary,例如:zulu/bellsoft)并解压缩。
1.将“{your_senchacmd_path}/.install4j/inst_jre.cfg”和“{your _senchacmd_path}/.install4j/pref_jre.cofg”中的路径编辑为新的jre路径。
原因:Sencha CMD包含的JRE不是为ARM体系结构编译的,即使使用Rosetta 2也是如此。
rwqw0loc2#
在与一些sencha MVP不和的谈话后……收到了以下提示:
您必须删除以下文件:/Users/user/Library/Application Support/Sencha/Cmd/Update/app.properties
在解决该问题后,系统再次工作。我希望这些答案能对某人有所帮助!!
使现代化
在一些mac操作系统更新后删除应用程序。属性停止工作。因此,sencha报告将
bypass_lp:true
添加到e1d1e