Removing duplicate tracker removes wrong tracker

Ask for help and report issues with the Mac OS X version of Transmission
Post Reply
stern
Posts: 61
Joined: Sat Aug 09, 2008 11:00 am

Removing duplicate tracker removes wrong tracker

Post by stern »

Suppose a torrent's tracker list looks like so:

Code: Select all

1: a
2: b
3: c
4: c
5: d
If you select tracker 3 and click on the remove button, the result is

Code: Select all

1: a
2: c
3: c
4: d
If you would have selected tracker 4 and removed it instead, the result is the expected

Code: Select all

1: a
2: b
3: c
4: d
In addition I've had Transmission crash three times while testing this (revisions 9792 and 9798), which I suspect is related as otherwise the program is rather stable at the moment.

Code: Select all

Process:         Transmission [4471]
Path:            /Users/stern/Applications/Transmission-r9792.app/Contents/MacOS/Transmission
Identifier:      org.m0k.transmission
Version:         1.76+ (9792)
Code Type:       X86-64 (Native)
Parent Process:  launchd [251]

Date/Time:       2009-12-19 12:28:18.572 +0200
OS Version:      Mac OS X 10.6.2 (10C540)
Report Version:  6

Interval Since Last Report:          1055762 sec
Crashes Since Last Report:           2
Per-App Interval Since Last Report:  137797 sec
Per-App Crashes Since Last Report:   1
Anonymous UUID:                      932006E7-117A-41B1-A1AF-65F190F27A71

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Crashed Thread:  2

Application Specific Information:
Assertion failed: (!tier->isAnnouncing), function tierAnnounce, file /Users/stern/work/Transmission/Transmission/libtransmission/announcer.c, line 1372.


Thread 0:  Dispatch queue: com.apple.main-thread
0   libSystem.B.dylib             	0x00007fff879f9e3a mach_msg_trap + 10
1   libSystem.B.dylib             	0x00007fff879fa4ad mach_msg + 59
2   com.apple.CoreFoundation      	0x00007fff8755d7a2 __CFRunLoopRun + 1698
3   com.apple.CoreFoundation      	0x00007fff8755cc2f CFRunLoopRunSpecific + 575
4   com.apple.HIToolbox           	0x00007fff81813a4e RunCurrentEventLoopInMode + 333
5   com.apple.HIToolbox           	0x00007fff81813853 ReceiveNextEventCommon + 310
6   com.apple.HIToolbox           	0x00007fff8181370c BlockUntilNextEventMatchingListInMode + 59
7   com.apple.AppKit              	0x00007fff82a9a1f2 _DPSNextEvent + 708
8   com.apple.AppKit              	0x00007fff82a99b41 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 155
9   com.apple.AppKit              	0x00007fff82a5f747 -[NSApplication run] + 395
10  com.apple.AppKit              	0x00007fff82a58468 NSApplicationMain + 364
11  org.m0k.transmission          	0x000000010000143b main + 117
12  org.m0k.transmission          	0x00000001000013a4 start + 52

Thread 1:  Dispatch queue: com.apple.libdispatch-manager
0   libSystem.B.dylib             	0x00007fff87a12bba kevent + 10
1   libSystem.B.dylib             	0x00007fff87a14a85 _dispatch_mgr_invoke + 154
2   libSystem.B.dylib             	0x00007fff87a1475c _dispatch_queue_invoke + 185
3   libSystem.B.dylib             	0x00007fff87a14286 _dispatch_worker_thread2 + 244
4   libSystem.B.dylib             	0x00007fff87a13bb8 _pthread_wqthread + 353
5   libSystem.B.dylib             	0x00007fff87a13a55 start_wqthread + 13

Thread 2 Crashed:
0   libSystem.B.dylib             	0x00007fff87ac984d usleep$NOCANCEL + 0
1   libSystem.B.dylib             	0x00007fff87ae8e3c abort + 93
2   libSystem.B.dylib             	0x00007fff87ad5e74 __pthread_markcancel + 0
3   org.m0k.transmission          	0x000000010009ca4a onUpkeepTimer + 791
4   org.m0k.transmission          	0x00000001000ac980 event_base_loop + 1148
5   org.m0k.transmission          	0x0000000100079650 libeventThreadFunc + 162
6   libSystem.B.dylib             	0x00007fff87a32f8e _pthread_start + 331
7   libSystem.B.dylib             	0x00007fff87a32e41 thread_start + 13

