Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#4085 closed Bug (fixed)

Transmission crashed when adding a new torrent: Assert Failed

Reported by: sharpshot_uk Owned by:
Priority: Normal Milestone:
Component: Transmission Version: 2.22+
Severity: Normal Keywords:
Cc:

Description

Notes:

One torrent file downloading. Running r12012

I clicked a new .torrent to open, nothing happened. I then click the transmission icon, and had the crash:

Process:         Transmission [15342]
Path:            /Applications/Transmission.app/Contents/MacOS/Transmission
Identifier:      org.m0k.transmission
Version:         2.22+ (12102)
Code Type:       X86-64 (Native)
Parent Process:  launchd [109]

Date/Time:       2011-03-05 12:18:29.839 +0000
OS Version:      Mac OS X 10.6.6 (10J567)
Report Version:  6

Interval Since Last Report:          1365663 sec
Crashes Since Last Report:           57
Per-App Interval Since Last Report:  1945 sec
Per-App Crashes Since Last Report:   1
Anonymous UUID:                      E366C5D5-89E6-4D6B-9286-D02E97F8DEBA

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

Application Specific Information:
Assertion failed: (tr_isAddress( src )), function tr_ntop, file /Users/sheila/transmission/trunk/libtransmission/net.c, line 166.
 

Thread 0:  Dispatch queue: com.apple.main-thread
0   libSystem.B.dylib             	0x00007fff843f12da mach_msg_trap + 10
1   libSystem.B.dylib             	0x00007fff843f194d mach_msg + 59
2   com.apple.CoreFoundation      	0x00007fff87049932 __CFRunLoopRun + 1698
3   com.apple.CoreFoundation      	0x00007fff87048dbf CFRunLoopRunSpecific + 575
4   com.apple.HIToolbox           	0x00007fff82f1393a RunCurrentEventLoopInMode + 333
5   com.apple.HIToolbox           	0x00007fff82f1373f ReceiveNextEventCommon + 310
6   com.apple.HIToolbox           	0x00007fff82f135f8 BlockUntilNextEventMatchingListInMode + 59
7   com.apple.AppKit              	0x00007fff87a10e64 _DPSNextEvent + 718
8   com.apple.AppKit              	0x00007fff87a107a9 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 155
9   com.apple.AppKit              	0x00007fff879d648b -[NSApplication run] + 395
10  com.apple.AppKit              	0x00007fff879cf1a8 NSApplicationMain + 364
11  org.m0k.transmission          	0x000000010000209d main + 111
12  org.m0k.transmission          	0x000000010000200c start + 52

Thread 1:  Dispatch queue: com.apple.libdispatch-manager
0   libSystem.B.dylib             	0x00007fff8440a16a kevent + 10
1   libSystem.B.dylib             	0x00007fff8440c03d _dispatch_mgr_invoke + 154
2   libSystem.B.dylib             	0x00007fff8440bd14 _dispatch_queue_invoke + 185
3   libSystem.B.dylib             	0x00007fff8440b83e _dispatch_worker_thread2 + 252
4   libSystem.B.dylib             	0x00007fff8440b168 _pthread_wqthread + 353
5   libSystem.B.dylib             	0x00007fff8440b005 start_wqthread + 13

Thread 2 Crashed:
0   libSystem.B.dylib             	0x00007fff84463e4e __semwait_signal_nocancel + 10
1   libSystem.B.dylib             	0x00007fff84463d50 nanosleep$NOCANCEL + 129
2   libSystem.B.dylib             	0x00007fff844c06a2 usleep$NOCANCEL + 57
3   libSystem.B.dylib             	0x00007fff844dfcd4 abort + 93
4   libSystem.B.dylib             	0x00007fff844ccc90 __pthread_markcancel + 0
5   org.m0k.transmission          	0x000000010006ea97 tr_ntop + 74
6   org.m0k.transmission          	0x000000010007c16c tr_peerIoAddrStr + 17
7   org.m0k.transmission          	0x00000001000676cd accept_incoming_peer + 57
8   org.m0k.transmission          	0x00000001000a68c9 event_base_loop + 1260
9   org.m0k.transmission          	0x0000000100078505 libeventThreadFunc + 121
10  org.m0k.transmission          	0x000000010006e0b9 ThreadFunc + 18
11  libSystem.B.dylib             	0x00007fff8442a536 _pthread_start + 331
12  libSystem.B.dylib             	0x00007fff8442a3e9 thread_start + 13

