Bug 320810 (MONO78063) - mcs generates CrashReport during compilation
Summary: mcs generates CrashReport during compilation
Status: RESOLVED MOVED
Alias: MONO78063
Product: Mono: Runtime
Classification: Mono
Component: JIT (show other bugs)
Version: 1.1
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Raja R Harinath
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-09 18:05 UTC by artyom.tyazhelov
Modified: 2007-09-15 21:24 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wiest 2007-09-15 19:54:37 UTC


---- Reported by artyom.tyazhelov@gmail.com 2006-04-09 11:05:50 MST ----

Please fill in this template when reporting a bug, unless you know what you are doing.
Description of Problem:
mcs error CS0020: Division by constant zero leads to CrashReport

Steps to reproduce the problem:
namespace Test {
	class Test {
		public static void Main() {
			int c = 1 / 0;
			c++;
		}
	}
}

Actual Results:


Expected Results:


How often does this happen? 
always

Additional Information:
**********

Host Name:      arty0mbkpro
Date/Time:      2006-04-09 17:44:07.276 +0300
OS Version:     10.4.6 (Build 8I1119)
Report Version: 4

Command: mono
Path:    /usr/local/bin/mono
Parent:  bash [2304]

Version: ??? (???)

PID:    2462
Thread: 0

Exception:  EXC_ARITHMETIC (0x0003)
Codes:      EXC_I386_DIV (divide by zero)

Thread 0 Crashed:
0   <<00000000>> 	0x0240c2ae 0 + 37798574
1   <<00000000>> 	0x0179b323 0 + 24752931
2   <<00000000>> 	0x01795909 0 + 24729865
3   <<00000000>> 	0x01795791 0 + 24729489
4   <<00000000>> 	0x01799178 0 + 24744312
5   <<00000000>> 	0x01795909 0 + 24729865
6   <<00000000>> 	0x01795791 0 + 24729489
7   <<00000000>> 	0x0179572a 0 + 24729386
8   <<00000000>> 	0x017956eb 0 + 24729323
9   <<00000000>> 	0x01792379 0 + 24716153
10  <<00000000>> 	0x01792379 0 + 24716153
11  <<00000000>> 	0x01792379 0 + 24716153
12  <<00000000>> 	0x01791cfb 0 + 24714491
13  <<00000000>> 	0x01791b41 0 + 24714049
14  <<00000000>> 	0x017950b4 0 + 24727732
15  <<00000000>> 	0x01794cdc 0 + 24726748
16  <<00000000>> 	0x0176d220 0 + 24564256
17  <<00000000>> 	0x0176cabc 0 + 24562364
18  <<00000000>> 	0x005c17e0 0 + 6035424
19  <<00000000>> 	0x005c00b1 0 + 6029489
20  <<00000000>> 	0x005b9807 0 + 6002695
21  mono              	0x00077e88 mono_runtime_exec_main + 162 (object.c:2097)
22  mono              	0x0007b178 mono_runtime_run_main + 385 (object.c:1962)
23  mono              	0x00003dfd mono_main + 4808 (driver.c:974)
24  mono              	0x000025e2 _start + 228 (crt.c:272)
25  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:0x00000000 edx: 0x00000000
edi: 0x00000000    esi: 0x0058dee0 ebp:0xbfffefb8 esp: 0xbfffeac0
 ss: 0x0000002f    efl: 0x00210246 eip:0x0240c2ae  cs: 0x00000027
 ds: 0x0000002f     es: 0x0000002f  fs:0x00000000  gs: 0x00000037



---- Additional Comments From marek.safar@seznam.cz 2006-04-09 18:24:20 MST ----

It looks like some weird runtime issue.



---- Additional Comments From lupus@ximian.com 2006-04-10 05:27:35 MST ----



*** This bug has been marked as a duplicate of https://bugzilla.novell.com/show_bug.cgi?id=MONO78061 ***


Unknown bug field "cf_op_sys_details" encountered while moving bug
   <cf_op_sys_details>Mac OS X 10.4.6 Intel</cf_op_sys_details>
Unknown operating system other. Setting to default OS "Other".
This bug was marked DUPLICATE in the database it was moved from.
    Changing resolution to "MOVED"