Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash bug when deleting a torrent #10

Open
edualm opened this issue Nov 20, 2021 · 0 comments
Open

Crash bug when deleting a torrent #10

edualm opened this issue Nov 20, 2021 · 0 comments

Comments

@edualm
Copy link
Owner

edualm commented Nov 20, 2021

When deleting a torrent, the app will crash (even though the operation succeeds).

Probably because some data becomes missing when the torrent is deleted?

Process:               SeedTruck [52512]
Path:                  /Applications/SeedTruck.app/Contents/MacOS/SeedTruck
Identifier:            io.edr.seedtruck
Version:               1.2 (13)
Code Type:             ARM-64 (Native)
Parent Process:        launchd [1]
User ID:               501

Date/Time:             2021-11-20 13:29:04.2965 +0000
OS Version:            macOS 12.0.1 (21A559)
Report Version:        12
Anonymous UUID:        1648664B-D12E-E4A8-A9DA-C52D82DFE05B

Sleep/Wake UUID:       151CE799-FBD6-4C3F-9E3E-81DD2D06FC00

Time Awake Since Boot: 56000 seconds
Time Since Wake:       294 seconds

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BREAKPOINT (SIGTRAP)
Exception Codes:       0x0000000000000001, 0x00000001a37c92c8
Exception Note:        EXC_CORPSE_NOTIFY

Termination Reason:    Namespace SIGNAL, Code 5 Trace/BPT trap: 5
Terminating Process:   exc handler [52512]

Application Specific Information:
Crashing on exception: Row index 1 out of row range (numberOfRows: 0) for <_TtC7SwiftUIP33_B80C7C4B9EB16145005A9135E39681A519ListCoreOutlineView: 0x15a867c00>


