Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#5215 closed Bug (fixed)

CLI: Assertion failure when starting new download (svn copy)

Reported by: nkarthiks Owned by: jordan
Priority: Normal Milestone: 2.77
Component: CLI Version: 2.76
Severity: Major Keywords:


I identified the bug to begin in the revision r13760 -- r13768 (inclusive) and persists till the latest version r13786. Other than the command below, the environment variable TRANSMISSION_HOME was set to a valid empty directory.

./cli/transmission-cli --download-dir /scratch/knagara/bittorrent --port 8000 --uplimit 250 /homes/knagara/mllogs/file_rand_50MB_2.torrent 
transmission-cli 2.76+ (13786)
[18:09:22.861] Transmission 2.76+ (13786) started
[18:09:22.861] RPC Server: Adding address to whitelist:
[18:09:22.873] UDP: Failed to set receive buffer: requested 4194304, got 262142
[18:09:22.873] UDP: Please add the line "net.core.rmem_max = 4194304" to /etc/sysctl.conf
[18:09:22.873] UDP: Failed to set send buffer: requested 1048576, got 262142
[18:09:22.873] UDP: Please add the line "net.core.wmem_max = 1048576" to /etc/sysctl.conf
[18:09:22.873] DHT: Generating new id
transmission-cli: torrent.c:3134: refreshCurrentDir: Assertion `dir != ((void *)0)' failed.

If it helps, the gdb backtrace was:

#0  0x00007ffff4f14065 in raise () from /lib64/
#1  0x00007ffff4f152ff in abort () from /lib64/
#2  0x00007ffff4f0d1e1 in __assert_fail () from /lib64/
#3  0x0000000000417c45 in refreshCurrentDir (tor=0x6b3b10) at torrent.c:3134
#4  0x00000000004121fd in torrentInit (tor=0x6b3b10, ctor=0x6b3430) at torrent.c:861
#5  0x00000000004127ed in tr_torrentNew (ctor=0x6b3430, setmeError=0x7fffffffe40c) at torrent.c:996
#6  0x0000000000406a4f in main (argc=8, argv=0x7fffffffe538) at cli.c:315

Change History (4)

comment:1 Changed 9 years ago by jordan

  • Owner set to jordan
  • Status changed from new to assigned

comment:2 Changed 9 years ago by jordan

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

Fixed in r13793 (trunk) and r13794 (branches/2.7x/).

comment:3 Changed 9 years ago by jordan

  • Milestone changed from None Set to 2.77

comment:4 Changed 9 years ago by jordan

  • Severity changed from Normal to Major
Note: See TracTickets for help on using tickets.