http://bugs.winehq.org/show_bug.cgi?id=35596
Bug ID: 35596 Summary: ApexDC++ : crash on startup (fixme: FindFirstFileExW) Product: Wine Version: 1.7.12 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: sultanoswing.us@gmail.com Classification: Unclassified
The latest version (1.5.10) of ApexDC++ introduces a number of changes to file sharing, hashing and search changes sync'd from DC++.
It installs fine (including a fresh prefix, set to win XP). But crashes on startup with the following brief terminal message:
fixme:dbghelp:elf_search_auxv can't find symbol in module fixme:file:FindFirstFileExW options not implemented 0x00000000 0x00000001
Reversion back to ApexDC++ 1.5.9 resolves the problem. The developers of ApexDC++ say that this is due to an incomplete or unimplemented API (FindFirstFileExW).
http://bugs.winehq.org/show_bug.cgi?id=35596
--- Comment #1 from Austin English austinenglish@gmail.com --- May be a dupe of bug 35121
http://bugs.winehq.org/show_bug.cgi?id=35596
--- Comment #2 from curtis sultanoswing.us@gmail.com --- Possibly - although in this case it's nothing to do with setting wine to 'win 7' i.e. this was from a new prefix, 64-bit, win xp.
http://bugs.winehq.org/show_bug.cgi?id=35596
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Status|UNCONFIRMED |NEW URL| |http://sourceforge.net/proj | |ects/apexdc/files/ApexDC%2B | |%2B/1.5.10/ApexDC%2B%2B_1.5 | |.10_Slim.7z/download CC| |focht@gmx.net Component|-unknown |kernel32 Summary|ApexDC++ : crash on startup |64-bit ApexDC++ crashes on |(fixme: FindFirstFileExW) |startup | |(GetNumaHighestNodeNumber | |not implemented) Ever confirmed|0 |1
--- Comment #3 from Anastasius Focht focht@gmx.net --- Hello folks,
the crash has nothing to do with FindFirstFileExW() FIXME message. In fact 'FIXME' doesn't automatically mean 'bug' (most users get it wrong).
Relevant part of trace log:
--- snip --- ... 0026:Call KERNEL32.GetNumaHighestNodeNumber(0023f520) ret=1403024cf 0026:fixme:process:GetNumaHighestNodeNumber (0x23f520): stub 0026:Ret KERNEL32.GetNumaHighestNodeNumber() retval=00000000 ret=1403024cf 0026:Call KERNEL32.GetLastError() ret=1403024e2 0026:Ret KERNEL32.GetLastError() retval=00000078 ret=1403024e2 0026:Call ntdll.RtlPcToFileHeader(140476fd8,0023f4d0) ret=1403099bc 0026:Ret ntdll.RtlPcToFileHeader() retval=140000000 ret=1403099bc 0026:Call KERNEL32.RaiseException(e06d7363,00000001,00000004,0023f4a0) ret=1403099fb 0026:trace:seh:raise_exception code=e06d7363 flags=1 addr=0x7b84a147 ip=7b84a147 tid=0026 0026:trace:seh:raise_exception info[0]=0000000019930520 0026:trace:seh:raise_exception info[1]=000000000023f4f0 0026:trace:seh:raise_exception info[2]=0000000140476fd8 0026:trace:seh:raise_exception info[3]=0000000140000000 0026:trace:seh:raise_exception rax=000000000023f280 rbx=0000000140476fd8 rcx=000000000023f280 rdx=0000003157349c5c 0026:trace:seh:raise_exception rsi=000000000023f4a0 rdi=000000000023f2a0 rbp=000000000023f3d0 rsp=000000000023f260 0026:trace:seh:raise_exception r8=0000000000000004 r9=000000000023f4a0 r10=0000000000000000 r11=00000031573807e0 0026:trace:seh:raise_exception r12=0000000000000000 r13=0000000000000001 r14=0000000000000000 r15=0000000000000002 ... --- snip ---
Source: http://source.winehq.org/git/wine.git/blob/7066ce0b1e22bc490bd791fd948bbbb3a...
--- snip --- 3912 BOOL WINAPI GetNumaHighestNodeNumber(PULONG highestnode) 3913 { 3914 FIXME("(%p): stub\n", highestnode); 3915 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 3916 return FALSE; 3917 } --- snip ---
$ sha1sum ApexDC++_1.5.10_Slim.7z 368d85d9db466c36f43fb4e53d36c341a08cfbee ApexDC++_1.5.10_Slim.7z
$ du -sh ApexDC++_1.5.10_Slim.7z 17M ApexDC++_1.5.10_Slim.7z
$ wine --version wine-1.7.12-146-gc4415b2
Regards
http://bugs.winehq.org/show_bug.cgi?id=35596
--- Comment #4 from curtis sultanoswing.us@gmail.com --- It's good there are clever people out there :)
Thanks for the explanation & for looking into the issue through the backtrace!
https://bugs.winehq.org/show_bug.cgi?id=35596
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |p4repwnag3@gmail.com
--- Comment #5 from Anastasius Focht focht@gmx.net --- *** Bug 25848 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=35596
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|64-bit ApexDC++ crashes on |Multiple applications crash |startup |due to |(GetNumaHighestNodeNumber |GetNumaHighestNodeNumber |not implemented) |stub (64-bit ApexDC++, | |CrossFire-Downloader)
--- Comment #6 from Anastasius Focht focht@gmx.net --- Hello folks,
refining summary to collect dupes here.
Regards
https://bugs.winehq.org/show_bug.cgi?id=35596
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |27612
http://bugs.winehq.org/show_bug.cgi?id=35596
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Multiple applications crash |Multiple applications and |due to |games crash due to |GetNumaHighestNodeNumber |GetNumaHighestNodeNumber |stub (64-bit ApexDC++, |stub (64-bit ApexDC++, |CrossFire-Downloader) |CrossFire-Downloader, | |Moorhuhn)
--- Comment #7 from Anastasius Focht focht@gmx.net --- Hello folks,
'Moorhuhn - Juwel der Finsternis' also suffers from this.
Download: http://www.deutschland-spielt.de/spiele/action/moorhuhnjdf/download/
$ sha1sum MoorhuhnJDF.exe 78261297bd6935f015ddc0dcea971f3ac3a10b36 MoorhuhnJDF.exe
$ du -sh MoorhuhnJDF.exe 26M MoorhuhnJDF.exe
$ wine --version wine-1.7.14-126-g2bb1059
I found some MSDN example code here: http://msdn.microsoft.com/en-us/library/windows/desktop/aa965223%28v=vs.85%2...
Returning 'TRUE' with 'HighestNodeNumber' out param set to zero seems to be a viable alternative (= pretend not to be a NUMA system). This allows the apps/games in question to proceed further.
Regards
http://bugs.winehq.org/show_bug.cgi?id=35596
--- Comment #8 from Anastasius Focht focht@gmx.net --- Hello folks,
just for completeness the backtrace for Moorhuhn:
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files/DEUTSCHLAND SPIELT/Moorhuhn-JuwelDerFinsternis
$ WINEDEBUG=+tid,+seh,+relay wine ./MoorhuhnJDF_og.exe >>log.txt 2>&1 ... 0025:Call KERNEL32.CreateProcessA(00000000,0033f594 ""C:\Program Files\OXXOGames\GPlayer\GPlayer.exe" "GameStart" "OxxoBJPhen"",00000000,00000000,00000000,04000020,00000000,0033faa8 "C:\Program Files\OXXOGames\GPlayer\",0033fbac,0033fbf0) ret=004013fb ... 0027:Call KERNEL32.__wine_kernel_init() ret=7bc5a3aa 0025:Ret KERNEL32.CreateProcessA() retval=00000001 ret=004013fb ... 0029:Starting thread proc 0x7bc91225 (arg=0x1653b8) 0027:Call KERNEL32.GetNumaHighestNodeNumber(0033d550) ret=004bf9ba 0027:fixme:process:GetNumaHighestNodeNumber (0x33d550): stub 0027:Ret KERNEL32.GetNumaHighestNodeNumber() retval=00000000 ret=004bf9ba 0027:Call KERNEL32.GetLastError() ret=004bf9c4 0027:Ret KERNEL32.GetLastError() retval=00000078 ret=004bf9c4 0027:Call KERNEL32.RaiseException(e06d7363,00000001,00000003,0033d524) ret=004b85af 0027:trace:seh:raise_exception code=e06d7363 flags=1 addr=0x7b83ab23 ip=7b83ab23 tid=0027 0027:trace:seh:raise_exception info[0]=19930520 0027:trace:seh:raise_exception info[1]=0033d540 0027:trace:seh:raise_exception info[2]=0054d43c 0027:trace:seh:raise_exception eax=7b826b89 ebx=7b8bb000 ecx=19930520 edx=0033d464 esi=0033d508 edi=0033d4d0 0027:trace:seh:raise_exception ebp=0033d4a8 esp=0033d444 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00200283 0027:trace:seh:call_stack_handlers calling handler at 0x50b0e4 code=e06d7363 flags=1 --- snip ---
Regards
https://bugs.winehq.org/show_bug.cgi?id=35596
--- Comment #9 from Austin English austinenglish@gmail.com --- https://source.winehq.org/patches/data/103257
https://bugs.winehq.org/show_bug.cgi?id=35596
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |77bd74fa2515e8babb6cda2653a | |12adad65191dc Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #10 from Austin English austinenglish@gmail.com --- Fixed by https://source.winehq.org/git/wine.git/commitdiff/77bd74fa2515e8babb6cda2653...
https://bugs.winehq.org/show_bug.cgi?id=35596
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #11 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.15.