Thread 3:
0   libSystem.B.dylib             	0x00007fff87a349ee __semwait_signal + 10
1   libSystem.B.dylib             	0x00007fff87a3487d nanosleep + 148
2   libSystem.B.dylib             	0x00007fff87a347e7 usleep + 57
3   org.m0k.transmission          	0x0000000100097c9f tr_dhtStatus + 116
4   org.m0k.transmission          	0x0000000100097deb bootstrap_done + 59
5   org.m0k.transmission          	0x0000000100097dc8 bootstrap_done + 24
6   org.m0k.transmission          	0x0000000100098463 dht_bootstrap + 589
7   libSystem.B.dylib             	0x00007fff87a32f8e _pthread_start + 331
8   libSystem.B.dylib             	0x00007fff87a32e41 thread_start + 13

Thread 4:
0   libSystem.B.dylib             	0x00007fff87a12bba kevent + 10
1   org.m0k.transmission          	0x000000010003e9f3 -[UKKQueue watcherThread:] + 132
2   com.apple.Foundation          	0x00007fff808abe99 __NSThread__main__ + 1429
3   libSystem.B.dylib             	0x00007fff87a32f8e _pthread_start + 331
4   libSystem.B.dylib             	0x00007fff87a32e41 thread_start + 13

Thread 5:
0   libSystem.B.dylib             	0x00007fff87a139da __workq_kernreturn + 10
1   libSystem.B.dylib             	0x00007fff87a13dec _pthread_wqthread + 917
2   libSystem.B.dylib             	0x00007fff87a13a55 start_wqthread + 13

Thread 6:
0   libSystem.B.dylib             	0x00007fff879f9e3a mach_msg_trap + 10
1   libSystem.B.dylib             	0x00007fff879fa4ad mach_msg + 59
2   com.apple.CoreFoundation      	0x00007fff8755d7a2 __CFRunLoopRun + 1698
3   com.apple.CoreFoundation      	0x00007fff8755cc2f CFRunLoopRunSpecific + 575
4   com.apple.Foundation          	0x00007fff8092b4cf +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:] + 297
5   com.apple.Foundation          	0x00007fff808abe99 __NSThread__main__ + 1429
6   libSystem.B.dylib             	0x00007fff87a32f8e _pthread_start + 331
7   libSystem.B.dylib             	0x00007fff87a32e41 thread_start + 13

Thread 7:
0   libSystem.B.dylib             	0x00007fff87a3d9e2 select$DARWIN_EXTSN + 10
1   com.apple.CoreFoundation      	0x00007fff8757f242 __CFSocketManager + 818
2   libSystem.B.dylib             	0x00007fff87a32f8e _pthread_start + 331
3   libSystem.B.dylib             	0x00007fff87a32e41 thread_start + 13

Thread 2 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x00000001000cfcfd  rcx: 0x00007fff87a47fe6  rdx: 0x0000000000000000
  rdi: 0x0000000000002710  rsi: 0x0000000000000006  rbp: 0x00000001037d9ca0  rsp: 0x00000001037d9c88
   r8: 0x0000000000000004   r9: 0x0000000000000000  r10: 0x00007fff87a44026  r11: 0x0000000000000206
  r12: 0x000000000000055c  r13: 0x00000001000cf5c0  r14: 0x00000001000cf96c  r15: 0x00007fff70eeb670
  rip: 0x00007fff87ac984d  rfl: 0x0000000000010206  cr2: 0x00000001b1a12020

Code: Select all

Process:         Transmission [6761]
Path:            /Users/stern/Applications/Transmission-r9792.app/Contents/MacOS/Transmission
Identifier:      org.m0k.transmission
Version:         1.76+ (9792)
Code Type:       X86-64 (Native)
Parent Process:  launchd [251]

Date/Time:       2009-12-19 12:40:30.425 +0200
OS Version:      Mac OS X 10.6.2 (10C540)
Report Version:  6

Interval Since Last Report:          1056488 sec
Crashes Since Last Report:           3
Per-App Interval Since Last Report:  138235 sec
Per-App Crashes Since Last Report:   2
Anonymous UUID:                      932006E7-117A-41B1-A1AF-65F190F27A71

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00000000000004a7
Crashed Thread:  2

