Opened 13 years ago

Closed 13 years ago

#2407 closed Bug (duplicate)

Crash: Assertion failed in libtransmission/fdlimit.c

Reported by: Rolcol Owned by: charles
Priority: Normal Milestone:
Component: libtransmission Version: 1.74+
Severity: Normal Keywords:
Cc:

Description (last modified by charles)

Process:         Transmission [8535]
Path:            /Users/Roly/Desktop/Transmission/build/Debug/Transmission.app/Contents/MacOS/Transmission
Identifier:      org.m0k.transmission
Version:         1.74+ (9111)
Code Type:       X86-64 (Native)
Parent Process:  launchd [165]

Date/Time:       2009-09-13 02:40:42.246 -0600
OS Version:      Mac OS X 10.6.1 (10B504)
Report Version:  6

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Application Specific Information:
Assertion failed: (gFd != NULL && "tr_fdInit() must be called first!"), function tr_fdSetPeerLimit, file /Users/Roly/Desktop/Transmission/libtransmission/fdlimit.c, line 660.


Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
0   libSystem.B.dylib             	0x00007fff830c0ff6 __kill + 10
1   libSystem.B.dylib             	0x00007fff83162072 abort + 83
2   libSystem.B.dylib             	0x00007fff8314f0b4 __pthread_markcancel + 0
3   org.m0k.transmission          	0x00000001000ddbf5 tr_fdSetPeerLimit + 101
4   org.m0k.transmission          	0x00000001000c3710 tr_sessionSetPeerLimit + 112
5   org.m0k.transmission          	0x0000000100035753 -[PrefsController setPeersGlobal:] + 163
6   com.apple.AppKit              	0x00007fff8675923e -[NSApplication sendAction:to:from:] + 95
7   com.apple.AppKit              	0x00007fff8675919d -[NSControl sendAction:to:] + 94
8   com.apple.AppKit              	0x00007fff8678894b -[NSTextField textDidEndEditing:] + 589
9   com.apple.Foundation          	0x00007fff85944926 _nsnote_callback + 167
10  com.apple.CoreFoundation      	0x00007fff827bce4a __CFXNotificationPost + 954
11  com.apple.CoreFoundation      	0x00007fff827a97f8 _CFXNotificationPostNotification + 200
12  com.apple.Foundation          	0x00007fff8593b890 -[NSNotificationCenter postNotificationName:object:userInfo:] + 101
13  com.apple.AppKit              	0x00007fff867885a1 -[NSTextView(NSSharing) resignFirstResponder] + 873
14  com.apple.AppKit              	0x00007fff865fd3c0 -[NSWindow makeFirstResponder:] + 376
15  org.m0k.transmission          	0x000000010007b50d -[PrefsWindow close] + 77
16  com.apple.CoreFoundation      	0x00007fff827d4a53 -[NSArray makeObjectsPerformSelector:] + 499
17  com.apple.AppKit              	0x00007fff8682d848 -[NSApplication _deallocHardCore:] + 360
18  com.apple.AppKit              	0x00007fff8682c44b -[NSApplication terminate:] + 704
19  com.apple.AppKit              	0x00007fff8675923e -[NSApplication sendAction:to:from:] + 95
20  com.apple.AppKit              	0x00007fff8677d78a -[NSMenuItem _corePerformAction] + 365
21  com.apple.AppKit              	0x00007fff8677d4f4 -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 121
22  com.apple.AppKit              	0x00007fff867631b1 -[NSMenu performKeyEquivalent:] + 272
23  com.apple.AppKit              	0x00007fff86761f59 -[NSApplication _handleKeyEquivalent:] + 559
24  com.apple.AppKit              	0x00007fff86632ce1 -[NSApplication sendEvent:] + 3628
25  com.apple.AppKit              	0x00007fff865c9acc -[NSApplication run] + 474
26  com.apple.AppKit              	0x00007fff865c2798 NSApplicationMain + 364
27  org.m0k.transmission          	0x0000000100001b55 main + 197 (main.m:37)
28  org.m0k.transmission          	0x0000000100001a64 start + 52

Thread 1:  Dispatch queue: com.apple.libdispatch-manager
0   libSystem.B.dylib             	0x00007fff8308bb16 kevent + 10
1   libSystem.B.dylib             	0x00007fff8308da19 _dispatch_mgr_invoke + 154
2   libSystem.B.dylib             	0x00007fff8308d6d6 _dispatch_queue_invoke + 195
3   libSystem.B.dylib             	0x00007fff8308d1f6 _dispatch_worker_thread2 + 244
4   libSystem.B.dylib             	0x00007fff8308cb28 _pthread_wqthread + 353
5   libSystem.B.dylib             	0x00007fff8308c9c5 start_wqthread + 13

