You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Kernel Triage:
VM - pmap_enter failed with resource shortage
VM - pmap_enter failed with resource shortage
VM - pmap_enter failed with resource shortage
VM - pmap_enter failed with resource shortage
VM - pmap_enter failed with resource shortage
Realm-swift version 10.25.0 was based on Core 11.13.0 which still had #5360.
This was fixed in Core 11.14.0 so the fix is already included in later releases of realm-swift.
Please let us know if you still see this issue with a later release.
SDK and version
SDK : iOS
Version: 10.25.0
Observations
Crash log / stacktrace
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Triggered by Thread: 0
Kernel Triage:
VM - pmap_enter failed with resource shortage
VM - pmap_enter failed with resource shortage
VM - pmap_enter failed with resource shortage
VM - pmap_enter failed with resource shortage
VM - pmap_enter failed with resource shortage
Thread 0 name:
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x00000002084b5b78 pthread_kill + 8
1 libsystem_pthread.dylib 0x00000002421243bc pthread_kill + 268 (pthread.c:1668)
2 libsystem_c.dylib 0x00000001dbad051c abort + 168 (abort.c:118)
3 AppName 0x0000000100966760 please_report_this_issue_in_github_realm_realm_core + 12 (terminate.cpp:50)
4 AppName 0x0000000100966a84 realm::util::terminate_internal(std::*1::basic_stringstream<char, std::1::char_traits, std::1::allocator >&) + 244 (terminate.cpp:123)
5 AppName 0x0000000100966d3c realm::util::terminate_with_info(char const, char const, long, char const, std::initializer_listrealm::util::Printable&&) + 256 (terminate.cpp:151)
6 AppName 0x0000000100714ef8 void realm::util::terminate_with_info<unsigned long&, unsigned long&>(char const, int, char const, char const*, unsigned long&, unsigned long&) + 68 (terminate.hpp:52)
7 AppName 0x000000010093f620 realm::util::EncryptedFileMapping::read_barrier(void const_, unsigned long, unsigned long ()(char const*)) + 484 (encrypted_file_mapping.cpp:0)
8 AppName 0x00000001006b6548 realm::util::do_encryption_read_barrier(void const, unsigned long, unsigned long ()(char const), realm::util::EncryptedFileMapping_) + 84 (file_mapper.hpp:132)
9 AppName 0x00000001006ccdf8 realm::util::encryption_read_barrier(void const_, unsigned long, realm::util::EncryptedFileMapping_, unsigned long ()(char const)) + 20 (file_mapper.hpp:116)
10 AppName 0x00000001006ccdf8 realm::Allocator::translate_critical(realm::Allocator::RefTranslation*, unsigned long) const + 20 (alloc.hpp:580)
11 AppName 0x00000001006ccdf8 realm::Allocator::translate(unsigned long) const + 92 (alloc.hpp:598)
12 AppName 0x00000001006ccdf8 realm::ArrayIntNull::init_from_ref(unsigned long) + 256 (array_integer.cpp:47)
13 AppName 0x00000001006d25b8 realm::ArrayTimestamp::init_from_mem(realm::MemRef) + 48 (array_timestamp.cpp:49)
14 AppName 0x00000001005e2cf8 realm::ArrayTimestamp::init_from_ref(unsigned long) + 144 (array_timestamp.hpp:49)
15 AppName 0x00000001006dd27c realm::Cluster::init_leaf(realm::ColKey, realm::ArrayPayload*) const + 164 (cluster.cpp:1012)
16 AppName 0x0000000100874918 realm::TimestampNodeBase::cluster_changed() + 100 (query_engine.hpp:996)
17 AppName 0x00000001008925c4 realm::ParentNode::match(realm::Obj const&)::$_0::operator()(realm::Cluster const*, unsigned long) const + 12 (query_engine.cpp:84)
18 AppName 0x00000001008925c4 bool realm::Obj::evaluate<realm::ParentNode::match(realm::Obj const&)::$0>(realm::ParentNode::match(realm::Obj const&)::$0) const + 212 (query_engine.cpp:78)
19 AppName 0x00000001008925c4 realm::ParentNode::match(realm::Obj const&) + 244 (query_engine.cpp:83)
20 AppName 0x0000000100865a78 realm::Query::do_find_all(realm::TableView&, unsigned long) const + 480 (query.cpp:1444)
21 AppName 0x00000001009387f8 realm::TableView::do_sync() + 516 (table_view.cpp:600)
22 AppName 0x0000000100865f84 realm::Query::find_all(realm::DescriptorOrdering const&) + 260 (query.cpp:1644)
23 AppName 0x00000001007ad1bc realm::Results::ensure_up_to_date(realm::Results::EvaluateMode) + 360 (results.cpp:273)
24 AppName 0x00000001007b61a8 realm::Results::clear() + 60 (results.cpp:872)
25 AppName 0x000000010068f8c8 -[RLMResults deleteObjectsFromRealm]::$20::operator()() const + 96 (RLMResults.mm:491)
26 AppName 0x000000010068f8c8 auto translateRLMResultsErrors<-[RLMResults deleteObjectsFromRealm]::$20>(-[RLMResults deleteObjectsFromRealm]::$20&&, NSString*) + 96 (RLMResults_Private.hpp:60)
27 AppName 0x000000010068f8c8 -[RLMResults deleteObjectsFromRealm] + 140 (RLMResults.mm:484)
28 AppName 0x0000000100686e10 -[RLMRealm deleteObjects:] + 176 (RLMRealm.mm:881)
29 AppName 0x000000010037ae30 $s14 AppName 13RealmDatabaseC6delete7objectsy0D5Swift7ResultsVyxG_tKSo0dH6ObjectCRbzlFyycfU_AA21MeasurementAggregatedC_Tg5 + 36 (RealmDatabase.swift:155)
30 AppName 0x000000010037ae30 specialized RealmDatabase.delete(objects:) + 168 (RealmDatabase.swift:159)
31 AppName 0x00000001003791a8 MeasurementManager.deleteOldMeasurements(applianceData:) + 2300 (MeasurementManager.swift:254)
32 AppName 0x0000000100375fb0 MeasurementManager.fetchAggregatedMeasurements(:successCallback:errorCallback:) + 868 (MeasurementManager.swift:121)
33 AppName 0x0000000100375720 MeasurementManager.getAggregatedMeasurementsForAppliance(:fetchUpdates:successCallback:errorCallback:) + 84
34 AppName 0x00000001003753bc MeasurementManager.getAggregatedMeasurementsForAppliance(:fetchUpdates:successCallback:errorCallback:) + 56
35 AppName 0x000000010037a89c protocol witness for MeasurementDataManager.getAggregatedMeasurementsForAppliance(:fetchUpdates:successCallback:errorCallback:) in conformance MeasurementManager + 24 (:0)
36 AppName 0x00000001001abaa8 WMGuardDetailsViewModel.loadGraphData(:) + 180 (WMGuardDetailsViewModel.swift:148)
37 AppName 0x00000001001ab018 WMGuardDetailsViewModel.loadData(isRefresh:) + 1248 (WMGuardDetailsViewModel.swift:130)
38 AppName 0x00000001003945f0 $s14 AppName 28WMGuardDetailsViewControllerC16getDataAppliance33_0C07F2686F0D2CA7D653690E7660B292LLyySbF + 52 (WMGuardDetailsViewController.swift:249)
39 AppName 0x00000001003945f0 WMGuardDetailsViewController.viewDidLoad() + 100 (WMGuardDetailsViewController.swift:59)
40 AppName 0x00000001003950ec @objc WMGuardDetailsViewController.viewDidLoad() + 28 (:0)
41 UIKitCore 0x00000001d2f706c4 -[UIViewController _sendViewDidLoadWithAppearanceProxyObjectTaggingEnabled] + 108 (UIViewController.m:2732)
42 UIKitCore 0x00000001d2f73214 -[UIViewController loadViewIfRequired] + 1048 (UIViewController.m:4032)
43 UIKitCore 0x00000001d2f46274 -[UIViewController view] + 32 (UIViewController.m:4054)
44 UIKitCore 0x00000001d313b87c -[UINavigationController _startCustomTransition:] + 1140 (UINavigationController.m:2063)
45 UIKitCore 0x00000001d329997c -[UINavigationController _startDeferredTransitionIfNeeded:] + 696 (UINavigationController.m:7528)
46 UIKitCore 0x00000001d316f140 -[UINavigationController viewWillLayoutSubviews] + 168 (UINavigationController.m:7835)
47 UIKitCore 0x00000001d3096b38 -[UILayoutContainerView layoutSubviews] + 228 (UILayoutContainerView.m:88)
48 UIKitCore 0x00000001d2f50844 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 2592 (UIView.m:18426)
49 QuartzCore 0x00000001d46c61c0 CA::Layer::layout_if_needed(CA::Transaction*) + 532 (CALayer.mm:10116)
50 QuartzCore 0x00000001d46b85fc CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 136 (CALayer.mm:2479)
51 QuartzCore 0x00000001d46ccf70 CA::Context::commit_transaction(CA::Transaction, double, double) + 452 (CAContextInternal.mm:2612)
52 QuartzCore 0x00000001d46d5e78 CA::Transaction::commit() + 704 (CATransactionInternal.mm:449)
53 QuartzCore 0x00000001d46b7d7c CA::Transaction::flush_as_runloop_observer(bool) + 88 (CATransactionInternal.mm:956)
54 UIKitCore 0x00000001d33029d8 _UIApplicationFlushCATransaction + 72 (UIApplication.m:0)
55 UIKitCore 0x00000001d359d084 _UIUpdateSequenceRun + 84 (_UIUpdateSequence.mm:112)
56 UIKitCore 0x00000001d3c22cb0 schedulerStepScheduledMainSection + 144 (_UIUpdateScheduler.m:776)
57 UIKitCore 0x00000001d3c22478 runloopSourceCallback + 92 (_UIUpdateScheduler.m:868)
58 CoreFoundation 0x00000001d0a0ff04 CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION
59 CoreFoundation 0x00000001d0a20c90 __CFRunLoopDoSource0 + 208 (CFRunLoop.c:2016)
60 CoreFoundation 0x00000001d095a184 __CFRunLoopDoSources0 + 268 (CFRunLoop.c:2053)
61 CoreFoundation 0x00000001d095fb4c __CFRunLoopRun + 828 (CFRunLoop.c:2951)
62 CoreFoundation 0x00000001d09736b8 CFRunLoopRunSpecific + 600 (CFRunLoop.c:3268)
63 GraphicsServices 0x00000001eca0d374 GSEventRunModal + 164 (GSEvent.c:2200)
64 UIKitCore 0x00000001d32d8e88 -[UIApplication _run] + 1100 (UIApplication.m:3511)
65 UIKitCore 0x00000001d305a5ec UIApplicationMain + 364 (UIApplication.m:5064)
66 AppName 0x0000000100164ff0 main + 68 (AppDelegate.swift:19)
67 dyld 0x0000000101991ce4 start + 520 (dyldMain.cpp:879)
Steps & Code to Reproduce
Not sure how to reproduce, but it happens every day on my regular customers.
The text was updated successfully, but these errors were encountered: