- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
如果有人可以花时间帮助我,我将非常感激!!!
我现在面对的是
我正在开发一个用于自动填充密码的应用程序,这意味着在网站登录期间单击键盘上方QuickType托架中的小键图标时,将触发我的应用程序。
然后,我的自动填充扩展程序出现,并从数据库中查找所需的帐户和密码,完成搜索后,显示一个表VC以显示结果。
然后炸弹!崩溃发生时并没有提示我找到导致崩溃的行(对于大多数崩溃,Xcode会将程序员引导到该行)。
我尝试了什么:
添加了许多断点,发现搜索完成后,如果我不显示表 View Controller 以显示正确的信息,则不会崩溃。但是在演示之后,将信息正确地加载到表中之后,几秒钟后,崩溃就会发生。
我可以提供什么:
我可以提供完整的崩溃报告:
Incident Identifier: 03B53A6D-E069-4C4B-98C0-CB61C8C1A688
CrashReporter Key: 1dd64f8867f0eda63dfc5248be178fbebdd71653
Hardware Model: iPhone9,2
Process: EverykeyAutofillExtension [98811]
Path: /private/var/containers/Bundle/Application/63F02B78-71D9-405B-AC3F-314868CA262D/Privacy.app/PlugIns/PrivacyExtension.appex/EverykeyAutofillExtension
Identifier: comPrivacy.ios.PrivacyAutofillExtension
Version: 12 (2.4.0)
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd [1]
Coalition: com.Privacy.ios.PrivacyAutofillExtension [24965]
Date/Time: 2020-08-26 14:20:40.7959 -0400
Launch Time: 2020-08-26 14:20:03.4675 -0400
OS Version: iPhone OS 13.5.1 (17F80)
Release Type: User
Baseband Version: 7.60.01
Report Version: 104
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x000000019819e9d0
Termination Signal: Trace/BPT trap: 5
Termination Reason: Namespace SIGNAL, Code 0x5
Terminating Process: exc handler [98811]
Triggered by Thread: 1
Last Exception Backtrace:
0 CoreFoundation 0x19853d794 __exceptionPreprocess + 224
1 libobjc.A.dylib 0x19825fbcc objc_exception_throw + 55
2 Foundation 0x198a151fc _AssertAutolayoutOnAllowedThreadsOnly + 419
3 Foundation 0x19882207c -[NSISEngine _optimizeWithoutRebuilding] + 67
4 Foundation 0x198821f98 -[NSISEngine optimize] + 111
5 Foundation 0x198821c0c -[NSISEngine performPendingChangeNotifications] + 111
6 UIKitCore 0x19ca97e88 -[UIView+ 15605384 (CALayerDelegate) _wantsReapplicationOfAutoLayoutWithLayoutDirtyOnEntry:] + 171
7 UIKitCore 0x19ca988c4 -[UIView+ 15608004 (CALayerDelegate) layoutSublayersOfLayer:] + 2247
8 QuartzCore 0x19f02b724 -[CALayer layoutSublayers] + 283
9 QuartzCore 0x19f03187c CA::Layer::layout_if_needed+ 1407100 (CA::Transaction*) + 467
10 QuartzCore 0x19f03c3c0 CA::Layer::layout_and_display_if_needed+ 1450944 (CA::Transaction*) + 139
11 QuartzCore 0x19ef84f1c CA::Context::commit_transaction+ 700188 (CA::Transaction*, double) + 295
12 QuartzCore 0x19efae8bc CA::Transaction::commit+ 870588 () + 675
13 QuartzCore 0x19efaf85c CA::Transaction::release_thread+ 874588 (void*) + 227
14 libsystem_pthread.dylib 0x198256f8c _pthread_tsd_cleanup + 579
15 libsystem_pthread.dylib 0x198253df4 _pthread_exit + 79
16 libsystem_pthread.dylib 0x198254e64 _pthread_wqthread_exit + 95
17 libsystem_pthread.dylib 0x198254c04 _pthread_wqthread + 415
18 libsystem_pthread.dylib 0x198257740 start_wqthread + 7
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0:
0 libsystem_kernel.dylib 0x0000000198311198 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x000000019831060c mach_msg + 72
2 CoreFoundation 0x00000001984bb468 __CFRunLoopServiceMachPort + 148
3 CoreFoundation 0x00000001984b649c __CFRunLoopRun + 1160
4 CoreFoundation 0x00000001984b5ce8 CFRunLoopRunSpecific + 424
5 GraphicsServices 0x00000001a260038c GSEventRunModal + 160
6 UIKitCore 0x000000019c5e4444 UIApplicationMain + 1932
7 libxpc.dylib 0x00000001981218fc _xpc_objc_main.cold.3 + 208
8 libxpc.dylib 0x000000019810d4f0 _xpc_objc_main + 212
9 libxpc.dylib 0x000000019810fb4c xpc_main + 148
10 Foundation 0x0000000198834534 +[NSXPCListener serviceListener] + 0
11 PlugInKit 0x00000001a599fd50 0x1a5989000 + 93520
12 PlugInKit 0x00000001a599fa68 0x1a5989000 + 92776
13 PlugInKit 0x00000001a59a015c 0x1a5989000 + 94556
14 Foundation 0x0000000198a0d2c0 NSExtensionMain + 64
15 libdyld.dylib 0x000000019833d8f0 start + 4
Thread 1 Crashed:
0 libsystem_c.dylib 0x000000019819e9d0 __abort + 144
1 libsystem_c.dylib 0x000000019819e9d0 __abort + 144
2 libsystem_c.dylib 0x000000019819e940 __abort + 0
3 libc++abi.dylib 0x0000000198306cc0 __cxxabiv1::__aligned_malloc_with_fallback+ 76992 (unsigned long) + 0
4 libc++abi.dylib 0x00000001982f8e10 demangling_unexpected_handler+ 19984 () + 0
5 libobjc.A.dylib 0x000000019825fe80 _objc_terminate+ 24192 () + 124
6 libc++abi.dylib 0x000000019830614c std::__terminate(void (*)+ 74060 ()) + 16
7 libc++abi.dylib 0x0000000198308bd8 __cxa_get_exception_ptr + 0
8 libc++abi.dylib 0x0000000198308b98 __cxxabiv1::exception_cleanup_func+ 84888 (_Unwind_Reason_Code, _Unwind_Exception*) + 0
9 libobjc.A.dylib 0x000000019825fcf8 _objc_exception_destructor+ 23800 (void*) + 0
10 Foundation 0x0000000198a151fc -[NSISEngine tryToOptimizeReturningMutuallyExclusiveConstraints] + 0
11 Foundation 0x000000019882207c -[NSISEngine _optimizeWithoutRebuilding] + 68
12 Foundation 0x0000000198821f98 -[NSISEngine optimize] + 112
13 Foundation 0x0000000198821c0c -[NSISEngine performPendingChangeNotifications] + 112
14 UIKitCore 0x000000019ca97e88 -[UIView+ 15605384 (CALayerDelegate) _wantsReapplicationOfAutoLayoutWithLayoutDirtyOnEntry:] + 172
15 UIKitCore 0x000000019ca988c4 -[UIView+ 15608004 (CALayerDelegate) layoutSublayersOfLayer:] + 2248
16 QuartzCore 0x000000019f02b724 -[CALayer layoutSublayers] + 284
17 QuartzCore 0x000000019f03187c CA::Layer::layout_if_needed+ 1407100 (CA::Transaction*) + 468
18 QuartzCore 0x000000019f03c3c0 CA::Layer::layout_and_display_if_needed+ 1450944 (CA::Transaction*) + 140
19 QuartzCore 0x000000019ef84f1c CA::Context::commit_transaction+ 700188 (CA::Transaction*, double) + 296
20 QuartzCore 0x000000019efae8bc CA::Transaction::commit+ 870588 () + 676
21 QuartzCore 0x000000019efaf85c CA::Transaction::release_thread+ 874588 (void*) + 228
22 libsystem_pthread.dylib 0x0000000198256f8c _pthread_tsd_cleanup + 580
23 libsystem_pthread.dylib 0x0000000198253df4 _pthread_exit + 80
24 libsystem_pthread.dylib 0x0000000198254e64 _pthread_wqthread_legacy_worker_wrap + 0
25 libsystem_pthread.dylib 0x0000000198254c04 _pthread_wqthread + 416
26 libsystem_pthread.dylib 0x0000000198257740 start_wqthread + 8
Thread 2 name: com.apple.uikit.eventfetch-thread
Thread 2:
0 libsystem_kernel.dylib 0x0000000198311198 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x000000019831060c mach_msg + 72
2 CoreFoundation 0x00000001984bb468 __CFRunLoopServiceMachPort + 148
3 CoreFoundation 0x00000001984b649c __CFRunLoopRun + 1160
4 CoreFoundation 0x00000001984b5ce8 CFRunLoopRunSpecific + 424
5 Foundation 0x00000001987f901c -[NSRunLoop+ 32796 (NSRunLoop) runMode:beforeDate:] + 228
6 Foundation 0x00000001987f8efc -[NSRunLoop+ 32508 (NSRunLoop) runUntilDate:] + 88
7 UIKitCore 0x000000019c6875dc -[UIEventFetcher threadMain] + 152
8 Foundation 0x0000000198927e20 __NSThread__start__ + 848
9 libsystem_pthread.dylib 0x0000000198253d98 _pthread_start + 156
10 libsystem_pthread.dylib 0x000000019825774c thread_start + 8
Thread 3:
0 libsystem_pthread.dylib 0x0000000198257738 start_wqthread + 0
Thread 4 name: com.apple.NSURLConnectionLoader
Thread 4:
0 libsystem_kernel.dylib 0x0000000198311198 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x000000019831060c mach_msg + 72
2 CoreFoundation 0x00000001984bb468 __CFRunLoopServiceMachPort + 148
3 CoreFoundation 0x00000001984b649c __CFRunLoopRun + 1160
4 CoreFoundation 0x00000001984b5ce8 CFRunLoopRunSpecific + 424
5 CFNetwork 0x000000019b776894 0x19b775000 + 6292
6 Foundation 0x0000000198927e20 __NSThread__start__ + 848
7 libsystem_pthread.dylib 0x0000000198253d98 _pthread_start + 156
8 libsystem_pthread.dylib 0x000000019825774c thread_start + 8
Thread 5:
0 libsystem_pthread.dylib 0x0000000198257738 start_wqthread + 0
Thread 6:
0 libsystem_pthread.dylib 0x0000000198257738 start_wqthread + 0
Thread 7:
0 libsystem_pthread.dylib 0x0000000198257738 start_wqthread + 0
Thread 1 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000000 x1: 0x0000000000000000 x2: 0x0000000000000000 x3: 0x0000000000000001
x4: 0x0000000000000000 x5: 0x0000000000989680 x6: 0x000000000000006e x7: 0xffffffffffffffec
x8: 0x00000000ffffffe7 x9: 0x00000001e565b228 x10: 0x00000000000003e8 x11: 0x000000000000000b
x12: 0x00000001d388d080 x13: 0x0000000000000001 x14: 0x0000000000000010 x15: 0x0000000000000007
x16: 0x0000000000000030 x17: 0x0000000000000000 x18: 0x0000000000000000 x19: 0x000000016fa62b58
x20: 0x00000001e2581810 x21: 0x000000016fa62c10 x22: 0x0000000281b4ce40 x23: 0x00000001d3b33000
x24: 0x0000000000000001 x25: 0x0000000000000068 x26: 0x000000000000009c x27: 0x0000000000000068
x28: 0x000000002b310019 fp: 0x000000016fa62b70 lr: 0x000000019819e9d0
sp: 0x000000016fa62b40 pc: 0x000000019819e9d0 cpsr: 0x40000000
esr: 0xf2000001 Address size fault
最佳答案
看,您的应用程式当机了:
Triggered by Thread: 1
和使用
[CALayer layoutSublayers]
看起来,您要更新的UI不在主线程中
关于ios - 找不到崩溃异常原因的类型:EXC_BREAKPOINT(SIGTRAP),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63605090/
所以这是我的问题,我创建了这个结构: typedef struct foo *fooPtr; struct foo { foo2Ptr node; foo3Ptr node; char *Random
我是 C 新手,无法解决这个问题。当我在文本文件上写入超过 27 个字符时,我会收到信号 SIGTRAP。跟踪/断点陷阱。我在网吧电脑windows 7上用Dev-C++编译。文本文件内容:Dinos
在运行时,我的程序经常因为 SIGTRAP 而停止。我知道,当编译器在程序中找到断点时,就会发生 SIGTRAP。但是我的代码中没有任何断点。 (为了确定,在执行之前,我清除了所有断点..)。 我正在
我正在尝试为 SIGTRAP 注册处理程序,该处理程序由在子级中调用 int3 引起,但它不起作用。将 SIGTRAP 更改为 SIGCHLD 即可。 #include #include #inc
我有麻烦了,每次我的函数调用“desenfileirar”时我都有一些断点。谁能帮我?我需要打印一个二维数组,表示一只 Ant 走过的路径。它需要从 (0,0) 开始并到达 (9,9)。我获得了成功,
背景 我有一个类似设置节点和边的网络。节点和边都需要是类,在本例中为 Node 或 Arc,as in this question .在我的实际设置中,我正在处理 Node 和 Arc 的相当多的子类
我正在尝试调试使用 gcc/g++ 构建的 Debian 程序(DEBUG=1 和 NDEBUG 未定义)。我正在使用第三方库,它也是为调试而构建的(DEBUG=1、NDEBUG 未定义,以及其他调试
我的一个 C++ OpenGL 程序中出现了一个奇怪的 SIGTRAP 错误。 首先,创建一个带有 new[] 运算符的浮点数组,如下所示: std::vector faces = readObjFi
我有一个多线程应用程序,它在我的所有测试机器上都非常稳定,并且对于我的几乎每一位用户来说似乎都是稳定的(基于没有崩溃投诉)。不过,对于一位好心的用户来说,该应用程序经常崩溃,他发送了崩溃报告。所有崩溃
如果有人可以花时间帮助我,我将非常感激!!! 我现在面对的是 我正在开发一个用于自动填充密码的应用程序,这意味着在网站登录期间单击键盘上方QuickType托架中的小键图标时,将触发我的应用程序。 然
我有一个关于释放为结构数组分配的内存的新手问题。这是代码: typedef struct { char code[6]; char name[31]; char cname[3
我试图释放一个表示 bmp 图像的三维指针数组,当它编译正常时,我在调试时在 gdb 中收到 SIGTRAP 信号。我的错误消息是 warning: HEAP[bmpsample.exe]: warn
这可能是一个有点晦涩或特定于项目的问题,但我的项目正在为遇到的每个异常抛出一个 SIGTRAP。我以前从未见过这个,现在每次我的代码出现问题时它都会抛出它并且它没有帮助我调试它。在我的另一个类似的类中
对于 test1.c ,我得到: 5 133 1 0 表示子进程先得到SIGTRAP (5), 原因 execl .最后三行表示子进程由于 SIGSTRAP 而终止。来自 parent 的信号。 //
我正在为 Windows 命令行编写一个基于控制台的小型应用程序。 我正在为两个数组 chi 和 chi_comp 分配内存,如下所示: /* allocating memory for chi */
我的 iOS 应用程序在测试中运行良好,但在启动时崩溃,并使用从 App Store 下载的发布版本。我已经尝试使用 Xcode 中的发布构建配置重新测试并且它没有崩溃,只是商店版本。我很确定它与应用
在极少数情况下,我们的一些用户会在我们的应用程序中遇到崩溃。它开始正常,但在他们从菜单中选择内容时崩溃后不久。那些看到它的人总能得到它,其他人都工作得很好。有人可以看到可以帮助我追踪它的东西吗? Ex
我正在运行我的应用程序运行良好,直到我从后台恢复或没有定位服务,应用程序会崩溃。 崩溃日志显示异常类型:EXC_CRASH (SIGTRAP) 有人知道如何调试吗? Exception Type:
我正在为一个STM32嵌入式系统调试这个软件。在其中一个函数中,我的程序不断遇到某种断点: SIGTRAP, Trace/breakpoint trap 但是,在 GDB 中,当我执行 info br
从 ptrace 的角度来看,我正在寻找一种与架构无关的方法来获取生成 SIGTRAP 的最后一次尝试的指令(或过去的指令)的指令指针(又名程序计数器)示踪剂。 一种依赖架构的方式是使用PTRACE_
我是一名优秀的程序员,十分优秀!