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

🐞 反馈问题:App在后台突然crash #759

Open
5 of 6 tasks
oxoxoxox opened this issue Dec 23, 2024 · 5 comments
Open
5 of 6 tasks

🐞 反馈问题:App在后台突然crash #759

oxoxoxox opened this issue Dec 23, 2024 · 5 comments
Labels
bug Something isn't working rare issue

Comments

@oxoxoxox
Copy link

oxoxoxox commented Dec 23, 2024

请先确认以下事项:

  • 请务必查看 常见问题
  • 已仔细阅读了 README
  • issues 页面搜索过问题(包括已关闭的 issue),但未能找到解决方法
  • Easydict 已升级到 最新版本
  • 我理解并认可上述内容,并理解项目维护者精力有限,不遵循规则的 issue 可能会被无视或直接关闭

问题描述

App在后台运行过程中,突然从通知栏上消失,查看日志,确认发生crash,手动启动app后恢复正常运行

该问题是否可以稳定重现?

不可重现

重现步骤

偶发crash

截图

运行日志(zip 文件)

Easydict log 2024-12-23 16-00-35-260.zip

期望结果

修正crash

解决方案(可选)

No response

设备型号 && 系统版本

Apple M1 Pro, macOS 15.2 (24C101)

是否愿意提交 PR 解决该问题?

  • 我愿意提交 PR 来解决该问题
@oxoxoxox oxoxoxox added the bug Something isn't working label Dec 23, 2024
@tisfeng
Copy link
Owner

tisfeng commented Dec 23, 2024

看到有一个崩溃日志记录,但没有找到有用的信息。

对于这种不能重现的奇怪问题,没什么好办法,只能看后续能不能找到规律了。

@oxoxoxox
Copy link
Author

看到有一个崩溃日志记录,但没有找到有用的信息。

对于这种不能重现的奇怪问题,没什么好办法,只能看后续能不能找到规律了。

嗯,如果日志不足的话,那只能再观察看看了,我这边最近发生了好几次了,差不多一周左右就能出现一次
我再观察一下吧,看能不能找到规律

@Flavored4179
Copy link

我电脑系统是macos sequoia 15.3 beta版,软件是最新的2.10.2,最近划词翻译显示迷你窗口就自动闪退。日志如下:
Signal Exception:
Signal SIGABRT was raised.
Call Stack:
1 libsystem_platform.dylib 0x0000000194a32de4 _sigtramp + 56
2 libsystem_pthread.dylib 0x00000001949fbf70 pthread_kill + 288
3 libsystem_c.dylib 0x0000000194908908 abort + 128
4 libc++abi.dylib 0x00000001949b244c _ZN10__cxxabiv130__aligned_malloc_with_fallbackEm + 0
5 libc++abi.dylib 0x00000001949a0a40 _ZL28demangling_terminate_handlerv + 348
6 libobjc.A.dylib 0x00000001946493e4 _ZL15_objc_terminatev + 156
7 libc++abi.dylib 0x00000001949b1710 _ZSt11__terminatePFvvE + 16
8 libc++abi.dylib 0x00000001949b16b4 _ZSt9terminatev + 108
9 libdispatch.dylib 0x00000001948495c8 _dispatch_client_callout + 40
10 libdispatch.dylib 0x0000000194858088 _dispatch_main_queue_drain + 1056
11 libdispatch.dylib 0x0000000194857c58 _dispatch_main_queue_callback_4CF + 44
12 CoreFoundation 0x0000000194b239c0 CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 16
13 CoreFoundation 0x0000000194ae35ac __CFRunLoopRun + 1996
14 CoreFoundation 0x0000000194ae2724 CFRunLoopRunSpecific + 588
15 HIToolbox 0x00000001a004a530 RunCurrentEventLoopInMode + 292
16 HIToolbox 0x00000001a0050348 ReceiveNextEventCommon + 676
17 HIToolbox 0x00000001a0050508 _BlockUntilNextEventMatchingListInModeWithFilter + 76
18 AppKit 0x0000000198650868 _DPSNextEvent + 660
19 AppKit 0x0000000198fb6b10 -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 688
20 AppKit 0x0000000198643894 -[NSApplication run] + 480
21 AppKit 0x000000019861a088 NSApplicationMain + 888
22 SwiftUI 0x00000001c37547ac $s7SwiftUI6runAppys5NeverOSo21NSApplicationDelegate_So11NSResponderCXcFTf4e_nAA07TestingdG0C_Tg5Tm + 160
23 SwiftUI 0x00000001c3bca660 $s7SwiftUI6runAppys5NeverOxAA0D0RzlF + 140
24 SwiftUI 0x00000001c3f46d7c $s7SwiftUI3AppPAAE4mainyyFZ + 224
25 Easydict 0x000000010457ee6c Easydict + 814700
26 dyld 0x000000019467c274 start + 2840
threadInfo:
<_NSMainThread: 0x6000003401c0>{number = 1, name = main}