Thread 0:  Dispatch queue: com.apple.main-thread
0   libSystem.B.dylib             	0x00007fff879f9e3a mach_msg_trap + 10
1   libSystem.B.dylib             	0x00007fff879fa4ad mach_msg + 59
2   com.apple.CoreFoundation      	0x00007fff8755d7a2 __CFRunLoopRun + 1698
3   com.apple.CoreFoundation      	0x00007fff8755cc2f CFRunLoopRunSpecific + 575
4   com.apple.HIToolbox           	0x00007fff81813a4e RunCurrentEventLoopInMode + 333
5   com.apple.HIToolbox           	0x00007fff81813853 ReceiveNextEventCommon + 310
6   com.apple.HIToolbox           	0x00007fff8181370c BlockUntilNextEventMatchingListInMode + 59
7   com.apple.AppKit              	0x00007fff82a9a1f2 _DPSNextEvent + 708
8   com.apple.AppKit              	0x00007fff82a99b41 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 155
9   com.apple.AppKit              	0x00007fff82a5f747 -[NSApplication run] + 395
10  com.apple.AppKit              	0x00007fff82a58468 NSApplicationMain + 364
11  org.m0k.transmission          	0x000000010000143b main + 117
12  org.m0k.transmission          	0x00000001000013a4 start + 52

Thread 1:  Dispatch queue: com.apple.libdispatch-manager
0   libSystem.B.dylib             	0x00007fff87a12bba kevent + 10
1   libSystem.B.dylib             	0x00007fff87a14a85 _dispatch_mgr_invoke + 154
2   libSystem.B.dylib             	0x00007fff87a1475c _dispatch_queue_invoke + 185
3   libSystem.B.dylib             	0x00007fff87a14286 _dispatch_worker_thread2 + 244
4   libSystem.B.dylib             	0x00007fff87a13bb8 _pthread_wqthread + 353
5   libSystem.B.dylib             	0x00007fff87a13a55 start_wqthread + 13

Thread 2 Crashed:
0   org.m0k.transmission          	0x0000000100063f86 tr_torrentId + 4
1   org.m0k.transmission          	0x000000010009ca64 onUpkeepTimer + 817
2   org.m0k.transmission          	0x00000001000ac980 event_base_loop + 1148
3   org.m0k.transmission          	0x0000000100079650 libeventThreadFunc + 162
4   libSystem.B.dylib             	0x00007fff87a32f8e _pthread_start + 331
5   libSystem.B.dylib             	0x00007fff87a32e41 thread_start + 13

Thread 3:
0   libSystem.B.dylib             	0x00007fff87a349ee __semwait_signal + 10
1   libSystem.B.dylib             	0x00007fff87a3487d nanosleep + 148
2   libSystem.B.dylib             	0x00007fff87a347e7 usleep + 57
3   org.m0k.transmission          	0x0000000100097c9f tr_dhtStatus + 116
4   org.m0k.transmission          	0x0000000100097deb bootstrap_done + 59
5   org.m0k.transmission          	0x000000010009833e dht_bootstrap + 296
6   libSystem.B.dylib             	0x00007fff87a32f8e _pthread_start + 331
7   libSystem.B.dylib             	0x00007fff87a32e41 thread_start + 13

Thread 4:
0   libSystem.B.dylib             	0x00007fff87a12bba kevent + 10
1   org.m0k.transmission          	0x000000010003e9f3 -[UKKQueue watcherThread:] + 132
2   com.apple.Foundation          	0x00007fff808abe99 __NSThread__main__ + 1429
3   libSystem.B.dylib             	0x00007fff87a32f8e _pthread_start + 331
4   libSystem.B.dylib             	0x00007fff87a32e41 thread_start + 13

Thread 5:
0   libSystem.B.dylib             	0x00007fff879f9e3a mach_msg_trap + 10
1   libSystem.B.dylib             	0x00007fff879fa4ad mach_msg + 59
2   com.apple.CoreFoundation      	0x00007fff8755d7a2 __CFRunLoopRun + 1698
3   com.apple.CoreFoundation      	0x00007fff8755cc2f CFRunLoopRunSpecific + 575
4   com.apple.Foundation          	0x00007fff8092b4cf +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:] + 297
5   com.apple.Foundation          	0x00007fff808abe99 __NSThread__main__ + 1429
6   libSystem.B.dylib             	0x00007fff87a32f8e _pthread_start + 331
7   libSystem.B.dylib             	0x00007fff87a32e41 thread_start + 13

Thread 6:
0   libSystem.B.dylib             	0x00007fff87a3d9e2 select$DARWIN_EXTSN + 10
1   com.apple.CoreFoundation      	0x00007fff8757f242 __CFSocketManager + 818
2   libSystem.B.dylib             	0x00007fff87a32f8e _pthread_start + 331
3   libSystem.B.dylib             	0x00007fff87a32e41 thread_start + 13

