Opened 12 years ago

Closed 12 years ago

#2655 closed Bug (fixed)

1.80b1 crash in peer-mgr.c's getPeersToClose()

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

Description

http://forum.transmissionbt.com/viewtopic.php?p=42611&f=1#p42611

Application Specific Information: Assertion failed: (a->byteCount == b->byteCount), function tr_bitfieldDifference, file /Users/mitchell/Desktop/Transmission/libtransmission/bitfield.c, line 186.

0   libSystem.B.dylib                0x00007fff820dafde __semwait_signal_nocancel + 10
1   libSystem.B.dylib                0x00007fff820daee0 nanosleep$NOCANCEL + 129
2   libSystem.B.dylib                0x00007fff82137886 usleep$NOCANCEL + 57
3   libSystem.B.dylib                0x00007fff82156e3c abort + 93
4   libSystem.B.dylib                0x00007fff82143e74 __pthread_markcancel + 0
5   org.m0k.transmission             0x000000010009a46a tr_bitfieldDifference + 45
6   org.m0k.transmission             0x0000000100086850 getPeersToClose + 518
7   org.m0k.transmission             0x0000000100086da1 reconnectPulse + 813
8   org.m0k.transmission             0x000000010007a4fb timerCallback + 22
9   org.m0k.transmission             0x00000001000ad619 event_base_loop + 1148
10  org.m0k.transmission             0x000000010007a281 libeventThreadFunc + 162
11  libSystem.B.dylib                0x00007fff820a0f8e _pthread_start + 331
12  libSystem.B.dylib                0x00007fff820a0e41 thread_start + 13

Change History (3)

comment:1 Changed 12 years ago by charles

  • Status changed from new to assigned

comment:2 Changed 12 years ago by charles

Looks like the missing steps are getPeersToClose() -> shouldPeerBeClosed() -> tr_bitsetDifference() -> tr_>bitfieldDifference()

comment:3 Changed 12 years ago by charles

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

Fixed in trunk for 1.80 by r9700.

Note: See TracTickets for help on using tickets.