Author Topic: 3.1.8 - "Pre - allocate disk space ..." crash  (Read 2637 times)

neuron

  • Member
  • **
  • Posts: 36
  • Karma: +0/-0
    • View Profile
3.1.8 - "Pre - allocate disk space ..." crash
« on: February 20, 2014, 11:51:34 pm »
Thank you for your great software.

Ubuntu 64 bit
I downloaded the source and compiled without problem.

In 3.1.8    Options   ->    Downloads    ->    Select     "Pre - allocate disk space for all files"
You download 1 file ( it doesn't matter the size)        90% ... 95% ... just before the 100% ... puff crash.

GUI or shell - Bash

*************************************************************
Catching SIGSEGV, please report a bug at http://bug.qbittorrent.org
and provide the following backtrace:
qBittorrent version: v3.1.8
stack trace:
  /lib/x86_64-linux-gnu/libc.so.6 : ()+0x36460  [0x7f4035165460]
  /usr/local/lib/libtorrent-rasterbar.so.7 : libtorrent::default_storage::readwritev(iovec const*, int, int, int, libtorrent::default_storage::fileop const&)+0x810  [0x7f4037c5f7b0]
  /usr/local/lib/libtorrent-rasterbar.so.7 : libtorrent::default_storage::writev(iovec const*, int, int, int, int)+0x5d  [0x7f4037c5faed]
  /usr/local/lib/libtorrent-rasterbar.so.7 : libtorrent::piece_manager::write_impl(iovec*, int, int, int)+0x9d  [0x7f4037c65c4d]
  /usr/local/lib/libtorrent-rasterbar.so.7 : libtorrent::disk_io_thread::thread_fun()+0x3286  [0x7f4037b31c06]
  /usr/local/lib/libtorrent-rasterbar.so.7 : boost_asio_detail_posix_thread_function()+0xe  [0x7f4037b010de]
  /lib/x86_64-linux-gnu/libpthread.so.0 : ()+0x7efc  [0x7f40375f8efc]
  /lib/x86_64-linux-gnu/libc.so.6 : clone()+0x6d  [0x7f4035213f8d]
Segmentation fault



If you de-select ... everything work ok.

Thank you

Neuron
FreeBSD, OpenBSD, NetBSD, Solaris, Linux Administrator
     IBM Mainframe
                               MacOSX
                                               Cisco
                                                         Hacker, Cracker - 680XX,
Data Recover - Disks, Tapes

loki

  • Forum addict
  • ****
  • Posts: 567
  • Karma: +16/-1
    • View Profile
Re: 3.1.8 - "Pre - allocate disk space ..." crash
« Reply #1 on: February 21, 2014, 12:26:13 am »
Has been reported, and fixed in latest alpha and planned to be included in 3.1.9, about 2 weeks ago. No release for 3.1.9 yet though.

neuron

  • Member
  • **
  • Posts: 36
  • Karma: +0/-0
    • View Profile
Re: 3.1.8 - "Pre - allocate disk space ..." crash
« Reply #2 on: February 23, 2014, 11:23:13 pm »
Has been reported, and fixed in latest alpha and planned to be included in 3.1.9, about 2 weeks ago. No release for 3.1.9 yet though.

But I searched the reason and where it crash and I can't find the details.



Another bug (Ubuntu 64 bit):

"Successfully parsed the provided IP filter: 273695 rules were applied."    ok

then
Execution Log    -> Blocked IPs

If I check the IP's  up and down, sometimes the CPU get 100 % and I need restart.

Best regards,

Neuron
FreeBSD, OpenBSD, NetBSD, Solaris, Linux Administrator
     IBM Mainframe
                               MacOSX
                                               Cisco
                                                         Hacker, Cracker - 680XX,
Data Recover - Disks, Tapes

sledgehammer_999

  • qBittorrent maintainer
  • Administrator
  • Forum addict
  • *****
  • Posts: 2406
  • Karma: +150/-2
    • View Profile
Re: 3.1.8 - "Pre - allocate disk space ..." crash
« Reply #3 on: February 23, 2014, 11:41:20 pm »
Just so you know. For the fix you don't need new qbt code but new libtorrent code. libtorrent 0.16.15 contains the fix.

neuron

  • Member
  • **
  • Posts: 36
  • Karma: +0/-0
    • View Profile
Re: 3.1.8 - "Pre - allocate disk space ..." crash
« Reply #4 on: February 24, 2014, 12:01:42 am »
Just so you know. For the fix you don't need new qbt code but new libtorrent code. libtorrent 0.16.15 contains the fix.

Thank you Sir,
But I don't need to compile QBit ?
Only Lib???

Neuron
FreeBSD, OpenBSD, NetBSD, Solaris, Linux Administrator
     IBM Mainframe
                               MacOSX
                                               Cisco
                                                         Hacker, Cracker - 680XX,
Data Recover - Disks, Tapes

sledgehammer_999

  • qBittorrent maintainer
  • Administrator
  • Forum addict
  • *****
  • Posts: 2406
  • Karma: +150/-2
    • View Profile
Re: 3.1.8 - "Pre - allocate disk space ..." crash
« Reply #5 on: February 24, 2014, 03:41:21 pm »
only libtorrent. But qbt will still show the previous version in help->about->libraries.

neuron

  • Member
  • **
  • Posts: 36
  • Karma: +0/-0
    • View Profile
Re: 3.1.8 - "Pre - allocate disk space ..." crash
« Reply #6 on: February 25, 2014, 12:47:51 am »
only libtorrent. But qbt will still show the previous version in help->about->libraries.

Thank you very much for the support !!!!!!
FreeBSD, OpenBSD, NetBSD, Solaris, Linux Administrator
     IBM Mainframe
                               MacOSX
                                               Cisco
                                                         Hacker, Cracker - 680XX,
Data Recover - Disks, Tapes