[FIXED] All nightlies after 2.33+(12671) crash on launch

Ask for help and report issues with the Mac OS X version of Transmission
Locked
Tarmang
Posts: 6
Joined: Wed Sep 21, 2011 10:57 am

[FIXED] All nightlies after 2.33+(12671) crash on launch

Post by Tarmang »

Hi!

Version 2.40b1, as well as all nightlies after 2.33+(12671) [including the last one, 2.4+(12903)], crash on launch on my system. Prior nightlies still work ok. Here's the report:


Process: Transmission [52088]
Path: /Applications/Transmission.app/Contents/MacOS/Transmission
Identifier: org.m0k.transmission
Version: 2.40b1 (12903)
Code Type: X86-64 (Native)
Parent Process: launchd [331]

Date/Time: 2011-09-21 13:05:37.381 +0200
OS Version: Mac OS X 10.7.1 (11B26)
Report Version: 9

Interval Since Last Report: 225865 sec
Crashes Since Last Report: 4
Per-App Interval Since Last Report: 81 sec
Per-App Crashes Since Last Report: 3
Anonymous UUID: 8BEE7C99-1A1E-44AF-82A8-BCF9E83BBA85

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

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000

Application Specific Information:
objc[52088]: garbage collection is OFF
Assertion failed: (s->leftUntilDone <= s->sizeWhenDone), function tr_torrentStat, file /Users/transmission/hudson/workspace/trunk-mac/trunk/libtransmission/torrent.c, line 1299.


Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff8dd53ce2 __pthread_kill + 10
1 libsystem_c.dylib 0x00007fff956627d2 pthread_kill + 95
2 libsystem_c.dylib 0x00007fff95653a7a abort + 143
3 libsystem_c.dylib 0x00007fff956865de __assert_rtn + 146
4 org.m0k.transmission 0x000000010006803e tr_torrentStat + 1830
5 org.m0k.transmission 0x0000000100020c5b -[Torrent update] + 25
6 org.m0k.transmission 0x0000000100025676 -[Torrent(Private) initWithPath:hash:torrentStruct:magnetAddress:lib:groupValue:timeMachineExcludeLocation:downloadFolder:legacyIncompleteFolder:] + 874
7 org.m0k.transmission 0x0000000100020585 -[Torrent initWithHistory:lib:forcePause:] + 280
8 org.m0k.transmission 0x0000000100003ed6 -[Controller awakeFromNib] + 1677
9 com.apple.CoreFoundation 0x00007fff8e4139e1 -[NSObject performSelector:] + 49
10 com.apple.CoreFoundation 0x00007fff8e413962 -[NSSet makeObjectsPerformSelector:] + 274
11 com.apple.AppKit 0x00007fff92bbdc27 -[NSIBObjectData nibInstantiateWithOwner:topLevelObjects:] + 1245
12 com.apple.AppKit 0x00007fff92bb41b9 loadNib + 322
13 com.apple.AppKit 0x00007fff92bb36b6 +[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:] + 217
14 com.apple.AppKit 0x00007fff92bb35d1 +[NSBundle(NSNibLoading) loadNibFile:externalNameTable:withZone:] + 141
15 com.apple.AppKit 0x00007fff92bb3514 +[NSBundle(NSNibLoading) loadNibNamed:owner:] + 364
16 com.apple.AppKit 0x00007fff92e26355 NSApplicationMain + 398
17 org.m0k.transmission 0x0000000100001dd2 main + 108
18 org.m0k.transmission 0x0000000100001d44 start + 52
Jordan
Transmission Developer
Posts: 2312
Joined: Sat May 26, 2007 3:39 pm
Location: Titania's Room

Re: All nightlies after 2.33+(12671) crash on launch

Post by Jordan »

Thanks for the report, tarmang! I'll look into this tonight.
Tarmang
Posts: 6
Joined: Wed Sep 21, 2011 10:57 am

Re: All nightlies after 2.33+(12671) crash on launch