Application Specific Backtrace 0:
0   CoreFoundation                      0x00000001a097812c __exceptionPreprocess + 240
1   libobjc.A.dylib                     0x00000001a06c9808 objc_exception_throw + 60
2   AppKit                              0x00000001a356dd3c -[NSTableRowData _availableRowViewWhileUpdatingAtRow:] + 0
3   AppKit                              0x00000001a3714d3c -[NSTableRowData automaticRowHeightForRow:] + 36
4   AppKit                              0x00000001a3be0ee8 -[NSTableView _uncachedRowHeightForRow:] + 176
5   AppKit                              0x00000001a3d73cf0 -[NSTableRowHeightData noteHeightOfRowsWithIndexesChanged:heightProvider:] + 400
6   AppKit                              0x00000001a3d73ed4 -[NSTableRowHeightData noteHeightOfRowsWithIndexesChanged:] + 100
7   AppKit                              0x00000001a36fe788 __59-[NSTableRowData _automaticRowHeightsUpdateVisibleRowViews]_block_invoke + 60
8   AppKit                              0x00000001a36fe6cc -[NSTableRowData _keepTopRowStable:andDoWorkUntilDone:] + 344
9   AppKit                              0x00000001a34f695c -[NSTableRowData updateVisibleRowViews] + 428
10  AppKit                              0x00000001a34f5fcc -[NSTableView layout] + 180
11  AppKit                              0x00000001a34a3f38 _NSViewLayout + 696
12  AppKit                              0x00000001a34a39a8 -[NSView _layoutSubtreeWithOldSize:] + 388
13  AppKit                              0x00000001a34a3b18 -[NSView _layoutSubtreeWithOldSize:] + 756
14  AppKit                              0x00000001a34a3b18 -[NSView _layoutSubtreeWithOldSize:] + 756
15  AppKit                              0x00000001a34a3b18 -[NSView _layoutSubtreeWithOldSize:] + 756
16  AppKit                              0x00000001a34a2e10 -[NSView _layoutSubtreeIfNeededAndAllowTemporaryEngine:] + 996
17  AppKit                              0x00000001a34ff2b8 -[NSView _setDefaultKeyViewLoop] + 252
18  SwiftUI                             0x00000001c5b6efdc $s7SwiftUI16PlatformViewHostC22viewDidMoveToSuperviewyyF + 80
19  SwiftUI                             0x00000001c5b6f0f0 $s7SwiftUI16PlatformViewHostC22viewDidMoveToSuperviewyyFTo + 28
20  AppKit                              0x00000001a346d418 -[NSView _setSuperview:] + 1488
21  AppKit                              0x00000001a346cc3c -[NSView addSubview:] + 192
22  SwiftUI                             0x00000001c5d13464 $sSo18NSAnimationContextCIgg_ABIegg_TR + 28
23  SwiftUI                             0x00000001c5d1349c $sSo18NSAnimationContextCIegg_ABIyBy_TR + 44
24  AppKit                              0x00000001a3467518 +[NSAnimationContext runAnimationGroup:] + 72
25  SwiftUI                             0x00000001c5bed268 $s7SwiftUI11DisplayListV11ViewUpdaterC8PlatformO10addSubview_2to2atySo6NSViewC_ALSitFZ + 292
26  SwiftUI                             0x00000001c5e8f384 $s7SwiftUI11DisplayListV11ViewUpdaterC010updateItemE033_C85E9C9D8E8767197A33852BB19DA7BELL9container4from10localStateyAE9ContainerAGLLVz_AC0H0VAE5ModelO0U0VztF + 900
27  SwiftUI                             0x00000001c5e8e298 $s7SwiftUI11DisplayListV11ViewUpdaterC015updateInheritedE033_C85E9C9D8E8767197A33852BB19DA7BELL9container4from11parentStateyAE9ContainerAGLLVz_AC4ItemVSPyAE5ModelO0U0VGtF + 1272
28  SwiftUI                             0x00000001c5e8cf88 $s7SwiftUI11DisplayListV11ViewUpdaterC6update33_C85E9C9D8E8767197A33852BB19DA7BELL9container4from11parentStateyAE9ContainerAGLLVz_ACSPyAE5ModelO0T0VGtF + 316
29  SwiftUI                             0x00000001c5e8e01c $s7SwiftUI11DisplayListV11ViewUpdaterC015updateInheritedE033_C85E9C9D8E8767197A33852BB19DA7BELL9container4from11parentStateyAE9ContainerAGLLVz_AC4ItemVSPyAE5ModelO0U0VGtF + 636
30  SwiftUI                             0x00000001c5e8cf88 $s7SwiftUI11DisplayListV11ViewUpdaterC6update33_C85E9C9D8E8767197A33852BB19DA7BELL9container4from11parentStateyAE9ContainerAGLLVz_ACSPyAE5ModelO0T0VGtF + 316
31  SwiftUI                             0x00000001c5e8e01c $s7SwiftUI11DisplayListV11ViewUpdaterC015updateInheritedE033_C85E9C9D8E8767197A33852BB19DA7BELL9container4from11parentStateyAE9ContainerAGLLVz_AC4ItemVSPyAE5ModelO0U0VGtF + 636
32  SwiftUI                             0x00000001c5e8cf88 $s7SwiftUI11DisplayListV11ViewUpdaterC6update33_C85E9C9D8E8767197A33852BB19DA7BELL9container4from11parentStateyAE9ContainerAGLLVz_ACSPyAE5ModelO0T0VGtF + 316
33  SwiftUI                             0x00000001c5e8ccc0 $s7SwiftUI11DisplayListV11ViewUpdaterC6render04rootE04from4time7version10maxVersion13contentsScaleAA4TimeVSo6NSViewC_AcnC0M0VAR12CoreGraphics7CGFloatVtFANSPyAE5ModelO5StateV7GlobalsVGXEfU_ + 384
34  SwiftUI                             0x00000001c5e8cae4 $s7SwiftUI11DisplayListV11ViewUpdaterC6render04rootE04from4time7version10maxVersion13contentsScaleAA4TimeVSo6NSViewC_AcnC0M0VAR12CoreGraphics7CGFloatVtF + 632
35  SwiftUI                             0x00000001c5d091a4 $s7SwiftUI11DisplayListV12ViewRendererC6render04rootE04from4time8nextTime7version10maxVersion13contentsScaleAA0L0VSo6NSViewC_Ac2oC0O0VAS12CoreGraphics7CGFloatVtF + 144
36  SwiftUI                             0x00000001c5d1c59c $s7SwiftUI13NSHostingViewC17renderDisplayList_14asynchronously4time8nextTime7version10maxVersionAA0K0VAA0fG0V_SbA2kM0N0VAOtFyyXEfU_ + 208
37  SwiftUI                             0x00000001c5d1c3d0 $s7SwiftUI13NSHostingViewC17renderDisplayList_14asynchronously4time8nextTime7version10maxVersionAA0K0VAA0fG0V_SbA2kM0N0VAOtF + 264
38  SwiftUI                             0x00000001c5cc9624 $s7SwiftUI16ViewRendererHostPAAE6render8interval17updateDisplayListySd_SbtFyyXEfU_ + 7052
39  SwiftUI                             0x00000001c5cb7a9c $s7SwiftUI16ViewRendererHostPAAE6render8interval17updateDisplayListySd_SbtF + 376
40  SwiftUI                             0x00000001c5d15eb0 $s7SwiftUI13NSHostingViewC6layoutyyFySo18NSAnimationContextCXEfU_ + 212
41  SwiftUI                             0x00000001c5d1ebe8 $sSo18NSAnimationContextCIgg_ABIegg_TRTA + 28
42  SwiftUI                             0x00000001c5d1349c $sSo18NSAnimationContextCIegg_ABIyBy_TR + 44
43  AppKit                              0x00000001a3467518 +[NSAnimationContext runAnimationGroup:] + 72
44  SwiftUI                             0x00000001c5d15d88 $s7SwiftUI13NSHostingViewC6layoutyyF + 328
45  SwiftUI                             0x00000001c5d162f0 $s7SwiftUI13NSHostingViewC6layoutyyFTo + 28
46  AppKit                              0x00000001a34a3f38 _NSViewLayout + 696
47  AppKit                              0x00000001a34a39a8 -[NSView _layoutSubtreeWithOldSize:] + 388
48  AppKit                              0x00000001a34a3b18 -[NSView _layoutSubtreeWithOldSize:] + 756
49  AppKit                              0x00000001a34a3b18 -[NSView _layoutSubtreeWithOldSize:] + 756
50  AppKit                              0x00000001a34a3b18 -[NSView _layoutSubtreeWithOldSize:] + 756
51  AppKit                              0x00000001a34a3b18 -[NSView _layoutSubtreeWithOldSize:] + 756
52  AppKit                              0x00000001a34a3b18 -[NSView _layoutSubtreeWithOldSize:] + 756
53  AppKit                              0x00000001a34a3b18 -[NSView _layoutSubtreeWithOldSize:] + 756
54  AppKit                              0x00000001a34a3b18 -[NSView _layoutSubtreeWithOldSize:] + 756
55  AppKit                              0x00000001a34a2e10 -[NSView _layoutSubtreeIfNeededAndAllowTemporaryEngine:] + 996
56  AppKit                              0x00000001a34a2958 -[NSWindow(NSConstraintBasedLayout) _layoutViewTree] + 148
57  AppKit                              0x00000001a351a070 -[NSWindow(NSConstraintBasedLayout) layoutIfNeeded] + 308
58  AppKit                              0x00000001a3519e68 __NSWindowGetDisplayCycleObserverForLayout_block_invoke + 436
59  AppKit                              0x00000001a3519070 NSDisplayCycleObserverInvoke + 188
60  AppKit                              0x00000001a3518bf4 NSDisplayCycleFlush + 836
61  QuartzCore                          0x00000001a771fc2c _ZN2CA11Transaction19run_commit_handlersE18CATransactionPhase + 120
62  QuartzCore                          0x00000001a771ec1c _ZN2CA11Transaction6commitEv + 332
63  AppKit                              0x00000001a35b71c0 __62+[CATransaction(NSCATransaction) NS_setFlushesWithDisplayLink]_block_invoke + 304
64  AppKit                              0x00000001a3d16b04 ___NSRunLoopObserverCreateWithHandler_block_invoke + 64
65  CoreFoundation                      0x00000001a08f7dac __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 36
66  CoreFoundation                      0x00000001a08f7bf8 __CFRunLoopDoObservers + 572
67  CoreFoundation                      0x00000001a08f7130 __CFRunLoopRun + 764
68  CoreFoundation                      0x00000001a08f6694 CFRunLoopRunSpecific + 600
69  HIToolbox                           0x00000001a946c990 RunCurrentEventLoopInMode + 292
70  HIToolbox                           0x00000001a946c704 ReceiveNextEventCommon + 552
71  HIToolbox                           0x00000001a946c4c4 _BlockUntilNextEventMatchingListInModeWithFilter + 72
72  AppKit                              0x00000001a344baec _DPSNextEvent + 844
73  AppKit                              0x00000001a344a390 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1332
74  AppKit                              0x00000001a343c3b0 -[NSApplication run] + 596
75  AppKit                              0x00000001a340da84 NSApplicationMain + 1064
76  SwiftUI                             0x00000001c51e91f0 $s7SwiftUI6runAppys5NeverOSo21NSApplicationDelegate_So11NSResponderCXcFTf4e_nAA07TestingdG0C_Tg5 + 148
77  SwiftUI                             0x00000001c5d0b1b4 $s7SwiftUI6runAppys5NeverOxAA0D0RzlF + 260
78  SwiftUI                             0x00000001c579e654 $s7SwiftUI3AppPAAE4mainyyFZ + 128
79  SeedTruck                           0x0000000102914ac8 SeedTruck + 19144
80  dyld                                0x0000000102d310f4 start + 520


Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   AppKit                        	       0x1a37c92c8 -[NSApplication _crashOnException:] + 324
1   AppKit                        	       0x1a37c92c0 -[NSApplication _crashOnException:] + 316
2   AppKit                        	       0x1a35b73a0 __62+[CATransaction(NSCATransaction) NS_setFlushesWithDisplayLink]_block_invoke + 784
3   AppKit                        	       0x1a3d16b04 ___NSRunLoopObserverCreateWithHandler_block_invoke + 64
4   CoreFoundation                	       0x1a08f7dac __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 36
5   CoreFoundation                	       0x1a08f7bf8 __CFRunLoopDoObservers + 572
6   CoreFoundation                	       0x1a08f7130 __CFRunLoopRun + 764
7   CoreFoundation                	       0x1a08f6694 CFRunLoopRunSpecific + 600
8   HIToolbox                     	       0x1a946c990 RunCurrentEventLoopInMode + 292
9   HIToolbox                     	       0x1a946c704 ReceiveNextEventCommon + 552
10  HIToolbox                     	       0x1a946c4c4 _BlockUntilNextEventMatchingListInModeWithFilter + 72
11  AppKit                        	       0x1a344baec _DPSNextEvent + 844
12  AppKit                        	       0x1a344a390 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1332
13  AppKit                        	       0x1a343c3b0 -[NSApplication run] + 596
14  AppKit                        	       0x1a340da84 NSApplicationMain + 1064
15  SwiftUI                       	       0x1c51e91f0 specialized runApp(_:) + 148
16  SwiftUI                       	       0x1c5d0b1b4 runApp<A>(_:) + 260
17  SwiftUI                       	       0x1c579e654 static App.main() + 128
18  SeedTruck                     	       0x102914ac8 static SeedTruckApp.$main() + 28 (SeedTruckApp.swift:13) [inlined]
19  SeedTruck                     	       0x102914ac8 main + 40
20  dyld                          	       0x102d310f4 start + 520

