mangerlahn / Latest

A small utility app for macOS that makes sure you know about all the latest updates to the apps you use.
https://max.codes/latest
GNU General Public License v3.0
2.88k stars 82 forks source link

Crash when searching S #364

Open b0gdanw opened 4 months ago

b0gdanw commented 4 months ago

Latest version 0.10.3 (1190) crashes when typing the letter S in the search field. It happens only when starting with S, not for words containing S. As far as I can tell, it doesn’t happen for any other letters, numbers or symbols.

mangerlahn commented 4 months ago

Thanks for the report. I can't reproduce that, so it probably depends on the setup. Could you post a crash report here?

b0gdanw commented 4 months ago

It crashes on Monterey 12.7.4 (21H1123) Intel, but not on Sonoma 14.4 Apple Silicon. Crash report: `{"app_name":"Latest","timestamp":"2024-03-08 22:54:44.00 +0200","app_version":"0.10.3","slice_uuid":"650e6aab-f2f4-3955-913f-a0d12cfbc8dc","build_version":"1190","platform":1,"bundleID":"com.max-langer.Latest","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 12.7.4 (21H1123)","incident_id":"5C4EA851-28DE-4B1D-85EA-CD0DB1C3E27C","name":"Latest"} { "uptime" : 380, "procLaunch" : "2024-03-08 22:54:23.1010 +0200", "procRole" : "Foreground", "version" : 2, "userID" : 501, "deployVersion" : 210, "modelCode" : "iMac18,2", "procStartAbsTime" : 363961094636, "coalitionID" : 669, "osVersion" : { "train" : "macOS 12.7.4", "build" : "21H1123", "releaseType" : "User" }, "captureTime" : "2024-03-08 22:54:44.3862 +0200", "incident" : "5C4EA851-28DE-4B1D-85EA-CD0DB1C3E27C", "bug_type" : "309", "pid" : 708, "procExitAbsTime" : 385243280410, "cpuType" : "X86-64", "procName" : "Latest", "procPath" : "\/Applications\/Latest.app\/Contents\/MacOS\/Latest", "bundleInfo" : {"CFBundleShortVersionString":"0.10.3","CFBundleVersion":"1190","CFBundleIdentifier":"com.max-langer.Latest"}, "storeInfo" : {"deviceIdentifierForVendor":"DC7E5AD0-7EDB-5F5D-9813-0821FAF08D1C","thirdParty":true}, "parentProc" : "launchd", "parentPid" : 1, "coalitionName" : "com.max-langer.Latest", "crashReporterKey" : "175E5316-C06A-6CBA-F0BA-F8F95ED28D97", "sip" : "disabled", "isCorpse" : 1, "exception" : {"codes":"0x0000000000000001, 0x0000000000000000","rawCodes":[1,0],"type":"EXC_BAD_INSTRUCTION","signal":"SIGILL"}, "termination" : {"flags":0,"code":4,"namespace":"SIGNAL","indicator":"Illegal instruction: 4","byProc":"exc handler","byPid":708}, "asiBacktraces" : ["0 CoreFoundation 0x00007ff80c4806e3 exceptionPreprocess + 242\n1 libobjc.A.dylib 0x00007ff80c1e08bb objc_exception_throw + 48\n2 Foundation 0x00007ff80d26f9b3 blockForLocation + 0\n3 Foundation 0x00007ff80d2c5023 -[NSMutableAttributedString removeAttribute:range:] + 126\n4 Latest 0x000000010705b02d Latest + 90157\n5 Latest 0x0000000107095f9d Latest + 331677\n6 Latest 0x000000010705f1fd Latest + 107005\n7 Latest 0x000000010706395b Latest + 125275\n8 Latest 0x000000010705f502 Latest + 107778\n9 AppKit 0x00007ff80efbf5f5 -[NSTableView(NSTableViewViewBased) _delegate_viewForTableColumn:row:] + 131\n10 AppKit 0x00007ff80eeefdcf -[NSTableView(NSTableViewViewBased) makeViewForTableColumn:row:] + 87\n11 AppKit 0x00007ff80eeef33b -[NSTableRowData _addViewToRowView:atColumn:row:] + 285\n12 AppKit 0x00007ff80eeec0ab -[NSTableRowData _preparedRowViewForRow:storageHandler:] + 1068\n13 AppKit 0x00007ff80eeebb86 -[NSTableRowData _addRowViewForVisibleRow:withPriorView:] + 290\n14 AppKit 0x00007ff80eeeb996 -[NSTableRowData _addRowViewForVisibleRow:] + 312\n15 AppKit 0x00007ff80eeeb0dd -[NSTableRowData _updateVisibleRowEntries] + 719\n16 AppKit 0x00007ff80eeeab8d -[NSTableRowData updateVisibleRowViews] + 484\n17 AppKit 0x00007ff80eeea240 -[NSTableView layout] + 167\n18 AppKit 0x00007ff80ee98634 _NSViewLayout + 564\n19 AppKit 0x00007ff80ee98113 -[NSView _layoutSubtreeWithOldSize:] + 361\n20 AppKit 0x00007ff80ee98261 -[NSView _layoutSubtreeWithOldSize:] + 695\n21 AppKit 0x00007ff80ee98261 -[NSView _layoutSubtreeWithOldSize:] + 695\n22 AppKit 0x00007ff80ee98261 -[NSView _layoutSubtreeWithOldSize:] + 695\n23 AppKit 0x00007ff80ee98261 -[NSView _layoutSubtreeWithOldSize:] + 695\n24 AppKit 0x00007ff80ee98261 -[NSView _layoutSubtreeWithOldSize:] + 695\n25 AppKit 0x00007ff80ee98261 -[NSView _layoutSubtreeWithOldSize:] + 695\n26 AppKit 0x00007ff80ee98261 -[NSView _layoutSubtreeWithOldSize:] + 695\n27 AppKit 0x00007ff80ee98261 -[NSView _layoutSubtreeWithOldSize:] + 695\n28 AppKit 0x00007ff80ee97625 -[NSView _layoutSubtreeIfNeededAndAllowTemporaryEngine:] + 1041\n29 AppKit 0x00007ff80ee9711d -[NSWindow(NSConstraintBasedLayout) _layoutViewTree] + 148\n30 AppKit 0x00007ff80ef0da2d -[NSWindow(NSConstraintBasedLayout) layoutIfNeeded] + 251\n31 AppKit 0x00007ff80ef0d86c NSWindowGetDisplayCycleObserverForLayout_block_invoke + 430\n32 AppKit 0x00007ff80ef0caf7 NSDisplayCycleObserverInvoke + 155\n33 AppKit 0x00007ff80ef0c684 NSDisplayCycleFlush + 921\n34 QuartzCore 0x00007ff8134b9bea _ZN2CA11Transaction19run_commit_handlersE18CATransactionPhase + 98\n35 QuartzCore 0x00007ff8134b88f8 _ZN2CA11Transaction6commitEv + 376\n36 AppKit 0x00007ff80efadd71 62+[CATransaction(NSCATransaction) NS_setFlushesWithDisplayLink]_block_invoke + 285\n37 AppKit 0x00007ff80f6f5d3c _NSRunLoopObserverCreateWithHandler_block_invoke + 41\n38 CoreFoundation 0x00007ff80c404450 CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION + 23\n39 CoreFoundation 0x00007ff80c4042e2 CFRunLoopDoObservers + 543\n40 CoreFoundation 0x00007ff80c403774 CFRunLoopRun + 840\n41 CoreFoundation 0x00007ff80c402d6c CFRunLoopRunSpecific + 562\n42 HIToolbox 0x00007ff8150b55e6 RunCurrentEventLoopInMode + 292\n43 HIToolbox 0x00007ff8150b534a ReceiveNextEventCommon + 594\n44 HIToolbox 0x00007ff8150b50e5 _BlockUntilNextEventMatchingListInModeWithFilter + 70\n45 AppKit 0x00007ff80ee41aa9 _DPSNextEvent + 927\n46 AppKit 0x00007ff80ee40166 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1394\n47 AppKit 0x00007ff80ee32818 -[NSApplication run] + 586\n48 AppKit 0x00007ff80ee0679a NSApplicationMain + 817\n49 Latest 0x0000000107067ca9 Latest + 142505\n50 dyld 0x000000010933152e start + 462"], "extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0}, "faultingThread" : 0, "threads" : [{"triggered":true,"id":6715,"instructionState":{"instructionStream":{"bytes":[0,232,52,1,125,0,72,139,53,105,233,154,62,72,139,29,234,179,7,61,76,137,247,255,211,72,141,61,30,216,10,61,72,137,198,49,192,232,241,90,227,255,76,137,247,76,137,254,255,211,72,139,53,125,43,155,62,72,141,21,254,199,10,61,72,137,199,255,21,181,179,7,61,72,139,53,102,227,154,62,72,137,199,255,21,165,179,7,61,72,137,5,190,220,160,62,15,11,72,141,61,141,97,114,62,72,141,53,158,188,9,61,232,87,2,125,0,233,203,254,255,255,72,141,61,117,97,114,62,72,141,53,134,188,9,61,232,63,2,125,0,233,25,255,255,255,72,137,199,232,10,6,125,0,49,255,49,246,49,192,232,118,90,227,255,232,42,6,125,0,15,11,72,137,195,232,20,6,125,0,72,137,223,232,100,255,124,0,232,3,7,125],"offset":96}},"threadState":{"r13":{"value":105553157776928},"rax":{"value":140284421594624},"rflags":{"value":66050},"cpu":{"value":2},"r14":{"value":105553142109344},"rsi":{"value":5124},"r8":{"value":4},"cr2":{"value":0},"rdx":{"value":5121},"r10":{"value":4},"r9":{"value":140701936093088},"r15":{"value":140703774143281,"objc-selector":"callStackSymbols"},"rbx":{"value":140703331848704,"symbolLocation":0,"symbol":"objc_msgSend"},"trap":{"value":6},"err":{"value":0},"r11":{"value":140284421599748},"rip":{"value":140703382104554,"matchesCrashFrame":1},"rbp":{"value":140701936095728},"rsp":{"value":140701936095680},"r12":{"value":140284402901072},"rcx":{"value":8549555112134770702},"flavor":"x86_THREAD_STATE","rdi":{"value":140701936094560}},"queue":"com.apple.main-thread","frames":[{"imageOffset":3914218,"symbol":"-[NSApplication _crashOnException:]","symbolLocation":313,"imageIndex":0},{"imageOffset":1748909,"symbol":"62+[CATransaction(NSCATransaction) NS_setFlushesWithDisplayLink]_block_invoke","symbolLocation":857,"imageIndex":0},{"imageOffset":9383228,"symbol":"_NSRunLoopObserverCreateWithHandler_block_invoke","symbolLocation":41,"imageIndex":0},{"imageOffset":521296,"symbol":"CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION","symbolLocation":23,"imageIndex":1},{"imageOffset":520930,"symbol":"CFRunLoopDoObservers","symbolLocation":543,"imageIndex":1},{"imageOffset":518004,"symbol":"CFRunLoopRun","symbolLocation":840,"imageIndex":1},{"imageOffset":515436,"symbol":"CFRunLoopRunSpecific","symbolLocation":562,"imageIndex":1},{"imageOffset":189926,"symbol":"RunCurrentEventLoopInMode","symbolLocation":292,"imageIndex":2},{"imageOffset":189258,"symbol":"ReceiveNextEventCommon","symbolLocation":594,"imageIndex":2},{"imageOffset":188645,"symbol":"_BlockUntilNextEventMatchingListInModeWithFilter","symbolLocation":70,"imageIndex":2},{"imageOffset":256681,"symbol":"_DPSNextEvent","symbolLocation":927,"imageIndex":0},{"imageOffset":250214,"symbol":"-[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]","symbolLocation":1394,"imageIndex":0},{"imageOffset":194584,"symbol":"-[NSApplication run]","symbolLocation":586,"imageIndex":0},{"imageOffset":14234,"symbol":"NSApplicationMain","symbolLocation":817,"imageIndex":0},{"imageOffset":142505,"imageIndex":3},{"imageOffset":21806,"symbol":"start","symbolLocation":462,"imageIndex":4}]},{"id":6730,"frames":[{"imageOffset":8008,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":5}]},{"id":6737,"frames":[{"imageOffset":8008,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":5}]},{"id":6745,"name":"com.apple.NSEventThread","frames":[{"imageOffset":6458,"symbol":"mach_msg_trap","symbolLocation":10,"imageIndex":6},{"imageOffset":7336,"symbol":"mach_msg","symbolLocation":56,"imageIndex":6},{"imageOffset":524957,"symbol":"CFRunLoopServiceMachPort","symbolLocation":319,"imageIndex":1},{"imageOffset":518440,"symbol":"__CFRunLoopRun","symbolLocation":1276,"imageIndex":1},{"imageOffset":515436,"symbol":"CFRunLoopRunSpecific","symbolLocation":562,"imageIndex":1},{"imageOffset":1754482,"symbol":"_NSEventThread","symbolLocation":132,"imageIndex":0},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":5},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":5}]},{"id":6819,"frames":[{"imageOffset":8008,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":5}]},{"id":6827,"frames":[{"imageOffset":8008,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":5}]},{"id":6831,"name":"com.apple.NSURLConnectionLoader","frames":[{"imageOffset":6458,"symbol":"mach_msg_trap","symbolLocation":10,"imageIndex":6},{"imageOffset":7336,"symbol":"mach_msg","symbolLocation":56,"imageIndex":6},{"imageOffset":524957,"symbol":"CFRunLoopServiceMachPort","symbolLocation":319,"imageIndex":1},{"imageOffset":518440,"symbol":"CFRunLoopRun","symbolLocation":1276,"imageIndex":1},{"imageOffset":515436,"symbol":"CFRunLoopRunSpecific","symbolLocation":562,"imageIndex":1},{"imageOffset":2394468,"imageIndex":7},{"imageOffset":362852,"symbol":"NSThreadstart","symbolLocation":1009,"imageIndex":8},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":5},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":5}]},{"id":6937,"frames":[{"imageOffset":8008,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":5}]}], "usedImages" : [ { "source" : "P", "arch" : "x86_64", "base" : 140703378190336, "CFBundleShortVersionString" : "6.9", "CFBundleIdentifier" : "com.apple.AppKit", "size" : 15269888, "uuid" : "e8f3aa77-abd4-3c87-ac98-e3bcef1b290f", "path" : "\/System\/Library\/Frameworks\/AppKit.framework\/Versions\/C\/AppKit", "name" : "AppKit", "CFBundleVersion" : "2113.65.150" }, { "source" : "P", "arch" : "x86_64h", "base" : 140703333634048, "CFBundleShortVersionString" : "6.9", "CFBundleIdentifier" : "com.apple.CoreFoundation", "size" : 5255168, "uuid" : "fb79a14a-fda9-3a3b-bc97-6eb525b794a6", "path" : "\/System\/Library\/Frameworks\/CoreFoundation.framework\/Versions\/A\/CoreFoundation", "name" : "CoreFoundation", "CFBundleVersion" : "1866" }, { "source" : "P", "arch" : "x86_64", "base" : 140703481491456, "CFBundleShortVersionString" : "2.1.1", "CFBundleIdentifier" : "com.apple.HIToolbox", "size" : 3096576, "uuid" : "913d3d2e-4e4c-3907-98fe-8f4abd551297", "path" : "\/System\/Library\/Frameworks\/Carbon.framework\/Versions\/A\/Frameworks\/HIToolbox.framework\/Versions\/A\/HIToolbox", "name" : "HIToolbox" }, { "source" : "P", "arch" : "x86_64", "base" : 4412690432, "CFBundleShortVersionString" : "0.10.3", "CFBundleIdentifier" : "com.max-langer.Latest", "size" : 458752, "uuid" : "650e6aab-f2f4-3955-913f-a0d12cfbc8dc", "path" : "\/Applications\/Latest.app\/Contents\/MacOS\/Latest", "name" : "Latest", "CFBundleVersion" : "1190" }, { "source" : "P", "arch" : "x86_64", "base" : 4449288192, "size" : 442368, "uuid" : "430a12c9-134a-3904-9d88-c2df933fdf54", "path" : "\/usr\/lib\/dyld", "name" : "dyld" }, { "source" : "P", "arch" : "x86_64", "base" : 140703333318656, "size" : 49152, "uuid" : "5a5f7316-85b7-315e-baf3-76211ee65604", "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib", "name" : "libsystem_pthread.dylib" }, { "source" : "P", "arch" : "x86_64", "base" : 140703333089280, "size" : 229376, "uuid" : "7112a9e8-9afd-3210-a4e7-b3086b5a11b6", "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib", "name" : "libsystem_kernel.dylib" }, { "source" : "P", "arch" : "x86_64", "base" : 140703411638272, "CFBundleShortVersionString" : "1335.5", "CFBundleIdentifier" : "com.apple.CFNetwork", "size" : 4780032, "uuid" : "1498ec5d-cbe9-352b-8b10-030e042445c5", "path" : "\/System\/Library\/Frameworks\/CFNetwork.framework\/Versions\/A\/CFNetwork", "name" : "CFNetwork", "CFBundleVersion" : "1335.5" }, { "source" : "P", "arch" : "x86_64", "base" : 140703348826112, "CFBundleShortVersionString" : "6.9", "CFBundleIdentifier" : "com.apple.Foundation", "size" : 3919872, "uuid" : "42cdd517-7f3b-3c5e-8ac1-ce7477ac31db", "path" : "\/System\/Library\/Frameworks\/Foundation.framework\/Versions\/C\/Foundation", "name" : "Foundation", "CFBundleVersion" : "1866" } ], "sharedCache" : { "base" : 140703330058240, "size" : 19331678208, "uuid" : "49e18b84-2cd0-3c1e-9270-0e198c2fdf68" }, "vmSummary" : "ReadOnly portion of Libraries: Total=1.1G resident=0K(0%) swapped_out_or_unallocated=1.1G(100%)\nWritable regions: Total=616.6M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=616.6M(100%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nAccelerate framework 768K 6 \nActivity Tracing 256K 1 \nCG backing stores 1440K 4 \nCG image 120K 14 \nColorSync 228K 27 \nCoreAnimation 7700K 332 \nCoreGraphics 4K 1 \nCoreUI image data 1020K 16 \nFoundation 52K 2 \nKernel Alloc Once 144K 3 \nMALLOC 212.4M 73 \nMALLOC guard page 48K 12 \nMALLOC_NANO (reserved) 384.0M 1 reserved VM address space (unallocated)\nSQLite page cache 512K 8 \nSTACK GUARD 56.0M 8 \nStack 11.6M 8 \nVM_ALLOCATE 104K 15 \nCTF 756 1 \nDATA 30.3M 549 \nDATA_CONST 31.2M 350 \n__DATA_DIRTY 1681K 228 \nFONT_DATA 4K 1 \nLINKEDIT 645.5M 10 \nOBJC_RO 82.9M 1 \n__OBJC_RW 3200K 2 \nTEXT 512.5M 564 \nUNICODE 592K 1 \ndyld private memory 1024K 1 \nlibnetwork 1664K 24 \nmapped file 212.7M 100 \nshared memory 772K 16 \n=========== ======= ======= \nTOTAL 2.1G 2379 \nTOTAL, minus reserved VM space 1.8G 2379 \n", "legacyInfo" : { "threadTriggered" : { "queue" : "com.apple.main-thread" } }, "trialInfo" : { "rollouts" : [

], "experiments" : [

] } } `

DevLiuSir commented 3 months ago

Me too, I have found a pattern. Searching for keywords that do not exist in the list will crash.