Closed web3nomad closed 23 hours ago
完整的 crash report 太大,贴不下,这是 claude3 sonnet 总结的,校验了一下是对的:
Based on the crash report, this error seems to be caused by a segmentation fault (EXC_BAD_ACCESS) when trying to access an invalid memory address (0x0000000000000014). The crash occurred in the voucher_activity_create_with_data function from the libdispatch.dylib library, which is part of the Grand Central Dispatch (GCD) subsystem.
The root cause appears to be in the tracing_subscriber crate, specifically in the new_span function of the Layered struct implementation. This function is responsible for creating a new span (a unit of work in the tracing system) and is called by the query_core crate during the execution of a database query.
The crash likely occurred due to an invalid pointer or memory access issue within the tracing_subscriber crate or one of its dependencies. It's possible that there's a bug in the crate or a memory corruption issue in the application.
To further investigate and resolve this issue, you may need to:
Check for any updates or known issues with the tracing_subscriber crate and its dependencies, and update them if necessary. Review the code in the tracing_subscriber crate, particularly the new_span function and its related code, for any potential memory safety issues or bugs. Enable additional debugging or logging in the tracing_subscriber crate to gather more information about the state of the application when the crash occurs. If the issue persists, you may need to debug the application and the tracing_subscriber crate using a debugger or other debugging tools to identify the root cause of the invalid memory access. It's also worth noting that the crash occurred in a worker thread of the Tokio runtime, which is responsible for executing asynchronous tasks in the application. This may provide additional context or clues about the circumstances under which the crash occurred.
可以复现
很长一段时间没复现了,可以先忽略
系统进入睡眠后打开,app 重新被唤起到前台,发生了 crash