[2.6.2 - 2.6.5] GUI hangs when Downloading

Bug #704331 reported by SDERAWI
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
qBittorrent
Incomplete
Undecided
Christophe Dumez

Bug Description

ArchLinux x64

Qbittorrent [2.6.2 - 2.6.5]

After a couple of minutes of starting a Download , the GUI hangs with no output on the console , I tried deleting all the preferences folders and files but the problem persists.

The gdb is

@ArchLinux-Desktop ~]$ gdb qbittorrent
GNU gdb (GDB) 7.2
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/qbittorrent...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/qbittorrent
[Thread debugging using libthread_db enabled]
[New Thread 0x7ffff00f7700 (LWP 18160)]
[New Thread 0x7fffe6cb2700 (LWP 18161)]
[New Thread 0x7fffe64b1700 (LWP 18162)]
Peer ID: -qB2630-
[New Thread 0x7fffe5cb0700 (LWP 18163)]
HTTP user agent is qBittorrent v2.6.3
[New Thread 0x7fffe54af700 (LWP 18164)]
[New Thread 0x7fffe4cae700 (LWP 18165)]
[New Thread 0x7fffdffff700 (LWP 18166)]
[New Thread 0x7fffdf7fe700 (LWP 18168)]
[New Thread 0x7fffdebc2700 (LWP 18178)]
[New Thread 0x7fffde3c1700 (LWP 18179)]
[New Thread 0x7fffdd9b6700 (LWP 18180)]
[New Thread 0x7fffdd1b5700 (LWP 18181)]
[Thread 0x7fffe4cae700 (LWP 18165) exited]
[Thread 0x7fffdebc2700 (LWP 18178) exited]
[Thread 0x7fffde3c1700 (LWP 18179) exited]

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

The gdb trace is useless without the debugging symbols, install them and try again.

Revision history for this message
SDERAWI (sderawi-deactivatedaccount) wrote :

How to install exactly?

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

A gdb trace does not help for debugging performance problems anyway.

"strace" would at least say what qBittorrent is actually doing.

Revision history for this message
SDERAWI (sderawi-deactivatedaccount) wrote :

when it hangs this usually comes up

futex(0x7fafb8000020, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x7fafb8000020, FUTEX_WAIT_PRIVATE, 2, NULL) = -1 EAGAIN (Resource temporarily unavailable)
futex(0x7fafb8000020, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x7fafd5e8aea0, FUTEX_WAKE_PRIVATE, 1) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=157, ...}) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=157, ...}) = 0
futex(0x7fafb0000020, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x7fafb0000020, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x7fafd5e8aea0, FUTEX_WAKE_PRIVATE, 1) = 1
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=157, ...}) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=157, ...}) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=157, ...}) = 0
futex(0x7fafd5e8aea0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x7fafd5e8aea0, FUTEX_WAKE_PRIVATE, 1) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=157, ...}) = 0
futex(0x7fafd5e8aea0, FUTEX_WAKE_PRIVATE, 1) = 0

With much emphasis on

stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=157, ...}) = 0

Revision history for this message
SDERAWI (sderawi-deactivatedaccount) wrote :
Download full text (8.8 KiB)

This just happened