Thread 2:
0   libSystem.B.dylib             	0x00007fff8308bb16 kevent + 10
1   org.m0k.transmission          	0x000000010012b6de kq_dispatch + 206
2   org.m0k.transmission          	0x000000010012f366 event_base_loop + 470
3   org.m0k.transmission          	0x000000010012f151 event_loop + 33
4   org.m0k.transmission          	0x000000010012f114 event_dispatch + 20
5   org.m0k.transmission          	0x00000001000edb19 libeventThreadFunc + 329
6   org.m0k.transmission          	0x00000001000d5dab ThreadFunc + 43
7   libSystem.B.dylib             	0x00007fff830abf66 _pthread_start + 331
8   libSystem.B.dylib             	0x00007fff830abe19 thread_start + 13

Thread 3:
0   libSystem.B.dylib             	0x00007fff8308bb16 kevent + 10
1   org.m0k.transmission          	0x0000000100081669 -[UKKQueue watcherThread:] + 249
2   com.apple.Foundation          	0x00007fff85944f65 __NSThread__main__ + 1429
3   libSystem.B.dylib             	0x00007fff830abf66 _pthread_start + 331
4   libSystem.B.dylib             	0x00007fff830abe19 thread_start + 13

Thread 4:
0   libSystem.B.dylib             	0x00007fff830b69f2 select$DARWIN_EXTSN + 10
1   com.apple.CoreFoundation      	0x00007fff827d2252 __CFSocketManager + 818
2   libSystem.B.dylib             	0x00007fff830abf66 _pthread_start + 331
3   libSystem.B.dylib             	0x00007fff830abe19 thread_start + 13

Thread 5:
0   libSystem.B.dylib             	0x00007fff83072d7a mach_msg_trap + 10
1   libSystem.B.dylib             	0x00007fff830733ed mach_msg + 59
2   com.apple.CoreFoundation      	0x00007fff827b0ce2 __CFRunLoopRun + 2002
3   com.apple.CoreFoundation      	0x00007fff827b003f CFRunLoopRunSpecific + 575
4   com.apple.Foundation          	0x00007fff859c451f +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:] + 297
5   com.apple.Foundation          	0x00007fff85944f65 __NSThread__main__ + 1429
6   libSystem.B.dylib             	0x00007fff830abf66 _pthread_start + 331
7   libSystem.B.dylib             	0x00007fff830abe19 thread_start + 13

Thread 6:
0   libSystem.B.dylib             	0x00007fff8308c94a __workq_kernreturn + 10
1   libSystem.B.dylib             	0x00007fff8308cd5c _pthread_wqthread + 917
2   libSystem.B.dylib             	0x00007fff8308c9c5 start_wqthread + 13

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x0000000100157bd0  rcx: 0x00007fff5fbfed58  rdx: 0x0000000000000000
  rdi: 0x0000000000002157  rsi: 0x0000000000000006  rbp: 0x00007fff5fbfed70  rsp: 0x00007fff5fbfed58
   r8: 0x0000000000000003   r9: 0x0000000000000000  r10: 0x00007fff830bd036  r11: 0x0000000000000206
  r12: 0x0000000000000294  r13: 0x0000000100157850  r14: 0x0000000100157bf0  r15: 0x00007fff7053e670
  rip: 0x00007fff830c0ff6  rfl: 0x0000000000000206  cr2: 0x0000000100130d38

Binary Images:
       0x100000000 -        0x10017dfff +org.m0k.transmission 1.74+ (9111) <9F3E816F-4612-17DD-5C5D-73D785DA306C> /Users/Roly/Desktop/Transmission/build/Debug/Transmission.app/Contents/MacOS/Transmission

Sorry if I was in the wrong to set a milestone without a patch but I don't think 1.75 should ship with a crash when it's close to release.

Change History (4)

comment:1 Changed 13 years ago by charles

  • Description modified (diff)
  • Milestone 1.75 deleted

comment:2 Changed 13 years ago by charles

Rolcol: did this crash happen @ startup?

comment:3 Changed 13 years ago by Rolcol

Actually, I think this happened at shutdown.

comment:4 Changed 13 years ago by charles

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

This is a duplicate of ticket #1663

Note: See TracTickets for help on using tickets.