Description
Keepassium crashed when I was editing an entry
How to reproduce
Not really reproducible so far. What I was doing — copied an entry and edited some of the fields, then pressed save. It crashed during database update.
Expected behavior
Should not crash.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment:
Device: Mac
OS: 13.6.1
App Version: 1.46 (140)
Description Keepassium crashed when I was editing an entry
How to reproduce Not really reproducible so far. What I was doing — copied an entry and edited some of the fields, then pressed save. It crashed during database update.
Expected behavior Should not crash.
Screenshots If applicable, add screenshots to help explain your problem.
Environment: Device: Mac OS: 13.6.1 App Version: 1.46 (140)
Additional context
Crash report
``` ------------------------------------- Translated Report (Full Report Below) ------------------------------------- Process: KeePassium [2642] Path: /Applications/KeePassium.app/Contents/MacOS/KeePassium Identifier: com.keepassium.ios Version: 1.46 (140) App Item ID: 1435127111 Code Type: X86-64 (Native) Parent Process: launchd [1] User ID: 501 Date/Time: 2023-11-04 16:30:17.9289 +0300 OS Version: macOS 13.6.1 (22G313) Report Version: 12 Anonymous UUID: Sleep/Wake UUID: 87A0C633-270B-4FC8-BCE8-791E496E165B Time Awake Since Boot: 380000 seconds Time Since Wake: 11954 seconds System Integrity Protection: enabled Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Termination Reason: Namespace SIGNAL, Code 6 Abort trap: 6 Terminating Process: KeePassium [2642] Application Specific Information: abort() called Application Specific Backtrace 0: 0 CoreFoundation 0x00007ff80296011a __exceptionPreprocess + 242 1 libobjc.A.dylib 0x00007ff8024860b7 objc_exception_throw + 48 2 CoreFoundation 0x00007ff80295ff80 +[NSException raise:format:] + 214 3 UIKitCore 0x00007ff9111eb0a5 -[UITableView _contentOffsetForScrollingToRowAtIndexPath:atScrollPosition:usingPresentationValues:] + 800 4 UIKitCore 0x00007ff9111ec005 -[UITableView _scrollToRowAtIndexPath:atScrollPosition:animated:usingPresentationValues:] + 86 5 UIKitCore 0x00007ff9111ebed2 -[UITableView scrollToRowAtIndexPath:atScrollPosition:animated:] + 152 6 KeePassium 0x000000010521f82a KeePassium + 231466 7 KeePassium 0x0000000105294d17 KeePassium + 711959 8 KeePassium 0x00000001052fea01 KeePassium + 1145345 9 KeePassium 0x000000010535cb15 KeePassium + 1530645 10 KeePassiumLib 0x0000000105bb9542 __swift_memcpy32_8 + 32162 11 KeePassiumLib 0x0000000105ae1b79 __swift_memcpy0_1 + 23897 12 libdispatch.dylib 0x00007ff80266ad91 _dispatch_call_block_and_release + 12 13 libdispatch.dylib 0x00007ff80266c033 _dispatch_client_callout + 8 14 libdispatch.dylib 0x00007ff802678fcf _dispatch_main_queue_drain + 954 15 libdispatch.dylib 0x00007ff802678c07 _dispatch_main_queue_callback_4CF + 31 16 CoreFoundation 0x00007ff802928195 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9 17 CoreFoundation 0x00007ff8028e7ebf __CFRunLoopRun + 2452 18 CoreFoundation 0x00007ff8028e6ec1 CFRunLoopRunSpecific + 560 19 HIToolbox 0x00007ff80c368f3d RunCurrentEventLoopInMode + 292 20 HIToolbox 0x00007ff80c368d4e ReceiveNextEventCommon + 657 21 HIToolbox 0x00007ff80c368aa8 _BlockUntilNextEventMatchingListInModeWithFilter + 64 22 AppKit 0x00007ff80598325c _DPSNextEvent + 858 23 AppKit 0x00007ff805982106 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1214 24 AppKit 0x00007ff805974788 -[NSApplication run] + 586 25 AppKit 0x00007ff8059489a1 NSApplicationMain + 817 26 AppKit 0x00007ff805c05ed4 +[NSWindow _savedFrameFromString:] + 0 27 UIKitMacHelper 0x00007ff81ac0014d UINSApplicationMain + 1413 28 UIKitCore 0x00007ff910172b6b UIApplicationMain + 144 29 KeePassium 0x00000001051e9a31 KeePassium + 10801 30 dyld 0x00007ff8024b341f start + 1903 Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x7ff8027d51e2 __pthread_kill + 10 1 libsystem_pthread.dylib 0x7ff80280cee6 pthread_kill + 263 2 libsystem_c.dylib 0x7ff802733b45 abort + 123 3 libc++abi.dylib 0x7ff8027c7282 abort_message + 241 4 libc++abi.dylib 0x7ff8027b93fb demangling_terminate_handler() + 267 5 libobjc.A.dylib 0x7ff80248d7ca _objc_terminate() + 96 6 libc++abi.dylib 0x7ff8027c66db std::__terminate(void (*)()) + 6 7 libc++abi.dylib 0x7ff8027c6696 std::terminate() + 54 8 libdispatch.dylib 0x7ff80266c047 _dispatch_client_callout + 28 9 libdispatch.dylib 0x7ff802678fcf _dispatch_main_queue_drain + 954 10 libdispatch.dylib 0x7ff802678c07 _dispatch_main_queue_callback_4CF + 31 11 CoreFoundation 0x7ff802928195 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9 12 CoreFoundation 0x7ff8028e7ebf __CFRunLoopRun + 2452 13 CoreFoundation 0x7ff8028e6ec1 CFRunLoopRunSpecific + 560 14 HIToolbox 0x7ff80c368f3d RunCurrentEventLoopInMode + 292 15 HIToolbox 0x7ff80c368d4e ReceiveNextEventCommon + 657 16 HIToolbox 0x7ff80c368aa8 _BlockUntilNextEventMatchingListInModeWithFilter + 64 17 AppKit 0x7ff80598325c _DPSNextEvent + 858 18 AppKit 0x7ff805982106 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1214 19 AppKit 0x7ff805974788 -[NSApplication run] + 586 20 AppKit 0x7ff8059489a1 NSApplicationMain + 817 21 AppKit 0x7ff805c05ed4 _NSApplicationMainWithInfoDictionary + 16 22 UIKitMacHelper 0x7ff81ac0014d UINSApplicationMain + 1413 23 UIKitCore 0x7ff910172b6b UIApplicationMain + 144 24 KeePassium 0x1051e9a31 0x1051e7000 + 10801 25 dyld 0x7ff8024b341f start + 1903 Thread 1:: com.apple.uikit.eventfetch-thread 0 libsystem_kernel.dylib 0x7ff8027ce5a2 mach_msg2_trap + 10 1 libsystem_kernel.dylib 0x7ff8027dc71d mach_msg2_internal + 78 2 libsystem_kernel.dylib 0x7ff8027d55d4 mach_msg_overwrite + 692 3 libsystem_kernel.dylib 0x7ff8027ce88a mach_msg + 19 4 CoreFoundation 0x7ff8028e8fff __CFRunLoopServiceMachPort + 145 5 CoreFoundation 0x7ff8028e7a80 __CFRunLoopRun + 1365 6 CoreFoundation 0x7ff8028e6ec1 CFRunLoopRunSpecific + 560 7 Foundation 0x7ff803773273 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 216 8 Foundation 0x7ff8037f11e7 -[NSRunLoop(NSRunLoop) runUntilDate:] + 103 9 UIKitCore 0x7ff9101741c9 -[UIEventFetcher threadMain] + 138 10 Foundation 0x7ff80376c5d3 __NSThread__start__ + 1009 11 libsystem_pthread.dylib 0x7ff80280d1d3 _pthread_start + 125 12 libsystem_pthread.dylib 0x7ff802808bd3 thread_start + 15 Thread 2:: com.apple.NSEventThread 0 libsystem_kernel.dylib 0x7ff8027ce5a2 mach_msg2_trap + 10 1 libsystem_kernel.dylib 0x7ff8027dc71d mach_msg2_internal + 78 2 libsystem_kernel.dylib 0x7ff8027d55d4 mach_msg_overwrite + 692 3 libsystem_kernel.dylib 0x7ff8027ce88a mach_msg + 19 4 CoreFoundation 0x7ff8028e8fff __CFRunLoopServiceMachPort + 145 5 CoreFoundation 0x7ff8028e7a80 __CFRunLoopRun + 1365 6 CoreFoundation 0x7ff8028e6ec1 CFRunLoopRunSpecific + 560 7 AppKit 0x7ff805ae33f5 _NSEventThread + 132 8 libsystem_pthread.dylib 0x7ff80280d1d3 _pthread_start + 125 9 libsystem_pthread.dylib 0x7ff802808bd3 thread_start + 15 Thread 3: 0 libsystem_pthread.dylib 0x7ff802808bb0 start_wqthread + 0 Thread 4: 0 libsystem_pthread.dylib 0x7ff802808bb0 start_wqthread + 0 Thread 5: 0 libsystem_pthread.dylib 0x7ff802808bb0 start_wqthread + 0 Thread 6: 0 libsystem_pthread.dylib 0x7ff802808bb0 start_wqthread + 0 Thread 7: 0 libsystem_pthread.dylib 0x7ff802808bb0 start_wqthread + 0 Thread 8:: Dispatch queue: com.apple.root.user-interactive-qos 0 libsystem_kernel.dylib 0x7ff8027ce536 semaphore_timedwait_trap + 10 1 libdispatch.dylib 0x7ff80266c582 _dispatch_sema4_timedwait + 72 2 libdispatch.dylib 0x7ff80266c9cd _dispatch_semaphore_wait_slow + 58 3 AppKit 0x7ff80631bae6 __22-[NSCGSLocalFence set]_block_invoke_2 + 147 4 QuartzCore 0x7ff80a191d26 CA::Transaction::run_commit_handlers(CATransactionPhase) + 98 5 QuartzCore 0x7ff80a336d93 CA::Context::commit_transaction(CA::Transaction*, double, double*) + 877 6 QuartzCore 0x7ff80a190963 CA::Transaction::commit() + 713 7 AppKit 0x7ff8059cef5d NSPerformVisuallyAtomicChange + 154 8 AppKit 0x7ff805d99594 __30-[NSAnimation _runInNewThread]_block_invoke + 80 9 libdispatch.dylib 0x7ff80266ad91 _dispatch_call_block_and_release + 12 10 libdispatch.dylib 0x7ff80266c033 _dispatch_client_callout + 8 11 libdispatch.dylib 0x7ff80267c0f6 _dispatch_root_queue_drain + 683 12 libdispatch.dylib 0x7ff80267c768 _dispatch_worker_thread2 + 170 13 libsystem_pthread.dylib 0x7ff802809c0f _pthread_wqthread + 257 14 libsystem_pthread.dylib 0x7ff802808bbf start_wqthread + 15 Thread 9: 0 libsystem_pthread.dylib 0x7ff802808bb0 start_wqthread + 0 Thread 10: 0 libsystem_pthread.dylib 0x7ff802808bb0 start_wqthread + 0 Thread 0 crashed with X86 Thread State (64-bit): rax: 0x0000000000000000 rbx: 0x00007ff845eea700 rcx: 0x00007ff7bad16db8 rdx: 0x0000000000000000 rdi: 0x0000000000000103 rsi: 0x0000000000000006 rbp: 0x00007ff7bad16de0 rsp: 0x00007ff7bad16db8 r8: 0x00007ff7bad16c80 r9: 0x00007ff8027ca729 r10: 0x0000000000000000 r11: 0x0000000000000246 r12: 0x0000000000000103 r13: 0x0000003000000008 r14: 0x0000000000000006 r15: 0x0000000000000016 rip: 0x00007ff8027d51e2 rfl: 0x0000000000000246 cr2: 0x0000000000000000 Logical CPU: 0 Error Code: 0x02000148 Trap Number: 133 Binary Images: 0x1051e7000 - 0x10540afff com.keepassium.ios (1.46) <0745ddd1-e52a-3e24-9c80-ec269695894e> /Applications/KeePassium.app/Contents/MacOS/KeePassium 0x105ac4000 - 0x105cf3fff com.keepassium.ios.KeePassiumLib (1.46) <8f7bc9b5-4d4d-365b-adf7-cdb8e19d0380> /Applications/KeePassium.app/Contents/Frameworks/KeePassiumLib.framework/Versions/A/KeePassiumLib 0x1055ef000 - 0x1055fefff libobjc-trampolines.dylib (*) <5eaf78f9-49d0-30e2-a516-d53697b7344a> /usr/lib/libobjc-trampolines.dylib 0x1059cc000 - 0x1059e3fff com.apple.security.csparser (3.0) <0e1b6c05-c1cd-3eaf-9857-4787d790f22a> /System/Library/Frameworks/Security.framework/Versions/A/PlugIns/csparser.bundle/Contents/MacOS/csparser 0x113069000 - 0x113070fff com.apple.CloudDocsFileProvider (1.0)