Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#884 closed Bug (fixed)

Crash after creating torrent

Reported by: bash Owned by: charles
Priority: Normal Milestone: 1.20
Component: libtransmission Version: 1.11
Severity: Normal Keywords:
Cc:

Description

Transmission crashes every time after creating torrent (w/o "open when created").

Crash report is attached.

Attachments (1)

transmission.txt (26.1 KB) - added by bash 15 years ago.
creash report

Download all attachments as: .zip

Change History (15)

Changed 15 years ago by bash

creash report

comment:1 Changed 15 years ago by livings124

See if a nightly works.

comment:2 Changed 15 years ago by livings124

  • Resolution set to worksforme
  • Status changed from new to closed

comment:3 Changed 15 years ago by bash

  • Resolution worksforme deleted
  • Status changed from closed to reopened

It's crashes (tested on nightly too) if you try to create torrent on any pure OS X application.

comment:4 Changed 15 years ago by livings124

Which application makes it crash? Does it crash for all files, or just certain types? What version of the nightly did you test with?

comment:5 Changed 15 years ago by livings124

Also, anything in Console.app when it crashes?

comment:6 Changed 15 years ago by livings124

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

comment:7 Changed 15 years ago by bash

  • Resolution worksforme deleted
  • Status changed from closed to reopened

It crash not on all files, just on some application. I've tried version r5693. Console logs:

Apr 25 11:33:39 blackbird [0x0-0x29c29c].org.m0k.transmission[29376]: /var/tmp/pea/svn.transmissionbt.com/trunk/libtransmission/makemeta.c:262: failed assertion `b->abortFlag || fp == NULL'
Apr 25 11:33:48 blackbird ReportCrash[29442]: Formulating crash report for process Transmission[29376]
Apr 25 11:33:49 blackbird com.apple.launchd[97] ([0x0-0x29c29c].org.m0k.transmission[29376]): Exited abnormally: Abort trap
Apr 25 11:33:52 blackbird ReportCrash[29442]: Saved crashreport to /Users/bash/Library/Logs/CrashReporter/Transmission_2008-04-25-113339_Macintosh.crash using uid: 502 gid: 502, euid: 502 egid: 502

comment:8 Changed 15 years ago by livings124

What application? I can't replicate this and the crash log is not very useful. Furthermore, you shouldn't really be creating torrents for non-archived files.

comment:9 Changed 15 years ago by livings124

That assertion might be useful tho, thanks.

comment:10 Changed 15 years ago by charles

  • Component changed from Mac Client to libtransmission
  • Milestone changed from None Set to 1.20

comment:11 Changed 15 years ago by charles

  • Owner changed from livings124 to charles
  • Status changed from reopened to new

comment:12 Changed 15 years ago by bash

Here is example app for crash test - http://dnull.co.uk/bash/example.zip

comment:13 Changed 15 years ago by charles

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

fixed in r5713. The assertion overlooks the case where the last file in the torrent has 0 bytes. Other than that there's no bug that I see, so I just took out the assertion. :)

Thanks very much for the test case. It helped to point out what was going on.

comment:14 Changed 15 years ago by bash

Thank you. It's work now =)

Note: See TracTickets for help on using tickets.