read(7, 0x11d1cd4, 4096) = -1 EAGAIN (Resource temporarily unavailable)
read(17, 0x1251174, 4096) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN}, {fd=12, events=POLLIN|POLLPRI}, {fd=14, events=POLLIN|POLLPRI}, {fd=15, events=POLLIN|POLLPRI}, {fd=16, events=POLLIN|POLLPRI}, {fd=17, events=POLLIN}, {fd=19, events=POLLIN|POLLPRI}, {fd=20, events=POLLIN|POLLPRI}, {fd=21, events=POLLIN}, {fd=7, events=POLLIN}, {fd=23, events=POLLIN}, {fd=39, events=POLLIN}, {fd=40, events=POLLIN}, {fd=636, events=POLLIN}], 14, 0) = 0 (Timeout)
read(7, 0x11d1cd4, 4096) = -1 EAGAIN (Resource temporarily unavailable)
read(7, 0x11d1cd4, 4096) = -1 EAGAIN (Resource temporarily unavailable)
read(17, 0x1251174, 4096) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN}, {fd=12, events=POLLIN|POLLPRI}, {fd=14, events=POLLIN|POLLPRI}, {fd=15, events=POLLIN|POLLPRI}, {fd=16, events=POLLIN|POLLPRI}, {fd=17, events=POLLIN}, {fd=19, events=POLLIN|POLLPRI}, {fd=20, events=POLLIN|POLLPRI}, {fd=21, events=POLLIN}, {fd=7, events=POLLIN}, {fd=23, events=POLLIN}, {fd=39, events=POLLIN}, {fd=40, events=POLLIN}, {fd=636, events=POLLIN}], 14, 0) = 0 (Timeout)
read(7, 0x11d1cd4, 4096) = -1 EAGAIN (Resource temporarily unavailable)
read(7, 0x11d1cd4, 4096) = -1 EAGAIN (Resource temporarily unavailable)
read(17, 0x1251174, 4096) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN}, {fd=12, events=POLLIN|POLLPRI}, {fd=14, events=POLLIN|POLLPRI}, {fd=15, events=POLLIN|POLLPRI}, {fd=16, events=POLLIN|POLLPRI}, {fd=17, events=POLLIN}, {fd=19, events=POLLIN|POLLPRI}, {fd=20, events=POLLIN|POLLPRI}, {fd=21, events=POLLIN}, {fd=7, events=POLLIN}, {fd=23, events=POLLIN}, {fd=39, events=POLLIN}, {fd=40, events=POLLIN}, {fd=636, events=POLLIN}], 14, 0) = 0 (Timeout)
read(7, 0x11d1cd4, 4096) = -1 EAGAIN (Resource temporarily unavailable)
read(7, 0x11d1cd4, 4096) = -1 EAGAIN (Resource temporarily unavailable)
read(17, 0x1251174, 4096) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN}, {fd=12, events=POLLIN|POLLPRI}, {fd=14, events=POLLIN|POLLPRI}, {fd=15, events=POLLIN|POLLPRI}, {fd=16, events=POLLIN|POLLPRI}, {fd=17, events=POLLIN}, {fd=19, events=POLLIN|POLLPRI}, {fd=20, events=POLLIN|POLLPRI}, {fd=21, events=POLLIN}, {fd=7, events=POLLIN}, {fd=23, events=POLLIN}, {fd=39, events=POLLIN}, {fd=40, events=POLLIN}, {fd=636, events=POLLIN}], 14, 0) = 0 (Timeout)
read(7, 0x11d1cd4, 4096) = -1 EAGAIN (Resource temporarily unavailable)
read(7, 0x11d1cd4, 4096) = -1 EAGAIN (Resource temporarily unavailable)
read(17, 0x1251174, 4096) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN}, {fd=12, events=POLLIN|POLLPRI}, {fd=14, events=POLLIN|POLLPRI}, {fd=15, events=POLLIN|POLLPRI}, {fd=16, events=POLLIN|POLLPRI}, {fd=17, events=POLLIN}, {fd=19, events=POLLIN|POLLPRI}, {fd=20, events=POLLIN|POLLPRI}, {fd=21, events=POLLIN}, {fd=7, events=POLLIN}, {fd=23, events=POLLIN}, ...

Read more...

Revision history for this message
Ben Shadwick (benshadwick) wrote :

I am also seeing this in Ubuntu 10.10 x64 using qBT 2.6.5+svn.r5225-1~maverick.

Revision history for this message
Ben Shadwick (benshadwick) wrote :

Also happens with 2.7.0~beta1+svn.r5224-1~maverick.

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

I cannot reproduce the issue although I'm using Ubuntu 10.10 x64 as well.

What do you mean exactly by "The GUI hangs"? Is it unresponsive when you try to do something? Is CPU usage abnormally high when this happens? How about disk activity?

Are you saving to a unusual location? for example, an encrypted drive or folder, A network drive, a Non-Linux file system (e.g. NTFS). There are to be something different with your configuration or I would get way more bug reports about this.

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

@SDERAWI: Your state(/etc/localtime) messages seem to be caused by the fact that your timezone is not set.

Could you try to do the following?
$ export TZ=:/etc/localtime
Check that localtime file is actually located in /etc on your distribution

then
$ strace qbittorrent

This should silent the stat(localtime) messages. However, this may not be the cause of the hang : we'll see.

Revision history for this message
SDERAWI (sderawi-deactivatedaccount) wrote :

Regarding my setup , I did not do anything different (Save location , encrypted drive etc.) between 2.6.1 and 2.6.2 - 2.6.5.

But actually the CPU becomes 100% most of the time but not always.

And regarding the GUI hangs = I can not click on anything , not even the Icon in the panel, It is like the program is not there . And If I do a reload window manager from Fusion-Icon, Qbittorrent's Icon disappears from the panel until all the downloads finish and the GUI becomes responsive again

description: updated
summary: - [2.6.2 - 2.6.3] GUI hangs when Downloading
+ [2.6.2 - 2.6.5] GUI hangs when Downloading
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.