Thread 3:
0   libSystem.B.dylib             	0x00007fff84434e92 select$DARWIN_EXTSN + 10
1   org.m0k.transmission          	0x000000010008c652 tr_webThreadFunc + 1192
2   org.m0k.transmission          	0x000000010006e0b9 ThreadFunc + 18
3   libSystem.B.dylib             	0x00007fff8442a536 _pthread_start + 331
4   libSystem.B.dylib             	0x00007fff8442a3e9 thread_start + 13

Thread 4:
0   libSystem.B.dylib             	0x00007fff8440a16a kevent + 10
1   org.m0k.transmission          	0x00000001000321ab -[UKKQueue watcherThread:] + 174
2   com.apple.Foundation          	0x00007fff8723b0a5 __NSThread__main__ + 1429
3   libSystem.B.dylib             	0x00007fff8442a536 _pthread_start + 331
4   libSystem.B.dylib             	0x00007fff8442a3e9 thread_start + 13

Thread 5:
0   libSystem.B.dylib             	0x00007fff843f12da mach_msg_trap + 10
1   libSystem.B.dylib             	0x00007fff843f194d mach_msg + 59
2   com.apple.CoreFoundation      	0x00007fff87049932 __CFRunLoopRun + 1698
3   com.apple.CoreFoundation      	0x00007fff87048dbf CFRunLoopRunSpecific + 575
4   com.apple.Foundation          	0x00007fff872ba07f +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:] + 297
5   com.apple.Foundation          	0x00007fff8723b0a5 __NSThread__main__ + 1429
6   libSystem.B.dylib             	0x00007fff8442a536 _pthread_start + 331
7   libSystem.B.dylib             	0x00007fff8442a3e9 thread_start + 13

Thread 6:  com.apple.CFSocket.private
0   libSystem.B.dylib             	0x00007fff84434e92 select$DARWIN_EXTSN + 10
1   com.apple.CoreFoundation      	0x00007fff8706b498 __CFSocketManager + 824
2   libSystem.B.dylib             	0x00007fff8442a536 _pthread_start + 331
3   libSystem.B.dylib             	0x00007fff8442a3e9 thread_start + 13

Thread 7:
0   libSystem.B.dylib             	0x00007fff8440af8a __workq_kernreturn + 10
1   libSystem.B.dylib             	0x00007fff8440b39c _pthread_wqthread + 917
2   libSystem.B.dylib             	0x00007fff8440b005 start_wqthread + 13

Thread 2 crashed with X86 Thread State (64-bit):
  rax: 0x000000000000003c  rbx: 0x000000011281acf0  rcx: 0x000000011281aca8  rdx: 0x0000000000000001
  rdi: 0x0000000000000c03  rsi: 0x0000000000000000  rbp: 0x000000011281ace0  rsp: 0x000000011281aca8
   r8: 0x0000000000000000   r9: 0x0000000000989680  r10: 0x0000000000000001  r11: 0x0000000000000246
  r12: 0x0000000000000000  r13: 0x00000001000d3790  r14: 0x00000001000d37d0  r15: 0x00007fff7064b750
  rip: 0x00007fff84463e4e  rfl: 0x0000000000000247  cr2: 0x0000000111af7000

Possibly r12094 causing the regression?

Change History (4)

comment:1 Changed 11 years ago by jordan

I suspect r12094 too, but don't see the bug. :/

Does the problem persist in r12104-or-higher?

comment:2 Changed 11 years ago by sharpshot_uk

Note: I ment r12102 instead of r12012, I think you saw that. :)

r12104 appears to have solved the problem. Will advise over the next few hours if otherwise.

Last edited 11 years ago by sharpshot_uk (previous) (diff)

comment:3 Changed 11 years ago by sharpshot_uk

  • Resolution set to fixed
  • Status changed from new to closed

Looks good. Good job! :)

(Note: If it is frowned on for users to modify the ticket instead of the devs, let me know for future tickets!)

comment:4 Changed 11 years ago by livings124

  • Milestone None Set deleted
Note: See TracTickets for help on using tickets.