Thread 7:
0   libSystem.B.dylib             	0x00007fff87a139da __workq_kernreturn + 10
1   libSystem.B.dylib             	0x00007fff87a13dec _pthread_wqthread + 917
2   libSystem.B.dylib             	0x00007fff87a13a55 start_wqthread + 13

Thread 2 crashed with X86 Thread State (64-bit):
  rax: 0x0000000118a41b90  rbx: 0x0000000118a76080  rcx: 0x0000000000000000  rdx: 0x0000000000000020
  rdi: 0xffffffffffffffff  rsi: 0x0000000000000000  rbp: 0x0000000101f47cf0  rsp: 0x0000000101f47cf0
   r8: 0x0000000118afc0a0   r9: 0x0000000118afc0a4  r10: 0x000000000000001b  r11: 0x0000000118a41b90
  r12: 0x0000000118a5f980  r13: 0x0000000118a41b90  r14: 0xffffffffffffffff  r15: 0x000000004b2cad24
  rip: 0x0000000100063f86  rfl: 0x0000000000010206  cr2: 0x00000000000004a7

Code: Select all

Process:         Transmission [6794]
Path:            /Users/stern/Applications/Transmission-r9798.app/Contents/MacOS/Transmission
Identifier:      org.m0k.transmission
Version:         1.76+ (9798)
Code Type:       X86-64 (Native)
Parent Process:  launchd [251]

Date/Time:       2009-12-19 12:43:23.293 +0200
OS Version:      Mac OS X 10.6.2 (10C540)
Report Version:  6

Interval Since Last Report:          1056658 sec
Crashes Since Last Report:           4
Per-App Interval Since Last Report:  65 sec
Per-App Crashes Since Last Report:   1
Anonymous UUID:                      932006E7-117A-41B1-A1AF-65F190F27A71

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Crashed Thread:  2

Application Specific Information:
Assertion failed: (tier->currentTracker != NULL), function tierScrape, file /Users/stern/work/Transmission/Transmission/libtransmission/announcer.c, line 1546.


Thread 0:  Dispatch queue: com.apple.main-thread
0   libSystem.B.dylib             	0x00007fff879f9e3a mach_msg_trap + 10
1   libSystem.B.dylib             	0x00007fff879fa4ad mach_msg + 59
2   com.apple.CoreFoundation      	0x00007fff8755d7a2 __CFRunLoopRun + 1698
3   com.apple.CoreFoundation      	0x00007fff8755cc2f CFRunLoopRunSpecific + 575
4   com.apple.HIToolbox           	0x00007fff81813a4e RunCurrentEventLoopInMode + 333
5   com.apple.HIToolbox           	0x00007fff81813853 ReceiveNextEventCommon + 310
6   com.apple.HIToolbox           	0x00007fff8181370c BlockUntilNextEventMatchingListInMode + 59
7   com.apple.AppKit              	0x00007fff82a9a1f2 _DPSNextEvent + 708
8   com.apple.AppKit              	0x00007fff82a99b41 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 155
9   com.apple.AppKit              	0x00007fff82a5f747 -[NSApplication run] + 395
10  com.apple.AppKit              	0x00007fff82a58468 NSApplicationMain + 364
11  org.m0k.transmission          	0x000000010000132b main + 117 (main.m:38)
12  org.m0k.transmission          	0x0000000100001294 start + 52

Thread 1:  Dispatch queue: com.apple.libdispatch-manager
0   libSystem.B.dylib             	0x00007fff87a12bba kevent + 10
1   libSystem.B.dylib             	0x00007fff87a14a85 _dispatch_mgr_invoke + 154
2   libSystem.B.dylib             	0x00007fff87a1475c _dispatch_queue_invoke + 185
3   libSystem.B.dylib             	0x00007fff87a14286 _dispatch_worker_thread2 + 244
4   libSystem.B.dylib             	0x00007fff87a13bb8 _pthread_wqthread + 353
5   libSystem.B.dylib             	0x00007fff87a13a55 start_wqthread + 13

