[Bug 35009] Hoshizora no Memoria (visual novel) shows "failure to open <invalid path>" dialog after scene change
wine-bugs at winehq.org
wine-bugs at winehq.org
Mon Dec 2 16:10:35 CST 2013
http://bugs.winehq.org/show_bug.cgi?id=35009
Anastasius Focht <focht at gmx.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
CC| |focht at gmx.net
Summary|Hoshizora no Memoria:"falid |Hoshizora no Memoria
|open" Dialog after exit |(visual novel) shows
| |"failure to open <invalid
| |path>" dialog after scene
| |change
Ever Confirmed|0 |1
--- Comment #3 from Anastasius Focht <focht at gmx.net> 2013-12-02 16:10:35 CST ---
Hello folks,
the demo has no installer (just unpack).
You have to use 'LANG=ja_JP.UTF-8' if non-Japanese default locale.
Paths passed to winmm.mmioOpenA() are indeed strange ...
Often an invalid or even garbage path is passed in (letting the first call
fail):
--- snip ---
$ LANG=ja_JP.UTF-8 WINEDEBUG=+tid,+seh,+relay wine ./Memoria.exe >>log.txt 2>&1
...
0024:Call KERNEL32.lstrcpyA(007a864d,005997c8
"Z:/home/focht/Downloads/install") ret=0043cb17
0024:Ret KERNEL32.lstrcpyA() retval=007a864d ret=0043cb17
0024:Call KERNEL32.lstrcatA(007a864d "Z:/home/focht/Downloads/install",00457c04
"/") ret=0043cb25
0024:Ret KERNEL32.lstrcatA() retval=007a864d ret=0043cb25
0024:Call KERNEL32.lstrcatA(007a864d
"Z:/home/focht/Downloads/install/",005bed88
"graph_bs/CHR_\x96\xb2_\x97c\x8f\xad") ret=0043cb29
0024:Ret KERNEL32.lstrcatA() retval=007a864d ret=0043cb29
0024:Call winmm.mmioOpenA(007a864d
"Z:/home/focht/Downloads/install/graph_bs/CHR_\x96\xb2_\x97c\x8f\xad",00000000,00000000)
ret=0043cb34
0024:Call ntdll.RtlAllocateHeap(00110000,00000008,00000058) ret=7e80a7c4
0024:Ret ntdll.RtlAllocateHeap() retval=01a3c4a0 ret=7e80a7c4
0024:Call KERNEL32.OpenFile(007a864d
"Z:/home/focht/Downloads/install/graph_bs/CHR_\x96\xb2_\x97c\x8f\xad",0033f668,00000000)
ret=7e809c94
0024:Ret KERNEL32.OpenFile() retval=ffffffff ret=7e809c94
0024:Call KERNEL32._llseek(ffffffff,00000000,00000001) ret=7e809da5
0024:Ret KERNEL32._llseek() retval=ffffffff ret=7e809da5
0024:Call ntdll.RtlFreeHeap(00110000,00000000,01a3c4a0) ret=7e80a8dd
0024:Ret ntdll.RtlFreeHeap() retval=00000001 ret=7e80a8dd
0024:Ret winmm.mmioOpenA() retval=00000000 ret=0043cb34
...
--- snip ---
Not sure if there is any purpose behind this because another attempt following
the (internal) failure succeeds:
--- snip ---
...
0024:Call KERNEL32.lstrcpyA(007a7938,0033f98c "graph_bs.bin") ret=0043cc39
0024:Ret KERNEL32.lstrcpyA() retval=007a7938 ret=0043cc39
0024:Call KERNEL32.lstrcpyA(007a864d,005997c8
"Z:/home/focht/Downloads/install") ret=0043cc49
0024:Ret KERNEL32.lstrcpyA() retval=007a864d ret=0043cc49
0024:Call KERNEL32.lstrcatA(007a864d "Z:/home/focht/Downloads/install",00457c04
"/") ret=0043cc57
0024:Ret KERNEL32.lstrcatA() retval=007a864d ret=0043cc57
0024:Call KERNEL32.lstrcatA(007a864d
"Z:/home/focht/Downloads/install/",0033f98c "graph_bs.bin") ret=0043cc5f
0024:Ret KERNEL32.lstrcatA() retval=007a864d ret=0043cc5f
0024:Call winmm.mmioOpenA(007a864d
"Z:/home/focht/Downloads/install/graph_bs.bin",00000000,00000000) ret=0043cc6a
0024:Call ntdll.RtlAllocateHeap(00110000,00000008,00000058) ret=7e80a7c4
0024:Ret ntdll.RtlAllocateHeap() retval=01a3c4a0 ret=7e80a7c4
0024:Call KERNEL32.OpenFile(007a864d
"Z:/home/focht/Downloads/install/graph_bs.bin",0033f668,00000000) ret=7e809c94
0024:Ret KERNEL32.OpenFile() retval=00000218 ret=7e809c94
0024:Call KERNEL32._llseek(00000218,00000000,00000001) ret=7e809da5
0024:Ret KERNEL32._llseek() retval=00000000 ret=7e809da5
0024:Call KERNEL32._llseek(00000218,00000000,00000002) ret=7e809d82
0024:Ret KERNEL32._llseek() retval=0545747b ret=7e809d82
0024:Call KERNEL32._llseek(00000218,00000000,00000000) ret=7e809da5
0024:Ret KERNEL32._llseek() retval=00000000 ret=7e809da5
0024:Ret winmm.mmioOpenA() retval=000001b6 ret=0043cc6a
0024:Call winmm.mmioRead(000001b6,007a792c,00000004) ret=0043ccc8
0024:Call KERNEL32._lread(00000218,007a792c,00000004) ret=7e809cf8
0024:Ret KERNEL32._lread() retval=00000004 ret=7e809cf8
0024:Ret winmm.mmioRead() retval=00000004 ret=0043ccc8
0024:Call winmm.mmioRead(000001b6,007a7930,00000004) ret=0043ccd5
0024:Call KERNEL32._lread(00000218,007a7930,00000004) ret=7e809cf8
0024:Ret KERNEL32._lread() retval=00000004 ret=7e809cf8
0024:Ret winmm.mmioRead() retval=00000004 ret=0043ccd5
...
0024:Call winmm.mmioClose(000001b6,00000000) ret=0043cd34
0024:Call KERNEL32._lclose(00000218) ret=7e809cd0
0024:Ret KERNEL32._lclose() retval=00000000 ret=7e809cd0
0024:Call ntdll.RtlFreeHeap(00110000,00000000,01a3c4a0) ret=7e80a8dd
0024:Ret ntdll.RtlFreeHeap() retval=00000001 ret=7e80a8dd
0024:Ret winmm.mmioClose() retval=00000000 ret=0043cd34
--- snip ---
This happens several times during gameplay without any reported
failure/exception.
Prior to the point of exception the scheme is similar.
Point of failure:
--- snip ---
0024:Call user32.wvsprintfA(012cd5d0,00458534
"%s\x82\xcc\x83I\x81[\x83v\x83\x93\x82\xc9\x8e\xb8\x94s\x82\xb5\x82\xdc\x82\xb5\x82\xbd",0033fb9c)
ret=004205a6
0024:Ret user32.wvsprintfA() retval=0000002c ret=004205a6
0024:Call KERNEL32.RaiseException(e06d7363,00000001,00000003,0033fb84)
ret=00442caa
0024:trace:seh:raise_exception code=e06d7363 flags=1 addr=0x7b83a8ef
ip=7b83a8ef tid=0024
0024:trace:seh:raise_exception info[0]=19930520
0024:trace:seh:raise_exception info[1]=0033fbac
0024:trace:seh:raise_exception info[2]=00468404
0024:trace:seh:raise_exception eax=7b826921 ebx=7b8ba000 ecx=19930520
edx=0033fac4 esi=0033fb70 edi=0033fb30
0024:trace:seh:raise_exception ebp=0033fb08 esp=0033faa4 cs=0023 ds=002b
es=002b fs=0063 gs=006b flags=00000283
--- snip ---
Besides this 'second-try' scheme there is no obvious problem in trace log (that
would explain why it bails here).
Did you really verify that the demo runs successfully in Windows (I have no
access to full version)?
$ sha1sum Hoshimemo_Trial.zip
647b9938bac7ad871b19d768f38a82a59a3d24a8 Hoshimemo_Trial.zip
$ du -sh Hoshimemo_Trial.zip
596M Hoshimemo_Trial.zip
$ wine --version
wine-1.7.7-262-g30a3e9c
Regards
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the wine-bugs
mailing list