WineHQ
Bug Tracking Database – Bug 27504

 Bugzilla

 

Last modified: 2014-03-07 14:12:59 UTC  

Freejack downloader crashes before downloading files

Bug 27504 - Freejack downloader crashes before downloading files
Freejack downloader crashes before downloading files
Status: CLOSED FIXED
AppDB: Show Apps affected by this bug
Product: Wine
Classification: Unclassified
Component: winsock
1.3.22
x86 Linux
: P2 normal
: ---
Assigned To: Mr. Bugs
http://gmfiles.brothersoft.com/games/...
: download, Installer
Depends on:
Blocks: 27495
  Show dependency tree
 
Reported: 2011-06-16 13:48 UTC by Austin English
Modified: 2014-03-07 14:12 UTC (History)
3 users (show)

See Also:
Regression SHA1:
Fixed by SHA1: c42989ed9a101a59dc186863b7acd0f307649a4a
Distribution: ---
Staged patchset:


Attachments
terminal output/backtrace (12.62 KB, text/plain)
2011-06-16 13:48 UTC, Austin English
Details
backtrace (14.97 KB, text/plain)
2011-12-20 14:34 UTC, Austin English
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Austin English 2011-06-16 13:48:42 UTC
Created attachment 35162 [details]
terminal output/backtrace

While looking at bug 27495, I noticed the downloader crashes before downloading any files. Terminal output shows a lot of mshtml/shdocvw, so tried native ie7, which doesn't help. I also see:
fixme:winsock:WS_getsockopt WS_SO_CONNECT_TIME - faking results
wine: Unhandled page fault on write access to 0x00000001 at address 0x560795 (thread 003c), starting debugger...
Unhandled exception: page fault on write access to 0x00000001 in 32-bit code (0x00560795).

which reminds me of bug 26411, but that patch doesn't help.

613b642a764073fcdc1b72aa392b63876458d84f  freejack_downloader.exe

terminal output/backtrace attached.
Comment 1 Bruno Jesus 2011-09-13 21:06:53 UTC
The bug does not seem to be related to WS_SO_CONNECT_TIME, it crashes randomly as far as I can see. After running the application several times I could get up to 2% of download. Specially running with +winsock or +relay without redirection to files. I'm still tracing but I get similar crash from your backtrace with a different line before the exception.
Comment 2 Bruno Jesus 2011-12-19 17:11:00 UTC
Fixed by http://source.winehq.org/git/wine.git/commit/c42989ed9a101a59dc186863b7acd0f307649a4a

Austin, it seems like it was related to SO_CONNECT_TIME after all. The game is probably not checking the return of getsockopt but instead it's using the passed variable. When I checked this I thought it was related to the returned value =)

The game is at 6% of download, it's the first time it gets this far to me, but it's taking forever to download here. I really think this is fixed but I would like a second opinion.
Comment 3 Austin English 2011-12-20 14:34:38 UTC
(In reply to comment #2)
> Fixed by
> http://source.winehq.org/git/wine.git/commit/c42989ed9a101a59dc186863b7acd0f307649a4a
> 
> Austin, it seems like it was related to SO_CONNECT_TIME after all. The game is
> probably not checking the return of getsockopt but instead it's using the
> passed variable. When I checked this I thought it was related to the returned
> value =)
> 
> The game is at 6% of download, it's the first time it gets this far to me, but
> it's taking forever to download here. I really think this is fixed but I would
> like a second opinion.

Still crashes for me in wine-1.3.35-85-g9622300, will attach a new log.
Comment 4 Austin English 2011-12-20 14:34:51 UTC
Created attachment 38052 [details]
backtrace
Comment 5 Anastasius Focht 2014-03-03 14:56:13 UTC
Hello folks,

it seems the download site has been abandoned (getting 404's now), making the downloader useless.

--- snip ---
$ WINEDEBUG=+tid,+wininet wine ./freejack_downloader.exe &> log2.txt
...
0027:trace:wininet:HTTP_HttpSendRequestW Request header -> L"GET /freejack_patch//fjdl.version HTTP/1.0\r\nAccept: */*\r\nHost: fjpatch.gamerkraft.com\r\nUser-Agent: YDToolsInetSession\r\nConnection: Keep-Alive\r\n\r\n"
0027:trace:wininet:GetAddress L"fjpatch.gamerkraft.com"
0027:trace:wininet:HTTP_ResolveName resolved L"fjpatch.gamerkraft.com" to 107.6.61.242
0027:trace:wininet:open_http_connection connecting to L"fjpatch.gamerkraft.com", proxy (null)
...
0027:trace:wininet:read_line returning "HTTP/1.1 404 Not Found"
0027:trace:wininet:HTTP_GetResponseHeaders version [L"HTTP/1.1"] status code [L"404"] status text [L"Not Found"] 
...
0029:Call user32.MessageBoxA(00010074,00636758 "[E   8] Can not get version information.",0045d37c "Close the program.",00000000) ret=0041bfdb 
--- snip ---

This make this bug report still useful we should take http://source.winehq.org/git/wine.git/commit/c42989ed9a101a59dc186863b7acd0f307649a4a as resolving commit - as Bruno suggested - even if it only partially fixed the bug.

$ sha1sum freejack_downloader.exe 
b38fe56de8d5bfc41078ed02af58201f8fbf4a14  freejack_downloader.exe

$ du -sh freejack_downloader.exe 
1.1M	freejack_downloader.exe

$ wine --version
wine-1.7.13-162-g376953e

Regards
Comment 6 Alexandre Julliard 2014-03-07 14:12:59 UTC
Closing bugs fixed in 1.7.14.


Privacy Policy
If you have a privacy inquiry regarding this site, please write to [email protected]

Hosted By CodeWeavers