... ends_in_dead .L10: .L30: mark_offset(24) .L31: call_external _jit_unwind_pop_setjmp (0x40086890) return ends_in_dead .L5: .L32: call_external jit_exception_get_last (0x40086300) return_reg(i68, eax) i67 = i68 address_of_label .L0 if i13 < i69 then goto .L11 .L33: address_of_label .L9 if i13 >= i71 then goto .L11 .L34: if call_finally then goto .L9 goto .L12 ends_in_dead .L11: .L12: .L35: call_external _jit_unwind_pop_setjmp (0x40086890) push_int(i67) .L36: call_external jit_exception_throw (0x400863c0) ends_in_dead ends_in_dead .L37: pop_stack(4) goto .L12 ends_in_dead end function Xsharp.Graphics.Finalize(ptr, ptr) : void /tmp/libjit-dump.o: file format elf32-i386 Disassembly of section .text: 410bc177 <.text>: 410bc177: 55 push %ebp 410bc178: 8b ec mov %esp,%ebp 410bc17a: 81 ec c0 00 00 00 sub $0xc0,%esp 410bc180: 8d 85 58 ff ff ff lea 0xffffff58(%ebp),%eax 410bc186: 50 push %eax 410bc187: e8 b4 a6 fc fe call 0x40086840 410bc18c: 8d 85 58 ff ff ff lea 0xffffff58(%ebp),%eax 410bc192: 6a 01 push $0x1 410bc194: 50 push %eax 410bc195: e8 96 c3 08 ff call 0x40148530 410bc19a: 83 c4 0c add $0xc,%esp 410bc19d: 0b c0 or %eax,%eax 410bc19f: 0f 84 36 00 00 00 je 0x410bc1db 410bc1a5: 8d 85 58 ff ff ff lea 0xffffff58(%ebp),%eax 410bc1ab: 8b 80 a0 00 00 00 mov 0xa0(%eax),%eax 410bc1b1: 8b c8 mov %eax,%ecx 410bc1b3: 89 8d 54 ff ff ff mov %ecx,0xffffff54(%ebp) 410bc1b9: 0b c0 or %eax,%eax 410bc1bb: 0f 84 15 00 00 00 je 0x410bc1d6 410bc1c1: 8d 85 58 ff ff ff lea 0xffffff58(%ebp),%eax 410bc1c7: c7 80 a0 00 00 00 00 movl $0x0,0xa0(%eax) 410bc1ce: 00 00 00 410bc1d1: e9 0f 01 00 00 jmp 0x410bc2e5 410bc1d6: e8 f5 a6 fc fe call 0x400868d0 410bc1db: 8b 45 0c mov 0xc(%ebp),%eax 410bc1de: 0b c0 or %eax,%eax 410bc1e0: 75 0f jne 0x410bc1f1 410bc1e2: e8 00 00 00 00 call 0x410bc1e7 410bc1e7: 8f 45 f8 popl 0xfffffff8(%ebp) 410bc1ea: 6a fb push $0xfffffffb 410bc1ec: e8 1f a2 fc fe call 0x40086410 410bc1f1: 0f b6 40 34 movzbl 0x34(%eax),%eax 410bc1f5: 89 85 50 ff ff ff mov %eax,0xffffff50(%ebp) 410bc1fb: 8b 85 50 ff ff ff mov 0xffffff50(%ebp),%eax 410bc201: 0b c0 or %eax,%eax 410bc203: 0f 85 8b 00 00 00 jne 0x410bc294 410bc209: 8b 45 0c mov 0xc(%ebp),%eax 410bc20c: 89 85 4c ff ff ff mov %eax,0xffffff4c(%ebp) 410bc212: 8b 85 4c ff ff ff mov 0xffffff4c(%ebp),%eax 410bc218: 0b c0 or %eax,%eax 410bc21a: 75 0f jne 0x410bc22b 410bc21c: e8 00 00 00 00 call 0x410bc221 410bc221: 8f 45 f8 popl 0xfffffff8(%ebp) 410bc224: 6a fb push $0xfffffffb 410bc226: e8 e5 a1 fc fe call 0x40086410 410bc22b: 8b 40 f8 mov 0xfffffff8(%eax),%eax 410bc22e: 8b 40 30 mov 0x30(%eax),%eax 410bc231: 8b 40 10 mov 0x10(%eax),%eax 410bc234: 89 85 48 ff ff ff mov %eax,0xffffff48(%ebp) 410bc23a: 0b c0 or %eax,%eax 410bc23c: 0f 85 1c 00 00 00 jne 0x410bc25e 410bc242: e8 00 00 00 00 call 0x410bc247 410bc247: 58 pop %eax 410bc248: 8d 8d 58 ff ff ff lea 0xffffff58(%ebp),%ecx 410bc24e: 89 81 a0 00 00 00 mov %eax,0xa0(%ecx) 410bc254: 68 90 12 61 40 push $0x40611290 410bc259: e8 c2 86 f9 c6 call 0x8054920 410bc25e: e8 00 00 00 00 call 0x410bc263 410bc263: 58 pop %eax 410bc264: 8d 8d 58 ff ff ff lea 0xffffff58(%ebp),%ecx 410bc26a: 89 81 a0 00 00 00 mov %eax,0xa0(%ecx) 410bc270: ff b5 4c ff ff ff pushl 0xffffff4c(%ebp) 410bc276: ff 75 08 pushl 0x8(%ebp) 410bc279: 8b 85 48 ff ff ff mov 0xffffff48(%ebp),%eax 410bc27f: ff d0 call *%eax 410bc281: 8d 85 58 ff ff ff lea 0xffffff58(%ebp),%eax 410bc287: c7 80 a0 00 00 00 00 movl $0x0,0xa0(%eax) 410bc28e: 00 00 00 410bc291: 83 c4 08 add $0x8,%esp 410bc294: e8 05 00 00 00 call 0x410bc29e 410bc299: e9 3d 00 00 00 jmp 0x410bc2db 410bc29e: 8b 45 0c mov 0xc(%ebp),%eax 410bc2a1: 89 85 44 ff ff ff mov %eax,0xffffff44(%ebp) 410bc2a7: e8 00 00 00 00 call 0x410bc2ac 410bc2ac: 58 pop %eax 410bc2ad: 8d 8d 58 ff ff ff lea 0xffffff58(%ebp),%ecx 410bc2b3: 89 81 a0 00 00 00 mov %eax,0xa0(%ecx) 410bc2b9: ff b5 44 ff ff ff pushl 0xffffff44(%ebp) 410bc2bf: ff 75 08 pushl 0x8(%ebp) 410bc2c2: e8 e9 9c b3 ff call 0x40bf5fb0 410bc2c7: 8d 85 58 ff ff ff lea 0xffffff58(%ebp),%eax 410bc2cd: c7 80 a0 00 00 00 00 movl $0x0,0xa0(%eax) 410bc2d4: 00 00 00 410bc2d7: 83 c4 08 add $0x8,%esp 410bc2da: c3 ret 410bc2db: e8 b0 a5 fc fe call 0x40086890 410bc2e0: e9 46 00 00 00 jmp 0x410bc32b 410bc2e5: e8 16 a0 fc fe call 0x40086300 410bc2ea: 89 85 40 ff ff ff mov %eax,0xffffff40(%ebp) 410bc2f0: b8 db c1 0b 41 mov $0x410bc1db,%eax 410bc2f5: 8b 8d 54 ff ff ff mov 0xffffff54(%ebp),%ecx 410bc2fb: 3b c8 cmp %eax,%ecx 410bc2fd: 0f 8c 18 00 00 00 jl 0x410bc31b 410bc303: b8 9e c2 0b 41 mov $0x410bc29e,%eax 410bc308: 8b 8d 54 ff ff ff mov 0xffffff54(%ebp),%ecx 410bc30e: 3b c8 cmp %eax,%ecx 410bc310: 0f 8d 05 00 00 00 jge 0x410bc31b 410bc316: e8 83 ff ff ff call 0x410bc29e 410bc31b: e8 70 a5 fc fe call 0x40086890 410bc320: ff b5 40 ff ff ff pushl 0xffffff40(%ebp) 410bc326: e8 95 a0 fc fe call 0x400863c0 410bc32b: 8b e5 mov %ebp,%esp 410bc32d: 5d pop %ebp 410bc32e: c3 ret end Setup: PaintEventArgs.Finalize SetupExceptions: hasRethrow: 0 AddFinallyLabel for offset: 9 StackRefresh: 0 Label: 0 LoadArg: 0 CallVirtual: PaintEventArgs.Dispose at slot 4 CallInfos: StackTop: 2, ArgCount: 2, Signature argCount: 3 CallFinally: dest: 9 Branch: 16 StackRefresh: 0 StartFinally: 9 LoadArg: 0 CallMethod: Object.Finalize CallInfos: StackTop: 1, ArgCount: 1, Signature argCount: 2 EndFinally: RetFromJsr: StackRefresh: 0 Label: 16 Return TryHandlerStart: start: 0 end: 9 CallFinally: dest: 9 Throw: inCurrentMethod: 0 TryHandlerEnd: TryHandlerStart: start: 0 end: -1 Throw: inCurrentMethod: 0 TryHandlerEnd: function System.Windows.Forms.PaintEventArgs.Finalize(i1 : ptr, i2 : ptr) : void incoming_frame_posn(i1, 8) incoming_frame_posn(i2, 12) .L1: i6 = &s5 push_int(i6) .L12: call_external _jit_unwind_push_setjmp (0x40086840) i8 = &s5 push_int(1) push_int(i8) .L13: call_external __sigsetjmp (0x40148530) return_reg(i10, eax) pop_stack(12) if ifalse(i10) then goto .L2 .L3: i14 = &s5 i16 = load_relative_int(i14, 160) i13 = i16 if ifalse(i16) then goto .L4 .L14: i18 = &s5 store_relative_int(i18, 0, 160) goto .L5 ends_in_dead .L4: .L15: call_external _jit_unwind_pop_and_rethrow (0x400868d0) ends_in_dead .L2: .L0: .L6: .L0: i21 = i2 .L16: mark_offset(1) .L17: mark_offset(2) check_null(i21) i25 = load_relative_int(i21, -8) i27 = load_relative_int(i25, 48) i30 = load_relative_int(i27, 16) if itrue(i30) then goto .L7 .L18: i32 = load_pc i33 = &s5 store_relative_int(i33, i32, 160) push_int(1080103568) .L19: call_external ILRuntimeExceptionThrowClass (0x08054920) ends_in_dead .L20: pop_stack(4) .L7: i38 = load_pc i39 = &s5 store_relative_int(i39, i38, 160) push_int(0) push_int(i21) push_int(i1) outgoing_reg(i30, eax) .L21: call_vtable_ptr(i30) i42 = &s5 store_relative_int(i42, 0, 160) .L22: mark_offset(7) pop_stack(12) if call_finally then goto .L8 goto .L9 ends_in_dead .L8: enter_finally .L23: mark_offset(9) i47 = i2 .L24: mark_offset(10) i49 = load_pc i50 = &s5 store_relative_int(i50, i49, 160) push_int(i47) push_int(i1) .L25: call System.Object.Finalize i53 = &s5 store_relative_int(i53, 0, 160) .L26: mark_offset(15) pop_stack(8) leave_finally ends_in_dead .L9: .L27: mark_offset(16) .L28: call_external _jit_unwind_pop_setjmp (0x40086890) return ends_in_dead .L5: .L29: call_external jit_exception_get_last (0x40086300) return_reg(i60, eax) i59 = i60 address_of_label .L0 if i13 < i61 then goto .L10 .L30: address_of_label .L8 if i13 >= i63 then goto .L10 .L31: if call_finally then goto .L8 goto .L11 ends_in_dead .L10: .L11: .L32: call_external _jit_unwind_pop_setjmp (0x40086890) push_int(i59) .L33: call_external jit_exception_throw (0x400863c0) ends_in_dead ends_in_dead .L34: pop_stack(4) goto .L11 ends_in_dead end function System.Windows.Forms.PaintEventArgs.Finalize(ptr, ptr) : void /tmp/libjit-dump.o: file format elf32-i386 Disassembly of section .text: 410bc357 <.text>: 410bc357: 55 push %ebp 410bc358: 8b ec mov %esp,%ebp 410bc35a: 81 ec bc 00 00 00 sub $0xbc,%esp 410bc360: 8d 85 58 ff ff ff lea 0xffffff58(%ebp),%eax 410bc366: 50 push %eax 410bc367: e8 d4 a4 fc fe call 0x40086840 410bc36c: 8d 85 58 ff ff ff lea 0xffffff58(%ebp),%eax 410bc372: 6a 01 push $0x1 410bc374: 50 push %eax 410bc375: e8 b6 c1 08 ff call 0x40148530 410bc37a: 83 c4 0c add $0xc,%esp 410bc37d: 0b c0 or %eax,%eax 410bc37f: 0f 84 36 00 00 00 je 0x410bc3bb 410bc385: 8d 85 58 ff ff ff lea 0xffffff58(%ebp),%eax 410bc38b: 8b 80 a0 00 00 00 mov 0xa0(%eax),%eax 410bc391: 8b c8 mov %eax,%ecx 410bc393: 89 8d 54 ff ff ff mov %ecx,0xffffff54(%ebp) 410bc399: 0b c0 or %eax,%eax 410bc39b: 0f 84 15 00 00 00 je 0x410bc3b6 410bc3a1: 8d 85 58 ff ff ff lea 0xffffff58(%ebp),%eax 410bc3a7: c7 80 a0 00 00 00 00 movl $0x0,0xa0(%eax) 410bc3ae: 00 00 00 410bc3b1: e9 e3 00 00 00 jmp 0x410bc499 410bc3b6: e8 15 a5 fc fe call 0x400868d0 410bc3bb: 8b 45 0c mov 0xc(%ebp),%eax 410bc3be: 89 85 50 ff ff ff mov %eax,0xffffff50(%ebp) 410bc3c4: 8b 85 50 ff ff ff mov 0xffffff50(%ebp),%eax 410bc3ca: 0b c0 or %eax,%eax 410bc3cc: 75 0f jne 0x410bc3dd 410bc3ce: e8 00 00 00 00 call 0x410bc3d3 410bc3d3: 8f 45 f8 popl 0xfffffff8(%ebp) 410bc3d6: 6a fb push $0xfffffffb 410bc3d8: e8 33 a0 fc fe call 0x40086410 410bc3dd: 8b 40 f8 mov 0xfffffff8(%eax),%eax 410bc3e0: 8b 40 30 mov 0x30(%eax),%eax 410bc3e3: 8b 40 10 mov 0x10(%eax),%eax 410bc3e6: 89 85 4c ff ff ff mov %eax,0xffffff4c(%ebp) 410bc3ec: 0b c0 or %eax,%eax 410bc3ee: 0f 85 1c 00 00 00 jne 0x410bc410 410bc3f4: e8 00 00 00 00 call 0x410bc3f9 410bc3f9: 58 pop %eax 410bc3fa: 8d 8d 58 ff ff ff lea 0xffffff58(%ebp),%ecx 410bc400: 89 81 a0 00 00 00 mov %eax,0xa0(%ecx) 410bc406: 68 90 12 61 40 push $0x40611290 410bc40b: e8 10 85 f9 c6 call 0x8054920 410bc410: e8 00 00 00 00 call 0x410bc415 410bc415: 58 pop %eax 410bc416: 8d 8d 58 ff ff ff lea 0xffffff58(%ebp),%ecx 410bc41c: 89 81 a0 00 00 00 mov %eax,0xa0(%ecx) 410bc422: 6a 00 push $0x0 410bc424: ff b5 50 ff ff ff pushl 0xffffff50(%ebp) 410bc42a: ff 75 08 pushl 0x8(%ebp) 410bc42d: 8b 85 4c ff ff ff mov 0xffffff4c(%ebp),%eax 410bc433: ff d0 call *%eax 410bc435: 8d 85 58 ff ff ff lea 0xffffff58(%ebp),%eax 410bc43b: c7 80 a0 00 00 00 00 movl $0x0,0xa0(%eax) 410bc442: 00 00 00 410bc445: 83 c4 0c add $0xc,%esp 410bc448: e8 05 00 00 00 call 0x410bc452 410bc44d: e9 3d 00 00 00 jmp 0x410bc48f 410bc452: 8b 45 0c mov 0xc(%ebp),%eax 410bc455: 89 85 48 ff ff ff mov %eax,0xffffff48(%ebp) 410bc45b: e8 00 00 00 00 call 0x410bc460 410bc460: 58 pop %eax 410bc461: 8d 8d 58 ff ff ff lea 0xffffff58(%ebp),%ecx 410bc467: 89 81 a0 00 00 00 mov %eax,0xa0(%ecx) 410bc46d: ff b5 48 ff ff ff pushl 0xffffff48(%ebp) 410bc473: ff 75 08 pushl 0x8(%ebp) 410bc476: e8 35 9b b3 ff call 0x40bf5fb0 410bc47b: 8d 85 58 ff ff ff lea 0xffffff58(%ebp),%eax 410bc481: c7 80 a0 00 00 00 00 movl $0x0,0xa0(%eax) 410bc488: 00 00 00 410bc48b: 83 c4 08 add $0x8,%esp 410bc48e: c3 ret 410bc48f: e8 fc a3 fc fe call 0x40086890 410bc494: e9 46 00 00 00 jmp 0x410bc4df 410bc499: e8 62 9e fc fe call 0x40086300 410bc49e: 89 85 44 ff ff ff mov %eax,0xffffff44(%ebp) 410bc4a4: b8 bb c3 0b 41 mov $0x410bc3bb,%eax 410bc4a9: 8b 8d 54 ff ff ff mov 0xffffff54(%ebp),%ecx 410bc4af: 3b c8 cmp %eax,%ecx 410bc4b1: 0f 8c 18 00 00 00 jl 0x410bc4cf 410bc4b7: b8 52 c4 0b 41 mov $0x410bc452,%eax 410bc4bc: 8b 8d 54 ff ff ff mov 0xffffff54(%ebp),%ecx 410bc4c2: 3b c8 cmp %eax,%ecx 410bc4c4: 0f 8d 05 00 00 00 jge 0x410bc4cf 410bc4ca: e8 83 ff ff ff call 0x410bc452 410bc4cf: e8 bc a3 fc fe call 0x40086890 410bc4d4: ff b5 44 ff ff ff pushl 0xffffff44(%ebp) 410bc4da: e8 e1 9e fc fe call 0x400863c0 410bc4df: 8b e5 mov %ebp,%esp 410bc4e1: 5d pop %ebp 410bc4e2: c3 ret end Setup: PaintEventArgs.Dispose LoadThisField: PaintEventArgs.graphics at offset 0 Branch: 26 LoadThisField: PaintEventArgs.graphics at offset 0 CallVirtual: Graphics.Dispose at slot 6 CallInfos: StackTop: 1, ArgCount: 1, Signature argCount: 2 LoadArg: 0 StoreField: PaintEventArgs.graphics at offset 0 StackRefresh: 0 Label: 26 Return function System.Windows.Forms.PaintEventArgs.Dispose(i1 : ptr, i2 : ptr, i3 : ubyte) : void incoming_frame_posn(i1, 8) incoming_frame_posn(i2, 12) incoming_frame_posn(i3, 16) .L0: check_null(i2) i8 = load_relative_int(i2, 0) .L3: mark_offset(6) if ifalse(i8) then goto .L1 .L4: mark_offset(8) check_null(i2) i11 = load_relative_int(i2, 0) .L5: mark_offset(14) check_null(i11) i14 = load_relative_int(i11, -8) i16 = load_relative_int(i14, 48) i19 = load_relative_int(i16, 24) if itrue(i19) then goto .L2 .L6: push_int(1080103568) .L7: call_external ILRuntimeExceptionThrowClass (0x08054920) ends_in_dead .L8: pop_stack(4) .L2: push_int(i11) push_int(i1) outgoing_reg(i19, eax) .L9: call_vtable_ptr(i19) .L10: mark_offset(19) i26 = i2 .L11: mark_offset(20) .L12: mark_offset(21) check_null(i26) store_relative_int(i26, 0, 0) pop_stack(8) .L1: .L13: mark_offset(26) return ends_in_dead end function System.Windows.Forms.PaintEventArgs.Dispose(ptr, ptr, ubyte) : void /tmp/libjit-dump.o: file format elf32-i386 Disassembly of section .text: 410bc517 <.text>: 410bc517: 55 push %ebp 410bc518: 8b ec mov %esp,%ebp 410bc51a: 83 ec 08 sub $0x8,%esp 410bc51d: 53 push %ebx 410bc51e: 56 push %esi 410bc51f: 57 push %edi 410bc520: 8b 7d 0c mov 0xc(%ebp),%edi 410bc523: 0b ff or %edi,%edi 410bc525: 75 07 jne 0x410bc52e 410bc527: 6a fb push $0xfffffffb 410bc529: e8 e2 9e fc fe call 0x40086410 410bc52e: 8b 07 mov (%edi),%eax 410bc530: 89 45 fc mov %eax,0xfffffffc(%ebp) 410bc533: 8b 45 fc mov 0xfffffffc(%ebp),%eax 410bc536: 0b c0 or %eax,%eax 410bc538: 0f 84 57 00 00 00 je 0x410bc595 410bc53e: 0b ff or %edi,%edi 410bc540: 75 07 jne 0x410bc549 410bc542: 6a fb push $0xfffffffb 410bc544: e8 c7 9e fc fe call 0x40086410 410bc549: 8b 37 mov (%edi),%esi 410bc54b: 0b f6 or %esi,%esi 410bc54d: 75 07 jne 0x410bc556 410bc54f: 6a fb push $0xfffffffb 410bc551: e8 ba 9e fc fe call 0x40086410 410bc556: 8b 46 f8 mov 0xfffffff8(%esi),%eax 410bc559: 8b 40 30 mov 0x30(%eax),%eax 410bc55c: 8b 58 18 mov 0x18(%eax),%ebx 410bc55f: 0b db or %ebx,%ebx 410bc561: 0f 85 0a 00 00 00 jne 0x410bc571 410bc567: 68 90 12 61 40 push $0x40611290 410bc56c: e8 af 83 f9 c6 call 0x8054920 410bc571: 56 push %esi 410bc572: ff 75 08 pushl 0x8(%ebp) 410bc575: 8b c3 mov %ebx,%eax 410bc577: ff d0 call *%eax 410bc579: 8b c7 mov %edi,%eax 410bc57b: 89 45 f8 mov %eax,0xfffffff8(%ebp) 410bc57e: 8b 45 f8 mov 0xfffffff8(%ebp),%eax 410bc581: 0b c0 or %eax,%eax 410bc583: 75 07 jne 0x410bc58c 410bc585: 6a fb push $0xfffffffb 410bc587: e8 84 9e fc fe call 0x40086410 410bc58c: c7 00 00 00 00 00 movl $0x0,(%eax) 410bc592: 83 c4 08 add $0x8,%esp 410bc595: 8b 5d f4 mov 0xfffffff4(%ebp),%ebx 410bc598: 8b 75 f0 mov 0xfffffff0(%ebp),%esi 410bc59b: 8b 7d ec mov 0xffffffec(%ebp),%edi 410bc59e: 8b e5 mov %ebp,%esp 410bc5a0: 5d pop %ebp 410bc5a1: c3 ret end Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1076189696 (LWP 29994)] ILWaitMutexFastEnter (thread=0x0, handle=0x8660890) at wait_mutex.h:60 60 wait_mutex.h: No such file or directory. in wait_mutex.h (gdb) bt