Opened 10 years ago

Closed 10 years ago

#4165 closed Bug (fixed)

Crash on startup introduced in r12262

Reported by: Tantali Owned by: livings124
Priority: Normal Milestone:
Component: libtransmission Version: 2.22+
Severity: Normal Keywords:
Cc:

Description (last modified by livings124)

Since r12262, Transmission won't start but simply crashes each time. r12261 works perfectly.

Mac OS X 10.6.7

Assertion failed: (b->true_count == ( b->bit_count ? tr_bitfieldCountRange( b, 0, b->bit_count ) : countArray ( b ) )), function tr_bitfieldCountTrueBits, file /Users/sheila/transmission/trunk/libtransmission/bitfield.c, line 62.

Attachments (2)

crashlog r12262.rtf (34.4 KB) - added by Tantali 10 years ago.
Crashlog r12314.rtf (36.0 KB) - added by Tantali 10 years ago.

Download all attachments as: .zip

Change History (15)

comment:1 Changed 10 years ago by livings124

Can you post the crash log?

Changed 10 years ago by Tantali

comment:2 Changed 10 years ago by livings124

Does this occur in r12302 or later?

comment:3 Changed 10 years ago by livings124

  • Description modified (diff)

comment:4 Changed 10 years ago by Tantali

Same 'assertion failed' still present in r12302.

comment:5 Changed 10 years ago by livings124

  • Component changed from Mac Client to libtransmission
  • Owner changed from livings124 to jordan

comment:6 Changed 10 years ago by jordan

Application Specific Information:
Assertion failed: (b->true_count == ( b->bit_count ? tr_bitfieldCountRange( b, 0, b->bit_count ) : countArray ( b ) )), function tr_bitfieldCountTrueBits, file /Users/sheila/transmission/trunk/libtransmission/bitfield.c, line 62.

Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
0   libSystem.B.dylib             	0x00007fff815ee5d6 __kill + 10
1   libSystem.B.dylib             	0x00007fff8168ecd6 abort + 83
2   libSystem.B.dylib             	0x00007fff8167bc9c __pthread_markcancel + 0
3   org.m0k.transmission          	0x000000010009282c tr_bitfieldCountRange + 0
4   org.m0k.transmission          	0x0000000100072803 tr_cpBlockInit + 68
5   org.m0k.transmission          	0x000000010008c4a0 tr_torrentLoadResume + 2980
6   org.m0k.transmission          	0x000000010006910b tr_torrentNew + 562

comment:7 Changed 10 years ago by jordan

Does it still crash in r12310 or higher? If so, could you attach another crash report?

Changed 10 years ago by Tantali

comment:8 Changed 10 years ago by Tantali

r12314 still crashes, but with a different error.

comment:9 Changed 10 years ago by jordan

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

Application Specific Information:
abort() called
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[FilterBarView searchString]: unrecognized selector sent to instance 0x1026870a0'
*** Call stack at first throw:
(
	0   CoreFoundation                      0x00007fff87f247b4 __exceptionPreprocess + 180
	1   libobjc.A.dylib                     0x00007fff85b6e0f3 objc_exception_throw + 45
	2   CoreFoundation                      0x00007fff87f7e110 +[NSObject(NSObject) doesNotRecognizeSelector:] + 0
	3   CoreFoundation                      0x00007fff87ef691f ___forwarding___ + 751
	4   CoreFoundation                      0x00007fff87ef2a68 _CF_forwarding_prep_0 + 232
	5   Transmission                        0x000000010000c297 -[Controller applyFilter] + 885
	6   Transmission                        0x000000010000463c -[Controller awakeFromNib] + 2731
	7   CoreFoundation                      0x00007fff87ed2a2d -[NSSet makeObjectsPerformSelector:] + 205
	8   AppKit                              0x00007fff83415657 -[NSIBObjectData nibInstantiateWithOwner:topLevelObjects:] + 1445
	9   AppKit                              0x00007fff8341388d loadNib + 226
	10  AppKit                              0x00007fff83412d9a +[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:] + 248
	11  AppKit                              0x00007fff83412bd2 +[NSBundle(NSNibLoading) loadNibNamed:owner:] + 326
	12  AppKit                              0x00007fff83410153 NSApplicationMain + 279
	13  Transmission                        0x00000001000020fd main + 111
	14  Transmission                        0x000000010000206c start + 52
	15  ???                                 0x0000000000000002 0x0 + 2
)
 

Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
0   libSystem.B.dylib             	0x00007fff815ee5d6 __kill + 10
1   libSystem.B.dylib             	0x00007fff8168ecd6 abort + 83
2   libstdc++.6.dylib             	0x00007fff81d7c5d2 __tcf_0 + 0
3   libobjc.A.dylib               	0x00007fff85b71d29 _objc_terminate + 100
4   libstdc++.6.dylib             	0x00007fff81d7aae1 __cxxabiv1::__terminate(void (*)()) + 11
5   libstdc++.6.dylib             	0x00007fff81d7ab16 __cxxabiv1::__unexpected(void (*)()) + 0
6   libstdc++.6.dylib             	0x00007fff81d7abfc __gxx_exception_cleanup(_Unwind_Reason_Code, _Unwind_Exception*) + 0
7   libobjc.A.dylib               	0x00007fff85b6e192 object_getIvar + 0
8   com.apple.CoreFoundation      	0x00007fff87f7e110 +[NSObject(NSObject) doesNotRecognizeSelector:] + 0
9   com.apple.CoreFoundation      	0x00007fff87ef691f ___forwarding___ + 751
10  com.apple.CoreFoundation      	0x00007fff87ef2a68 _CF_forwarding_prep_0 + 232
11  org.m0k.transmission          	0x000000010000c297 -[Controller applyFilter] + 885
12  org.m0k.transmission          	0x000000010000463c -[Controller awakeFromNib] + 2731
13  com.apple.CoreFoundation      	0x00007fff87ed2a2d -[NSSet makeObjectsPerformSelector:] + 205
14  com.apple.AppKit              	0x00007fff83415657 -[NSIBObjectData nibInstantiateWithOwner:topLevelObjects:] + 1445
15  com.apple.AppKit              	0x00007fff8341388d loadNib + 226
16  com.apple.AppKit              	0x00007fff83412d9a +[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:] + 248
17  com.apple.AppKit              	0x00007fff83412bd2 +[NSBundle(NSNibLoading) loadNibNamed:owner:] + 326
18  com.apple.AppKit              	0x00007fff83410153 NSApplicationMain + 279
19  org.m0k.transmission          	0x00000001000020fd main + 111
20  org.m0k.transmission          	0x000000010000206c start + 52

comment:10 Changed 10 years ago by jordan

  • Component changed from libtransmission to Mac Client
  • Owner changed from jordan to livings124

This new crash is happening in the Mac code; reassigning to Mac component so livings can take a look

comment:11 Changed 10 years ago by livings124

What language are you running in?

comment:12 Changed 10 years ago by Tantali

Dutch, and after deleting the corresponding nl.proj (and thus running it in English), it doesn't crash anymore.

comment:13 Changed 10 years ago by livings124

  • Component changed from Mac Client to libtransmission
  • Milestone None Set deleted
  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.