Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#1095 closed bug (WorksForMe)

Incorrect torrent creation

Reported by: XChesser Owned by: andar
Priority: critical Milestone:
Component: Core Version: 1.2.0_rc4
Keywords: Cc:

Description

Deluge creates torrent files incorrectly in case of piece size of 1/2/4 MB. For example, torrent file for 8 GB release turns out about 40 MB (at 2 MB size). After creating torrent Deluge often crashes.

Change History (3)

comment:1 Changed 11 years ago by andar

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

I just tried this with a 8gb folder and it came out as expected using 4mb piece size.

andrew@fragment ~/temp $ ls -l
total 44
-rw-r--r-- 1 andrew andrew 42300 2009-12-12 16:02 HardDisks.torrent
andrew@fragment ~/temp $ torrentview HardDisks.torrent 
comment: 
private: False
pad_files: False
trackers: []
webseeds: []
peice_size: 4194304
info-hash: f58d837a369bd6c2ac646ac12fd7e0a4268c0dde
name: HardDisks
files: [('Ubuntu.vdi', 3372252672), ('Windows 7.vdi', 5451602432)]
andrew@fragment ~/temp $ 

comment:2 Changed 11 years ago by XChesser

In my case I get huge torrent file every time I use large piece size. Console output: python: xcb_lock.c:33: _XCBUnlockDisplay: Проверочное утверждение `xcb_get_request_sent(dpy->xcb->connection) == dpy->request' не выполнено. libxcb: WARNING! Program tries to lock an already locked connection,

which indicates a programming error. There will be no further warnings about this issue.

python: xcb_lock.c:77: _XGetXCBBuffer: Проверочное утверждение `((int) ((xcb_req) - (dpy->request)) >= 0)' не выполнено. Multiple segmentation faults occurred; can't display error dialog


After that deluge crashes.

comment:3 Changed 11 years ago by andar

I have found the problem and it's been fixed in [6036]

Note: See TracTickets for help on using tickets.