Post by Tarmang »

Thanks to you Jordan!

The same happens with 2.4+(12905). Do you need any other info on my part?
livings124
Transmission Developer
Posts: 3142
Joined: Fri Jan 13, 2006 8:08 pm

Re: All nightlies after 2.33+(12671) crash on launch

Post by livings124 »

Can you post the crash log from that version?
Tarmang
Posts: 6
Joined: Wed Sep 21, 2011 10:57 am

Re: All nightlies after 2.33+(12671) crash on launch

Post by Tarmang »

Hi, livings; Thanks for your interest. Here it is:


Process: Transmission [55542]
Path: /Applications/Transmission.app/Contents/MacOS/Transmission
Identifier: org.m0k.transmission
Version: 2.40b1 (12905)
Code Type: X86-64 (Native)
Parent Process: launchd [331]

Date/Time: 2011-09-23 08:51:51.195 +0200
OS Version: Mac OS X 10.7.1 (11B26)
Report Version: 9

Interval Since Last Report: 383423 sec
Crashes Since Last Report: 7
Per-App Interval Since Last Report: 87 sec
Per-App Crashes Since Last Report: 3
Anonymous UUID: 8BEE7C99-1A1E-44AF-82A8-BCF9E83BBA85

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

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000

Application Specific Information:
objc[55542]: garbage collection is OFF
Assertion failed: (s->leftUntilDone <= s->sizeWhenDone), function tr_torrentStat, file /Users/transmission/hudson/workspace/trunk-mac/trunk/libtransmission/torrent.c, line 1299.


Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff8dd53ce2 __pthread_kill + 10
1 libsystem_c.dylib 0x00007fff956627d2 pthread_kill + 95
2 libsystem_c.dylib 0x00007fff95653a7a abort + 143
3 libsystem_c.dylib 0x00007fff956865de __assert_rtn + 146
4 org.m0k.transmission 0x00000001000681fe tr_torrentStat + 1830
5 org.m0k.transmission 0x0000000100020e1b -[Torrent update] + 25
6 org.m0k.transmission 0x0000000100025836 -[Torrent(Private) initWithPath:hash:torrentStruct:magnetAddress:lib:groupValue:timeMachineExcludeLocation:downloadFolder:legacyIncompleteFolder:] + 874
7 org.m0k.transmission 0x0000000100020745 -[Torrent initWithHistory:lib:forcePause:] + 280
8 org.m0k.transmission 0x0000000100004096 -[Controller awakeFromNib] + 1677
9 com.apple.CoreFoundation 0x00007fff8e4139e1 -[NSObject performSelector:] + 49
10 com.apple.CoreFoundation 0x00007fff8e413962 -[NSSet makeObjectsPerformSelector:] + 274
11 com.apple.AppKit 0x00007fff92bbdc27 -[NSIBObjectData nibInstantiateWithOwner:topLevelObjects:] + 1245
12 com.apple.AppKit 0x00007fff92bb41b9 loadNib + 322
13 com.apple.AppKit 0x00007fff92bb36b6 +[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:] + 217
14 com.apple.AppKit 0x00007fff92bb35d1 +[NSBundle(NSNibLoading) loadNibFile:externalNameTable:withZone:] + 141
15 com.apple.AppKit 0x00007fff92bb3514 +[NSBundle(NSNibLoading) loadNibNamed:owner:] + 364
16 com.apple.AppKit 0x00007fff92e26355 NSApplicationMain + 398
17 org.m0k.transmission 0x0000000100001f92 main + 108
18 org.m0k.transmission 0x0000000100001f04 start + 52
Jordan
Transmission Developer
Posts: 2312
Joined: Sat May 26, 2007 3:39 pm
Location: Titania's Room

Re: All nightlies after 2.33+(12671) crash on launch

Post by Jordan »

Tarmang, thanks for the second crash report.

