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

Crash in MacOS 13.0 #40

Closed
highsense opened this issue Jan 5, 2023 · 10 comments · Fixed by #43
Closed

Crash in MacOS 13.0 #40

highsense opened this issue Jan 5, 2023 · 10 comments · Fixed by #43
Labels
resolved Issue is resolved but not yet published

Comments

@highsense
Copy link

highsense commented Jan 5, 2023

问题描述
执行任意feishu2md命令,例如:feishu2md --help
均会得到一个如下错误:
[1] 82459 segmentation fault feishu2md --help

To Reproduce
是否有可公开访问的脱敏链接以供测试。

期望的 markdown 格式

请描述在这里

报错的截图
image

更多信息
操作系统:MacOS 13.0
芯片:Intel
安装包:feishu2md-v1.3.3-darwin-amd64.tar.gz

@wy-z
Copy link
Contributor

wy-z commented Jan 5, 2023

Mac 的话看下“隐私与安全性”里有没有提示

@highsense
Copy link
Author

没有看到有提示

@wy-z
Copy link
Contributor

wy-z commented Jan 11, 2023

image

@Wsine Mac 的安装包,在 MacOS M1 13.0 下似乎都有问题

@Wsine
Copy link
Owner

Wsine commented Jan 12, 2023

@Wsine Mac 的安装包,在 MacOS M1 13.0 下似乎都有问题

唔,那我周末看看,但我没有 M1 芯片的 mac,到时候再想想办法。

@Wsine Wsine changed the title segmentation fault Crash in MacOS 13.0 Jan 12, 2023
@highsense
Copy link
Author

老铁们,我在macbook intel芯片下会报segmentation fault,跟M1芯片crash不是一个问题吧?

@Wsine
Copy link
Owner

Wsine commented Jan 12, 2023

老铁们,我在macbook intel芯片下会报segmentation fault,跟M1芯片crash不是一个问题吧?

大概率是同一个问题。目前的进展,我确定了手动打包能够在 M1 MacOS 13.1 下正常运行。应该还是和打包有关系。

@Wsine
Copy link
Owner

Wsine commented Jan 16, 2023

我周末基本上定位到问题是在压缩上面,目前我们项目采用 upx 工具压缩可执行文件,但在 macos 13.0 和 macos 13.1 上面均测试无法正确执行,但在 macos 12.x 上面可以。

upx 仓库也有相关的 issue,详见 upx/upx#612

我们目前有两种解决方案:

  1. 在自动化工具中禁用 macos 的可执行文件的压缩,等待 upx 适配或 macos 后续系统修复后再重新添加回来。
  2. 手动打包 macos 的可执行文件共享

由于我在用 Linux 服务器用该工具做自动化,这方面想听听你 @wy-z 的意见。

@wy-z
Copy link
Contributor

wy-z commented Jan 16, 2023

我周末基本上定位到问题是在压缩上面,目前我们项目采用 upx 工具压缩可执行文件,但在 macos 13.0 和 macos 13.1 上面均测试无法正确执行,但在 macos 12.x 上面可以。

upx 仓库也有相关的 issue,详见 upx/upx#612

我们目前有两种解决方案:

  1. 在自动化工具中禁用 macos 的可执行文件的压缩,等待 upx 适配或 macos 后续系统修复后再重新添加回来。
  2. 手动打包 macos 的可执行文件共享

由于我在用 Linux 服务器用该工具做自动化,这方面想听听你 @wy-z 的意见。

我倾向先禁用 MacOS 的 Upx 压缩~维护,变更成本都低些,对用户影响也不大~

@Wsine
Copy link
Owner

Wsine commented Jan 16, 2023

@highsense @wy-z

Hello, 我重新编译了一个预发布版本 v1.3.4 暂时修复了该问题,在次邀请两位使用其作为日常的工具,如有问题可以继续反馈。

下载地址:https://github.com/Wsine/feishu2md/releases/tag/v1.3.4

一段时间后,如没有更多的问题我会将这个版本转为最新版本。

@highsense
Copy link
Author

highsense commented Jan 16, 2023

@highsense @wy-z

Hello, 我重新编译了一个预发布版本 v1.3.4 暂时修复了该问题,在次邀请两位使用其作为日常的工具,如有问题可以继续反馈。

下载地址:https://github.com/Wsine/feishu2md/releases/tag/v1.3.4

一段时间后,如没有更多的问题我会将这个版本转为最新版本。

谢谢老铁,v1.3.4版本在我电脑上可以正常运行了

@Wsine Wsine added the resolved Issue is resolved but not yet published label Jan 16, 2023
@Wsine Wsine closed this as completed in #43 Jan 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
resolved Issue is resolved but not yet published
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants