[Wine] Font '?' cannot be found when running .NET apps
mcgd
wineforum-user at winehq.org
Sun Jan 2 19:19:56 CST 2011
Hi,
I've installed wine-1.3.9 on Fedora 13 x64. I've installed the i686 version due to the issues with x64 Wine and .NET.
When I try to run a .NET WinForms application, I get the error: Font '?' cannot be found. This occurs even with a simple test application which just puts up a form with two buttons on it. I have installed corefonts and dotnet20, and drive_c/windows/fonts has fonts in it.
Something seems fundamentally wrong. Does anyone know what might be the issue? I have a log with WINEDEBUG set to +fonts. It's 3MB so I haven't included it here, but can post if it would be helpful. Here's the output without WINEDEBUG set:
fixme:sync:CreateMemoryResourceNotification (0) stub
fixme:shell:URL_ParseUrl failed to parse L"System.Windows.Forms"
fixme:shell:URL_ParseUrl failed to parse L"System"
fixme:shell:URL_ParseUrl failed to parse L"System.Drawing"
fixme:shell:URL_ParseUrl failed to parse L"System.Drawing.resources"
fixme:shell:URL_ParseUrl failed to parse L"System.Drawing.resources"
fixme:imm:ImmDisableIME (-1): stub
fixme:thread:NtQueryInformationThread Cannot get kerneltime or usertime of other
threads
fixme:thread:NtQueryInformationThread info class 9 not supported yet
fixme:thread:NtQueryInformationThread info class 9 not supported yet
fixme:thread:NtQueryInformationThread info class 9 not supported yet
fixme:advapi:RegisterEventSourceW ((null),L".NET Runtime 2.0 Error Reporting"):
stub
fixme:advapi:ReportEventW (0xcafe4242,0x0001,0x0000,0x00001388,(nil),0x000b,0x00
0000ea,0x3009a1b4,0x5dc614): stub
err:eventlog:ReportEventW L"clr20r3"
err:eventlog:ReportEventW L"formstest.exe"
err:eventlog:ReportEventW L"1.0.0.0"
err:eventlog:ReportEventW L"4c8e2706"
err:eventlog:ReportEventW L"system.drawing"
err:eventlog:ReportEventW L"2.0.0.0"
err:eventlog:ReportEventW L"4333aeaf"
err:eventlog:ReportEventW L"7f8"
err:eventlog:ReportEventW L"11"
err:eventlog:ReportEventW L"system.argumentexception"
err:eventlog:ReportEventW L"NIL"
fixme:advapi:DeregisterEventSource (0xcafe4242) stub
err:ole:CoInitializeEx Attempt to change threading model of this apartment from
multi-threaded to apartment threaded
err:ole:CoInitializeEx Attempt to change threading model of this apartment from
multi-threaded to apartment threaded
fixme:richedit:ME_HandleMessage EM_SETMARGINS: stub
fixme:richedit:ME_HandleMessage EM_SETMARGINS: stub
err:ole:CoUninitialize Mismatched CoUninitialize
err:ole:CoUninitialize Mismatched CoUninitialize
Unhandled Exception: fixme:shell:URL_ParseUrl failed to parse L"mscorlib.resourc
es"
fixme:shell:URL_ParseUrl failed to parse L"mscorlib.resources"
System.ArgumentException: Font '?' cannot be found.
at System.Drawing.FontFamily.GetGdipGenericSansSerif()
at System.Drawing.FontFamily.CreateFontFamily(String name, FontCollection fon
tCollection)
at System.Drawing.FontFamily..ctor(String name, Boolean createDefaultOnFail)
at System.Drawing.Font..ctor(String familyName, Single emSize, FontStyle styl
e, GraphicsUnit unit, Byte gdiCharSet)
at FormsTest.Form1.InitializeComponent()
at FormsTest.Form1..ctor()
at FormsTest.Program.Main()
wine: Unhandled exception 0xe0434f4d at address 0x7b837c83 (thread 0009), starti
ng debugger...
Unhandled exception: 0xe0434f4d in 32-bit code (0x7b837c83).
Register dump:
CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
EIP:7b837c83 ESP:0033f10c EBP:0033f170 EFLAGS:00000207( - -- I - -P-C)
EAX:7b82521d EBX:7b893878 ECX:80070057 EDX:0033f130
ESI:e0434f4d EDI:e0434f4d
Stack dump:
0x0033f10c: 0033f1a8 00000004 79fd4e9d e0434f4d
0x0033f11c: 00000001 00000000 7b837c83 00000001
0x0033f12c: 80070057 e0434f4d 0033f1a8 790c2000
0x0033f13c: 02000036 0033f154 79e814da 0033f160
0x0033f14c: 02000036 00000001 0033f1d0 79e87ff4
0x0033f15c: 0000012c 790fabcc 7b837c3a 001316d0
Backtrace:
=>0 0x7b837c83 in kernel32 (+0x27c83) (0x0033f170)
1 0x79f97065 in mscorwks (+0x127064) (0x0033f1d0)
2 0x7a0945a4 in mscorwks (+0x2245a3) (0x0033f294)
0x7b837c83: subl $4,%esp
Modules:
Module Address Debug info Name (68 modules)
PE 400000- 408000 Deferred formstest
PE 2a30000- 31ee000 Deferred system.ni
PE 31f0000- 3e76000 Deferred system.windows.forms.ni
ELF 20000000-20062000 Deferred advapi32<elf>
\-PE 20010000-20062000 \ advapi32
ELF 20062000-20097000 Deferred libfontconfig.so.1
ELF 20097000-200bf000 Deferred libexpat.so.1
ELF 200bf000-200d0000 Deferred libxext.so.6
ELF 200d0000-200ee000 Deferred libxcb.so.1
ELF 200ee000-200f1000 Deferred libxinerama.so.1
ELF 200f1000-200fb000 Deferred libxcursor.so.1
ELF 200fb000-20100000 Deferred libxfixes.so.3
ELF 20100000-2017c000 Deferred rpcrt4<elf>
\-PE 20110000-2017c000 \ rpcrt4
ELF 2017c000-20274000 Deferred comctl32<elf>
\-PE 20180000-20274000 \ comctl32
ELF 20274000-20379000 Deferred oleaut32<elf>
\-PE 20290000-20379000 \ oleaut32
ELF 215c0000-215d9000 Deferred version<elf>
\-PE 215d0000-215d9000 \ version
ELF 23266000-232d8000 Deferred gdiplus<elf>
\-PE 23270000-232d8000 \ gdiplus
ELF 27bf7000-27d2f000 Deferred libx11.so.6
ELF 2a49e000-2a551000 Deferred winex11<elf>
\-PE 2a4b0000-2a551000 \ winex11
ELF 3215f000-32164000 Deferred libxxf86vm.so.1
ELF 334eb000-3360e000 Deferred ole32<elf>
\-PE 33500000-3360e000 \ ole32
ELF 34258000-3425b000 Deferred libxau.so.6
ELF 4a4c6000-4a55e000 Deferred libfreetype.so.6
ELF 5206b000-520d6000 Deferred shlwapi<elf>
\-PE 52080000-520d6000 \ shlwapi
ELF 5bea2000-5bf38000 Deferred gdi32<elf>
\-PE 5beb0000-5bf38000 \ gdi32
ELF 5d3c1000-5d3e3000 Deferred imm32<elf>
\-PE 5d3d0000-5d3e3000 \ imm32
PE 5e380000-5e409000 Deferred diasymreader
ELF 6154e000-61693000 Deferred user32<elf>
\-PE 61560000-61693000 \ user32
ELF 68000000-68020000 Deferred ld-linux.so.2
ELF 68020000-68161000 Deferred libwine.so.1
ELF 68161000-6817c000 Deferred libpthread.so.0
ELF 6817c000-68307000 Deferred libc.so.6
ELF 68307000-68331000 Deferred libm.so.6
ELF 68331000-6833f000 Deferred libnss_files.so.2
ELF 6b5b4000-6b5ce000 Deferred libice.so.6
ELF 6b98c000-6b995000 Deferred libxrender.so.1
ELF 6df3a000-6df42000 Deferred libxrandr.so.2
ELF 6e916000-6eb14000 Deferred shell32<elf>
\-PE 6e920000-6eb14000 \ shell32
PE 78130000-781cb000 Deferred msvcr80
ELF 78d7b000-78daf000 Deferred uxtheme<elf>
\-PE 78d80000-78daf000 \ uxtheme
PE 79000000-79045000 Deferred mscoree
PE 79060000-790b3000 Deferred mscorjit
PE 790c0000-79ba8000 Deferred mscorlib.ni
ELF 79dd6000-79e6b000 Deferred msvcrt<elf>
\-PE 79df0000-79e6b000 \ msvcrt
PE 79e70000-7a3d1000 Export mscorwks
ELF 7a4e3000-7a4e8000 Deferred libdl.so.2
ELF 7a534000-7a539000 Deferred libuuid.so.1
PE 7ade0000-7af74000 Export system.drawing.ni
ELF 7b800000-7b98e000 Export kernel32<elf>
\-PE 7b810000-7b98e000 \ kernel32
ELF 7bc00000-7bcc8000 Deferred ntdll<elf>
\-PE 7bc10000-7bcc8000 \ ntdll
ELF 7bf00000-7bf03000 Deferred <wine-loader>
ELF 7bf4f000-7bf57000 Deferred libsm.so.6
Threads:
process tid prio (all id:s are in hex)
00000008 (D) C:\FormsTest.exe
00000021 2
00000020 0
00000009 0 <==
0000000e services.exe
0000001e 0
00000018 0
00000017 0
00000016 0
00000010 0
0000000f 0
00000011 mscorsvw.exe
0000001a 0
00000019 0
00000015 0
00000012 0
00000013 explorer.exe
00000014 0
0000001b winedevice.exe
0000001f 0
0000001d 0
0000001c 0
Backtrace:
=>0 0x7b837c83 in kernel32 (+0x27c83) (0x0033f170)
1 0x79f97065 in mscorwks (+0x127064) (0x0033f1d0)
2 0x7a0945a4 in mscorwks (+0x2245a3) (0x0033f294)
fixme:advapi:RegisterEventSourceW ((null),L".NET Runtime"): stub
fixme:advapi:ReportEventW (0xcafe4242,0x0001,0x0000,0x000003ff,(nil),0x0001,0x00000000,0x33ec54,(nil)): stub
err:eventlog:ReportEventW L".NET Runtime version 2.0.50727.42 - Fatal Execution Engine Error (79F97075) (80131506)"
fixme:advapi:DeregisterEventSource (0xcafe4242) stub
More information about the wine-users
mailing list