qbittorrent 2.0.0 crashes starting (F12)

Bug #487308 reported by JP
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libtorrent-rasterbar
Unknown
Unknown
qBittorrent
Triaged
Undecided
Christophe Dumez

Bug Description

Installation without a problem.
Then downloaded two bittorrents without a problem.
Restart computer.
qbittorrent crashes.

Revision history for this message
JP (tcpip4000) wrote :
Revision history for this message
JP (tcpip4000) wrote :

Some additional information:

Distro: Fedora 12
Arch: x86_64
qbittorrent version: 2.0.0 svn2879
glibc 2.11
libtorrent 0.12.5
boost-thread 1.39.0

Revision history for this message
Christophe Dumez (hydr0g3n) wrote : Re: [Bug 487308] Re: qbittorrent 2.0.0 crashes starting (F12)

Hi, in order to help libtorrent author, could you please try to get a more
useful backtrace with gdb?
libtorrent has to be configured to debug enabled.

./configure --enable-debug

Then when you run qBT in gdb:
gdb qbittorrent
<crash>
bt 25

to get the backtrace.

Best regards,
Chris.

On Mon, Nov 23, 2009 at 11:43 PM, JP <email address hidden> wrote:

> Some additional information:
>
> Distro: Fedora 12
> Arch: x86_64
> qbittorrent version: 2.0.0 svn2879
> glibc 2.11
> libtorrent 0.12.5
> boost-thread 1.39.0
>
> --
> qbittorrent 2.0.0 crashes starting (F12)
> https://bugs.launchpad.net/bugs/487308
> You received this bug notification because you are subscribed to
> qBittorrent.
>

Revision history for this message
leigh123linux (leigh123linux-deactivatedaccount) wrote :

@ JP are you using my qbittorrent rpm, if so update to the latest package

http://leigh123linux.fedorapeople.org/pub/rpm/12/qbittorrent_testing/x86_64/

Can you install the debug package so you can provide more info.

debuginfo-install rb_libtorrent

@ Chris if it is my rpm build it was build against rb_libtorrent version 0.14.6

Revision history for this message
JP (tcpip4000) wrote :

@leigh123linux, yes I am,

ok I will check out this new package.

Revision history for this message
JP (tcpip4000) wrote :

Well, I reproduced this error again, this is what I've done:

1. download a bittorrent files (iso of 650MB)
2. let it to seed for some time (~ 4h)
3. close the program
4. open the program again
5. the program crashes

Attached the full (gdb) debug log.

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

Hi, it looks like you did not install debug symbol packages before getting
the backtrace.

Best regards,
Chris.

On Tue, Nov 24, 2009 at 2:00 PM, JP <email address hidden> wrote:

> Well, I reproduced this error again, this is what I've done:
>
> 1. download a bittorrent files (iso of 650MB)
> 2. let it to seed for some time (~ 4h)
> 3. close the program
> 4. open the program again
> 5. the program crashes
>
> Attached the full (gdb) debug log.
>
>
> ** Attachment added: "Gdb debug log 1 (opening app crashes after
> downloading a torrent)"
> http://launchpadlibrarian.net/36012671/qbittorrent-gdb.log
>
> --
> qbittorrent 2.0.0 crashes starting (F12)
> https://bugs.launchpad.net/bugs/487308
> You received this bug notification because you are subscribed to
> qBittorrent.
>

Revision history for this message
JP (tcpip4000) wrote :

I did what leigh123linux recommended:

$ debuginfo-install rb_libtorrent

This installed almost 130MB in debugging symbols (also for gcc), I don't know what else to do.

Waiting for yout comments.

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

Excuse me, my mistake. Debug info is there. I'm forwarding to libtorrent
author.

Chris.

On Tue, Nov 24, 2009 at 3:46 PM, JP <email address hidden> wrote:

> I did what leigh123linux recommended:
>
> $ debuginfo-install rb_libtorrent
>
> This installed almost 130MB in debugging symbols (also for gcc), I don't
> know what else to do.
>
> Waiting for yout comments.
>
> --
> qbittorrent 2.0.0 crashes starting (F12)
> https://bugs.launchpad.net/bugs/487308
> You received this bug notification because you are subscribed to
> qBittorrent.
>

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

Error is on:
peer_connection.cpp:3614
* disconnect(error.message().c_str());

In this function:
// throws exception when the client should be disconnected
void peer_connection::on_receive_data(const error_code& error, std::size_t bytes_transferred)

Crash is on:
/usr/include/boost/system/error_code.hpp:347
* std::string message() const { return m_cat->message(value());}

My guess is (error != 0) because it passed the test earlier but it is not a valid error message?

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

Libtorrent v0.14.7 may already include the fix, I see this in the Changelog:
* fixed bug in error handling when parsing torrent files

I'll see with the Fedora maintainer if he can update so that you can check.

Revision history for this message
leigh123linux (leigh123linux-deactivatedaccount) wrote :

Hi JP,

Could you file a bug report at redhat bugzilla against the rb_libtorrent package and link to this bug.

Thanks

Leigh

Revision history for this message
JP (tcpip4000) wrote :
Revision history for this message
JP (tcpip4000) wrote :
Revision history for this message
leigh123linux (leigh123linux-deactivatedaccount) wrote :
Revision history for this message
JP (tcpip4000) wrote :

I've been testing during two days using:

rb_libtorrent 0.14.7 (from fedora updates)
qbitorrent rc1 (svn 2973 provided by leigh123linux )

The functionality of the software is quick and clean.
Congratulations Christophe this will be an excellent release.
Bug fixed.

Revision history for this message
leigh123linux (leigh123linux-deactivatedaccount) wrote :

Updated to svn rc2

http://leigh123linux.fedorapeople.org/pub/rpm/12/qbittorrent_testing/x86_64/

I intend to update the F12 repo version as soon as qbittorrent goes stable, at this rate of development by Chris it won't be that long :-)

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

Great news. Thanks for testing :)

Changed in qbittorrent:
assignee: nobody → Christophe Dumez (hydr0g3n)
status: New → Fix Released
Revision history for this message
JP (tcpip4000) wrote :

qbittorrent rc1 (svn 2973) with rb_libtorrent 0.14.7 have crashed again.

Changed in qbittorrent:
status: Fix Released → New
Revision history for this message
JP (tcpip4000) wrote :

After testing for days, today crashed again, attaching debugging trace.

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

I did not get any response by e-mail from libtorrent-author. However, he has just set up a new bug tracker so I submitted a bug report. If you have any additional information, please put it there.

Changed in qbittorrent:
status: New → Triaged
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.