Thread 1:: com.apple.NSEventThread
0   libsystem_kernel.dylib        	       0x1a07f1954 mach_msg_trap + 8
1   libsystem_kernel.dylib        	       0x1a07f1d00 mach_msg + 76
2   CoreFoundation                	       0x1a08f8e38 __CFRunLoopServiceMachPort + 372
3   CoreFoundation                	       0x1a08f72f0 __CFRunLoopRun + 1212
4   CoreFoundation                	       0x1a08f6694 CFRunLoopRunSpecific + 600
5   AppKit                        	       0x1a35b8c24 _NSEventThread + 196
6   libsystem_pthread.dylib       	       0x1a082d4ec _pthread_start + 148
7   libsystem_pthread.dylib       	       0x1a08282d0 thread_start + 8

Thread 2:: com.apple.NSURLConnectionLoader
0   libsystem_kernel.dylib        	       0x1a07f1954 mach_msg_trap + 8
1   libsystem_kernel.dylib        	       0x1a07f1d00 mach_msg + 76
2   CoreFoundation                	       0x1a08f8e38 __CFRunLoopServiceMachPort + 372
3   CoreFoundation                	       0x1a08f72f0 __CFRunLoopRun + 1212
4   CoreFoundation                	       0x1a08f6694 CFRunLoopRunSpecific + 600
5   CFNetwork                     	       0x1a56fbfe0 0x1a548e000 + 2547680
6   Foundation                    	       0x1a17c8358 __NSThread__start__ + 808
7   libsystem_pthread.dylib       	       0x1a082d4ec _pthread_start + 148
8   libsystem_pthread.dylib       	       0x1a08282d0 thread_start + 8