Thread 2 Crashed:
0   libSystem.B.dylib             	0x00007fff87a6cfde __semwait_signal_nocancel + 10
1   libSystem.B.dylib             	0x00007fff87a6cee0 nanosleep$NOCANCEL + 129
2   libSystem.B.dylib             	0x00007fff87ac9886 usleep$NOCANCEL + 57
3   libSystem.B.dylib             	0x00007fff87ae8e3c abort + 93
4   libSystem.B.dylib             	0x00007fff87ad5e74 __pthread_markcancel + 0
5   org.m0k.transmission          	0x000000010009ca0a onUpkeepTimer + 791
6   org.m0k.transmission          	0x00000001000ac940 event_base_loop + 1148
7   org.m0k.transmission          	0x000000010007956c libeventThreadFunc + 162
8   libSystem.B.dylib             	0x00007fff87a32f8e _pthread_start + 331
9   libSystem.B.dylib             	0x00007fff87a32e41 thread_start + 13

Thread 3:
0   libSystem.B.dylib             	0x00007fff87a349ee __semwait_signal + 10
1   libSystem.B.dylib             	0x00007fff87a3487d nanosleep + 148
2   libSystem.B.dylib             	0x00007fff87a347e7 usleep + 57
3   org.m0k.transmission          	0x0000000100097c5f tr_dhtStatus + 116
4   org.m0k.transmission          	0x0000000100097dab bootstrap_done + 59
5   org.m0k.transmission          	0x0000000100097d88 bootstrap_done + 24
6   org.m0k.transmission          	0x0000000100098423 dht_bootstrap + 589
7   libSystem.B.dylib             	0x00007fff87a32f8e _pthread_start + 331
8   libSystem.B.dylib             	0x00007fff87a32e41 thread_start + 13

Thread 4:
0   libSystem.B.dylib             	0x00007fff87a12bba kevent + 10
1   org.m0k.transmission          	0x000000010003e8e3 -[UKKQueue watcherThread:] + 132 (UKKQueue.m:351)
2   com.apple.Foundation          	0x00007fff808abe99 __NSThread__main__ + 1429
3   libSystem.B.dylib             	0x00007fff87a32f8e _pthread_start + 331
4   libSystem.B.dylib             	0x00007fff87a32e41 thread_start + 13

Thread 5:
0   libSystem.B.dylib             	0x00007fff87a139da __workq_kernreturn + 10
1   libSystem.B.dylib             	0x00007fff87a13dec _pthread_wqthread + 917
2   libSystem.B.dylib             	0x00007fff87a13a55 start_wqthread + 13

Thread 6:
0   libSystem.B.dylib             	0x00007fff879f9e3a mach_msg_trap + 10
1   libSystem.B.dylib             	0x00007fff879fa4ad mach_msg + 59
2   com.apple.CoreFoundation      	0x00007fff8755d7a2 __CFRunLoopRun + 1698
3   com.apple.CoreFoundation      	0x00007fff8755cc2f CFRunLoopRunSpecific + 575
4   com.apple.Foundation          	0x00007fff8092b4cf +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:] + 297
5   com.apple.Foundation          	0x00007fff808abe99 __NSThread__main__ + 1429
6   libSystem.B.dylib             	0x00007fff87a32f8e _pthread_start + 331
7   libSystem.B.dylib             	0x00007fff87a32e41 thread_start + 13

Thread 7:
0   libSystem.B.dylib             	0x00007fff87a3d9e2 select$DARWIN_EXTSN + 10
1   com.apple.CoreFoundation      	0x00007fff8757f242 __CFSocketManager + 818
2   libSystem.B.dylib             	0x00007fff87a32f8e _pthread_start + 331
3   libSystem.B.dylib             	0x00007fff87a32e41 thread_start + 13

Thread 8:
0   libSystem.B.dylib             	0x00007fff879f9e3a mach_msg_trap + 10
1   libSystem.B.dylib             	0x00007fff879fa4ad mach_msg + 59
2   com.apple.CoreFoundation      	0x00007fff8755d7a2 __CFRunLoopRun + 1698
3   com.apple.CoreFoundation      	0x00007fff8755cc2f CFRunLoopRunSpecific + 575
4   com.apple.CFNetwork           	0x00007fff8487ad05 CFURLConnectionSendSynchronousRequest + 439
5   com.apple.Foundation          	0x00007fff80a01d4f +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 370
6   org.m0k.transmission          	0x0000000100055cba -[TrackerCell(Private) loadTrackerIcon:] + 167 (TrackerCell.m:225)
7   com.apple.Foundation          	0x00007fff808abe99 __NSThread__main__ + 1429
8   libSystem.B.dylib             	0x00007fff87a32f8e _pthread_start + 331
9   libSystem.B.dylib             	0x00007fff87a32e41 thread_start + 13

