https://bugs.winehq.org/show_bug.cgi?id=35972
Bug ID: 35972
Summary: Wayward Terran Frontier (.NET 4.0/XNA 4 game) crashes
during creation of initial profile ('The character '?'
(0xef03) is not available in this SpriteFont')
Product: Wine
Version: 1.7.16
Hardware: x86
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: focht(a)gmx.net
Hello folks,
continuation of bug 35444
Prerequisite: 'winetricks -q dotnet40' (XNA 4.0 and managed DirectX will be
automatically installed)
The game crashes during creation of initial profile.
You can skip the launcher and directly start the game.
Not much to see in trace log:
--- snip ---
$ pwd
/home/focht/.wine/drive_c/Program Files/Wayward Terran Frontier/Wayward Terran
Frontier
$ WINEDEBUG=+tid,+seh,+relay wine ./WTF.exe >>log.txt 2>&1
...
003b:Call KERNEL32.CreateFileW(00fcac54 L"C:\\Program Files\\Wayward Terran
Frontier\\Wayward Terran
Frontier\\profiles\\WTF.sav",c0000000,00000001,00000000,00000003,00100000,00000000)
ret=04db5166
003b:Ret KERNEL32.CreateFileW() retval=00000324 ret=04db5166
...
003b:Call KERNEL32.MultiByteToWideChar(0000fde9,00000000,00502f9d
"\x03\n\xec\xb5\xb1\xe6\xa5\xbf\xe7\xbb\x90\xe9\x94\xaa\xe5\x8d\xa6\xe7\x96\x9d\xc2\x97\xef\xb3\x9c",00000019,06f5d034,00000019)
ret=7916cb97
003b:Ret KERNEL32.MultiByteToWideChar() retval=0000000a ret=7916cb97
...
003b:Call KERNEL32.MultiByteToWideChar(0000fde9,00000000,00502f52
"\x03\n\xef\xa1\x8a\xe8\x81\xb1\xe4\xb6\xb3\xee\xbd\xb9\xe1\x83\x94\xe5\x93\xb0\xe0\xa8\x85\xe2\xb2\x8d",0000001a,06f5d034,0000001a)
ret=7916cb97
003b:Ret KERNEL32.MultiByteToWideChar() retval=0000000a ret=7916cb97
...
003b:Call KERNEL32.CreateFileW(00fd4538 L"C:\\Program Files\\Wayward Terran
Frontier\\Wayward Terran Frontier\\profiles\\Starter Ship\\Starter
ShipProfile.tac",80000000,00000001,00000000,00000003,00100000,00000000)
ret=04db5166
003b:Ret KERNEL32.CreateFileW() retval=00000324 ret=04db5166
...
003b:Call KERNEL32.CreateFileW(00fd80bc L"C:\\Program Files\\Wayward Terran
Frontier\\Wayward Terran Frontier\\profiles\\Starter Ship\\Starter
ShipTop.png",80000000,00000001,00000000,00000003,00100000,00000000)
ret=04db5166
003b:Ret KERNEL32.CreateFileW() retval=00000324 ret=04db5166
...
003b:Call KERNEL32.RaiseException(e0434352,00000001,00000005,06f5de28)
ret=791cac08
003b:trace:seh:raise_exception code=e0434352 flags=1 addr=0x7b83ac17
ip=7b83ac17 tid=003b
003b:trace:seh:raise_exception info[0]=80004005
003b:trace:seh:raise_exception info[1]=00000000
003b:trace:seh:raise_exception info[2]=00000000
003b:trace:seh:raise_exception info[3]=00000000
003b:trace:seh:raise_exception info[4]=79140000
003b:trace:seh:raise_exception eax=7b826c7d ebx=7b8bb000 ecx=80004005
edx=06f5dd44 esi=06f5dde4 edi=06f5ddb0
003b:trace:seh:raise_exception ebp=06f5dd88 esp=06f5dd24 cs=0023 ds=002b
es=002b fs=0063 gs=006b flags=00000283
003b:trace:seh:call_vectored_handlers calling handler at 0x791f5a7c
code=e0434352 flags=1
--- snip ---
The managed backtrace (.NET) is more descriptive:
--- snip ---
Unhandled Exception: System.ArgumentException: The character '?' (0xef03) is
not available in this SpriteFont. If applicable, adjust the font's start and
end CharacterRegions to include this character.
Parameter name: character
at Microsoft.Xna.Framework.Graphics.SpriteFont.GetIndexForCharacter(Char
character)
at Microsoft.Xna.Framework.Graphics.SpriteFont.InternalDraw(StringProxy&
text, SpriteBatch spriteBatch, Vector2 textblockPosition, Color color, Single
rotation, Vector2 origin, Vector2& scale, SpriteEffects spriteEffects, Single
depth)
at Microsoft.Xna.Framework.Graphics.SpriteBatch.DrawString(SpriteFont
spriteFont, String text, Vector2 position, Color color, Single rotation,
Vector2 origin, Single scale, SpriteEffects effects, Single layerDepth)
at (Object , SpriteFont , String , Vector2 , Color , Single , Vector2 ,
Single , SpriteEffects , Single )
at ????????.?{??????(Object , SpriteFont ???????U, String ???????U, Vector2
???????U, Color ???????U, Single ???????U, Vector2 ???????U, Single ???????U,
SpriteEffects ???????U, Single ???????U)
at CoOpSpRpG.RootMenu.Draw(GameTime gameTime, SpriteBatch batch)
at CoOpSpRpG.SCREEN_MANAGER.Draw(GameTime gameTime, SpriteBatch batch)
at CoOpSpRpG.Game1.Draw(GameTime gameTime)
at Microsoft.Xna.Framework.Game.DrawFrame()
at Microsoft.Xna.Framework.Game.Tick()
at Microsoft.Xna.Framework.Game.HostIdle(Object sender, EventArgs e)
at Microsoft.Xna.Framework.GameHost.OnIdle()
at Microsoft.Xna.Framework.WindowsGameHost.RunOneFrame()
at Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(Object sender,
EventArgs e)
at
System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32
grfidlef)
at
System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr
dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32
reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32
reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at Microsoft.Xna.Framework.WindowsGameHost.Run()
at Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
at (Object )
at ??o?????.????????(Object )
at CoOpSpRpG.Program.Main(String[] args)
--- snip ---
Starting it a second time (continuing of profile creation) yields:
--- snip ---
Unhandled Exception: System.ArgumentException: The character '?' (0x50d0) is
not available in this SpriteFont. If applicable, adjust the font's start and
end CharacterRegions to include this character.
Parameter name: character
at Microsoft.Xna.Framework.Graphics.SpriteFont.GetIndexForCharacter(Char
character)
--- snip ---
Some hits from searching with:
--- snip ---
"is not available in this SpriteFont. If applicable, adjust the font's start
and end CharacterRegions to include this character"
--- snip ---
https://stackoverflow.com/questions/13243130/how-to-draw-special-characters…
MSDN: http://msdn.microsoft.com/en-us/library/bb447759.aspx ("Sprite Font XML
Schema Reference")
http://steamcommunity.com/app/241600/discussions/1/792924412212989581/ ("Save
not working. Is it end? Game won't start! ")
This might be character string conversion/collation related insufficiencies ...
somewhere.
$ sha1sum WaywardSetup.msi
ad1b0bf88ce284b2c4c36fbb93012b60cb0a673f WaywardSetup.msi
$ du -sh WaywardSetup.msi
8.5M WaywardSetup.msi
$ wine --version
wine-1.7.16-134-g93581f5
Regards
--
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.
https://bugs.winehq.org/show_bug.cgi?id=46189
Bug ID: 46189
Summary: [Bug 46187] Windows PowerShell Core 6.2 Preview 2 for
ARM32 crashes due to ntdll 'set_cpu_context' not
restoring Thumb mode during return from exception
handling
Product: Wine
Version: 3.21
Hardware: arm
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: ntdll
Assignee: wine-bugs(a)winehq.org
Reporter: focht(a)gmx.net
Distribution: ---
Hello folks,
the continuation of bug 46187("Windows PowerShell Core 6.2 Preview 2 for ARM32
crashes due to unhandled trap_no 0 (write watch access causes SIGSEGV)")
Even with trap code 0 properly translated it still crashes.
Debugger session (with fixup for bug #46187 applied).
--- snip ---
$ gdb wine
GNU gdb (GDB) 8.2
...
Reading symbols from wine...done.
(gdb) run pwsh.exe
Starting program: /home/focht/projects/wine/mainline-install-arm/bin/wine
pwsh.exe
...
Thread 1 "pwsh.exe" hit Breakpoint 1, virtual_handle_fault (addr=0xf3ce0000,
err=1, on_signal_stack=0) at
/home/focht/projects/wine/mainline-src/dlls/ntdll/virtual.c:2010
2010 NTSTATUS ret = STATUS_ACCESS_VIOLATION;
(gdb) bt
#0 virtual_handle_fault (addr=0xf3ce0000, err=1, on_signal_stack=0) at
/home/focht/projects/wine/mainline-src/dlls/ntdll/virtual.c:2010
#1 0xf7c612ec in raise_segv_exception (rec=0xf73ce9f8, context=0xf73ce858) at
/home/focht/projects/wine/mainline-src/dlls/ntdll/signal_arm.c:574
#2 0xf7c61152 in raise_func_trampoline_thumb () at
/home/focht/projects/wine/mainline-src/dlls/ntdll/signal_arm.c:508
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb) info locals
ret = 0xc0000005
page = 0xf3ce0000
sigset = {__val = {0x0, 0x0, 0xf7c61150, 0x600f0030, 0xf3ce0000, 0x0, 0x0,
0xf3ce0000, 0xf7ccdd34, 0xa0000, 0xffffffff, 0xf6d4a5e4, 0xf7ddf7a9,
0xf73ce82c, 0xf7c7f6c0, 0x0, 0x1,
0x11000, 0xf3ce0000, 0x43, 0x1, 0xf73ce834, 0xf7c7fd20, 0xffffffff, 0xa5e4,
0x11000, 0xf3ce0000, 0xb0000, 0x1, 0x1, 0xf3ce0000, 0x11}}
vprot = 0x63
...
(gdb) n
2027 set_page_vprot_bits( page, page_size, 0, VPROT_WRITEWATCH
);
(gdb) n
2028 mprotect_range( page, page_size, 0, 0 );
(gdb) n
2031 if (VIRTUAL_GetUnixProt( get_page_vprot( page )) & PROT_WRITE)
(gdb) n
2033 if ((vprot & VPROT_WRITEWATCH) || is_write_watch_range(
page, page_size ))
(gdb) n
2034 ret = STATUS_SUCCESS;
...
--- snip ---
The problem is the way Wine restores the context on ARM32 via
'set_cpu_context':
--- snip ---
Dump of assembler code for function set_cpu_context:
0xf7c605c0 <+0>: ldr r1, [r0, #68] ; 0x44
=> 0xf7c605c4 <+4>: msr CPSR_f, r1
0xf7c605c8 <+8>: ldr r1, [r0, #64] ; 0x40
0xf7c605cc <+12>: ldr lr, [r0, #60] ; 0x3c
0xf7c605d0 <+16>: ldr sp, [r0, #56] ; 0x38
0xf7c605d4 <+20>: push {r1} ; (str r1, [sp, #-4]!)
0xf7c605d8 <+24>: ldmib r0, {r0, r1, r2, r3, r4, r5, r6, r7, r8, r9,
r10, r11, r12}
0xf7c605dc <+28>: pop {pc} ; (ldr pc, [sp], #4)
(gdb) info reg
r0 0xf73ce858 0xf73ce858
r1 0x602f0030 0x602f0030
r2 0x0 0x0
r3 0x0 0x0
r4 0xf74baee0 0xf74baee0
r5 0x90068 0x90068
r6 0x0 0x0
r7 0xf6d4a5e4 0xf6d4a5e4
r8 0xf3ce0000 0xf3ce0000
r9 0xf6e78500 0xf6e78500
r10 0xf6d51268 0xf6d51268
r11 0xf73ce854 0xf73ce854
r12 0xaf 0xaf
sp 0xf73ce840 0xf73ce840
lr 0xf7c61350 0xf7c61350
pc 0xf7c605c4 0xf7c605c4 <set_cpu_context+4>
cpsr 0x600f0010 0x600f0010
Unable to fetch SVE register header: Invalid argument.
--- snip ---
CPSR = 0x600f0010 = Wine ARM32 mode
R1 = old CPSR before fault = 0x602f0030 = app code in Thumb mode
Wine -> CPSR_f = only flag bits set (execution state/control bits can't be set
explicitly in USR mode by design, no USR SPSR_xxx).
--- snip ---
(gdb) disas
Dump of assembler code for function set_cpu_context:
0xf7c605c0 <+0>: ldr r1, [r0, #68] ; 0x44
0xf7c605c4 <+4>: msr CPSR_f, r1
0xf7c605c8 <+8>: ldr r1, [r0, #64] ; 0x40
0xf7c605cc <+12>: ldr lr, [r0, #60] ; 0x3c
0xf7c605d0 <+16>: ldr sp, [r0, #56] ; 0x38
0xf7c605d4 <+20>: push {r1} ; (str r1, [sp, #-4]!)
0xf7c605d8 <+24>: ldmib r0, {r0, r1, r2, r3, r4, r5, r6, r7, r8, r9,
r10, r11, r12}
=> 0xf7c605dc <+28>: pop {pc} ; (ldr pc, [sp], #4)
End of assembler dump.
(gdb) si
0xf6c5160c in ?? ()
(gdb) info reg
r0 0xf3ce0020 0xf3ce0020
r1 0xf73ce944 0xf73ce944
r2 0x11000 0x11000
r3 0xf3d90000 0xf3d90000
r4 0xf74baee0 0xf74baee0
r5 0x90068 0x90068
r6 0x0 0x0
r7 0xf6d4a5e4 0xf6d4a5e4
r8 0xf3ce0000 0xf3ce0000
r9 0xf6e78500 0xf6e78500
r10 0xf6d51268 0xf6d51268
r11 0xf73ceaa0 0xf73ceaa0
r12 0xaf 0xaf
sp 0xf73cea48 0xf73cea48
lr 0xf7ddf7a9 0xf7ddf7a9
pc 0xf6c5160c 0xf6c5160c
cpsr 0x600f0010 0x600f0010
Unable to fetch SVE register header: Invalid argument.
(gdb) set arm fallback-mode thumb
(gdb) x/10i $pc
=> 0xf6c5160c: strd r6, r3, [r0, #-32]
0xf6c51610: ldr r3, [sp, #36] ; 0x24
0xf6c51612: ldr r4, [sp, #44] ; 0x2c
0xf6c51614: str.w r3, [r0, #-24]
0xf6c51618: ldr r3, [sp, #40] ; 0x28
0xf6c5161a: add.w r3, r0, r3, lsl #2
0xf6c5161e: str.w r3, [r0, #-20]
0xf6c51622: strd r5, r6, [r0, #-8]
0xf6c51626: ldr.w r3, [r0, #-20]
0xf6c5162a: add.w r3, r3, r4, lsl #1
(gdb) si
0xf6c51610 in ?? ()
(gdb) info reg
r0 0xf3ce0020 4090363936
r1 0xf73ce944 4147964228
r2 0x11000 69632
r3 0xf3d90000 4091084800
r4 0xf74baee0 4148932320
r5 0x90068 589928
r6 0x0 0
r7 0xf6d4a5e4 4141131236
r8 0xf3ce0000 4090363904
r9 0xf6e78500 4142368000
r10 0xf6d51268 4141159016
r11 0xf73ceaa0 4147964576
r12 0xaf 175
sp 0xf73cea48 0xf73cea48
lr 0xf7ddf7a9 -136448087
pc 0xf6c51610 0xf6c51610
cpsr 0x600f0010 1611595792
Unable to fetch SVE register header: Invalid argument.
(gdb) si
0xf6c51614 in ?? ()
(gdb) si
0xf6c51618 in ?? ()
(gdb) si
0xf6c78248 in ?? ()
(gdb) si
Thread 1 "pwsh.exe" received signal SIGILL, Illegal instruction.
0xf6c78248 in ?? ()
--- snip ---
Wine source:
https://source.winehq.org/git/wine.git/blob/HEAD:/dlls/ntdll/signal_arm.c#l…
--- snip ---
283 void DECLSPEC_HIDDEN set_cpu_context( const CONTEXT *context );
284 __ASM_GLOBAL_FUNC( set_cpu_context,
285 ".arm\n\t"
286 "ldr r1, [r0, #0x44]\n\t" /* context->Cpsr */
287 "msr CPSR_f, r1\n\t"
288 "ldr r1, [r0, #0x40]\n\t" /* context->Pc */
289 "ldr lr, [r0, #0x3c]\n\t" /* context->Lr */
290 "ldr sp, [r0, #0x38]\n\t" /* context->Sp */
291 "push {r1}\n\t"
292 "ldmib r0, {r0-r12}\n\t" /* context->R0..R12 */
293 "pop {pc}" )
--- snip ---
Well, that's an unfortunate combination of things here. The app binaries
contain a mix of 16-bit Thumb and 32-bit Thumb(2) instructions. Thumb-2
instruction set is the default for Windows on ARM per convention.
https://msdn.microsoft.com/en-us/library/dn736986.aspx)
--- quote ---
The instruction set for Windows on ARM is strictly limited to Thumb-2. All code
executed on this platform is expected to start and remain in Thumb mode at all
times. An attempt to switch into the legacy ARM instruction set may succeed,
but if it does, any exceptions or interrupts that occur may lead to an
application fault in user mode, or a bugcheck in kernel mode.
A side-effect of this requirement is that all code pointers must have the low
bit set. This is so that when they are loaded and branched to via BLX or BX,
the processor will remain in Thumb mode and not try to execute the target code
as 32-bit ARM instructions.
--- quote ---
The write-watch fault is caused by an instruction that has 32-bit encoding
(Thumb2), located at 0xf6c5160c -> bits[1:0] of the address = 0b00.
Due to the segfault handling, the mode is switched to ARM (there are also
explicit '.arm' directives in Wine code) -> CPSR 'T' bit gone.
Wine's 'set_cpu_context' uses 'pop {pc}' to return to the faulting instruction
for re-execution after write-watch has been reset. The instruction behaviour is
defined by ARM:
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0588b/Babefb…
--- quote ---
== POP, with reglist including the PC
This instruction causes a branch to the address popped off the stack into the
PC. This is usually a return from a subroutine, where the LR was pushed onto
the stack at the start of the subroutine.
In ARMv5T and above:
bits[1:0] must not be 0b10
if bit[0] is 1, execution continues in Thumb state
if bit[0] is 0, execution continues in ARM state.
In ARMv4, bits[1:0] of the address loaded must be 0b00.
== Thumb instructions
A subset of these instructions are available in the Thumb instruction set.
The following restrictions apply to the 16-bit instructions:
For PUSH, reglist can only include the Lo registers and the LR
For POP, reglist can only include the Lo registers and the PC.
The following restrictions apply to the 32-bit instructions:
reglist must not include the SP
For PUSH, reglist must not include the PC
For POP, reglist can include either the LR or the PC, but not both.
== Restrictions on reglist in ARM instructions
ARM PUSH instructions can have SP and PC in the reglist but these instructions
that include SP or PC in the reglist are deprecated in ARMv6T2 and above.
ARM POP instructions cannot have SP but can have PC in the reglist. These
instructions that include both PC and LR in the reglist are deprecated in
ARMv6T2 and above.
--- quote ---
Since I run the whole target under QEMU aarch64 system emulation I double
checked that part too. Qemu behaves correctly, not switching from ARM to Thumb
mode because bits[1:0] of the address = 0b00.
https://github.com/qemu/qemu/blob/master/target/arm/translate.c#L225
--- snip ---
/* Set a CPU register. The source must be a temporary and will be
marked as dead. */
static void store_reg(DisasContext *s, int reg, TCGv_i32 var)
{
if (reg == 15) {
/* In Thumb mode, we must ignore bit 0.
* In ARM mode, for ARMv4 and ARMv5, it is UNPREDICTABLE if bits [1:0]
* are not 0b00, but for ARMv6 and above, we must ignore bits [1:0].
* We choose to ignore [1:0] in ARM mode for all architecture versions.
*/
tcg_gen_andi_i32(var, var, s->thumb ? ~1 : ~3);
s->base.is_jmp = DISAS_JUMP;
}
tcg_gen_mov_i32(cpu_R[reg], var);
tcg_temp_free_i32(var);
}
--- snip ---
Due to Wine's cpu context helper not restoring Thumb mode properly, execution
is incorrectly resumed in ARM mode, leading to crash shortly after.
Any Wine ARM32-specific assembly code/wrappers that pass control directly to
app code, bypassing the compiler's ARM-Thumb interworking, has to make sure
that it restores thumb mode properly.
$ sha1sum PowerShell-6.2.0-preview.2-win-arm32.zip
b77b87906514e802c03c84fcb72ce39f925c3b41
PowerShell-6.2.0-preview.2-win-arm32.zip
$ du -sh PowerShell-6.2.0-preview.2-win-arm32.zip
40M PowerShell-6.2.0-preview.2-win-arm32.zip
Regards
--
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.
http://bugs.winehq.org/show_bug.cgi?id=10467
Summary: Making Microsoft .NET 2.0 to work in wine, based on
example app FastMD5 1.4 for NET 2.0
Product: Wine
Version: CVS/GIT
Platform: PC
URL: http://www.paehl.de/english.php
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: wine-dotnet
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: focht(a)gmx.net
Hello,
this bug id exists for the sole purpose of showing my little journey of getting
.NET 2.0 to work in wine.
This topic does *NOT* cover the MONO project in any way.
The windows version of MONO is covered by other bug reports.
DISCLAIMER: This is just a first step which aims at major show stoppers.
There are *many* issues left when it comes to managed (JIT) vs. unmanaged
(native) API code bridging.
To iron out all the bugs, many different applications are needed which cover
the whole range of .NET Framework.
I randomly chose a simple .NET 2.0 app which uses plain system.windows.forms
stuff (no fancy controls/interop).
--- snip ---
http://www.paehl.de/fastmd5_net20.zip
FASTMD5 create very fast with low CPU use a MD5 hash. Required .NET 1.1 or 2.0
--- snip ---
Just as foreword: yes, it plain sucks to debug mixed code in wine (managed +
unmanaged) because the tools required don't work reliable (or at all) due to
several wine bugs/design problems.
Prerequisite: successful installation of .NET 2.0 Framework and wine-0.9.49 (or
GIT)
----------
If you start .NET apps they will fail with stack overflows and some exceptions
thrown.
The exception type tells us what we are dealing with: 0xe0434f4d
For the uninitiated: this an exception type exclusively thrown by .NET common
language runtime (CLR).
Using my specially hacked wine to run tools like windbg one can get a raw
estimate by looking at native method callstack:
--- snip ---
0:000> sxe clr
..
0:000> .load clr20\sos.dll
..
0:000> g
..
0:000> kb
ChildEBP RetAddr Args to Child
WARNING: Stack unwind information not available. Following frames may be wrong.
0034efb8 79f97065 e0434f4d 00000001 00000001 KERNEL32!RaiseException+0x78
0034f018 7a0945a4 00a11cb4 00000000 00000000
mscorwks!RaiseTheExceptionInternalOnly+0x226
0034f0dc 02fa364b 00000000 0000007f 0034f138 mscorwks!JIT_Throw+0xd0
0034f1d8 79e88f63 00000000 0012e0f8 0034f22c 0x2fa364b
0034f1f8 79e88f63 00000000 00000000 0016b200 mscorwks!CallDescrWorker+0x33
0034f210 79e88ee4 0034f2e8 00000002 0034f2b0 mscorwks!CallDescrWorker+0x33
..
--- snip ---
JIT code is at 0x2fa364b which transfers managed exceptions using
mscorwks!JIT_Throw() to native code/OS.
Lets look at CLR exception info...
--- snip ---
0:000> !PrintException
Exception object: 00a11cb4
Exception type: System.TypeInitializationException
Message: The type initializer for 'System.Globalization.TextInfo' threw an
exception.
InnerException: <none>
StackTrace (generated):
<none>
StackTraceString: <none>
HResult: 80131534
--- snip ---
And the managed code callstack...
--- snip ---
0:000> !ClrStack
OS Thread Id: 0xf (0)
ESP EIP
0034f040 7b8414d8 [HelperMethodFrame: 0034f040]
0034f0e4 02fa364b System.Globalization.TextInfo.GetNativeTextInfo(Int32)
0034f114 02fa3511 System.Globalization.TextInfo.get_InvariantNativeTextInfo()
0034f140 02fa193d System.String.Compare(System.String, Int32, System.String,
Int32, Int32, System.StringComparison)
0034f16c 02fa15a1
System.Security.Util.URLString.PreProcessForExtendedPathRemoval(System.String,
Boolean)
0034f184 02fa10b0 System.AppDomainSetup.NormalizePath(System.String, Boolean)
0034f1a4 02fa06d6
System.AppDomainSetup.SetupDefaultApplicationBase(System.String)
0034f1bc 02fa02cc System.AppDomain.SetupFusionStore(System.AppDomainSetup)
0034f1d4 02fa01fa System.AppDomain.SetupDomain(Boolean, System.String,
System.String)
0034f42c 79e88f63 [GCFrame: 0034f42c]
0034f9e0 79e88f63 [DebuggerClassInitMarkFrame: 0034f9e0]
--- snip ---
Some native method call in GetNativeTextInfo() seems to be the culprit.
For many (string) resource based stuff to work, a unicode OS casing table is
required.
The table for the invariant version is built from external .NLS file.
To make story short: wine does not ship the default case mapping table for
unicode characters: "l_intl.nls".
This is a "must" requirement and failure results in early
TypeInitializationException while setting up default application domain.
Short fix: copy the file from your windows system32 directory to wine system32.
Long run fix: let wine generate/install this file. Not a big deal.
Now simple .NET _console_ based apps (like "Hello World") will work.
---------------------------------------
Stay tuned, more goodies to come ...
Regards
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45333
Bug ID: 45333
Summary: Failed to install Microsoft .NET 4.7.2
Product: Wine
Version: 3.0.1
Hardware: x86-64
OS: Mac OS X
Status: UNCONFIRMED
Severity: critical
Priority: P2
Component: msi
Assignee: wine-bugs(a)winehq.org
Reporter: gtsasamori(a)gmail.com
Created attachment 61620
--> https://bugs.winehq.org/attachment.cgi?id=61620
log file
$ wine NDP472-DevPack-ENU.exe
[. . . ]
00bc:err:msi:create_temp_binary failed to load dll
L"C:\\users\\gts\\Temp\\msi164f.tmp" (193)
00cd:err:msi:ACTION_CallDllFunction failed to load dll
L"C:\\users\\gts\\Temp\\msi164f.tmp" (193)
00ca:err:msi:ACTION_CallDllFunction failed to load dll
L"C:\\users\\gts\\Temp\\msi164f.tmp" (193)
00bc:err:msi:create_temp_binary failed to load dll
L"C:\\users\\gts\\Temp\\msi389c.tmp" (193)
00d9:err:msi:ACTION_CallDllFunction failed to load dll
L"C:\\users\\gts\\Temp\\msi389c.tmp" (193)
00bc:fixme:service:EnumDependentServicesW 0x18a5eb8 0x00000001 0x0 0x00000000
0xb6f668 0xb6f664 - stub
00bc:fixme:msi:ACTION_CustomAction msidbCustomActionTypeTSAware not handled
00bc:fixme:msi:ACTION_CustomAction msidbCustomActionTypeTSAware not handled
--
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.
https://bugs.winehq.org/show_bug.cgi?id=44975
Bug ID: 44975
Summary: Multiple applications need 'find.exe' command line
tool (ConEmu)
Product: Wine
Version: 3.6
Hardware: x86-64
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: programs
Assignee: wine-bugs(a)winehq.org
Reporter: focht(a)gmx.net
Distribution: ---
Hello folks,
as it says, encountered with 'ConEmu' build 180409.
Separated from bug 31519 which is now about providing 'fc.exe' (file compare)
tool.
--- snip ---
$ pwd
/home/focht/.wine/drive_c/Program Files/ConEmu
$ WINEDEBUG=+seh,+relay wine ./ConEmu.exe >>log.txt 2>&1
...
006e:Call KERNEL32.CreateProcessW(00329a88
L"C:\\windows\\system32\\cmd.EXE",0014e080 L"cmd /d /c ver
",00000000,00000000,00000001,00000000,00000000,00000000,00329a44,00329f48)
ret=7e13009e
...
006e:Ret KERNEL32.CreateProcessW() retval=00000001 ret=7e13009e
...
0062:Call
gdi32.ExtTextOutW(003d003f,00000000,00000010,00000000,00000000,00150b60 L"Can't
recognize '\"C:\\windows\\system32\\find.exe\" \"Windows\"' as an internal or
external command, or batch
script.\00d4\ffff\00ff\d0c8\00d4\d0c8\00d4\ffff\00ff\d0c8\00d4\ffff\00ff\d0c8\00d4\ffff\00ff\d0c8\00d4\ffff\00ffy",0000006f,00145960)
ret=7ec8ea0d
--- snip ---
The relevant part of batch file:
--- snip ---
...
rem Simple "ver" prints empty line before Windows version
rem Use this construction to print just a version info
cmd /d /c ver | "%windir%\system32\find.exe" "Windows"
...
--- snip ---
Command line usage: https://ss64.com/nt/find.html
$ sha1sum ConEmuSetup.180409.exe
5b8b0e78789027841f5312e132101408b292996c ConEmuSetup.180409.exe
$ du -sh ConEmuSetup.180409.exe
6.3M ConEmuSetup.180409.exe
$ wine --version
wine-3.6
Regards
--
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.
https://bugs.winehq.org/show_bug.cgi?id=45449
Bug ID: 45449
Summary: Add diagnostic 'mscoree.dll.CorGetSvc' stub (NGEN
client) to hint at broken Microsoft .NET Frameworks
installation (Wine-Mono not uninstalled and
'mscoree.dll' placeholders not removed prior install)
Product: Wine
Version: 3.12
Hardware: x86-64
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: mscoree
Assignee: wine-bugs(a)winehq.org
Reporter: focht(a)gmx.net
Distribution: ---
Hello folks,
continuation of bug 45333 (diagnostics for the NGEN server side).
The client side 'ngen.exe' calls unimplemented 'mscoree.dll.CorGetSvc'.
NOTE: MSI (CA) server is currently broken/regressed for 64-bit WINEPREFIXes, so
a broken .NET installation can't be tested there.
Prepare a broken 32-bit WINEPREFIX:
--- snip ---
$ wineserver -k
$ rm -rf .wine
$ export WINEARCH=win32
$ wineboot
$ wine uninstaller --list
{BB9BDB97-C247-4F20-B710-8B6765F67105}|||Wine Gecko (32-bit)
{E45D8920-A758-4088-B6C6-31DBB276992E}|||Wine Mono
$ wine uninstaller --remove {E45D8920-A758-4088-B6C6-31DBB276992E}
# to be really sure 'mscoree.dll' won't get updated -> keeps Wine's placeholder
$ winetricks win7
# run .NET 4.0 installer without 'winetricks'
$ wine ./dotNetFx40_Full_x86_x64.exe
...
# really check if placeholder is still there
$ winedump .wine/drive_c/windows/system32/mscoree.dll
Contents of .wine/drive_c/windows/system32/mscoree.dll: 5236 bytes
*** This is a Wine fake DLL ***
File Header
Machine: 014C (i386)
Number of Sections: 3
TimeDateStamp: 00000000 (Thu Jan 1 01:00:00 1970) offset 104
PointerToSymbolTable: 00000000
NumberOfSymbols: 00000000
SizeOfOptionalHeader: 00E0
Characteristics: 2022
EXECUTABLE_IMAGE
LARGE_ADDRESS_AWARE
DLL
...
--- snip ---
Test by trigger .NET GAC update:
--- snip ---
$ wine "c:\\windows\\Microsoft.NET\\Framework\\v4.0.30319\\ngen.exe" update
0012:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
0012:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
0016:fixme:service:svcctl_ChangeServiceConfig2W SERVICE_CONFIG_FAILURE_ACTIONS
not implemented: period 86400 msg (null) cmd (null)
0019:fixme:process:SetProcessShutdownParameters (00000380, 00000000): partial
stub.
0019:err:winediag:CorIsLatestSvc If this function is called, it is likely the
result of a broken .NET installation
0019:fixme:advapi:RegisterEventSourceW ((null),L".NET Runtime Optimization
Service"): stub
0019:fixme:advapi:ReportEventW
(0xcafe4242,0x0001,0x0000,0x0000044f,(nil),0x0001,0x00000000,0x76f9d0,(nil)):
stub
0019:err:eventlog:ReportEventW L".NET Runtime Optimization Service
(clr_optimization_v4.0.30319_32) - Tried to start a service that wasn't the
latest version of CLR Optimization service. Will shutdown\n"
0019:fixme:advapi:DeregisterEventSource (0xcafe4242) stub
0009:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
0009:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
wine: Call from 0x7b447132 to unimplemented function mscoree.dll.CorGetSvc,
aborting
Unknown exception
--- snip ---
That one is actually documented:
https://github.com/dotnet/coreclr/blob/master/src/inc/mscorsvc.idl#L21
--- snip ---
#pragma midl_echo("STDAPI CorGetSvc(IUnknown **pIUnknown);")
--- snip ---
With a stub added, returning default 'CLR_E_SHIM_RUNTIMEEXPORT':
--- snip ---
0009:Call mscoree.CorGetSvc(0033f9f8) ret=1000df20
0009:fixme:mscoree:CorGetSvc stub(0x33f9f8)!
0009:Ret mscoree.CorGetSvc() retval=80131701 ret=1000df20
0009:Call KERNEL32.GetLastError() ret=1000f4c7
0009:Ret KERNEL32.GetLastError() retval=000000b7 ret=1000f4c7
...
0009:Call KERNEL32.GetLastError() ret=1000f417
0009:Ret KERNEL32.GetLastError() retval=000000b7 ret=1000f417
...
0009:Call KERNEL32.RaiseException(e06d7363,00000001,00000003,0033f9a4)
ret=79084c0f
0009:trace:seh:raise_exception code=e06d7363 flags=1 addr=0x7b446fe6
ip=7b446fe6 tid=0009
0009:trace:seh:raise_exception info[0]=19930520
0009:trace:seh:raise_exception info[1]=0033f9e4
0009:trace:seh:raise_exception info[2]=1001a760
0009:trace:seh:raise_exception eax=7b4356b1 ebx=00000000 ecx=00000000
edx=0033f990 esi=0033f990 edi=0033f950
0009:trace:seh:raise_exception ebp=0033f928 esp=0033f8c4 cs=330023 ds=33002b
es=f7bc002b fs=f7bc0063 gs=f7bc006b flags=00000212
0009:trace:seh:call_stack_handlers calling handler at 0x10018276 code=e06d7363
flags=1
...
Failed to find a required export in the runtime. (Exception from HRESULT:
0x80131701)
...
--- snip ---
$ wine --version
wine-3.12-110-g414fe80aeb
Regards
--
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.
http://bugs.winehq.org/show_bug.cgi?id=30075
Bug #: 30075
Summary: Microsoft .NET Framework 4.5 Developer Preview CLR
needs kernel32.dll WerRegisterRuntimeExceptionModule
(returning S_OK) to run .NET apps
Product: Wine
Version: 1.4-rc6
Platform: x86
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: focht(a)gmx.net
Classification: Unclassified
Hello,
after upgrading an existing .NET Framework 4.0 WINEPREFIX with .NET Framework
4.5 (dev preview) some simple apps that previously worked failed to run.
I created a simple C# based .NET "hello world" console app using the provided
C# compiler (csc.exe) in .NET 4.0 prefix and it fails to execute after .NET 4.5
CLR upgrade:
--- snip ---
002b:Starting process
L"C:\\windows\\Microsoft.NET\\Framework\\v4.0.30319\\hello.exe"
(entryproc=0x40233e)
...
002b:Call KERNEL32.GetModuleHandleW(007f8424 L"kernel32.dll") ret=008378ea
002b:Ret KERNEL32.GetModuleHandleW() retval=7b810000 ret=008378ea
002b:Call KERNEL32.GetProcAddress(7b810000,00837968
"WerRegisterRuntimeExceptionModule") ret=008378fe
002b:Ret KERNEL32.GetProcAddress() retval=00000000 ret=008378fe
...
002b:Call KERNEL32.LoadLibraryExW(0032f944
L"C:\\windows\\Microsoft.NET\\Framework\\v4.0.30319\\mscorrc.dll",00000000,00000002)
ret=008e1f58
002b:Ret KERNEL32.LoadLibraryExW() retval=00f00001 ret=008e1f58
...
002b:Call user32.MessageBoxW(00000000,0032fa20 L"CLR error: 80004005.\n The
program will now terminate.",0032f3f0 L"hello.exe - Fatal error",00002010)
ret=00ace3f9
...
--- snip ---
It seems there is an improved integration of error reporting with WER.
MSDN:
http://msdn.microsoft.com/en-us/library/windows/desktop/dd408167%28v=vs.85%…
Adding a stub returning E_NOTIMPL doesn't make the CLR happy:
--- snip ---
002b:Call KERNEL32.GetModuleHandleW(007f8424 L"kernel32.dll") ret=008378ea
002b:Ret KERNEL32.GetModuleHandleW() retval=7b810000 ret=008378ea
002b:Call KERNEL32.GetProcAddress(7b810000,00837968
"WerRegisterRuntimeExceptionModule") ret=008378fe
002b:Ret KERNEL32.GetProcAddress() retval=7b825418 ret=008378fe
002b:Call KERNEL32.WerRegisterRuntimeExceptionModule(0032f88c
L"C:\\windows\\Microsoft.NET\\Framework\\v4.0.30319\\mscordacwks.dll",00740000)
ret=00837915
002b:fixme:wer:WerRegisterRuntimeExceptionModule
(L"C:\\windows\\Microsoft.NET\\Framework\\v4.0.30319\\mscordacwks.dll",
0x740000) stub!
002b:Ret KERNEL32.WerRegisterRuntimeExceptionModule() retval=80004001
ret=00837915
...
002b:Call user32.MessageBoxW(00000000,0032fa20 L"CLR error: 80004005.\n The
program will now terminate.",0032f3f0 L"hello.exe - Fatal error",00002010)
ret=00ace3f9
--- snip ---
You have to return S_OK to please the CLR.
With that change "hello world" runs again. Yay!
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.
http://bugs.winehq.org/show_bug.cgi?id=15437
Summary: Company of Heroes Opposing Fronts: Installer fails
Product: Wine
Version: 1.1.5
Platform: PC-x86-64
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: xvachon(a)gmail.com
Created an attachment (id=16303)
--> (http://bugs.winehq.org/attachment.cgi?id=16303)
log
Installation of the game is not possible. Exception EAccessViolation error in
module GameInst.exe happens. According to test data the game had to be
installed from a Windows installation in order to be played. A log is attached.
--
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.
http://bugs.winehq.org/show_bug.cgi?id=30072
Bug #: 30072
Summary: Microsoft .NET Framework 4.5 Developer Preview
installer needs some wevtapi.dll stubs
(EvtOpenChannelConfig, ...)
Product: Wine
Version: 1.4-rc6
Platform: x86
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: focht(a)gmx.net
Classification: Unclassified
Hello,
continuation of bug 29742
After a stub "wevtapi" dll is provided the installer still crashes.
A stub is needed for the following event API functions:
EvtOpenChannelConfig
EvtGetChannelConfigProperty
EvtSetChannelConfigProperty
EvtSubscribe
With these stubs in place the installer doesn't crash and continues.
winecfg -> "Windows 7"
--- snip ---
$ WINEDEBUG=+tid,+loaddll,+wevtapi wine dotNetFx45_Full_x86_x64.exe /q
...
0015:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\wuapi.dll"
at 0xf7180000: builtin
000f:trace:loaddll:load_builtin_dll Loaded
L"C:\\windows\\system32\\rstrtmgr.dll" at 0xf75f0000: builtin
001d:trace:loaddll:load_builtin_dll Loaded
L"C:\\windows\\system32\\wevtapi.dll" at 0xf7340000: builtin
001d:trace:wevtapi:DllMain (0x0xf7340000, 1, (nil))
001d:fixme:wevtapi:EvtOpenChannelConfig stub((nil),
L"Microsoft-Windows-CAPI2/Operational", 0)
001d:fixme:wevtapi:EvtGetChannelConfigProperty stub((nil), 0, 0, 16, 0x61c254,
0x61c270)
001d:fixme:wevtapi:EvtSetChannelConfigProperty stub((nil), 0, 0, 0x61c24c)
001d:fixme:wevtapi:EvtSubscribe stub((nil), 0x80,
L"Microsoft-Windows-CAPI2/Operational", (null), (nil), (nil), (nil), 1)
...
--- snip ---
$ sha1sum dotNetFx45_Full_x86_x64.exe
e3ffcb31565ebee65cc95c93db7d11eee2055d68 dotNetFx45_Full_x86_x64.exe
$ wine --version
wine-1.4-rc6-1-ge11565b
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.
http://bugs.winehq.org/show_bug.cgi?id=30074
Bug #: 30074
Summary: Microsoft .NET Framework 4.5 Developer Preview
installer needs stub wusa.exe
Product: Wine
Version: 1.4-rc6
Platform: x86
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: focht(a)gmx.net
Classification: Unclassified
Hello,
continuation of bug 30072
The installer now aborts due to missing "wusa.exe" executable.
I didn't find any installer on MS downloads that contains this standalone
component (only updates).
With a stub executable provided the installer is happy:
--- snip ---
$ WINEDEBUG=+tid,+wusa wine ./dotNetFx45_Full_x86_x64.exe -q
...
fixme:wusa:wmain stub: L"wusa.exe"
L"C:\\711ec06a13d5ed1f9b3e\\Windows6.1-KB958488-v6001-x86.msu" L"/quiet"
L"/norestart"
...
--- snip ---
At least the .NET Framework 4.5 installation finishes without further critical
error in basic ui or silent mode.
Although .NET Framework 4.5 is an update of .NET Framework 4.0, no previous
install of .NET Framework 4.0 is required (winetricks -q dotnet40).
One problem will turn up later: mscoree.dll is still builtin (Mono
placeholder/fake) which will prevent from loading CLR.
Actually this component gets updated through
"Windows6.1-KB958488-v6001-x86.msu" (Microsoft .NET Framework 4.0 Shared ->
KB958488) Windows6.1-KB958488-x86.cab.
Due to wusa.exe stub this update is skipped.
Maybe a winetricks recipe will take care of that in future (manually
extracting/unpacking the missing dlls from msu).
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.
https://bugs.winehq.org/show_bug.cgi?id=39402
Bug ID: 39402
Summary: Lost Planet 2 Benchmark crashes at launch due to
missing audio format conversion
(IXAudio2Impl_CreateSourceVoice)
Product: Wine
Version: 1.7.52
Hardware: x86-64
URL: http://www.geforce.com/games-applications/pc-games/los
t-planet-2
OS: Linux
Status: NEW
Keywords: download
Severity: normal
Priority: P2
Component: xaudio2
Assignee: wine-bugs(a)winehq.org
Reporter: andrey.goosev(a)gmail.com
CC: aeikum(a)codeweavers.com
Distribution: ---
Created attachment 52514
--> https://bugs.winehq.org/attachment.cgi?id=52514
log
warn:xaudio2:IXAudio2Impl_CreateSourceVoice OpenAL can't convert this format!
wine-1.7.52-134-g20ff335
--
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.
https://bugs.winehq.org/show_bug.cgi?id=47895
Bug ID: 47895
Summary: wine: Bad EXE format for
Then_and_Before__1920x1080.exe
Product: Wine
Version: 4.17
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: wineserver
Assignee: wine-bugs(a)winehq.org
Reporter: aros(a)gmx.com
Distribution: ---
Created attachment 65385
--> https://bugs.winehq.org/attachment.cgi?id=65385
Demo
According to VirusTotal this is a valid Win32 binary yet Wine refuses to run
it:
https://www.virustotal.com/gui/file/0222621c6a26420c381e71346fa14e1cf783462…
File type Win32 EXE
Magic MS-DOS executable, MZ for MS-DOS
Target Machine Intel 386 or later processors and compatible processors
--
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.
https://bugs.winehq.org/show_bug.cgi?id=38176
Bug ID: 38176
Summary: Optical Circuit 4K demo crashes on startup
Product: Wine
Version: 1.7.37
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: t.artem(a)mailcity.com
Distribution: ---
Created attachment 50930
--> https://bugs.winehq.org/attachment.cgi?id=50930
demo itself
Backtrace:
=>0 0x004000aa in optical_circuit.1280x720.150221 (+0xaa) (0x00000000)
0x004000aa: xorb 0x0(%edi),%al
Modules:
Module Address Debug info Name (17 modules)
PE 400000- 683b6eb Export optical_circuit.1280x720.150221
--
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.
https://bugs.winehq.org/show_bug.cgi?id=42125
Bug ID: 42125
Summary: 8k demos often fail with Bad EXE Format
Product: Wine
Version: unspecified
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: aaronbpaden(a)gmail.com
Distribution: ---
Several 8k demos fail to load because of a Bad EXE format error. I'm assuming
they're hacking off unnecessary bits from the executable format to get within
their size constraints, and wine is getting confused.
This is the error I get in the logs:
wine: Bad EXE format for Z:\home\aaron\eos_-_blue_morpho_1280x720.exe.
This particular demo can be found at http://www.pouet.net/prod.php?which=68352
--
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.
https://bugs.winehq.org/show_bug.cgi?id=46005
Bug ID: 46005
Summary: Multiple games and applications fail due to missing
interface proxy information in registry
(oleautomation/dual interfaces referenced in coclass
section)
Product: Wine
Version: 3.18
Hardware: x86-64
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: tools
Assignee: wine-bugs(a)winehq.org
Reporter: focht(a)gmx.net
Distribution: ---
Hello folks,
split off from bug 34711
See my comment https://bugs.winehq.org/show_bug.cgi?id=34711#c3 where I stated
my surprise about the interface proxies not being registered.
Zebediah's comment
https://www.winehq.org/pipermail/wine-devel/2018-October/133648.html convinced
me to create a new ticket to target this problem in general.
--- quote ---
I don't think this is the right solution to this problem. On Windows
only the coclass declaration is inside the library declaration, so I
think we should fix widl to also register dependent interfaces.
--- quote ---
Copy/pasta from https://bugs.winehq.org/show_bug.cgi?id=34711
---
Download:
http://wc3dota.persiangig.com/.Srl0nxC6Ke/Terraria/terraria-server-12031.zip
New version:
http://terraria.org/system/dedicated_servers/archives/000/000/032/original/…
It crashes. Running under managed CLR debugger shows:
--- snip ---
...
0035:trace:loaddll:load_builtin_dll Loaded
L"C:\\windows\\system32\\hnetcfg.dll" at 0x7d060000: builtin
0035:fixme:hnetcfg:hnetcfg_cf_QueryInterface interface
{00000003-0000-0000-c000-000000000046} not implemented
0035:fixme:hnetcfg:hnetcfg_cf_QueryInterface interface
{00000019-0000-0000-c000-000000000046} not implemented
0035:fixme:hnetcfg:hnetcfg_cf_QueryInterface interface
{b196b28f-bab4-101a-b69c-00aa00341d07} not implemented
0035:err:ole:marshal_object Failed to create an IRpcStubBuffer from IPSFactory
for {b196b28f-bab4-101a-b69c-00aa00341d07} with error 0x80004002
0032:err:ole:ClientIdentity_QueryMultipleInterfaces
IRemUnknown_RemQueryInterface failed with error 0x80004002
0035:fixme:hnetcfg:upnpnat_QueryInterface interface
{00000003-0000-0000-c000-000000000046} not implemented
0035:fixme:hnetcfg:upnpnat_QueryInterface interface
{00000003-0000-0000-c000-000000000046} not implemented
0035:fixme:hnetcfg:upnpnat_QueryInterface interface
{00000019-0000-0000-c000-000000000046} not implemented
0035:fixme:hnetcfg:upnpnat_QueryInterface interface
{c3fcc19e-a970-11d2-8b5a-00a0c9b7c9c4} not implemented
0035:fixme:hnetcfg:upnpnat_QueryInterface interface
{c3fcc19e-a970-11d2-8b5a-00a0c9b7c9c4} not implemented
0032:err:ole:ClientIdentity_QueryMultipleInterfaces
IRemUnknown_RemQueryInterface failed with error 0x80004002
0035:fixme:hnetcfg:upnpnat_QueryInterface interface
{b196b283-bab4-101a-b69c-00aa00341d07} not implemented
0035:err:ole:marshal_object Failed to create an IRpcStubBuffer from IPSFactory
for {b196b283-bab4-101a-b69c-00aa00341d07} with error 0x80004002
0032:err:ole:ClientIdentity_QueryMultipleInterfaces
IRemUnknown_RemQueryInterface failed with error 0x80004002
0035:err:ole:marshal_object couldn't get IPSFactory buffer for interface
{00000144-0000-0000-c000-000000000046}
0032:err:ole:ClientIdentity_QueryMultipleInterfaces
IRemUnknown_RemQueryInterface failed with error 0x80004002
0035:err:ole:marshal_object couldn't get IPSFactory buffer for interface
{b171c812-cc76-485a-94d8-b6b3a2794e99}
0032:err:ole:ClientIdentity_QueryMultipleInterfaces
IRemUnknown_RemQueryInterface failed with error 0x80004002
0035:err:ole:marshal_object couldn't get IPSFactory buffer for interface
{b171c812-cc76-485a-94d8-b6b3a2794e99}
0032:err:ole:ClientIdentity_QueryMultipleInterfaces
IRemUnknown_RemQueryInterface failed with error 0x80004002
(31.32): C++ EH exception - code e06d7363 (first chance)
0030:fixme:ntdll:RtlGetUnloadEventTrace stub!
0030:trace:loaddll:load_builtin_dll Loaded
L"C:\\windows\\system32\\wtsapi32.dll" at 0xf7df0000: builtin
0030:trace:loaddll:load_native_dll Loaded
L"C:\\windows\\Microsoft.NET\\Framework\\v4.0.30319\\mscordacwks.dll" at
0x7a820000: native
There is no current managed exception on this thread
OS Thread Id: 0x32 (0)
Child SP IP Call Site
0033d664 7b43c87b [HelperMethodFrame_1OBJ: 0033d664]
0033d6c0 0389014c Terraria.Netplay..cctor()
0033d928 791421db [GCFrame: 0033d928]
0033f30c 791421db [PrestubMethodFrame: 0033f30c]
Terraria.ProgramServer.Main(System.String[])
0033f548 791421db [GCFrame: 0033f548]
0032:fixme:ntdll:EtwRegisterTraceGuidsW (0xc405ba, (nil),
{8e9f5090-2d75-4d03-8a81-e5afbf85daf1}, 1, 0x33b930, (null), (null), 0xfb2d64):
stub
0032:fixme:ntdll:EtwRegisterTraceGuidsW register trace class
{8e9f5090-2d75-4d03-8a81-e5afbf85daf1}
(31.32): CLR exception - code e0434352 (first chance)
Exception object: 00f9d5e4
Exception type: System.InvalidCastException
Message: Unable to cast COM object of type 'System.__ComObject' to
interface type 'NATUPNPLib.UPnPNAT'. This operation failed because the
QueryInterface call on the COM component for the interface with IID
'{B171C812-CC76-485A-94D8-B6B3A2794E99}' failed due to the following error:
Exception from HRESULT: 0x80004002 (E_NOINTERFACE).
InnerException: <none>
StackTrace (generated):
<none>
StackTraceString: <none>
HResult: 80004002
OS Thread Id: 0x32 (0)
Child SP IP Call Site
0033d664 7b43c87b [HelperMethodFrame_1OBJ: 0033d664]
0033d6c0 0389014c Terraria.Netplay..cctor()
0033d928 791421db [GCFrame: 0033d928]
0033f30c 791421db [PrestubMethodFrame: 0033f30c]
Terraria.ProgramServer.Main(System.String[])
0033f548 791421db [GCFrame: 0033f548]
First chance exceptions are reported before any exception handling.
This exception may be expected and handled.
--- snip ---
"Unable to cast COM object of type 'System.__ComObject' to interface type
'NATUPNPLib.UPnPNAT'. This operation failed because the QueryInterface call on
the COM component for the interface with IID
'{B171C812-CC76-485A-94D8-B6B3A2794E99}' failed due to the following error:
Exception from HRESULT: 0x80004002 (E_NOINTERFACE)."
Cross-thread marshalling doesn't work here. Each thread must have access to the
type information (registry) that describes the COM object to be able to
unmarshal the object from the source thread.
Wine source:
https://source.winehq.org/git/wine.git/blob/HEAD:/include/natupnp.idl#l205
--- snip ---
187 [
188 object,
189 uuid(b171c812-cc76-485a-94d8-b6b3a2794e99),
190 dual,
191 pointer_default(unique)
192 ]
193 interface IUPnPNAT : IDispatch
194 {
195 [propget, id(1)]
196 HRESULT StaticPortMappingCollection ([out, retval]
IStaticPortMappingCollection **collection);
197
198 [propget, id(2)]
199 HRESULT DynamicPortMappingCollection ([out, retval]
IDynamicPortMappingCollection **collection);
200
201 [propget, id(3)]
202 HRESULT NATEventManager ([out, retval] INATEventManager **manager);
203 };
204
205 [
206 id(2),
207 uuid(1c565858-f302-471e-b409-f180aa4abec6),
208 version(1.0)
209 ]
210 library NATUPNPLib
211 {
212 importlib("stdole2.tlb");
213
214 [
215 vi_progid("HNetCfg.NATUPnP"),
216 progid("HNetCfg.NATUPnP.1"),
217 threading(apartment),
218 uuid(ae1e00aa-3fd5-403c-8a27-2bbdc30cd0e1)
219 ]
220 coclass UPnPNAT
221 {
222 [default] interface IUPnPNAT;
223 };
224 };
--- snip ---
It seems for Wine's MIDL the interface in question needs to be defined *inside*
the 'library' block and have 'oleautomation' attribute. Otherwise it's not
getting registered under 'HKEY_CLASSES_ROOT\\Interface\\{IID}\\...'
(proxy/stub).
I was surprised about that behaviour since the interface was referenced by the
coclass within the library block and had 'dual' attribute.
http://diranieh.com/IDL/Structure.htm
--- quote ---
Interface location [oleautomation]/ [dual] defined
Inside library block Interface uses Universal Marshaler
Interface appears in type library
Outside library block Interface uses Universal Marshaler
Interface does not appear in type library (unless
referenced, perhaps in the coclass section)
---
Interface location [oleautomation]/ [dual] not defined
Inside library block AVOID. NO INTERCEPTION CODE GENERATED!
Outside library block Interface does not use Universal Marshaler. Need to
build proxy/stub DLL.
Interface does not appear in type library (unless
referenced, perhaps in the coclass section)
--- quote ---
$ wine --version
wine-3.18-75-ge55aca8f49
Regards
--
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.
http://bugs.winehq.org/show_bug.cgi?id=34711
Bug #: 34711
Summary: Terraria Server 1.2.0.x fails on startup (needs
CLSID_UPnPNAT {ae1e00aa-3fd5-403c-8a27-2bbdc30cd0e1})
Product: Wine
Version: 1.7.4
Platform: x86
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: focht(a)gmx.net
Classification: Unclassified
Hello folks,
split off from bug 30097 as this is a different issue.
Prerequisite: 'winetricks -q dotnet40 xna40' in clean 32-bit WINEPREFIX
--- snip ---
$ wine TerrariaServer.exe -config serverconfig.txt
...
fixme:shell:URL_ParseUrl failed to parse L"System"
fixme:shell:URL_ParseUrl failed to parse L"Microsoft.Xna.Framework.Game"
fixme:shell:URL_ParseUrl failed to parse L"Microsoft.Xna.Framework"
fixme:shell:URL_ParseUrl failed to parse L"System.Configuration"
fixme:shell:URL_ParseUrl failed to parse L"System.Xml"
err:ole:CoGetClassObject class {ae1e00aa-3fd5-403c-8a27-2bbdc30cd0e1} not
registered
err:ole:create_server class {ae1e00aa-3fd5-403c-8a27-2bbdc30cd0e1} not
registered
fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported
err:ole:CoGetClassObject no class object {ae1e00aa-3fd5-403c-8a27-2bbdc30cd0e1}
could be created for context 0x15
fixme:advapi:RegisterTraceGuidsW (0xc3c4da, (nil),
{8e9f5090-2d75-4d03-8a81-e5afbf85daf1}, 1, 0x33b6cc, (null), (null),
0xfa2868,): stub
fixme:shell:URL_ParseUrl failed to parse L"Microsoft.Xna.Framework.Graphics"
fixme:shell:URL_ParseUrl failed to parse L"Microsoft.Xna.Framework.Xact"
fixme:process:FlushProcessWriteBuffers : stub
Unhandled Exception: System.TypeInitializationException: The type initializer
for 'Terraria.Main' threw an exception. --->
System.TypeInitializationException: The type initializer for 'Terraria.Netplay'
threw an exception. ---> System.Runtime.InteropServices.COMException:
Retrieving the COM class factory for component with CLSID
{AE1E00AA-3FD5-403C-8A27-2BBDC30CD0E1} failed due to the following error:
80040154 Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG).
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean
publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal&
ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean
skipCheckThis, Boolean fillCache)
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean
skipVisibilityChecks, Boolean skipCheckThis, Boolean fillCache)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.Activator.CreateInstance(Type type)
at Terraria.Netplay..cctor()
--- End of inner exception stack trace ---
at Terraria.Main..cctor()
--- End of inner exception stack trace ---
at Terraria.Main..ctor()
at Terraria.ProgramServer.Main(String[] args)
--- snip ---
Server: Main.versionNumber = "v1.2.0.3.1";
Decompiling with ILSpy gives:
--- snip ---
// Terraria.Netplay
static Netplay()
{
// Note: this type is marked as 'beforefieldinit'.
Netplay.stopListen = false;
Netplay.serverSock = new ServerSock[256];
Netplay.clientSock = new ClientSock();
Netplay.serverPort = 7777;
Netplay.disconnect = false;
Netplay.password = "";
Netplay.banFile = "banlist.txt";
Netplay.spamCheck = false;
Netplay.anyClients = false;
Netplay.upnpnat =
(UPnPNAT)Activator.CreateInstance(Type.GetTypeFromCLSID(new
Guid("AE1E00AA-3FD5-403C-8A27-2BBDC30CD0E1")));
Netplay.mappings = Netplay.upnpnat.StaticPortMappingCollection;
Netplay.uPNP = true;
Netplay.ServerUp = false;
}
--- snip ---
Expected as Wine doesn't implement CLSID_UPnPNAT in HNetCfg.dll (NATUPnP.idl).
$ du -sh terraria-server-12031.zip
788K terraria-server-12031.zip
$ sha1sum terraria-server-12031.zip
2333bf1e6ad1d77fc5d59a389cad6581e48c12bf terraria-server-12031.zip
$ wine --version
wine-1.7.4-91-g7ac2b3b
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.
https://bugs.winehq.org/show_bug.cgi?id=41670
Bug ID: 41670
Summary: Planetside 2: BattlEye service not starting
Product: Wine
Version: 1.9.22
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: ntoskrnl
Assignee: wine-bugs(a)winehq.org
Reporter: arsh79(a)gmail.com
Distribution: ---
Created attachment 56062
--> https://bugs.winehq.org/attachment.cgi?id=56062
error in cosole for the 'failed to initialize battleye service' window
Trying to run the latest version of the game, Installer runs fine, but game
doesn't start.
On the first run the launcher tries to install battleye service, which it fails
with the error in the attachment.
On subsequent runs it just hangs forever trying to start the same service
without outputting any error.
--
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.
http://bugs.winehq.org/show_bug.cgi?id=31890
Bug #: 31890
Summary: Cicso communicator throws a segmentation fault when
call is initiated
Product: Wine
Version: 1.5.13
Platform: x86-64
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: fastalan(a)gmail.com
Classification: Unclassified
Description of problem:
While emulator the Cisco IP Communicator 8-6-1, sometimes the application seg
faults after the call is initiated. STDOUT
shows:
fixme:mmdevapi:AEV_GetMasterVolumeLevelScalar stub
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1. wine ./communicatork9.exe
2. Make a call on the soft phone
Actual results:
When call initiates, the app crashes. The cisco CUCM continues the call, but
the UA Endpoint client is dead.
Expected results:
Caller should hear a ringing sound and call should complete.
Additional info:
3.5.4-2.fc17.x86_64
wine-1.5.13
--
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.
https://bugs.winehq.org/show_bug.cgi?id=48611
Bug ID: 48611
Summary: Cairo Shell v0.3.x (.NET 4.7 app) crashes due to
missing 'HKCU\\Software\\Microsoft\\Windows
NT\\CurrentVersion\\WinLogon\\Shell' registry sub-key
Product: Wine
Version: 5.1
Hardware: x86-64
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: registry
Assignee: wine-bugs(a)winehq.org
Reporter: focht(a)gmx.net
Distribution: ---
Hello folks,
as it says. Some user tried to install it:
https://old.reddit.com/r/winehq/comments/e7f3rz/cairo_requires_microsoft_ne…
So I tried as well. He likely suffers from broken .NET install/WINEPREFIX (not
subject to this report).
Project site: https://cairoshell.com/https://github.com/cairoshell/cairoshell/releases/tag/v0.3.6842
--- snip ---
$ pwd
/home/focht/.wine/drive_c/Program Files (x86)/Cairo Shell
$ WINEDEBUG=+seh,+relay wine ./CairoDesktop.exe >>log.txt 2>&1
...
002c:Call advapi32.RegOpenKeyExW(80000001,016839bc
L"SOFTWARE\\Microsoft\\Windows
NT\\CurrentVersion\\WinLogon",00000000,00020019,0032f428) ret=79b98089
002c:Call ntdll.RtlInitUnicodeString(0032f35c,016839bc
L"SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\WinLogon") ret=7b031b59
002c:Ret ntdll.RtlInitUnicodeString() retval=0000006c ret=7b031b59
002c:Call ntdll.NtOpenKeyEx(0032f428,00020019,0032f364,00000000) ret=7b031b7b
002c:Ret ntdll.NtOpenKeyEx() retval=c0000034 ret=7b031b7b
002c:Call ntdll.RtlNtStatusToDosError(c0000034) ret=7b031b82
002c:Ret ntdll.RtlNtStatusToDosError() retval=00000002 ret=7b031b82
002c:Ret advapi32.RegOpenKeyExW() retval=00000002 ret=79b98089
002c:trace:seh:raise_exception code=c0000005 flags=0 addr=0x3d86e29 ip=03d86e29
tid=002c
002c:trace:seh:raise_exception info[0]=00000000
002c:trace:seh:raise_exception info[1]=00000000
002c:trace:seh:raise_exception eax=00000000 ebx=0032f544 ecx=00000000
edx=016838e0 esi=00000000 edi=0032f4c0
002c:trace:seh:raise_exception ebp=0032f490 esp=0032f48c cs=0023 ds=002b
es=002b fs=0063 gs=006b flags=00210246
002c:trace:seh:call_vectored_handlers calling handler at 0xbb4ec0 code=c0000005
flags=0
002c:Call KERNEL32.GetLastError() ret=00bb4eee
002c:Ret KERNEL32.GetLastError() retval=00000000 ret=00bb4eee
002c:trace:seh:call_vectored_handlers handler at 0xbb4ec0 returned 0
002c:trace:seh:call_stack_handlers calling handler at 0xbb7020 code=c0000005
flags=0
...
--- snip ---
Managed backtrace:
--- snip ---
0009:err:eventlog:ReportEventW L"Application: CairoDesktop.exe\nFramework
Version: v4.0.30319\nDescription: The process was terminated due to an
unhandled exception.\nException Info: System.NullReferenceException\n at
CairoDesktop.Interop.Shell.get_IsCairoUserShell()\n at
CairoDesktop.Startup.Main(System.String[])\n\n"
0009:fixme:advapi:DeregisterEventSource (0xcafe4242) stub
Unhandled Exception: 0009:fixme:ver:GetCurrentPackageId (0x32cad0 (nil)): stub
System.NullReferenceException: Object reference not set to an instance of an
object.
at CairoDesktop.Interop.Shell.get_IsCairoUserShell()
at CairoDesktop.Startup.Main(String[] args)
wine: Unhandled page fault on read access to 00000000 at address 03D86E29
(thread 0009), starting debugger...
Unhandled exception: page fault on read access to 0x00000000 in 32-bit code
(0x03d86e29).
--- snip ---
It can be worked around by adding the sub-key/data:
--- snip ---
$ wine reg.exe add "HKCU\\Software\\Microsoft\\Windows
NT\\CurrentVersion\\WinLogon" /v Shell /t REG_SZ /d "explorer.exe" /f
--- snip ---
The app searches 'WinLogon' key first under HKCU. If not present, it will crash
right away. If 'WinLogon' is present but no 'Shell' sub-key it will search
HKLM.
$ sha1sum CairoSetup_32bit.exe
ba4098fce86a2d63a9107c0c18b2f68eb9417039 CairoSetup_32bit.exe
$ du -sh CairoSetup_32bit.exe
2.2M CairoSetup_32bit.exe
$ wine --version
wine-5.1-391-g7332de64a5
Regards
--
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.
https://bugs.winehq.org/show_bug.cgi?id=37061
Bug ID: 37061
Summary: IEC 61850 v2.02 example client crashes on
unimplemented function wpcap.dll.pcap_findalldevs_ex
Product: Wine
Version: 1.7.23
Hardware: x86
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: focht(a)gmx.net
Hello folks,
since we have a stub 'wpcap' component now (thanks André) it might be useful to
file individual bugs :)
--- snip ---
$ pwd
/home/focht/.wine/drive_c/Program Files/SystemCorp/DLL
$ wine ./IEC61850_Example_Client.exe
...
wine: Call from 0x7b83ae8f to unimplemented function
wpcap.dll.pcap_findalldevs_ex, aborting
--- snip ---
$ sha1sum SET\ IEC61850DLLV2\ Demo.exe
72ebe36f11e4a3fb5c117db7bd6b367b4e0eb058 SET IEC61850DLLV2 Demo.exe
$ du -sh SET\ IEC61850DLLV2\ Demo.exe
1.1M SET IEC61850DLLV2 Demo.exe
$ wine --version
wine-1.7.23-90-gbdeb761
Regards
--
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.
https://bugs.winehq.org/show_bug.cgi?id=37062
Bug ID: 37062
Summary: Wireshark 1.10 'dumpcap.exe' tool crashes on
unimplemented function wpcap.dll.pcap_findalldevs
Product: Wine
Version: 1.7.23
Hardware: x86
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: focht(a)gmx.net
Hello folks,
as the summary says ...
--- snip ---
$ pwd
/home/focht/.wine/drive_c/Program Files/Wireshark
$ wine ./dumpcap.exe
...
wine: Call from 0x7b83ae8f to unimplemented function
wpcap.dll.pcap_findalldevs, aborting
wine: Unimplemented function wpcap.dll.pcap_findalldevs called at address
0x7b83ae8f (thread 0026), starting debugger...
--- snip ---
$ sha1sum Wireshark-win32-1.10.10rc0-7-gce4abdf.exe
94b6c2d2029dd00aa05b25bfc4fc6bbdc4ec405d
Wireshark-win32-1.10.10rc0-7-gce4abdf.exe
$ du -sh Wireshark-win32-1.10.10rc0-7-gce4abdf.exe
22M Wireshark-win32-1.10.10rc0-7-gce4abdf.exe
$ wine --version
wine-1.7.23-90-gbdeb761
Regards
--
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.
https://bugs.winehq.org/show_bug.cgi?id=37094
Bug ID: 37094
Summary: Wireshark 1.10 'dumpcap.exe' tool crashes on
unimplemented function wpcap.dll.pcap_open_live
Product: Wine
Version: 1.7.24
Hardware: x86
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: focht(a)gmx.net
Hello folks,
continuation of bug 37062
--- snip ---
$ pwd
/home/focht/.wine/drive_c/Program Files/Wireshark
$ wine ./dumpcap.exe
...
Capturing on 'virbr0'
wine: Call from 0x7b83ae8f to unimplemented function wpcap.dll.pcap_open_live,
aborting
wine: Unimplemented function wpcap.dll.pcap_open_live called at address
0x7b83ae8f (thread 0009), starting debugger...
--- snip ---
$ sha1sum Wireshark-win32-1.10.10rc0-7-gce4abdf.exe
94b6c2d2029dd00aa05b25bfc4fc6bbdc4ec405d
Wireshark-win32-1.10.10rc0-7-gce4abdf.exe
$ du -sh Wireshark-win32-1.10.10rc0-7-gce4abdf.exe
22M Wireshark-win32-1.10.10rc0-7-gce4abdf.exe
$ wine --version
wine-1.7.24-14-gd1749b5
Regards
--
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.
http://bugs.winehq.org/show_bug.cgi?id=12099
Summary: .NET Framework 1.1 installer requires loadperf.dll in
case of AeDebug -> Auto=0 (unhandled exception dialog)
Product: Wine
Version: CVS/GIT
Platform: All
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: focht(a)gmx.net
Created an attachment (id=11486)
--> (http://bugs.winehq.org/attachment.cgi?id=11486)
example patch to add loadperf.dll and simple UnloadPerfCounterTextStringsW stub
preventing .NET 1.1 installer exception
Hello,
VS.NET 7.x installers modify AeDebug which results in error message box from
.NET Framework 1.1 installer due to an unhandled exception.
With default AeDebug Auto=1 and standalone .NET 1.1 installation you won't
notice it because this exception doesn't affect overall "success" result of
installer.
You can capture output from console to see winedbg actually spawned.
VS.NET 7.x installers add/modify the following JIT debugging keys:
--- snip ---
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\AeDebug\Debugger
Auto: 1 -> 0
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\DbgManagedDebugger
Default: cordbg.exe !a 0x%x8
--- snip ---
Extract from .msi file:
--- snip ---
_FldbVs7eve_RegFile_887_00017.3643236F_FC70_11D3_A536_0090278A1BB8 2
SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug Auto 0
_VS_Debugging___VS7JIT_____X86.3643236F_FC70_11D3_A536_0090278A1BB8)
..
--- snip ---
You can simulate the behaviour on clean ~/.wine if you manually set
AeDebug/Auto=0 (default is 1) and then execute the standalone .NET 1.1
installer.
--- snip ---
002d:Call KERNEL32.lstrlenA(0034f55c "2008-03-17
21:20:25\t\tStarting\tUninstalling performance counters\r\n") ret=79e88b92
..
002d:Call KERNEL32.LoadLibraryA(79e61310 "loadperf.dll") ret=79e907ed
002d:Ret KERNEL32.LoadLibraryA() retval=00000000 ret=79e907ed
002d:Call KERNEL32.GetLastError() ret=79e907f9
002d:Ret KERNEL32.GetLastError() retval=0000007e ret=79e907f9
002d:Call KERNEL32.RaiseException(c06d007e,00000000,00000001,0034f960)
ret=79e9082c
002d:trace:seh:raise_exception code=c06d007e flags=0 addr=0x7b8419a0
002d:trace:seh:raise_exception info[0]=0034f910
002d:trace:seh:raise_exception eax=7b82c3e9 ebx=7b8af3e4 ecx=00000000
edx=0034f904 esi=0034f904 edi=0034f880
002d:trace:seh:raise_exception ebp=0034f868 esp=0034f804 cs=0073 ds=007b
es=007b fs=0033 gs=003b flags=00200212
002d:trace:seh:call_stack_handlers calling handler at 0x402518 code=c06d007e
flags=0
..
002d:Call KERNEL32.UnhandledExceptionFilter(0034f350) ret=7c34c456
wine: Unhandled exception 0xc06d007e at address 0x7b8419a0 (thread 002d),
starting debugger...
002d:Call user32.MessageBoxA(00000000,0034efd8 "Unhandled exception 0xc06d007e
at address 0x7b8419a0.\nDo you wish to debug it?",7b8a3e47 "Exception
raised",00000014) ret=7b841deb
--- snip ---
The message box is shown with the option to dismiss the exception or to debug
it.
This can be pretty confusing to users who have no knowledge how to deal with
this.
Well, actually this exception should never occur.
Wine can prevent this problem by providing a simple loadperf.dll and
UnloadPerfCounterTextStringsW stub.
Output after patch:
--- snip ---
0041:Ret KERNEL32.LoadLibraryA() retval=607d0000 ret=79e907ed
0041:Call KERNEL32.InterlockedExchange(79e96fa8,607d0000) ret=79e9083e
0041:Ret KERNEL32.InterlockedExchange() retval=00000000 ret=79e9083e
0041:Call KERNEL32.GetProcAddress(607d0000,79e919b4
"UnloadPerfCounterTextStringsW") ret=79e908c4
0041:Ret KERNEL32.GetProcAddress() retval=607d8808 ret=79e908c4
0041:Call loadperf.UnloadPerfCounterTextStringsW(0034f9d0 L"u
\"ASP.NET_1.1.4322\"",00000001) ret=79e86e64
0041:fixme:loadperf:UnloadPerfCounterTextStringsW (L"u \"ASP.NET_1.1.4322\"",
1): stub!
0041:Ret loadperf.UnloadPerfCounterTextStringsW() retval=00000000 ret=79e86e64
--- snip ---
Please add this dll and the UnloadPerfCounterTextStringsW stub.
The attached patch is provided as example to quickly validate the problem
solution.
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.