Thread 3:
0   libsystem_pthread.dylib       	       0x1a08282bc start_wqthread + 0

Thread 4:
0   libsystem_pthread.dylib       	       0x1a08282bc start_wqthread + 0

Thread 5:
0   libsystem_pthread.dylib       	       0x1a08282bc start_wqthread + 0

Thread 6:
0   libsystem_pthread.dylib       	       0x1a08282bc start_wqthread + 0

Thread 7:
0   libsystem_pthread.dylib       	       0x1a08282bc start_wqthread + 0

Thread 8:
0   libsystem_pthread.dylib       	       0x1a08282bc start_wqthread + 0


Thread 0 crashed with ARM Thread State (64-bit):
    x0: 0x000000015ab09c00   x1: 0x000000016d4ed000   x2: 0x0000000000000004   x3: 0x000000015ab0c200
    x4: 0x000000000000012f   x5: 0x000000016d4ecf48   x6: 0x0000000000000005   x7: 0x00000001a0ae388c
    x8: 0x00000001f694c000   x9: 0x4f7708f737f00004  x10: 0x0000000000000001  x11: 0x000000015ab0c32f
   x12: 0x00000000fca02400  x13: 0x0000000000000002  x14: 0x000000000000fffd  x15: 0x0000000000000003
   x16: 0x0000000000000001  x17: 0x000000016d4ed25e  x18: 0x000000010c30af5c  x19: 0x00000001136e4520
   x20: 0x00000001eaa5aabc  x21: 0x000000015a028d70  x22: 0x00000001eaa55000  x23: 0x00000001f94ea000
   x24: 0x0000000500002d8a  x25: 0x00000001a08f8324  x26: 0x000000015a80fbb8  x27: 0x000000013a3f05e0
   x28: 0x0000000158f2fac0   fp: 0x000000016d4eda00   lr: 0x3a1b8001a37c92c0
    sp: 0x000000016d4ed9b0   pc: 0x00000001a37c92c8 cpsr: 0x60000000
   far: 0x00000001a7a0254c  esr: 0xf2000001 (Breakpoint) brk 1