Thread 9:
0   libSystem.B.dylib             	0x00007fff879f9e3a mach_msg_trap + 10
1   libSystem.B.dylib             	0x00007fff879fa4ad mach_msg + 59
2   com.apple.CoreFoundation      	0x00007fff8755d7a2 __CFRunLoopRun + 1698
3   com.apple.CoreFoundation      	0x00007fff8755cc2f CFRunLoopRunSpecific + 575
4   com.apple.CFNetwork           	0x00007fff8487ad05 CFURLConnectionSendSynchronousRequest + 439
5   com.apple.Foundation          	0x00007fff80a01d4f +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 370
6   org.m0k.transmission          	0x0000000100055cba -[TrackerCell(Private) loadTrackerIcon:] + 167 (TrackerCell.m:225)
7   com.apple.Foundation          	0x00007fff808abe99 __NSThread__main__ + 1429
8   libSystem.B.dylib             	0x00007fff87a32f8e _pthread_start + 331
9   libSystem.B.dylib             	0x00007fff87a32e41 thread_start + 13

Thread 10:
0   libSystem.B.dylib             	0x00007fff879f9e3a mach_msg_trap + 10
1   libSystem.B.dylib             	0x00007fff879fa4ad mach_msg + 59
2   com.apple.CoreFoundation      	0x00007fff8755d7a2 __CFRunLoopRun + 1698
3   com.apple.CoreFoundation      	0x00007fff8755cc2f CFRunLoopRunSpecific + 575
4   com.apple.CFNetwork           	0x00007fff8487ad05 CFURLConnectionSendSynchronousRequest + 439
5   com.apple.Foundation          	0x00007fff80a01d4f +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 370
6   org.m0k.transmission          	0x0000000100055cba -[TrackerCell(Private) loadTrackerIcon:] + 167 (TrackerCell.m:225)
7   com.apple.Foundation          	0x00007fff808abe99 __NSThread__main__ + 1429
8   libSystem.B.dylib             	0x00007fff87a32f8e _pthread_start + 331
9   libSystem.B.dylib             	0x00007fff87a32e41 thread_start + 13

Thread 11:
0   libSystem.B.dylib             	0x00007fff879f9e3a mach_msg_trap + 10
1   libSystem.B.dylib             	0x00007fff879fa4ad mach_msg + 59
2   com.apple.CoreFoundation      	0x00007fff8755d7a2 __CFRunLoopRun + 1698
3   com.apple.CoreFoundation      	0x00007fff8755cc2f CFRunLoopRunSpecific + 575
4   com.apple.CFNetwork           	0x00007fff8487ad05 CFURLConnectionSendSynchronousRequest + 439
5   com.apple.Foundation          	0x00007fff80a01d4f +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 370
6   org.m0k.transmission          	0x0000000100055cba -[TrackerCell(Private) loadTrackerIcon:] + 167 (TrackerCell.m:225)
7   com.apple.Foundation          	0x00007fff808abe99 __NSThread__main__ + 1429
8   libSystem.B.dylib             	0x00007fff87a32f8e _pthread_start + 331
9   libSystem.B.dylib             	0x00007fff87a32e41 thread_start + 13

Thread 12:
0   libSystem.B.dylib             	0x00007fff87a12bba kevent + 10
1   libSystem.B.dylib             	0x00007fff87a517b0 _mdns_query_mDNSResponder + 1043
2   libSystem.B.dylib             	0x00007fff87a50ab5 _mdns_search + 1117
3   libSystem.B.dylib             	0x00007fff87a4fe68 _mdns_addrinfo + 688
4   libSystem.B.dylib             	0x00007fff87a4ef0a search_addrinfo + 133
5   libSystem.B.dylib             	0x00007fff87a4e94c si_addrinfo + 1290
6   libSystem.B.dylib             	0x00007fff87a65acc si_async_launchpad + 87
7   libSystem.B.dylib             	0x00007fff87a32f8e _pthread_start + 331
8   libSystem.B.dylib             	0x00007fff87a32e41 thread_start + 13

