[Mono-bugs] [Bug 78061][Maj] New - System.DivideByZeroException
leads to crash report on OS X
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Sun Apr 9 10:56:32 EDT 2006
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by artyom.tyazhelov at gmail.com.
http://bugzilla.ximian.com/show_bug.cgi?id=78061
--- shadow/78061 2006-04-09 10:56:32.000000000 -0400
+++ shadow/78061.tmp.8533 2006-04-09 10:56:32.000000000 -0400
@@ -0,0 +1,123 @@
+Bug#: 78061
+Product: Mono: Runtime
+Version: 1.1
+OS: other
+OS Details: OS X 10.4.6 Intel
+Status: NEW
+Resolution:
+Severity:
+Priority: Major
+Component: JIT
+AssignedTo: lupus at ximian.com
+ReportedBy: artyom.tyazhelov at gmail.com
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: System.DivideByZeroException leads to crash report on OS X
+
+Please fill in this template when reporting a bug, unless you know what you are doing.
+Description of Problem:
+System.DivideByZeroException leads to crash report on OS X
+
+Steps to reproduce the problem:
+using System;
+
+namespace Test {
+ class Test {
+
+ public static void Main() {
+ int a = 1;
+ int b = 0;
+
+ int c = a / b; // replace b with 0 to crash mcs during comppile
+ c++;
+ }
+ }
+}
+
+Actual Results:
+program generates CrashReport:
+
+Expected Results:
+no CrashReport
+
+How often does this happen?
+always
+
+Additional Information:
+console correclty contains:
+Unhandled Exception: System.DivideByZeroException: Division by zero
+
+
+CrashReport:
+
+**********
+
+Host Name: arty0mbkpro
+Date/Time: 2006-04-09 17:31:08.728 +0300
+OS Version: 10.4.6 (Build 8I1119)
+Report Version: 4
+
+Command: mono
+Path: /usr/local/bin/mono
+Parent: bash [2304]
+
+Version: ??? (???)
+
+PID: 2452
+Thread: 0
+
+Exception: EXC_ARITHMETIC (0x0003)
+Codes: EXC_I386_DIV (divide by zero)
+
+Thread 0 Crashed:
+0 <<00000000>> 0x005b9891 0 + 6002833
+1 <<00000000>> 0x005b9863 0 + 6002787
+2 <<00000000>> 0x005b97ee 0 + 6002670
+3 mono 0x00077e47 mono_runtime_exec_main + 97 (object.c:2105)
+4 mono 0x0007b178 mono_runtime_run_main + 385 (object.c:1962)
+5 mono 0x00003dfd mono_main + 4808 (driver.c:974)
+6 mono 0x000025e2 _start + 228 (crt.c:272)
+7 mono 0x000024fd start + 41
+
+Thread 1:
+0 libSystem.B.dylib 0x90037e07 mach_wait_until + 7
+1 mono 0x0009a599 collection_thread + 40 (collection.c:37)
+2 libSystem.B.dylib 0x90024a27 _pthread_body + 84
+
+Thread 2:
+0 libSystem.B.dylib 0x90049207 semaphore_timedwait_signal_trap + 7
+1 mono 0x0009d574 timedwait_signal_poll_cond + 72 (handles.c:1321)
+2 mono 0x0009f329 _wapi_handle_timedwait_signal_handle + 329 (handles.c:1392)
+3 mono 0x0009f387 _wapi_handle_wait_signal_handle + 25 (handles.c:1351)
+4 mono 0x000ac576 WaitForSingleObjectEx + 826 (wait.c:187)
+5 mono 0x00051d4a finalizer_thread + 121 (gc.c:753)
+6 mono 0x0009954a start_wrapper + 217 (threads.c:329)
+7 mono 0x000ab896 thread_start_routine + 154 (threads.c:194)
+8 mono 0x000bc452 GC_start_routine + 93 (pthread_support.c:1330)
+9 libSystem.B.dylib 0x90024a27 _pthread_body + 84
+
+Thread 0 crashed with i386 Thread State:
+eax: 0x00000001 ebx: 0x00000000 ecx:0x005b97c8 edx: 0x00000000
+edi: 0x00000001 esi: 0x00000000 ebp:0xbffff908 esp: 0xbffff8f0
+ ss: 0x0000002f efl: 0x00210246 eip:0x005b9891 cs: 0x00000027
+ ds: 0x0000002f es: 0x0000002f fs:0x00000000 gs: 0x00000037
+
+Binary Images Description:
+ 0x1000 - 0x168fff mono /usr/local/bin/mono
+ 0x51f000 - 0x520fff libgthread-2.0.0.dylib /usr/local/lib/libgthread-2.0.0.dylib
+ 0x528000 - 0x529fff libgmodule-2.0.0.dylib /usr/local/lib/libgmodule-2.0.0.dylib
+ 0x530000 - 0x537fff libintl.3.dylib /usr/local/lib/libintl.3.dylib
+ 0x1008000 - 0x107dfff libglib-2.0.0.dylib /usr/local/lib/libglib-2.0.0.dylib
+0x8fe00000 - 0x8fe4bfff dyld 44.17 /usr/lib/dyld
+0x90000000 - 0x9016efff libSystem.B.dylib /usr/lib/libSystem.B.dylib
+0x901be000 - 0x901c0fff libmathCommon.A.dylib /usr/lib/system/libmathCommon.A.dylib
+0x90801000 - 0x908c9fff com.apple.CoreFoundation 6.4.5 (368.26)
+ /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
+0x90909000 - 0x909fcfff libicucore.A.dylib /usr/lib/libicucore.A.dylib
+0x90a4c000 - 0x90acbfff libobjc.A.dylib /usr/lib/libobjc.A.dylib
+0x90af4000 - 0x90b57fff libstdc++.6.dylib /usr/lib/libstdc++.6.dylib
+0x90bc6000 - 0x90bcdfff libgcc_s.1.dylib /usr/lib/libgcc_s.1.dylib
+0x90c57000 - 0x90c69fff libauto.dylib /usr/lib/libauto.dylib
+0x92b3c000 - 0x92c29fff libiconv.2.dylib /usr/lib/libiconv.2.dylib
More information about the mono-bugs
mailing list