Binary Images:
       0x1a340a000 -        0x1a42bbfff com.apple.AppKit (6.9) <518f4e68-c324-320f-9d7f-85c224eae972> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
       0x1a0874000 -        0x1a0db7fff com.apple.CoreFoundation (6.9) <b2ff96d0-ae99-31ef-9014-fc9964b4f3e0> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
       0x1a943c000 -        0x1a976bfff com.apple.HIToolbox (2.1.1) <98ea191e-b6f8-3036-b267-eeadb5f03c7d> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
       0x1c5156000 -        0x1c6131fff com.apple.SwiftUI (3.1.9) <7075cb0c-797c-3cb0-b2f0-df2929140591> /System/Library/Frameworks/SwiftUI.framework/Versions/A/SwiftUI
       0x102910000 -        0x1029d3fff io.edr.seedtruck (1.2) <3a93a641-f0e5-3b29-ba4b-76dfb2011599> /Applications/SeedTruck.app/Contents/MacOS/SeedTruck
       0x102d2c000 -        0x102d8bfff dyld (*) <86a8ba48-8bb4-3b30-9cda-051f73c74f44> /usr/lib/dyld
       0x1a07f0000 -        0x1a0825fff libsystem_kernel.dylib (*) <c8524c02-b14f-30bd-a228-c44b4a448e68> /usr/lib/system/libsystem_kernel.dylib
       0x1a0826000 -        0x1a0832fff libsystem_pthread.dylib (*) <4786e19a-9312-38e6-80ef-9c1394548118> /usr/lib/system/libsystem_pthread.dylib
       0x1a548e000 -        0x1a5945fff com.apple.CFNetwork (1325.0.1) <a9068037-0e3b-3486-88cb-5098d0c827e3> /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
       0x1a176b000 -        0x1a1b58fff com.apple.Foundation (6.9) <de039f1b-ffe5-3644-a8cf-7ba52c32cd73> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 20
    thread_create: 0
    thread_set_state: 372