Thread 13:
0   libSystem.B.dylib             	0x00007fff879f9e3a mach_msg_trap + 10
1   libSystem.B.dylib             	0x00007fff879fa4ad mach_msg + 59
2   com.apple.CoreFoundation      	0x00007fff8755d7a2 __CFRunLoopRun + 1698
3   com.apple.CoreFoundation      	0x00007fff8755cc2f CFRunLoopRunSpecific + 575
4   com.apple.CFNetwork           	0x00007fff8487ad05 CFURLConnectionSendSynchronousRequest + 439
5   com.apple.Foundation          	0x00007fff80a01d4f +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 370
6   org.m0k.transmission          	0x0000000100055cba -[TrackerCell(Private) loadTrackerIcon:] + 167 (TrackerCell.m:225)
7   com.apple.Foundation          	0x00007fff808abe99 __NSThread__main__ + 1429
8   libSystem.B.dylib             	0x00007fff87a32f8e _pthread_start + 331
9   libSystem.B.dylib             	0x00007fff87a32e41 thread_start + 13

Thread 14:
0   libSystem.B.dylib             	0x00007fff879f9e3a mach_msg_trap + 10
1   libSystem.B.dylib             	0x00007fff879fa4ad mach_msg + 59
2   com.apple.CoreFoundation      	0x00007fff8755d7a2 __CFRunLoopRun + 1698
3   com.apple.CoreFoundation      	0x00007fff8755cc2f CFRunLoopRunSpecific + 575
4   com.apple.CFNetwork           	0x00007fff8487ad05 CFURLConnectionSendSynchronousRequest + 439
5   com.apple.Foundation          	0x00007fff80a01d4f +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 370
6   org.m0k.transmission          	0x0000000100055cba -[TrackerCell(Private) loadTrackerIcon:] + 167 (TrackerCell.m:225)
7   com.apple.Foundation          	0x00007fff808abe99 __NSThread__main__ + 1429
8   libSystem.B.dylib             	0x00007fff87a32f8e _pthread_start + 331
9   libSystem.B.dylib             	0x00007fff87a32e41 thread_start + 13

Thread 15:
0   libSystem.B.dylib             	0x00007fff879f9e3a mach_msg_trap + 10
1   libSystem.B.dylib             	0x00007fff879fa4ad mach_msg + 59
2   com.apple.CoreFoundation      	0x00007fff8755d7a2 __CFRunLoopRun + 1698
3   com.apple.CoreFoundation      	0x00007fff8755cc2f CFRunLoopRunSpecific + 575
4   com.apple.CFNetwork           	0x00007fff8487ad05 CFURLConnectionSendSynchronousRequest + 439
5   com.apple.Foundation          	0x00007fff80a01d4f +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 370
6   org.m0k.transmission          	0x0000000100055cba -[TrackerCell(Private) loadTrackerIcon:] + 167 (TrackerCell.m:225)
7   com.apple.Foundation          	0x00007fff808abe99 __NSThread__main__ + 1429
8   libSystem.B.dylib             	0x00007fff87a32f8e _pthread_start + 331
9   libSystem.B.dylib             	0x00007fff87a32e41 thread_start + 13

Thread 16:
0   libSystem.B.dylib             	0x00007fff879f9e3a mach_msg_trap + 10
1   libSystem.B.dylib             	0x00007fff879fa4ad mach_msg + 59
2   com.apple.CoreFoundation      	0x00007fff8755d7a2 __CFRunLoopRun + 1698
3   com.apple.CoreFoundation      	0x00007fff8755cc2f CFRunLoopRunSpecific + 575
4   com.apple.CFNetwork           	0x00007fff8487ad05 CFURLConnectionSendSynchronousRequest + 439
5   com.apple.Foundation          	0x00007fff80a01d4f +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 370
6   org.m0k.transmission          	0x0000000100055cba -[TrackerCell(Private) loadTrackerIcon:] + 167 (TrackerCell.m:225)
7   com.apple.Foundation          	0x00007fff808abe99 __NSThread__main__ + 1429
8   libSystem.B.dylib             	0x00007fff87a32f8e _pthread_start + 331
9   libSystem.B.dylib             	0x00007fff87a32e41 thread_start + 13

Thread 17:
0   libSystem.B.dylib             	0x00007fff879f9e3a mach_msg_trap + 10
1   libSystem.B.dylib             	0x00007fff879fa4ad mach_msg + 59
2   com.apple.CoreFoundation      	0x00007fff8755d7a2 __CFRunLoopRun + 1698
3   com.apple.CoreFoundation      	0x00007fff8755cc2f CFRunLoopRunSpecific + 575
4   com.apple.CFNetwork           	0x00007fff8487ad05 CFURLConnectionSendSynchronousRequest + 439
5   com.apple.Foundation          	0x00007fff80a01d4f +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 370
6   org.m0k.transmission          	0x0000000100055cba -[TrackerCell(Private) loadTrackerIcon:] + 167 (TrackerCell.m:225)
7   com.apple.Foundation          	0x00007fff808abe99 __NSThread__main__ + 1429
8   libSystem.B.dylib             	0x00007fff87a32f8e _pthread_start + 331
9   libSystem.B.dylib             	0x00007fff87a32e41 thread_start + 13

