2.8.4 onwards qbittorrent.exe executable fails to run

Bug #856242 reported by sherry
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qBittorrent
Fix Released
Undecided
sledgehammer999

Bug Description

Operating System : 32 bit Windows XP SP3 updated till September 2011.
Qbittorrent versions : 2.8.4 and 2.8.5.
libtorrent version : Based on libtorrent v0.15.7

What I tried : Re-installing both, results in the same error. Uninstall and then re-install, same.
2.8.4 and 2.8.5 have this bug that their executable gives an error upon starting. So the latest working version of windows is 2.8.2 which doesn't give this error and runs easily.
It's been some time now and you guys must have figured that out.

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

Assigning to sledgehammer since he is taking care of the packaging for Windows.

Changed in qbittorrent:
assignee: nobody → Sledgehammer_999 (sledgehammer-999)
status: New → Triaged
Revision history for this message
sledgehammer999 (sledgehammer-999) wrote :

Confirmed. I'll see what I can do to fix it.

Changed in qbittorrent:
status: Triaged → Confirmed
Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

@mkdib: What did you do to get qBittorrent working on Win XP before? I'm guessing this is just a missing dll.

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

@Sledgehammer: You can probably grab an old win32 archive from SF and make sure your installer provides all the same dlls.

Revision history for this message
sledgehammer999 (sledgehammer-999) wrote :

In WinXP SP2 it works fine(this is my main machine). But even mkdib's 2.7.3 in SP3(till september) has the same error. The v2.8.2 version works because(IIRC) it is my mingw build. All my other mingw builds work fine too. This is because gcc 4.5.2 doesn't depend on new msvc dlls.

Anyway the problem appears because Windows cannot find/verify my provided dlls with the appropriate manifest file. It is solved if I install the vc09 redistributable but this is not ideal. The redistributable is about 4MB and it installs a lot of other dlls system wide. My dlls are the correct ones, I only need to know how to make the correct manifest file(or where to find it). This is what I am searching now. As a last result I could bundle the vc-redist with the installer but it would be 11-12MB big....

Revision history for this message
sledgehammer999 (sledgehammer-999) wrote :

Unfortunately I can't seem to make it work by just copying the necessary dlls and manifest file. I have about numerous solutions to this problem but none seems to work. I don't intend to spend more time on this. If someone more experienced has any info to contribute please do. For now I'll just include the vc_redist in my installer.

@sherry
You can either wait for a new qbt release or watch the 'qbittorrent-unstable' folder on sourceforge.net in the file menu. I will begin(not now) to make available regular builds of qbt from git master. (or install the vc2008 sp1 redist yourself)

Revision history for this message
sledgehammer999 (sledgehammer-999) wrote :

*I have about read numerous solutions to this problem

Changed in qbittorrent:
status: Confirmed → Fix Released
Revision history for this message
sledgehammer999 (sledgehammer-999) wrote :

I uploaded a new 2.9.0rc1 build in the 'qbittorrent-unstable' on sf.net
This build links EVERY lib statically even the runtime. I also recompiled qt with size in mind. The installer is almost 2MB smaller and the uncompressed data are ~8MB smaller.

I didn't check on WinXP sp3 because I am away from that machine. But I think it will certainly work on it too.

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.