soupslurpr / BeauTyXT

A beautiful, private, secure, and minimalistic Text, Markdown, and Typst editor.
https://beautyxt.app
ISC License
77 stars 6 forks source link

The app keeps crashing #138

Closed shuen2023 closed 3 months ago

shuen2023 commented 3 months ago

Hello! I've downloaded the latest version, 0.21. However, when I try to create or open .typ files and long press on my phone's keyboard to input, the app crashes. My device is running the Huawei HarmonyOS. I didn't encounter this issue with the previous 0.20 version. It only happens with this latest version, 0.21. Could you please look into this? Thank you!

shuen2023 commented 3 months ago

logcat.txt

soupslurpr commented 3 months ago

Hi! Does this happen with Markdown and Plain Text as well? From a quick look at the logs it seems it might be something related to the new security feature of running each file with its own isolated process Rust library. Maybe your device doesn't support it?

shuen2023 commented 3 months ago

你好!Markdown 和纯文本也会发生这种情况吗?快速查看日志似乎可能与使用自己的独立进程 Rust 库运行每个文件的新安全功能有关。也许您的设备不支持?

Yes, markdown is like this too。 So. Can I only use version 0.2?

soupslurpr commented 3 months ago

Unfortunately yes, but can you tell me what device you have?

shuen2023 commented 3 months ago

Unfortunately yes, but can you tell me what device you have?

Huawei’s Hongmeng OS looks like Android 12 on ADB https://github.com/Awesome-HarmonyOS/HarmonyOS/tree/master

soupslurpr commented 3 months ago

You might not be running Android it seems. Sorry, only Android is supported.

shuen2023 commented 3 months ago

看来您可能没有运行 Android。抱歉,仅支持 Android。

OK, thanks。

NarwhalPrince commented 3 months ago

Getting app crash on GrapheneOS when entering text in a Markdown file. Enabled exploit protection compatibility mode to test, same behavior. BeauTyXT log b807d6835c31.txt

soupslurpr commented 3 months ago

Does it only crash on a specific file? If you make a new file does it still crash? If it crashes when typing something specific, please let me know.

soupslurpr commented 3 months ago

I just reproduced it. I'm not sure how this went past my testing.

NarwhalPrince commented 3 months ago

Just did a little more testing, it crashes in the markdown editor when the renderer is enabled.

NarwhalPrince commented 3 months ago

Let me know if you need a different log

soupslurpr commented 3 months ago

seems the issue is that some dependency needs new sys calls after updating it, I should have tested it. I apologize. A new release will be out very soon to fix this.

soupslurpr commented 3 months ago

Note that the issue this is for seems to be unrelated as Typst works fine and I did test that

soupslurpr commented 3 months ago

I just released 0.21.1, @NarwhalPrince it works fine now.

@shuen2023 While I don't think it will fix your issue as it seems unrelated, it won't hurt to try.

shuen2023 commented 3 months ago

I just released 0.21.1, @NarwhalPrince it works fine now.

@shuen2023 While I don't think it will fix your issue as it seems unrelated, it won't hurt to try.

Unfortunately it still shuts down unexpectedly. I may need to change my phone. Thanks

soupslurpr commented 2 months ago

@shuen2023 can you try the newest version? This issue wasn't completely resolved in the previous one.

shuen2023 commented 2 months ago

@shuen2023 can you try the newest version? This issue wasn't completely resolved in the previous one.

Yes. Now it works fine. I rarely come across such an easy-to-use APP, thank you for everything.

soupslurpr commented 2 months ago

That's good, thanks :)