Post not yet marked as solved
Any updates on this? I am running into the same problem. In my case, I ship the beta builds using Developer ID but will be listing the app in the Mac App Store when I launch.
Post not yet marked as solved
Did you ever get this working?
Post not yet marked as solved
I upgraded to Xcode 11.4 and Catalina 10.15.4. I'm no longer seeing this. There were also similar crashes that seem to be fixed as well.
Post not yet marked as solved
Drop works sporadically - works sometimes, fails sometimes.
Post not yet marked as solved
No, not much progress on this yet. I have noticed that if I set a breakpoint and then continue, I don't see the problem.
Post not yet marked as solved
Seeing this on Catalyst (actual app) too.
Thanks, this does seem to eliminate the crash.
Thanks! I think you gave me enough information to get closer to the problem.One thing I notiticed is that the crash occurs only on release builds. I don't see this on debug builds whether they're running in thesimulator or on device. By some trail and error I found the cause of the problem to be another function:func setReminder(_ reminderType : ReminderType) {
var reminders = GReminder()
reminders.useDefault = false
var reminderOverride = GReminderOverride()
reminderOverride.method = "popup"
switch reminderType {
case .none:
reminders.useDefault = true
googleEvent.reminders = reminders
case .atTheTimeOfEvent:
reminderOverride.minutes = 0
case .fiveMinutesBefore:
reminderOverride.minutes = 5
case .fifteenMinutesBefore:
reminderOverride.minutes = 15
case .thirtyMinutesBefore:
reminderOverride.minutes = 30
case .oneHourBefore:
reminderOverride.minutes = 60
case .twoHoursBefore:
reminderOverride.minutes = 120
case .oneDayBefore:
reminderOverride.minutes = 1440
case .twoDaysBefore:
reminderOverride.minutes = 2880
case .oneWeekBefore:
reminderOverride.minutes = 10080
}
reminders.overrides = [reminderOverride]
googleEvent.reminders = reminders
}While there are no reference types involved, there are nested structs. I was able to fix the issue by removing the intermediate variables (reminders, reminderOverride) and directly assigning to the googleEvent struct. Any thoughts on this?
Please see the crash log below.I am getting reports of this crash from a user's device (who sees this crash consistently when performing the action to create a new event). I am not able to reproduce it either in simulator or on a device when go through the same steps as him.What does "outlined destroy" mean?ThanksDate/Time: 2019-04-11 21:22:55.0953 -0700
Launch Time: 2019-04-11 21:21:45.1028 -0700
OS Version: iPhone OS 12.2 (16E227)
Baseband Version: 5.55.00
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Subtype: EXC_ARM_DA_ALIGN at 0x0000000000000001
VM Region Info: 0x1 is not in any region. Bytes before following region: 4338122751
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
UNUSED SPACE AT START
--->
__TEXT 0000000102928000-000000010292c000 [ 16K] r-x/r-x SM=COW ...pp/ReSchedule
Termination Signal: Bus error: 10
Termination Reason: Namespace SIGNAL, Code 0xa
Terminating Process: exc handler [514]
Triggered by Thread: 0
Thread 0 name:
Thread 0 Crashed:
0 ??? 0x0000000000000001 0 + 1
1 ReSchedule 0x0000000102938784 outlined destroy of Event + 544 (<compiler-generated>:0)
2 ReSchedule 0x00000001029a8e68 MeetingContainerViewController.viewDidLoad() + 2348 (MeetingContainerViewController.swift:127)
3 ReSchedule 0x00000001029a92b4 @objc MeetingContainerViewController.viewDidLoad() + 24 (<compiler-generated>:0)
4 UIKitCore 0x00000001df6678f8 0x1df356000 + 3217656
5 UIKitCore 0x00000001df667cfc 0x1df356000 + 3218684
6 UIKitCore 0x00000001df5e4d90 0x1df356000 + 2682256
7 UIKitCore 0x00000001df59b678 0x1df356000 + 2381432
8 UIKitCore 0x00000001df597ae8 0x1df356000 + 2366184
9 UIKitCore 0x00000001dfc1bfdc 0x1df356000 + 9199580
10 UIKitCore 0x00000001dfc0ab2c 0x1df356000 + 9128748
11 UIKitCore 0x00000001dfc37744 0x1df356000 + 9312068
12 CoreFoundation 0x00000001b3c4c89c 0x1b3ba3000 + 694428
13 CoreFoundation 0x00000001b3c475c4 0x1b3ba3000 + 673220
14 CoreFoundation 0x00000001b3c47b40 0x1b3ba3000 + 674624
15 CoreFoundation 0x00000001b3c47354 0x1b3ba3000 + 672596
16 GraphicsServices 0x00000001b5e4779c 0x1b5e3d000 + 42908
17 UIKitCore 0x00000001dfc10b68 0x1df356000 + 9153384
18 ReSchedule 0x00000001029311fc main + 68 (WeekViewLayout.swift:74)
19 libdyld.dylib 0x00000001b370d8e0 0x1b370c000 + 6368
Thread 1 name:
Thread 1:
0 libsystem_kernel.dylib 0x00000001b384e0f4 0x1b3836000 + 98548
1 libsystem_kernel.dylib 0x00000001b384d5a0 0x1b3836000 + 95648
2 CoreFoundation 0x00000001b3c4ccb4 0x1b3ba3000 + 695476
3 CoreFoundation 0x00000001b3c47bc4 0x1b3ba3000 + 674756
4 CoreFoundation 0x00000001b3c47354 0x1b3ba3000 + 672596
5 Foundation 0x00000001b4614fcc 0x1b460d000 + 32716
6 Foundation 0x00000001b4614e5c 0x1b460d000 + 32348
7 UIKitCore 0x00000001dfcf6540 0x1df356000 + 10093888
8 Foundation 0x00000001b47416e4 0x1b460d000 + 1263332
9 libsystem_pthread.dylib 0x00000001b38db2c0 0x1b38d0000 + 45760
10 libsystem_pthread.dylib 0x00000001b38db220 0x1b38d0000 + 45600
11 libsystem_pthread.dylib 0x00000001b38decdc 0x1b38d0000 + 60636
Thread 2:
0 libsystem_pthread.dylib 0x00000001b38decd0 0x1b38d0000 + 60624
Thread 3 name:
Thread 3:
0 libsystem_kernel.dylib 0x00000001b385afd8 0x1b3836000 + 151512
1 grpc 0x0000000103119564 pollset_work(grpc_pollset*, grpc_pollset_worker**, long long) + 1100 (ev_poll_posix.cc:986)
2 grpc 0x000000010311be0c pollset_work(grpc_pollset*, grpc_pollset_worker**, long long) + 104 (ev_posix.cc:264)
3 grpc 0x0000000103111070 cq_next(grpc_completion_queue*, gpr_timespec, void*) + 632 (completion_queue.cc:927)
4 GRPCClient 0x0000000102e42a08 __27-[GRPCCompletionQueue init]_block_invoke_2 + 156 (GRPCCompletionQueue.m:66)
5 libdispatch.dylib 0x00000001b36fba38 0x1b369c000 + 391736
6 libdispatch.dylib 0x00000001b36fc7d4 0x1b369c000 + 395220
7 libdispatch.dylib 0x00000001b36a0c7c 0x1b369c000 + 19580
8 libdispatch.dylib 0x00000001b36ad02c 0x1b369c000 + 69676
9 libdispatch.dylib 0x00000001b36ad8d0 0x1b369c000 + 71888
10 libsystem_pthread.dylib 0x00000001b38dc1b4 0x1b38d0000 + 49588
11 libsystem_pthread.dylib 0x00000001b38decd4 0x1b38d0000 + 60628
Thread 4 name:
Thread 4:
0 libsystem_kernel.dylib 0x00000001b384e0f4 0x1b3836000 + 98548
1 libsystem_kernel.dylib 0x00000001b384d5a0 0x1b3836000 + 95648
2 CoreFoundation 0x00000001b3c4ccb4 0x1b3ba3000 + 695476
3 CoreFoundation 0x00000001b3c47bc4 0x1b3ba3000 + 674756
4 CoreFoundation 0x00000001b3c47354 0x1b3ba3000 + 672596
5 CFNetwork 0x00000001b426074c 0x1b425f000 + 5964
6 Foundation 0x00000001b47416e4 0x1b460d000 + 1263332
7 libsystem_pthread.dylib 0x00000001b38db2c0 0x1b38d0000 + 45760
8 libsystem_pthread.dylib 0x00000001b38db220 0x1b38d0000 + 45600
9 libsystem_pthread.dylib 0x00000001b38decdc 0x1b38d0000 + 60636
Thread 5:
0 libsystem_kernel.dylib 0x00000001b3858ee4 0x1b3836000 + 143076
1 libsystem_pthread.dylib 0x00000001b38d3cf8 0x1b38d0000 + 15608
2 grpc 0x000000010316b368 gpr_cv_wait + 124 (sync_posix.cc:79)
3 grpc 0x000000010311ceb4 GrpcExecutor::ThreadMain(void*) + 212 (executor.cc:158)
4 grpc 0x0000000103171dc4 grpc_core::(anonymous namespace)::ThreadInternalsPosix::ThreadInternalsPosix(char const*, void (*... + 108 (thd_posix.cc:100)
5 libsystem_pthread.dylib 0x00000001b38db2c0 0x1b38d0000 + 45760
6 libsystem_pthread.dylib 0x00000001b38db220 0x1b38d0000 + 45600
7 libsystem_pthread.dylib 0x00000001b38decdc 0x1b38d0000 + 60636
Thread 6:
0 libsystem_kernel.dylib 0x00000001b3858ee4 0x1b3836000 + 143076
1 libsystem_pthread.dylib 0x00000001b38d3cf8 0x1b38d0000 + 15608
2 grpc 0x000000010316b358 gpr_cv_wait + 108 (sync_posix.cc:89)
3 grpc 0x0000000103174964 timer_thread(void*) + 384 (timer_manager.cc:186)
4 grpc 0x0000000103171dc4 grpc_core::(anonymous namespace)::ThreadInternalsPosix::ThreadInternalsPosix(char const*, void (*... + 108 (thd_posix.cc:100)
5 libsystem_pthread.dylib 0x00000001b38db2c0 0x1b38d0000 + 45760
6 libsystem_pthread.dylib 0x00000001b38db220 0x1b38d0000 + 45600
7 libsystem_pthread.dylib 0x00000001b38decdc 0x1b38d0000 + 60636
Thread 7:
0 libsystem_kernel.dylib 0x00000001b3858ee4 0x1b3836000 + 143076
1 libsystem_pthread.dylib 0x00000001b38d3cf8 0x1b38d0000 + 15608
2 grpc 0x000000010316b358 gpr_cv_wait + 108 (sync_posix.cc:89)
3 grpc 0x0000000103174964 timer_thread(void*) + 384 (timer_manager.cc:186)
4 grpc 0x0000000103171dc4 grpc_core::(anonymous namespace)::ThreadInternalsPosix::ThreadInternalsPosix(char const*, void (*... + 108 (thd_posix.cc:100)
5 libsystem_pthread.dylib 0x00000001b38db2c0 0x1b38d0000 + 45760
6 libsystem_pthread.dylib 0x00000001b38db220 0x1b38d0000 + 45600
7 libsystem_pthread.dylib 0x00000001b38decdc 0x1b38d0000 + 60636
Thread 8:
0 libsystem_kernel.dylib 0x00000001b3858ee4 0x1b3836000 + 143076
1 libsystem_pthread.dylib 0x00000001b38d3cf8 0x1b38d0000 + 15608
2 leveldb 0x000000010326ecd0 leveldb::(anonymous namespace)::PosixEnv::BGThread() + 92 (env_posix.cc:640)
3 leveldb 0x000000010326ec74 leveldb::(anonymous namespace)::PosixEnv::BGThreadWrapper(void*) + 12 (env_posix.cc:555)
4 libsystem_pthread.dylib 0x00000001b38db2c0 0x1b38d0000 + 45760
5 libsystem_pthread.dylib 0x00000001b38db220 0x1b38d0000 + 45600
6 libsystem_pthread.dylib 0x00000001b38decdc 0x1b38d0000 + 60636
Thread 9:
0 libsystem_pthread.dylib 0x00000001b38decd0 0x1b38d0000 + 60624
Thread 10:
0 libsystem_pthread.dylib 0x00000001b38decd0 0x1b38d0000 + 60624
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x000000016d4d5ae8 x1: 0x00000001e0d59ed4 x2: 0x00000001ea112da8 x3: 0x0000000000000030
x4: 0x000000007ffffffe x5: 0x000000010297dc1c x6: 0x00000002810c7070 x7: 0x00000000652018fe
x8: 0x0000000000000001 x9: 0xfffffffe00000000 x10: 0x00000001ec711e40 x11: 0x00000001ec711e40
x12: 0x0000000000000001 x13: 0x00000001ec711e40 x14: 0x0000000000000000 x15: 0x0000000000000010
x16: 0x00000001e0d9e338 x17: 0x00000001b3bb7c8c x18: 0x0000000000000000 x19: 0x000000016d4d5540
x20: 0x000000016d4d5ae8 x21: 0x0000000102dd3c88 x22: 0x000000016d4d5640 x23: 0x000000016d4d55d8
x24: 0x000000016d4d55e8 x25: 0x00000001ea112da8 x26: 0x000000016d4d5550 x27: 0x00000001ea103128
x28: 0x00000001ea103128 fp: 0x000000016d4d54d0 lr: 0x00000001e0d5ac68
sp: 0x000000016d4d54c0 pc: 0x0000000000000001 cpsr: 0x60000000
Binary Images:
0x102928000 - 0x102d07fff ReSchedule arm64 <d2ef8dd498223346bdc77265cfaf0e78> /var/containers/Bundle/Application/8C0CB628-DD0E-4A55-B1A2-91F7971C378E/ReSchedule.app/ReSchedule
0x102e38000 - 0x102e4bfff GRPCClient arm64 <bbc6788b404f32aeaabeecdb16097b5b> /var/containers/Bundle/Application/8C0CB628-DD0E-4A55-B1A2-91F7971C378E/ReSchedule.app/Frameworks/GRPCClient.framework/GRPCClient
0x102e68000 - 0x102e7bfff GTMOAuth2 arm64 <6c4f34b016bd38bfba79542df5dee588> /var/containers/Bundle/Application/8C0CB628-DD0E-4A55-B1A2-91F7971C378E/ReSchedule.app/Frameworks/GTMOAuth2.framework/GTMOAuth2
0x102e90000 - 0x102ebbfff GTMSessionFetcher arm64 <47f18186ceff35ef8800beb1a7f3c538> /var/containers/Bundle/Application/8C0CB628-DD0E-4A55-B1A2-91F7971C378E/ReSchedule.app/Frameworks/GTMSessionFetcher.framework/GTMSessionFetcher
0x102ed4000 - 0x102efffff GoogleAPIClientForREST arm64 <72f81cd80f083ddd99cba2604286236b> /var/containers/Bundle/Application/8C0CB628-DD0E-4A55-B1A2-91F7971C378E/ReSchedule.app/Frameworks/GoogleAPIClientForREST.framework/GoogleAPIClientForREST
0x102f24000 - 0x102f2bfff GoogleToolboxForMac arm64 <1152e4d73dfd39b19721f27e287da0d8> /var/containers/Bundle/Application/8C0CB628-DD0E-4A55-B1A2-91F7971C378E/ReSchedule.app/Frameworks/GoogleToolboxForMac.framework/GoogleToolboxForMac
0x102f38000 - 0x102f3ffff ProtoRPC arm64 <a0cfa87942d03381aba1acc9a507e085> /var/containers/Bundle/Application/8C0CB628-DD0E-4A55-B1A2-91F7971C378E/ReSchedule.app/Frameworks/ProtoRPC.framework/ProtoRPC
0x102f58000 - 0x102faffff dyld arm64 <8c28034501643b82a228124b23ca0e9f> /usr/lib/dyld
0x103018000 - 0x10302ffff GoogleUtilities arm64 <88bf4061a20f3d6a87768bb6653c56b0> /var/containers/Bundle/Application/8C0CB628-DD0E-4A55-B1A2-91F7971C378E/ReSchedule.app/Frameworks/GoogleUtilities.framework/GoogleUtilities
0x103044000 - 0x10309bfff Protobuf arm64 <9fc1a71e67133c6a86755b2efe745cbf> /var/containers/Bundle/Application/8C0CB628-DD0E-4A55-B1A2-91F7971C378E/ReSchedule.app/Frameworks/Protobuf.framework/Protobuf
0x1030cc000 - 0x1030d7fff RxLibrary arm64 <f812384f17593686b85d4de614e3979b> /var/containers/Bundle/Application/8C0CB628-DD0E-4A55-B1A2-91F7971C378E/ReSchedule.app/Frameworks/RxLibrary.framework/RxLibrary
0x1030e4000 - 0x1031a7fff grpc arm64 <945a4aab20b5341688a0a5b2d58e6ce0> /var/containers/Bundle/Application/8C0CB628-DD0E-4A55-B1A2-91F7971C378E/ReSchedule.app/Frameworks/grpc.framework/grpc
0x103214000 - 0x103237fff grpcpp arm64 <20771fa03ff830dd8c427cf0e6c2403a> /var/containers/Bundle/Application/8C0CB628-DD0E-4A55-B1A2-91F7971C378E/ReSchedule.app/Frameworks/grpcpp.framework/grpcpp
0x103258000 - 0x10328bfff leveldb arm64 <09d3164a1a163838ae9b52878855b686> /var/containers/Bundle/Application/8C0CB628-DD0E-4A55-B1A2-91F7971C378E/ReSchedule.app/Frameworks/leveldb.framework/leveldb
0x1032a8000 - 0x1032b3fff nanopb arm64 <9cd15c2603f23b709c36f53f864473e3> /var/containers/Bundle/Application/8C0CB628-DD0E-4A55-B1A2-91F7971C378E/ReSchedule.app/Frameworks/nanopb.framework/nanopb
0x1032c0000 - 0x103397fff openssl arm64 <73a75147c1b032848129fa06d44252a5> /var/containers/Bundle/Application/8C0CB628-DD0E-4A55-B1A2-91F7971C378E/ReSchedule.app/Frameworks/openssl.framework/openssl
0x104f04000 - 0x104f0ffff libobjc-trampolines.dylib arm64 <cf9cb7f2097e3ea3ae9501c161aaae6c> /usr/lib/libobjc-trampolines.dylib
This seems to be happening in viewDidLoad() for a view controller.I believe the offending line of code is:if let event = event {Event is not from a third party framework, rather a struct defined by the app:struct Event : Comparable { .....}However, I am using the Google Firebase frameworks in the app.
Thanks, I store the free trial informaton on the server, so they won't get a free trail even if they delete and re-install.
That is exaclty what the app does. All features are unlocked when the user intially logs in and the free trial starts . After the free trial expires, they can continue to use the app to view data but need a subscription to add new data.