[Mono-osx] Runtime error with Mono 1.1.9
Gareth Baker
g.j.baker at dl.ac.uk
Mon Sep 12 10:27:45 EDT 2005
No go - dumped receipts and did re-install of X11 & X11SDK.
Still the same problem.
Regards
Gareth Baker
Top slice of mono.crash.log:
Host Name: Gareth-Bakers-Computer
Date/Time: 2005-09-12 14:55:27.320 +0100
OS Version: 10.4.2 (Build 8C46)
Report Version: 3
Command: mono
Path: /usr/bin/mono
Parent: sh [466]
Version: ??? (1.0)
PID: 474
Thread: 0
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000000
Thread 0 Crashed:
0 libgdiplus.dylib 0x02297784 GetFontMetrics + 44 (icplusplus.c:27)
1 <<00000000>> 0x03e07270 0 + 65041008
2 <<00000000>> 0x03e06c4c 0 + 65039436
3 <<00000000>> 0x03e06bd4 0 + 65039316
4 <<00000000>> 0x03df44c0 0 + 64963776
5 <<00000000>> 0x03df3c38 0 + 64961592
6 <<00000000>> 0x03df3af8 0 + 64961272
7 <<00000000>> 0x03e0524c 0 + 65032780
8 <<00000000>> 0x03e061b4 0 + 65036724
9 <<00000000>> 0x03e05e10 0 + 65035792
10 <<00000000>> 0x010c51c0 0 + 17584576
11 <<00000000>> 0x004f11d8 0 + 5181912
12 <<00000000>> 0x004f114c 0 + 5181772
13 <<00000000>> 0x004f108c 0 + 5181580
14 <<00000000>> 0x004eec28 0 + 5172264
15 mono 0x000301e8 mono_jit_runtime_invoke + 280
(mini.c:9649)
16 mono 0x000a3b34 mono_runtime_invoke + 84
(object.c:1311)
17 mono 0x000a56ec mono_runtime_exec_main + 416
(object.c:2012)
18 mono 0x000a51fc mono_runtime_run_main + 856
(object.c:1869)
19 mono 0x00003608 mono_jit_exec + 180 (driver.c:494)
20 mono 0x00003720 main_thread_handler + 248
(driver.c:531)
21 mono 0x00004a8c mono_main + 4456 (driver.c:937)
22 mono 0x000023ac main + 40 (main.c:6)
23 mono 0x00001e74 _start + 392 (crt.c:267)
24 dyld 0x8fe01048 _dyld_start + 60
Thread 1:
0 libSystem.B.dylib 0x90042ae8 mach_wait_until + 8
1 libSystem.B.dylib 0x900428a0 nanosleep + 384
2 mono 0x00180e34 collection_thread + 56
(collection.c:36)
3 libSystem.B.dylib 0x9002c3d4 _pthread_body + 96
Thread 2:
0 libSystem.B.dylib 0x90056418 semaphore_timedwait_signal_trap + 8
1 libSystem.B.dylib 0x90056284 pthread_cond_timedwait + 704
2 mono 0x00156f84 timedwait_signal_poll_cond + 164
(handles.c:1251)
3 mono 0x0015734c _wapi_handle_timedwait_signal_handle +
520 (handles.c:1338)
4 mono 0x00157128 _wapi_handle_wait_signal_handle + 36
(handles.c:1298)
5 mono 0x00144024 WaitForSingleObjectEx + 548
(wait.c:179)
6 mono 0x0012ad50 finalizer_thread + 116 (gc.c:678)
7 mono 0x000aa11c start_wrapper + 300 (threads.c:297)
8 mono 0x0015f4c0 timed_thread_start_routine + 284
(timed-thread.c:134)
9 libSystem.B.dylib 0x9002c3d4 _pthread_body + 96
Thread 3:
0 libSystem.B.dylib 0x9000a778 mach_msg_trap + 8
1 libSystem.B.dylib 0x9000a6bc mach_msg + 60
2 com.unsanity.ape 0xc0002afc __ape_internal + 3300 (icplusplus.c:28)
3 com.unsanity.ape 0xc0001910 __ape_agent + 64 (icplusplus.c:28)
4 libSystem.B.dylib 0x9002c3d4 _pthread_body + 96
Thread 0 crashed with PPC Thread State 64:
On 9/12/05 2:26 PM, "kangaroo" <grompf at sublimeintervention.com> wrote:
> Gareth,
>
> Could you do me a favor and please try reinstalling X11 from the
> Apple Tiger install DVD and try it again? You're getting a segfault
> from FontConfig in Native land.
>
> -g
>
> On 12-Sep-05, at 5:39 AM, Gareth Baker wrote:
>
>> I am getting a runtime error when running some macpacked SWF/mono
>> 1.1.9
>> programmes. Simpler programmes seem ok (opening window and drawing
>> to simple
>> canvas), but adding textbaxes or menues causes the failure.
>>
>> The error is the same from a native OSX (10.4) macpacked programme
>> and the
>> same programme compiled and run under X11.
>>
>> The console output:
>>
>> ===== Sunday, September 11, 2005 10:16:53 PM Europe/London =====
>> Mono System.Windows.Forms Assembly [Revision: 44786; built: 2005/5/25
>> 22:34:45]
>> mono[285]: Welcome to the WSX:Carbon
>>
>> Unhandled Exception: System.NullReferenceException: Object
>> reference not set
>> to an instance of an object
>> in <0x00000> <unknown method>
>> in (wrapper managed-to-native)
>> System.Windows.Forms.XplatUIOSX:GetFontMetrics
>> (intptr,intptr,int&,int&)
>> in <0x00060> System.Windows.Forms.XplatUIOSX:GetFontMetrics
>> (System.Drawing.Graphics g, System.Drawing.Font font, System.Int32
>> ascent,
>> System.Int32 descent)
>> in <0x00058> System.Windows.Forms.XplatUI:GetFontMetrics
>> (System.Drawing.Graphics g, System.Drawing.Font font, System.Int32
>> ascent,
>> System.Int32 descent)
>> in <0x00434> System.Windows.Forms.Line:RecalculateLine
>> (System.Drawing.Graphics g, System.Windows.Forms.Document doc)
>> in <0x000fc> System.Windows.Forms.Document:RecalculateDocument
>> (System.Drawing.Graphics g, Int32 start, Int32 end, Boolean optimize)
>> in <0x0002c> System.Windows.Forms.Document:RecalculateDocument
>> (System.Drawing.Graphics g)
>> in <0x00038> System.Windows.Forms.TextBoxBase:CalculateDocument ()
>> in <0x00388> System.Windows.Forms.TextBoxBase:set_Text
>> (System.String value)
>> in <0x0001c> System.Windows.Forms.TextBox:set_Text (System.String
>> value)
>> in <0x0033c> MyFormProject.MainForm:InitializeComponent ()
>> in <0x0001c> MyFormProject.MainForm:.ctor ()
>> in (wrapper remoting-invoke-with-check)
>> MyFormProject.MainForm:.ctor ()
>> in <0x00030> MyFormProject.MainForm:Main (System.String[] args)
>> Sep 11 22:17:04 Gareth-Bakers-Computer crashdump[286]: mono crashed
>> Sep 11 22:17:05 Gareth-Bakers-Computer crashdump[286]: crash report
>> written
>> to: /Users/garethba/Library/Logs/CrashReporter/mono.crash.log
>>
>> The programme and the makefile are attached.
>>
>> Any help would be appreciated.
>> Regards
>> Gareth Baker
>>
>>
>>
>> <Converter.cs>
>> <Makefile>
>> _______________________________________________
>> Mono-osx mailing list
>> Mono-osx at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-osx
>>
>
More information about the Mono-osx
mailing list