VM Region Summary:
ReadOnly portion of Libraries: Total=1.0G resident=0K(0%) swapped_out_or_unallocated=1.0G(100%)
Writable regions: Total=1.5G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.5G(100%)

                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Accelerate framework               768K        6 
Activity Tracing                   256K        1 
CG backing stores                 4032K        4 
CG image                           736K       36 
ColorSync                          560K       28 
CoreAnimation                     3328K       84 
CoreData Object IDs               4112K        2 
CoreGraphics                        32K        2 
CoreServices                       624K        2 
CoreUI image data                 2992K       18 
Dispatch continuations            80.0M        1 
Foundation                          64K        2 
Kernel Alloc Once                   32K        1 
MALLOC                           229.9M       70 
MALLOC guard page                  192K       10 
MALLOC_MEDIUM (reserved)           1.2G       10         reserved VM address space (unallocated)
SQLite page cache                  192K        3 
STACK GUARD                       56.1M        9 
Stack                             12.2M        9 
VM_ALLOCATE                       3696K       12 
__AUTH                            2416K      261 
__AUTH_CONST                      18.2M      440 
__DATA                            11.7M      426 
__DATA_CONST                      15.3M      445 
__DATA_DIRTY                      1545K      173 
__FONT_DATA                          4K        1 
__LINKEDIT                       570.9M        4 
__OBJC_CONST                      2591K      212 
__OBJC_RO                         81.8M        1 
__OBJC_RW                         3088K        1 
__TEXT                           431.7M      462 
__UNICODE                          588K        1 
dyld private memory               1024K        1 
mapped file                      410.6M       44 
shared memory                     2928K       17 
===========                     =======  ======= 
TOTAL                              3.1G     2799 
TOTAL, minus reserved VM space     1.9G     2799 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant