snowyu / libtorrent

Automatically exported from code.google.com/p/libtorrent
Other
1 stars 0 forks source link

assert in libtorrent::file::phys_offset #679

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I compiled qbittorrent with libtorrent 1.0.2 in debug mode. After start 
qbittorrent works for some time, then crashes with assert:

$ d/qbittorrent/src/qbittorrent 
assertion failed. Please file a bugreport at 
http://code.google.com/p/libtorrent/issues
Please include the following information:

version: 1.0.2.0
$Rev: 10260 $

file: 'file.cpp'
line: 1938
function: libtorrent::size_type 
libtorrent::file::phys_offset(libtorrent::size_type)
expression: offset >= fm.fiemap.fm_extents[0].fe_logical

stack:
1: assert_fail(char const*, int, char const*, char const*, char const*, int)
2: libtorrent::file::phys_offset(long)
3: libtorrent::default_storage::physical_offset(int, int)
4: libtorrent::piece_manager::physical_offset(int, int)
5: libtorrent::disk_io_thread::thread_fun()
6: ) [0xec6043]
7: ) [0xec5ed6]
8: ) [0xec5e54]
9: ) [0xec5de4]
10: boost_asio_detail_posix_thread_function
11: 
12: 
13: clone

Original report: https://github.com/qbittorrent/qBittorrent/issues/1977

Original issue reported on code.google.com by vanya...@gmail.com on 1 Oct 2014 at 9:57