Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MacOS AMD64从老版本更新到13.3.1 (22E261)后报错 #12

Closed
ThestaRY7 opened this issue Apr 10, 2023 · 9 comments
Closed

MacOS AMD64从老版本更新到13.3.1 (22E261)后报错 #12

ThestaRY7 opened this issue Apr 10, 2023 · 9 comments

Comments

@ThestaRY7
Copy link

没事真不要更新,更新完之后py2没了,然后底层框架好像也有变动。
更新成13.3.1 (22E261)后,运行报错:
segmentation fault。
根据Newbing的解决方法:
根据网络搜索结果,macos segmentation fault是一个常见的错误,可能有多种原因123。一些可能的解决方案是:

更新你的软件或库,例如matplotlib1或nodejs2,到最新的版本。
检查你的代码是否有内存泄漏或指针错误,尤其是如果你使用了C或C++等低级语言。
使用调试工具,例如gdb或lldb,来定位错误发生的位置和原因。
如果你使用了M1芯片的MacBook,可能需要重新编译你的程序或库,以适应不同的架构3
希望这些信息对你有帮助。如果你还有其他问题,请随时提出。

同事的解决方法是重新编译,如Go build再本机编译后即可用,但我没源码。。。

@NHPT
Copy link
Owner

NHPT commented Apr 10, 2023

星球里有过程,代码贴出来怕收到文件

@chenchenhen6
Copy link

image

我的也是这样

@chenchenhen6
Copy link

问题解决了,我使用upx -d xray
image

@NHPT
Copy link
Owner

NHPT commented Apr 24, 2023

牛哇,原来是压缩导致的问题

@ThestaRY7
Copy link
Author

牛批哇,我upx -d 1.9.4没问题,但1.9.8会显示:upx: xray: CantUnpackException: header corrupted 2

@chenchenhen6
Copy link

brew update brew upgrade

@chenchenhen6
Copy link

更新下upx试试

@NHPT
Copy link
Owner

NHPT commented Apr 24, 2023

不应该啊,我就upx压缩的,刚试了试可以解压的呀,用最新版upx试试

@ThestaRY7
Copy link
Author

好了,我从UPX 3.96更新到UPX 4.0.2,可以了。

@NHPT NHPT closed this as completed Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants