Possible bug when running 1500+ torrents?

Linux specific questions, problems.
sledgehammer_999
Administrator
Administrator
Posts: 2443
Joined: Sun Jan 23, 2011 1:17 pm

Re: Possible bug when running 1500+ torrents?

Post by sledgehammer_999 »

The j option only affects the compiling process. It doesn't affect the final binary.
If the above patch fixes your problem then I'll push a proper fix for 3.1.10.
gnuhope

Re: Possible bug when running 1500+ torrents?

Post by gnuhope »

So I'm having some trouble creating the .deb file. When I try to I get this output:

Code: Select all

removed@removed ~/qbt-source/qbittorrent-3.1.x-0~4662 $ dpkg-buildpackage -us -uc -nc -j8
dpkg-buildpackage: source package qbittorrent
dpkg-buildpackage: source version 3.1.x-0~4662-20140126~ubuntu13.04.1
dpkg-buildpackage: source changed by Christophe Dumez <[email protected]>
dpkg-buildpackage: host architecture amd64
 dpkg-source --before-build qbittorrent-3.1.x-0~4662
 debian/rules build
dh build --parallel
   debian/rules override_dh_auto_build
make[1]: Entering directory `/home/removed/qbt-source/qbittorrent-3.1.x-0~4662'
dh_auto_build --builddirectory build-nox
make[2]: Entering directory `/home/removed/qbt-source/qbittorrent-3.1.x-0~4662/build-nox'
cd src/ && make -f Makefile 
make[3]: Entering directory `/home/removed/qbt-source/qbittorrent-3.1.x-0~4662/build-nox/src'
/usr/lib/x86_64-linux-gnu/qt4/bin/rcc -name lang ../../src/lang.qrc -o qrc_lang.cpp
g++ -c -m64 -pipe -Wformat -Wformat-security -O2 -D_REENTRANT -Wall -W -DDISABLE_GUI -DQT_NO_DEBUG_OUTPUT -DVERSION=\"v3.1.5\" -DVERSION_MAJOR=3 -DVERSION_MINOR=1 -DVERSION_BUGFIX=5 -DQT_NO_CAST_TO_ASCII -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DBOOST_FILESYSTEM_VERSION=2 -DTORRENT_USE_OPENSSL -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I../../src -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4 -I/usr/include/libtorrent -I/usr/include -I../../src -I../../src/qtsingleapp -I../../src/qtlibtorrent -I../../src/webui -I../../src/tracker -I../../src/preferences -I. -I../../src -I. -o qrc_lang.o qrc_lang.cpp
g++ -m64 -Wl,-O1 -rdynamic -o ./qbittorrent-nox qtsinglecoreapplication.o qtlocalpeer.o qbtsession.o qtorrenthandle.o torrentspeedmonitor.o httpserver.o httpconnection.o httprequestparser.o httpresponsegenerator.o jsonlist.o jsondict.o btjson.o json.o prefjson.o qtracker.o main.o downloadthread.o scannedfoldersmodel.o misc.o fs_utils.o smtp.o dnsupdater.o moc_qtsinglecoreapplication.o moc_qtlocalpeer.o moc_qbtsession.o moc_bandwidthscheduler.o moc_torrentspeedmonitor.o moc_filterparserthread.o moc_httpserver.o moc_httpconnection.o moc_qtracker.o moc_downloadthread.o moc_filesystemwatcher.o moc_scannedfoldersmodel.o moc_qinisettings.o moc_smtp.o moc_dnsupdater.o moc_headlessloader.o qrc_icons.o qrc_lang.o qrc_about.o qrc_webui.o    -L/usr/lib/x86_64-linux-gnu -lboost_system-mt -lssl -lcrypto -lz -ltorrent-rasterbar -lpthread -lQtNetwork -lQtCore 
make[3]: Leaving directory `/home/removed/qbt-source/qbittorrent-3.1.x-0~4662/build-nox/src'
make[2]: Leaving directory `/home/removed/qbt-source/qbittorrent-3.1.x-0~4662/build-nox'
dh_auto_build --builddirectory build-gui
make[2]: Entering directory `/home/removed/qbt-source/qbittorrent-3.1.x-0~4662/build-gui'
cd src/ && make -f Makefile 
make[3]: Entering directory `/home/removed/qbt-source/qbittorrent-3.1.x-0~4662/build-gui/src'
g++ -c -m64 -pipe -Wformat -Wformat-security -O2 -D_REENTRANT -Wall -W -DQT_NO_DEBUG_OUTPUT -DVERSION=\"v3.1.5\" -DVERSION_MAJOR=3 -DVERSION_MINOR=1 -DVERSION_BUGFIX=5 -DQT_NO_CAST_TO_ASCII -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DBOOST_FILESYSTEM_VERSION=2 -DTORRENT_USE_OPENSSL -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED -DQT_NO_DEBUG -DQT_DBUS_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I../../src -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtDBus -I/usr/include/qt4 -I/usr/include/libtorrent -I/usr/include -I../../src/qtnotify -I../../src -I../../src/qtsingleapp -I../../src/qtlibtorrent -I../../src/webui -I../../src/tracker -I../../src/preferences -I../../src/lineedit/src -I../../src/properties -I../../src/searchengine -I../../src/rss -I../../src/torrentcreator -I../../src/geoip -I../../src/powermanagement -I. -I. -I../../src -I. -o trackerlist.o ../../src/properties/trackerlist.cpp
g++ -c -m64 -pipe -Wformat -Wformat-security -O2 -D_REENTRANT -Wall -W -DQT_NO_DEBUG_OUTPUT -DVERSION=\"v3.1.5\" -DVERSION_MAJOR=3 -DVERSION_MINOR=1 -DVERSION_BUGFIX=5 -DQT_NO_CAST_TO_ASCII -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DBOOST_FILESYSTEM_VERSION=2 -DTORRENT_USE_OPENSSL -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED -DQT_NO_DEBUG -DQT_DBUS_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I../../src -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtDBus -I/usr/include/qt4 -I/usr/include/libtorrent -I/usr/include -I../../src/qtnotify -I../../src -I../../src/qtsingleapp -I../../src/qtlibtorrent -I../../src/webui -I../../src/tracker -I../../src/preferences -I../../src/lineedit/src -I../../src/properties -I../../src/searchengine -I../../src/rss -I../../src/torrentcreator -I../../src/geoip -I../../src/powermanagement -I. -I. -I../../src -I. -o rss_imp.o ../../src/rss/rss_imp.cpp
g++ -c -m64 -pipe -Wformat -Wformat-security -O2 -D_REENTRANT -Wall -W -DQT_NO_DEBUG_OUTPUT -DVERSION=\"v3.1.5\" -DVERSION_MAJOR=3 -DVERSION_MINOR=1 -DVERSION_BUGFIX=5 -DQT_NO_CAST_TO_ASCII -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DBOOST_FILESYSTEM_VERSION=2 -DTORRENT_USE_OPENSSL -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED -DQT_NO_DEBUG -DQT_DBUS_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I../../src -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtDBus -I/usr/include/qt4 -I/usr/include/libtorrent -I/usr/include -I../../src/qtnotify -I../../src -I../../src/qtsingleapp -I../../src/qtlibtorrent -I../../src/webui -I../../src/tracker -I../../src/preferences -I../../src/lineedit/src -I../../src/properties -I../../src/searchengine -I../../src/rss -I../../src/torrentcreator -I../../src/geoip -I../../src/powermanagement -I. -I. -I../../src -I. -o rsssettingsdlg.o ../../src/rss/rsssettingsdlg.cpp
g++ -c -m64 -pipe -Wformat -Wformat-security -O2 -D_REENTRANT -Wall -W -DQT_NO_DEBUG_OUTPUT -DVERSION=\"v3.1.5\" -DVERSION_MAJOR=3 -DVERSION_MINOR=1 -DVERSION_BUGFIX=5 -DQT_NO_CAST_TO_ASCII -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DBOOST_FILESYSTEM_VERSION=2 -DTORRENT_USE_OPENSSL -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED -DQT_NO_DEBUG -DQT_DBUS_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I../../src -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtDBus -I/usr/include/qt4 -I/usr/include/libtorrent -I/usr/include -I../../src/qtnotify -I../../src -I../../src/qtsingleapp -I../../src/qtlibtorrent -I../../src/webui -I../../src/tracker -I../../src/preferences -I../../src/lineedit/src -I../../src/properties -I../../src/searchengine -I../../src/rss -I../../src/torrentcreator -I../../src/geoip -I../../src/powermanagement -I. -I. -I../../src -I. -o feedlistwidget.o ../../src/rss/feedlistwidget.cpp
g++ -c -m64 -pipe -Wformat -Wformat-security -O2 -D_REENTRANT -Wall -W -DQT_NO_DEBUG_OUTPUT -DVERSION=\"v3.1.5\" -DVERSION_MAJOR=3 -DVERSION_MINOR=1 -DVERSION_BUGFIX=5 -DQT_NO_CAST_TO_ASCII -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DBOOST_FILESYSTEM_VERSION=2 -DTORRENT_USE_OPENSSL -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED -DQT_NO_DEBUG -DQT_DBUS_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I../../src -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtDBus -I/usr/include/qt4 -I/usr/include/libtorrent -I/usr/include -I../../src/qtnotify -I../../src -I../../src/qtsingleapp -I../../src/qtlibtorrent -I../../src/webui -I../../src/tracker -I../../src/preferences -I../../src/lineedit/src -I../../src/properties -I../../src/searchengine -I../../src/rss -I../../src/torrentcreator -I../../src/geoip -I../../src/powermanagement -I. -I. -I../../src -I. -o rssmanager.o ../../src/rss/rssmanager.cpp
g++ -c -m64 -pipe -Wformat -Wformat-security -O2 -D_REENTRANT -Wall -W -DQT_NO_DEBUG_OUTPUT -DVERSION=\"v3.1.5\" -DVERSION_MAJOR=3 -DVERSION_MINOR=1 -DVERSION_BUGFIX=5 -DQT_NO_CAST_TO_ASCII -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DBOOST_FILESYSTEM_VERSION=2 -DTORRENT_USE_OPENSSL -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED -DQT_NO_DEBUG -DQT_DBUS_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I../../src -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtDBus -I/usr/include/qt4 -I/usr/include/libtorrent -I/usr/include -I../../src/qtnotify -I../../src -I../../src/qtsingleapp -I../../src/qtlibtorrent -I../../src/webui -I../../src/tracker -I../../src/preferences -I../../src/lineedit/src -I../../src/properties -I../../src/searchengine -I../../src/rss -I../../src/torrentcreator -I../../src/geoip -I../../src/powermanagement -I. -I. -I../../src -I. -o rssfeed.o ../../src/rss/rssfeed.cpp
g++ -c -m64 -pipe -Wformat -Wformat-security -O2 -D_REENTRANT -Wall -W -DQT_NO_DEBUG_OUTPUT -DVERSION=\"v3.1.5\" -DVERSION_MAJOR=3 -DVERSION_MINOR=1 -DVERSION_BUGFIX=5 -DQT_NO_CAST_TO_ASCII -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DBOOST_FILESYSTEM_VERSION=2 -DTORRENT_USE_OPENSSL -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED -DQT_NO_DEBUG -DQT_DBUS_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I../../src -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtDBus -I/usr/include/qt4 -I/usr/include/libtorrent -I/usr/include -I../../src/qtnotify -I../../src -I../../src/qtsingleapp -I../../src/qtlibtorrent -I../../src/webui -I../../src/tracker -I../../src/preferences -I../../src/lineedit/src -I../../src/properties -I../../src/searchengine -I../../src/rss -I../../src/torrentcreator -I../../src/geoip -I../../src/powermanagement -I. -I. -I../../src -I. -o rssfolder.o ../../src/rss/rssfolder.cpp
g++ -c -m64 -pipe -Wformat -Wformat-security -O2 -D_REENTRANT -Wall -W -DQT_NO_DEBUG_OUTPUT -DVERSION=\"v3.1.5\" -DVERSION_MAJOR=3 -DVERSION_MINOR=1 -DVERSION_BUGFIX=5 -DQT_NO_CAST_TO_ASCII -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DBOOST_FILESYSTEM_VERSION=2 -DTORRENT_USE_OPENSSL -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED -DQT_NO_DEBUG -DQT_DBUS_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I../../src -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtDBus -I/usr/include/qt4 -I/usr/include/libtorrent -I/usr/include -I../../src/qtnotify -I../../src -I../../src/qtsingleapp -I../../src/qtlibtorrent -I../../src/webui -I../../src/tracker -I../../src/preferences -I../../src/lineedit/src -I../../src/properties -I../../src/searchengine -I../../src/rss -I../../src/torrentcreator -I../../src/geoip -I../../src/powermanagement -I. -I. -I../../src -I. -o rssarticle.o ../../src/rss/rssarticle.cpp
g++ -c -m64 -pipe -Wformat -Wformat-security -O2 -D_REENTRANT -Wall -W -DQT_NO_DEBUG_OUTPUT -DVERSION=\"v3.1.5\" -DVERSION_MAJOR=3 -DVERSION_MINOR=1 -DVERSION_BUGFIX=5 -DQT_NO_CAST_TO_ASCII -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DBOOST_FILESYSTEM_VERSION=2 -DTORRENT_USE_OPENSSL -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED -DQT_NO_DEBUG -DQT_DBUS_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I../../src -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtDBus -I/usr/include/qt4 -I/usr/include/libtorrent -I/usr/include -I../../src/qtnotify -I../../src -I../../src/qtsingleapp -I../../src/qtlibtorrent -I../../src/webui -I../../src/tracker -I../../src/preferences -I../../src/lineedit/src -I../../src/properties -I../../src/searchengine -I../../src/rss -I../../src/torrentcreator -I../../src/geoip -I../../src/powermanagement -I. -I. -I../../src -I. -o automatedrssdownloader.o ../../src/rss/automatedrssdownloader.cpp
g++ -c -m64 -pipe -Wformat -Wformat-security -O2 -D_REENTRANT -Wall -W -DQT_NO_DEBUG_OUTPUT -DVERSION=\"v3.1.5\" -DVERSION_MAJOR=3 -DVERSION_MINOR=1 -DVERSION_BUGFIX=5 -DQT_NO_CAST_TO_ASCII -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DBOOST_FILESYSTEM_VERSION=2 -DTORRENT_USE_OPENSSL -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED -DQT_NO_DEBUG -DQT_DBUS_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I../../src -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtDBus -I/usr/include/qt4 -I/usr/include/libtorrent -I/usr/include -I../../src/qtnotify -I../../src -I../../src/qtsingleapp -I../../src/qtlibtorrent -I../../src/webui -I../../src/tracker -I../../src/preferences -I../../src/lineedit/src -I../../src/properties -I../../src/searchengine -I../../src/rss -I../../src/torrentcreator -I../../src/geoip -I../../src/powermanagement -I. -I. -I../../src -I. -o rssdownloadrule.o ../../src/rss/rssdownloadrule.cpp
g++ -c -m64 -pipe -Wformat -Wformat-security -O2 -D_REENTRANT -Wall -W -DQT_NO_DEBUG_OUTPUT -DVERSION=\"v3.1.5\" -DVERSION_MAJOR=3 -DVERSION_MINOR=1 -DVERSION_BUGFIX=5 -DQT_NO_CAST_TO_ASCII -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DBOOST_FILESYSTEM_VERSION=2 -DTORRENT_USE_OPENSSL -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED -DQT_NO_DEBUG -DQT_DBUS_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I../../src -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtDBus -I/usr/include/qt4 -I/usr/include/libtorrent -I/usr/include -I../../src/qtnotify -I../../src -I../../src/qtsingleapp -I../../src/qtlibtorrent -I../../src/webui -I../../src/tracker -I../../src/preferences -I../../src/lineedit/src -I../../src/properties -I../../src/searchengine -I../../src/rss -I../../src/torrentcreator -I../../src/geoip -I../../src/powermanagement -I. -I. -I../../src -I. -o rssdownloadrulelist.o ../../src/rss/rssdownloadrulelist.cpp
../../src/properties/trackerlist.cpp: In member function ‘void TrackerList::showTrackerListMenu(QPoint)’:
../../src/properties/trackerlist.cpp:431:5: error: ‘reannounceAct’ was not declared in this scope
../../src/properties/trackerlist.cpp:447:14: error: ‘reannounceAct’ was not declared in this scope
make[3]: *** [trackerlist.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/home/removed/qbt-source/qbittorrent-3.1.x-0~4662/build-gui/src'
make[2]: *** [sub-src-make_default] Error 2
make[2]: Leaving directory `/home/removed/qbt-source/qbittorrent-3.1.x-0~4662/build-gui'
dh_auto_build: make -j8 returned exit code 2
make[1]: *** [override_dh_auto_build] Error 25
make[1]: Leaving directory `/home/removed/qbt-source/qbittorrent-3.1.x-0~4662'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2


Any ideas? Thank you.
Last edited by gnuhope on Tue Apr 08, 2014 9:35 pm, edited 1 time in total.
sledgehammer_999
Administrator
Administrator
Posts: 2443
Joined: Sun Jan 23, 2011 1:17 pm

Re: Possible bug when running 1500+ torrents?

Post by sledgehammer_999 »

I don't even know how the PPA built that revision. At that revision the code was broken.
Edit src/properties/trackerlist.cpp and go to ~429 line number and find this:

Code: Select all

 editAct = menu.addAction(IconProvider::instance()->getIcon("edit-rename"),tr("Edit selected tracker URL"));
  }
  if (!h.is_paused()) {
    menu.addSeparator();
    reannounceAct = menu.addAction(IconProvider::instance()->getIcon("view-refresh"), tr("Force reannounce to all trackers"));
  }
And make it look like this:

Code: Select all

 editAct = menu.addAction(IconProvider::instance()->getIcon("edit-rename"),tr("Edit selected tracker URL"));
  }
  QAction *reannounceAct = NULL;
  if (!h.is_paused()) {
    menu.addSeparator();
    reannounceAct = menu.addAction(IconProvider::instance()->getIcon("view-refresh"), tr("Force reannounce to all trackers"));
  }
Also next time put the console output in [ code] tags.
gnuhope

Re: Possible bug when running 1500+ torrents?

Post by gnuhope »

So it's been two days or so. Everything seems to be working now. No errors from the trackers. I downloaded a few torrents from a few trackers and no hit and run reports. It would be great if future versions had a unlimmited option or allowed the user to manually change the settings them self. I'm not really sure what the limit achieved but maybe someone else does. The only thing that I noticed is that the trackers didn't seem to list the torrent as being seeded tell the client did another announce and it would only do that after a set amount of time. So I'm guessing it's because of the number of clients I am running but the torrents reannounce every 55 mins or so and as soon as the torrent would announce the site would then show me as seeding. Thankfully none of the private sites have their hit and run settings clamped down so tight that those 55 mins cause a hit and run report, you normally have like 2-14 days. What would be cool tho is once a torrent is done downloading it would temporary stop the normal rotation of announcements, announce the freshly downloaded torrent as seeding and then return to the normal rotation. But you have already done so much to help me. Thank you very very much. You have saved me many hours of my life. 
sledgehammer_999
Administrator
Administrator
Posts: 2443
Joined: Sun Jan 23, 2011 1:17 pm

Re: Possible bug when running 1500+ torrents?

Post by sledgehammer_999 »

Thank you for confirming that it worked. I marked it for v3.1.0 for a proper fix: https://github.com/qbittorrent/qBittorrent/issues/1571

However, I don't understand what you are saying in the rest of your post.
stoatwblr

Re: Possible bug when running 1500+ torrents?

Post by stoatwblr »

-j8 only sets the number of build threads. It's not going to make any difference at runtime.
Post Reply