beta6 crashes

Bug #137223 reported by timothy78
4
Affects Status Importance Assigned to Milestone
qBittorrent
Fix Released
Undecided
Christophe Dumez

Bug Description

yesterday I've updated to beta6 and since then my qbittorrent crashes repeatedly.

The last thing that's written to console is:

"ASSERT: "moy >= 0" in file bittorrent.cpp, line 127"

Sorry, but I don't know where to start, so please ask for the information, configuration, etc.

Cheers

Revision history for this message
timothy78 (mrgood) wrote :

Ok, now I know the reason for the crash. I don't know if it came up with beta6 or was a bug before, too, since I recently tried out this feature the first time.

If I set an individual upload speed limit for one (or a few) files only, then I get the error message I quoted in my first post.

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

Ok. I don't see where the problem comes from so I added some debug output in svn. Would you be able to test latest svn and paste here the debug output you get just before hitting the ASSERT? I'll try to reproduce it here too but I have something else to do first and I may not even be able to reproduce it.

Changed in qbittorrent:
assignee: nobody → hydr0g3n
status: New → Incomplete
Revision history for this message
HolyMurderer (holy-murderer) wrote :

I report the same situation.

I'm using Debian Etch.

If I use an Upload speed limit, in general or in a specific file, qbittorrent crashes repeatedly and the crashes are completely random.

Where can I check the debug output to paste it here?

Revision history for this message
Christophe Dumez (hydr0g3n) wrote : Re: [Bug 137223] Re: beta6 crashes

You need to use latest qBittorrent svn (because I added some debug output)
and then launch qbittorrent in a console and then paste the output in the
console here. This would really help me a lot.

Best regards,
Chris.

On 9/10/07, HolyMurderer <email address hidden> wrote:
>
> I report the same situation.
>
> I'm using Debian Etch.
>
> If I use an Upload speed limit, in general or in a specific file,
> qbittorrent crashes repeatedly and the crashes are completely random.
>
> Where can I check the debug output to paste it here?
>
> --
> beta6 crashes
> https://bugs.launchpad.net/bugs/137223
> You received this bug notification because you are a bug assignee.
>

Revision history for this message
timothy78 (mrgood) wrote :

Sorry, I was on a congress this week. I will download the cvs version and report the debug output asap ....

Timothy

Revision history for this message
timothy78 (mrgood) wrote :

Ok, I'm a newbe using svn, maybe you can help me and I can paste the debug output ...

I did an ...

svn co https://qbittorrent.svn.sourceforge.net/svnroot/qbittorrent qbittorrent

an

.configure and make in

"qbittorrent/trunk"

and got:

g++ -c -pipe -g -fwrapv -O1 -I/usr/include/libtorrent -D_GNU_SOURCE -D_GNU_SOURCE -D_REENTRANT -Wall -W -DVERSION=\"v1.0.0beta6\" -DVERSION_MAJOR=1 -DVERSION_MINOR=0 -DVERSION_BUGFIX=0 -DHAVE_MAGICK -DQT_NO_CAST_TO_ASCII -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXml -I/usr/include/qt4 -I/usr/include -I/usr/include/libtorrent -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I. -I. -o createtorrent_imp.o createtorrent_imp.cpp
createtorrent_imp.cpp: In member function ‘void createtorrent::on_createButton_clicked()’:
createtorrent_imp.cpp:183: error: invalid initialization of reference of type ‘const libtorrent::torrent_info&’ from expression of type ‘boost::intrusive_ptr<libtorrent::torrent_info>’
/usr/include/libtorrent/storage.hpp:154: error: in passing argument 1 of ‘libtorrent::storage_interface* libtorrent::default_storage_constructor(const libtorrent::torrent_info&, const boost::filesystem::path&, libtorrent::file_pool&)’
/usr/include/boost/intrusive_ptr.hpp: In constructor ‘boost::intrusive_ptr<T>::intrusive_ptr(T*, bool) [with T = libtorrent::torrent_info]’:
createtorrent_imp.cpp:162: instantiated from here
/usr/include/boost/intrusive_ptr.hpp:64: error: ‘intrusive_ptr_add_ref’ was not declared in this scope
/usr/include/boost/intrusive_ptr.hpp: In destructor ‘boost::intrusive_ptr<T>::~intrusive_ptr() [with T = libtorrent::torrent_info]’:
createtorrent_imp.cpp:162: instantiated from here
/usr/include/boost/intrusive_ptr.hpp:83: error: ‘intrusive_ptr_release’ was not declared in this scope
make[1]: *** [createtorrent_imp.o] Error 1
make[1]: Leaving directory `/home/jfk/qbittorrent_svn/qbittorrent/trunk/src'
make: *** [sub-src-make_default] Error 2

so am I in the wrong directory or do I need something else? (normally I use the ebuild in gentoo ... so no problems at all)

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

Are you sure your libtorrent is up to date? Probably is a bit too old.

BTW, There is a svn compiling howto here:
http://wiki.qbittorrent.org/index.php?title=QBittorrent_SVN_compiling_howto_%28Ubuntu/Debian%29

On 9/15/07, timothy78 <email address hidden> wrote:
>
> Ok, I'm a newbe using svn, maybe you can help me and I can paste the
> debug output ...
>
> I did an ...
>
> svn co https://qbittorrent.svn.sourceforge.net/svnroot/qbittorrent
> qbittorrent
>
> an
>
> .configure and make in
>
> "qbittorrent/trunk"
>
> and got:
>
> g++ -c -pipe -g -fwrapv -O1 -I/usr/include/libtorrent -D_GNU_SOURCE
> -D_GNU_SOURCE -D_REENTRANT -Wall -W -DVERSION=\"v1.0.0beta6\"
> -DVERSION_MAJOR=1 -DVERSION_MINOR=0 -DVERSION_BUGFIX=0 -DHAVE_MAGICK
> -DQT_NO_CAST_TO_ASCII -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB
> -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I.
> -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore
> -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtNetwork
> -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml
> -I/usr/include/qt4/QtXml -I/usr/include/qt4 -I/usr/include
> -I/usr/include/libtorrent -I/usr/include -I/usr/include -I/usr/include
> -I/usr/include -I. -I. -o createtorrent_imp.o createtorrent_imp.cpp
> createtorrent_imp.cpp: In member function 'void
> createtorrent::on_createButton_clicked()':
> createtorrent_imp.cpp:183: error: invalid initialization of reference of
> type 'const libtorrent::torrent_info&' from expression of type
> 'boost::intrusive_ptr<libtorrent::torrent_info>'
> /usr/include/libtorrent/storage.hpp:154: error: in passing argument 1 of
> 'libtorrent::storage_interface*
> libtorrent::default_storage_constructor(const libtorrent::torrent_info&,
> const boost::filesystem::path&, libtorrent::file_pool&)'
> /usr/include/boost/intrusive_ptr.hpp: In constructor
> 'boost::intrusive_ptr<T>::intrusive_ptr(T*, bool) [with T =
> libtorrent::torrent_info]':
> createtorrent_imp.cpp:162: instantiated from here
> /usr/include/boost/intrusive_ptr.hpp:64: error: 'intrusive_ptr_add_ref'
> was not declared in this scope
> /usr/include/boost/intrusive_ptr.hpp: In destructor
> 'boost::intrusive_ptr<T>::~intrusive_ptr() [with T =
> libtorrent::torrent_info]':
> createtorrent_imp.cpp:162: instantiated from here
> /usr/include/boost/intrusive_ptr.hpp:83: error: 'intrusive_ptr_release'
> was not declared in this scope
> make[1]: *** [createtorrent_imp.o] Error 1
> make[1]: Leaving directory
> `/home/jfk/qbittorrent_svn/qbittorrent/trunk/src'
> make: *** [sub-src-make_default] Error 2
>
> so am I in the wrong directory or do I need something else? (normally I
> use the ebuild in gentoo ... so no problems at all)
>
> --
> beta6 crashes
> https://bugs.launchpad.net/bugs/137223
> You received this bug notification because you are a bug assignee.
>

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

Ok. This should be fixed in latest svn.

Changed in qbittorrent:
status: Incomplete → Fix Committed
Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

Beta7 is out.

Changed in qbittorrent:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.