Unfortunately I'm not able to trigger the crash here and am not sure yet what's causing it. So, to give us more clues, I've added a handful of new assertions in r12918 to help smoke out this bug.

Could you attach a new crash report from a nightly build of r12918 or higher?
Tarmang
Posts: 6
Joined: Wed Sep 21, 2011 10:57 am

Re: All nightlies after 2.33+(12671) crash on launch

Post by Tarmang »

Again, thanks for your interest. Here's the new report (r12918):

Process: Transmission [4996]
Path: /Applications/Transmission.app/Contents/MacOS/Transmission
Identifier: org.m0k.transmission
Version: 2.40b2 (12918)
Code Type: X86 (Native)
Parent Process: launchd [380]

Date/Time: 2011-09-26 08:29:20.981 +0200
OS Version: Mac OS X 10.7.1 (11B26)
Report Version: 9

Interval Since Last Report: 630964 sec
Crashes Since Last Report: 11
Per-App Interval Since Last Report: 35 sec
Per-App Crashes Since Last Report: 1
Anonymous UUID: 8BEE7C99-1A1E-44AF-82A8-BCF9E83BBA85

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

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000

Application Specific Information:
objc[4996]: garbage collection is OFF
Assertion failed: (cp->sizeNow <= cp->tor->blockCount), function tr_cpBlockInit, file /Users/transmission/hudson/workspace/trunk-mac/trunk/libtransmission/completion.c, line 51.


Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x99f0b9c6 __pthread_kill + 10
1 libsystem_c.dylib 0x91697f78 pthread_kill + 106
2 libsystem_c.dylib 0x91688bdd abort + 167
3 libsystem_c.dylib 0x916bd20b __assert_rtn + 351
4 org.m0k.transmission 0x00073c6a tr_cpBlockInit + 124
5 org.m0k.transmission 0x0008f05c tr_torrentLoadResume + 3202
6 org.m0k.transmission 0x00069789 tr_torrentNew + 708
7 org.m0k.transmission 0x00026d6a -[Torrent(Private) initWithPath:hash:torrentStruct:magnetAddress:lib:groupValue:timeMachineExcludeLocation:downloadFolder:legacyIncompleteFolder:] + 602
8 org.m0k.transmission 0x00021c08 -[Torrent initWithHistory:lib:forcePause:] + 306
9 org.m0k.transmission 0x000049b1 -[Controller awakeFromNib] + 1693
10 com.apple.CoreFoundation 0x9877fdaa -[NSObject performSelector:] + 58
11 com.apple.CoreFoundation 0x9877fd27 -[NSSet makeObjectsPerformSelector:] + 247
12 com.apple.AppKit 0x966a98d3 -[NSIBObjectData nibInstantiateWithOwner:topLevelObjects:] + 1315
13 com.apple.AppKit 0x9669f679 loadNib + 380
14 com.apple.AppKit 0x9669ea60 +[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:] + 235
15 com.apple.AppKit 0x9669e96a +[NSBundle(NSNibLoading) loadNibFile:externalNameTable:withZone:] + 154
16 com.apple.AppKit 0x9669e89e +[NSBundle(NSNibLoading) loadNibNamed:owner:] + 418
17 com.apple.AppKit 0x969258f3 NSApplicationMain + 445
18 org.m0k.transmission 0x00002629 main + 119
19 org.m0k.transmission 0x00002575 start + 53
Jordan
Transmission Developer
Posts: 2312
Joined: Sat May 26, 2007 3:39 pm
Location: Titania's Room

Re: All nightlies after 2.33+(12671) crash on launch

Post by Jordan »

Tarmang, now we're getting somewhere. Lather, rinse, and repeat with r12921...
Tarmang
Posts: 6
Joined: Wed Sep 21, 2011 10:57 am

FIXED in r12927: All nightlies after r12671 crash on launch

Post by Tarmang »

I've tried the last one, r12927, and... IT WORKS!

I'd like to know what the problem was, but surely I would not understand it!

So, again, thanks a lot, really.
Locked