Opened 12 years ago

Closed 12 years ago

#4114 closed Bug (fixed)

Crash on open r12148 in tau_sendto

Reported by: Waldorf Owned by: jordan
Priority: High Milestone:
Component: libtransmission Version: 2.22+
Severity: Normal Keywords:
Cc:

Description

T crashes within a few seconds.

Interesting bit:

Thread 2 Crashed:
0   org.m0k.transmission          	0x00000001001219c3 tau_sendto + 35
1   org.m0k.transmission          	0x000000010011fe96 tau_tracker_upkeep + 774
2   org.m0k.transmission          	0x00000001000dfbc6 tr_ptrArrayForeach + 294
3   org.m0k.transmission          	0x000000010011fb7f tr_tracker_udp_upkeep + 63
4   org.m0k.transmission          	0x0000000100112a03 onUpkeepTimer + 195
5   org.m0k.transmission          	0x00000001001451f8 event_process_active_single_queue + 456
6   org.m0k.transmission          	0x00000001001415e7 event_process_active + 151
7   org.m0k.transmission          	0x00000001001406de event_base_loop + 782
8   org.m0k.transmission          	0x00000001001403ca event_base_dispatch + 26
9   org.m0k.transmission          	0x00000001000e06ff libeventThreadFunc + 303
10  org.m0k.transmission          	0x00000001000cbe8d ThreadFunc + 45
11  libSystem.B.dylib             	0x00007fff806f1536 _pthread_start + 331
12  libSystem.B.dylib             	0x00007fff806f13e9 thread_start + 13

Attachments (1)

Transmission_2011-03-13-103608_MacBookje.crash (36.1 KB) - added by Waldorf 12 years ago.

Download all attachments as: .zip

Change History (12)

comment:1 Changed 12 years ago by gunzip

seeing the same thing in Linux, r12145

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb78f0b70 (LWP 2866)]
0x08079d00 in tau_sendto (session=0x80ce9b0, ai=0x0, port=80, buf=0x80e80f0,
buflen=16) at announcer-udp.c:53
53          tau_sockaddr_setport( ai->ai_addr, port );

full backtrace log: http://pastebin.com/BqKnPiZb

comment:2 Changed 12 years ago by jordan

Whoops! That's what I get for programming so late at night, I guess. Thanks Waldorf. :)

Does r12149 fix this crash?

comment:3 Changed 12 years ago by jordan

  • Component changed from Transmission to libtransmission
  • Milestone None Set deleted
  • Owner set to jordan
  • Priority changed from Normal to High
  • Status changed from new to assigned

comment:4 Changed 12 years ago by gunzip

yes that seemed to fix it .. no crash so far on my end.

comment:5 Changed 12 years ago by jordan

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

comment:6 Changed 12 years ago by Waldorf

  • Resolution fixed deleted
  • Status changed from closed to reopened

Another crash of the same nature? This time T has been running for half a day.

Thread 2 Crashed:
0   org.m0k.transmission          	0x0000000100122803 tau_sendto + 35
1   org.m0k.transmission          	0x00000001001229cc tau_tracker_send_request + 252
2   org.m0k.transmission          	0x0000000100120c94 tau_tracker_upkeep + 1348
3   org.m0k.transmission          	0x00000001000e04c6 tr_ptrArrayForeach + 294
4   org.m0k.transmission          	0x000000010012073f tr_tracker_udp_upkeep + 63
5   org.m0k.transmission          	0x000000010011340f onUpkeepTimer + 223
6   org.m0k.transmission          	0x0000000100146038 event_process_active_single_queue + 456
7   org.m0k.transmission          	0x0000000100142427 event_process_active + 151
8   org.m0k.transmission          	0x000000010014151e event_base_loop + 782
9   org.m0k.transmission          	0x000000010014120a event_base_dispatch + 26
10  org.m0k.transmission          	0x00000001000e0f0f libeventThreadFunc + 303
11  org.m0k.transmission          	0x00000001000cc69d ThreadFunc + 45
12  libSystem.B.dylib             	0x00007fff806f1536 _pthread_start + 331
13  libSystem.B.dylib             	0x00007fff806f13e9 thread_start + 13

comment:7 Changed 12 years ago by Waldorf

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

Seems fixed.

comment:8 Changed 12 years ago by Waldorf

  • Resolution fixed deleted
  • Status changed from closed to reopened

Or not, after a few hours: (r12168)

Thread 2 Crashed:
0   org.m0k.transmission          	0x0000000100124533 tau_sendto + 35 (announcer-udp.c:56)
1   org.m0k.transmission          	0x00000001001246fc tau_tracker_send_request + 252 (announcer-udp.c:524)
2   org.m0k.transmission          	0x0000000100122656 tau_tracker_upkeep + 1398 (announcer-udp.c:625)
3   org.m0k.transmission          	0x00000001000e1526 tr_ptrArrayForeach + 294 (ptrarray.c:48)
4   org.m0k.transmission          	0x00000001001220cf tr_tracker_udp_upkeep + 63 (announcer-udp.c:763)
5   org.m0k.transmission          	0x00000001001148cb onUpkeepTimer + 155 (announcer.c:1503)
6   org.m0k.transmission          	0x0000000100147d68 event_process_active_single_queue + 456 (event.c:1292)
7   org.m0k.transmission          	0x0000000100144157 event_process_active + 151 (event.c:1354)
8   org.m0k.transmission          	0x000000010014324e event_base_loop + 782 (event.c:1551)
9   org.m0k.transmission          	0x0000000100142f3a event_base_dispatch + 26 (event.c:1382)
10  org.m0k.transmission          	0x00000001000e1f67 libeventThreadFunc + 295 (trevent.c:250)
11  org.m0k.transmission          	0x00000001000cd76d ThreadFunc + 45 (platform.c:120)
12  libSystem.B.dylib             	0x00007fff806f1536 _pthread_start + 331
13  libSystem.B.dylib             	0x00007fff806f13e9 thread_start + 13

comment:9 follow-up: Changed 12 years ago by jordan

Was this r12168? or r12186?

comment:10 in reply to: ↑ 9 Changed 12 years ago by Waldorf

Replying to jordan: r12168

comment:11 Changed 12 years ago by jordan

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

fixed in trunk by r12188. Thanks Waldorf :)

Note: See TracTickets for help on using tickets.