.NET application crashes w/unhandled exception when typing

Questions about Wine on Linux
Locked
john_g
Newbie
Newbie
Posts: 2
Joined: Wed May 29, 2013 7:42 pm

.NET application crashes w/unhandled exception when typing

Post by john_g »

I have installed a .NET application (an IDE called QuickBuilder for PLC programming) in Wine 1.5.30 on Ubuntu 13.04. After installing .NET 2.0 via winetricks, the program works perfectly except for handling keyboard input. After I type about 10-30 characters, it crashes, without any messagebox or anything. The stack trace from winedbg is pasted below. If anyone could give me any pointers as to what I should be looking for here, I would appreciate it. In particular, is there any way to tell what the exception was? Thanks!

Stack trace:

fixme:ole:Context_CC_ContextCallback (0x4df1588/0x4df158c)->(0x7a043cc9, 0x29de400, {d7174f82-36b8-4aa8-800a-e963ab2dfab9}, 2, (nil))
Unhandled exception: 0xe0434f4d in 32-bit code (0x7b83bbd5).
Register dump:
CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
EIP:7b83bbd5 ESP:0033efc4 EBP:0033f038 EFLAGS:00000287( - -- I S - -P-C)
EAX:7b8267d5 EBX:7b8b4ff4 ECX:8007000e EDX:0033efe4
ESI:00000001 EDI:e0434f4d
Stack dump:
0x0033efc4: 0033f07c 00000004 00148390 e0434f4d
0x0033efd4: 00000001 00000000 7b83bbd5 00000001
0x0033efe4: 8007000e 0033eff4 79e7ff53 00000038
0x0033eff4: 0033f010 79e7ff9c 00000038 00148390
0x0033f004: 0033f07c 003a2010 02000038 0033f020
0x0033f014: 79e80024 0033f028 02000038 0033f02c
Backtrace:
=>0 0x7b83bbd5 in kernel32 (+0x2bbd5) (0x0033f038)
1 0x79eda91c in mscorwks (+0x6a91b) (0x0033f0a4)
2 0x79f39e44 in mscorwks (+0xc9e43) (0x0033f0dc)
3 0x7a0aaf5c in mscorwks (+0x23af5b) (0x0033f128)
4 0x79f77df7 in mscorwks (+0x107df6) (0x0033f2b4)
5 0x005203d5 (0x0033f2dc)
6 0x02e6a7ac (0x0033f314)
7 0x02e68c5d (0x0033f320)
8 0x79e71b4c in mscorwks (+0x1b4b) (0x0033f330)
9 0x79e821b1 in mscorwks (+0x121b0) (0x0033f3b0)
10 0x79e96501 in mscorwks (+0x26500) (0x0033f4e8)
11 0x79e96534 in mscorwks (+0x26533) (0x0033f504)
12 0x79e96552 in mscorwks (+0x26551) (0x0033f51c)
13 0x79eefa45 in mscorwks (+0x7fa44) (0x0033f680)
14 0x79eef965 in mscorwks (+0x7f964) (0x0033f8e8)
15 0x79eefeb5 in mscorwks (+0x7feb4) (0x0033fdb8)
16 0x79ef009f in mscorwks (+0x8009e) (0x0033fe08)
17 0x79eeffcf in mscorwks (+0x7ffce) (0x0033fe50)
18 0x79007c24 in mscoree (+0x7c23) (0x0033fe60)
19 0x7b85f19c call_process_entry+0xb() in kernel32 (0x0033fe78)
20 0x7b86041b in kernel32 (+0x5041a) (0x0033feb8)
21 0x7bc78e40 call_thread_func_wrapper+0xb() in ntdll (0x0033fed8)
22 0x7bc7be4d call_thread_func+0x7c() in ntdll (0x0033ffa8)
23 0x7bc78e1e RtlRaiseException+0x21() in ntdll (0x0033ffc8)
24 0x7bc4e05e call_dll_entry_point+0x33d() in ntdll (0x0033ffe8)
25 0xf763b4ed wine_call_on_stack+0x1c() in libwine.so.1 (0x00000000)
26 0xf763b5ab wine_switch_to_stack+0x2a() in libwine.so.1 (0xffee7348)
27 0x7bc53ec0 LdrInitializeThunk+0x3af() in ntdll (0xffee73b8)
28 0x7b8669c2 __wine_kernel_init+0xa21() in kernel32 (0xffee8568)
29 0x7bc5467b __wine_process_init+0x25a() in ntdll (0xffee85f8)
30 0xf7638a4c wine_init+0x2db() in libwine.so.1 (0xffee8668)
31 0x7bf00d0b main+0x8a() in <wine-loader> (0xffee8ab8)
32 0xf7453935 __libc_start_main+0xf4() in libc.so.6 (0x00000000)
0x7b83bbd5: movl 0xfffffff0(%ebp),%ecx
john_g
Newbie
Newbie
Posts: 2
Joined: Wed May 29, 2013 7:42 pm

Re: .NET application crashes w/unhandled exception when typi

Post by john_g »

Update:
After a little more testing, I have found that wine sometimes prints the following error message after the application crashes:

err:eventlog:ReportEventW L".NET Runtime version 2.0.50727.3053 - Fatal Execution Engine Error (7A09BE87) (80131506)"

Some googling suggests that this error is generally caused by a bad .NET install (at least when it occurs in windows). Has anyone ever come across this in wine?
lahmbi5678
Level 7
Level 7
Posts: 823
Joined: Thu Aug 27, 2009 6:23 am

Re: .NET application crashes w/unhandled exception when typi

Post by lahmbi5678 »

Hi,

you could try latest wine version, 1.5.31. Is your wineprefix 64bit? Is the application 32 or 64 bit?

You could try to create a pure 32bit wineprefix and install everything again (using 32 bit application only). If it still won't work, you probably should file a bug. If there's a free demo version available, add a link to it in the bug report.
Locked