@tisfeng
Copy link
Owner

tisfeng commented Jan 4, 2025

@Flavored4179 每次都会出现闪退吗,有没有什么规律?

这个日志看不出什么问题,可能和 objc 与 Swift 的交互有关。

@tisfeng
Copy link
Owner

tisfeng commented Jan 5, 2025

我电脑系统是macos sequoia 15.3 beta版,软件是最新的2.10.2,最近划词翻译显示迷你窗口就自动闪退。日志如下: Signal Exception: Signal SIGABRT was raised. Call Stack: 1 libsystem_platform.dylib 0x0000000194a32de4 _sigtramp + 56 2 libsystem_pthread.dylib 0x00000001949fbf70 pthread_kill + 288 3 libsystem_c.dylib 0x0000000194908908 abort + 128 4 libc++abi.dylib 0x00000001949b244c _ZN10__cxxabiv130__aligned_malloc_with_fallbackEm + 0 5 libc++abi.dylib 0x00000001949a0a40 _ZL28demangling_terminate_handlerv + 348 6 libobjc.A.dylib 0x00000001946493e4 _ZL15_objc_terminatev + 156 7 libc++abi.dylib 0x00000001949b1710 _ZSt11__terminatePFvvE + 16 8 libc++abi.dylib 0x00000001949b16b4 _ZSt9terminatev + 108 9 libdispatch.dylib 0x00000001948495c8 _dispatch_client_callout + 40 10 libdispatch.dylib 0x0000000194858088 _dispatch_main_queue_drain + 1056 11 libdispatch.dylib 0x0000000194857c58 _dispatch_main_queue_callback_4CF + 44 12 CoreFoundation 0x0000000194b239c0 CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 16 13 CoreFoundation 0x0000000194ae35ac __CFRunLoopRun + 1996 14 CoreFoundation 0x0000000194ae2724 CFRunLoopRunSpecific + 588 15 HIToolbox 0x00000001a004a530 RunCurrentEventLoopInMode + 292 16 HIToolbox 0x00000001a0050348 ReceiveNextEventCommon + 676 17 HIToolbox 0x00000001a0050508 _BlockUntilNextEventMatchingListInModeWithFilter + 76 18 AppKit 0x0000000198650868 _DPSNextEvent + 660 19 AppKit 0x0000000198fb6b10 -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 688 20 AppKit 0x0000000198643894 -[NSApplication run] + 480 21 AppKit 0x000000019861a088 NSApplicationMain + 888 22 SwiftUI 0x00000001c37547ac $s7SwiftUI6runAppys5NeverOSo21NSApplicationDelegate_So11NSResponderCXcFTf4e_nAA07TestingdG0C_Tg5Tm + 160 23 SwiftUI 0x00000001c3bca660 $s7SwiftUI6runAppys5NeverOxAA0D0RzlF + 140 24 SwiftUI 0x00000001c3f46d7c $s7SwiftUI3AppPAAE4mainyyFZ + 224 25 Easydict 0x000000010457ee6c Easydict + 814700 26 dyld 0x000000019467c274 start + 2840 threadInfo: <_NSMainThread: 0x6000003401c0>{number = 1, name = main}

可能是有道服务的问题,请更新到新版本 2.11.0 试试。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working rare issue
Projects
None yet
Development

No branches or pull requests

3 participants