Thread 18:
0   libSystem.B.dylib             	0x00007fff879f9e3a mach_msg_trap + 10
1   libSystem.B.dylib             	0x00007fff879fa4ad mach_msg + 59
2   com.apple.CoreFoundation      	0x00007fff8755d7a2 __CFRunLoopRun + 1698
3   com.apple.CoreFoundation      	0x00007fff8755cc2f CFRunLoopRunSpecific + 575
4   com.apple.CFNetwork           	0x00007fff8487ad05 CFURLConnectionSendSynchronousRequest + 439
5   com.apple.Foundation          	0x00007fff80a01d4f +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 370
6   org.m0k.transmission          	0x0000000100055cba -[TrackerCell(Private) loadTrackerIcon:] + 167 (TrackerCell.m:225)
7   com.apple.Foundation          	0x00007fff808abe99 __NSThread__main__ + 1429
8   libSystem.B.dylib             	0x00007fff87a32f8e _pthread_start + 331
9   libSystem.B.dylib             	0x00007fff87a32e41 thread_start + 13

Thread 19:
0   libSystem.B.dylib             	0x00007fff879f9e3a mach_msg_trap + 10
1   libSystem.B.dylib             	0x00007fff879fa4ad mach_msg + 59
2   com.apple.CoreFoundation      	0x00007fff8755d7a2 __CFRunLoopRun + 1698
3   com.apple.CoreFoundation      	0x00007fff8755cc2f CFRunLoopRunSpecific + 575
4   com.apple.CFNetwork           	0x00007fff8487ad05 CFURLConnectionSendSynchronousRequest + 439
5   com.apple.Foundation          	0x00007fff80a01d4f +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 370
6   org.m0k.transmission          	0x0000000100055cba -[TrackerCell(Private) loadTrackerIcon:] + 167 (TrackerCell.m:225)
7   com.apple.Foundation          	0x00007fff808abe99 __NSThread__main__ + 1429
8   libSystem.B.dylib             	0x00007fff87a32f8e _pthread_start + 331
9   libSystem.B.dylib             	0x00007fff87a32e41 thread_start + 13

Thread 2 crashed with X86 Thread State (64-bit):
  rax: 0x000000000000003c  rbx: 0x0000000101e47c70  rcx: 0x0000000101e47c28  rdx: 0x0000000000000001
  rdi: 0x0000000000000c03  rsi: 0x0000000000000000  rbp: 0x0000000101e47c60  rsp: 0x0000000101e47c28
   r8: 0x0000000000000000   r9: 0x0000000000989680  r10: 0x0000000000000001  r11: 0x0000000000000246
  r12: 0x0000000000000000  r13: 0x00000001000cf5c0  r14: 0x00000001000cf9eb  r15: 0x00007fff70eeb670
  rip: 0x00007fff87a6cfde  rfl: 0x0000000000000247  cr2: 0x000000011fb76880
livings124
Transmission Developer
Posts: 3142
Joined: Fri Jan 13, 2006 8:08 pm

Re: Removing duplicate tracker removes wrong tracker

Post by livings124 »

Are all these trackers in the same tiers or different tiers?
stern
Posts: 61
Joined: Sat Aug 09, 2008 11:00 am

Re: Removing duplicate tracker removes wrong tracker

Post by stern »

Different tiers. (I wish I could pass on this torrent, as it's a beauty. It has 158 tiers, and that's after I manually removed a bunch of trackers.)
stern
Posts: 61
Joined: Sat Aug 09, 2008 11:00 am

Re: Removing duplicate tracker removes wrong tracker

Post by stern »

It seems that the duplicate trackers were a red herring and that the program will always delete the tracker preceding the selected one (and crash doing so). The tracker deletion code certainly looks convoluted enough for any number of bugs to be hiding in it.
livings124
Transmission Developer
Posts: 3142
Joined: Fri Jan 13, 2006 8:08 pm

Re: Removing duplicate tracker removes wrong tracker

Post by livings124 »

I'm not seeing this. Please, rewrite the code to be less convoluted and buggy. I'm always glad when people are willing to write patches. Thanks!
Post Reply