Running IGOR Pro 8 on MacBook Air M1, I faced with problem that terminating the program. It runs well generally, but some macros that I use make problem and terminate IGOR Pro. Here is the crash log. (I'm not that good at programming and even this macro isn't made by me. So I don't know about the specific logic or functions used in the macro.)
Process: Igor64 [3529]
Path: /Applications/Igor Pro 8 Folder/Igor64.app/Contents/MacOS/Igor64
Identifier: com.wavemetrics.igorpromach
Version: 8.04 (8.04)
Code Type: X86-64 (Translated)
Parent Process: ??? [1]
Responsible: Igor64 [3529]
User ID: 501
Date/Time: 2021-07-29 14:59:36.076 +0900
OS Version: macOS 11.4 (20F71)
Report Version: 12
Anonymous UUID: E0C9FDA2-D7BF-3877-D61A-BCD6EFBE3136
Time Awake Since Boot: 3700 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x0000000000000001, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Illegal instruction: 4
Termination Reason: Namespace SIGNAL, Code 0x4
Terminating Process: exc handler [3529]
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 com.apple.carbonbundletemplate.xopbin64 0x00000001958ba710 checkaxis + 160
1 com.apple.carbonbundletemplate.xopbin64 0x00000001958ba969 ExtractPlaneBin + 441
2 com.wavemetrics.igorpromach 0x0000000103884eea ExecuteXFunc(int, void*) + 74
3 com.wavemetrics.igorpromach 0x0000000103887bfb ExecuteXFuncWithIgorStringPtrFixup(tag_UserFuncThreadInfo*, long long, long long, std::__1::vector<ISPFixupRec, std::__1::allocator<ISPFixupRec> >*, void*) + 507
4 com.wavemetrics.igorpromach 0x00000001035a0442 Execute(long long**, void*, int) + 370
5 com.wavemetrics.igorpromach 0x0000000103308d6d ExecuteFreeEquation(FreeEquation**, void*, int) + 109
6 com.wavemetrics.igorpromach 0x000000010372e69e ExecuteVarsEqn(VarDiscriptor*, UserVar*) + 62
7 com.wavemetrics.igorpromach 0x0000000103730db6 DoVarExpression(IgorCodeParse*, VarDiscriptor*, UserVar*, int, int, int*) + 390
8 com.wavemetrics.igorpromach 0x000000010358234a 0x10259a000 + 16679754
9 com.wavemetrics.igorpromach 0x000000010358124e XLine(IgorCodeParse*, int*) + 254
10 com.wavemetrics.igorpromach 0x0000000103587319 DoExecuteNew(char**, int) + 377
11 com.wavemetrics.igorpromach 0x0000000103587de5 0x10259a000 + 16702949
12 com.wavemetrics.igorpromach 0x00000001035aa742 0x10259a000 + 16844610
13 com.wavemetrics.igorpromach 0x00000001035a0442 Execute(long long**, void*, int) + 370
14 com.wavemetrics.igorpromach 0x00000001035a08ec EvalExpression(IgorCodeParse*, char*, int) + 60
15 com.wavemetrics.igorpromach 0x0000000103596a3e GetDblExpr(IgorCodeParse*, double*, int*, int) + 78
16 com.wavemetrics.igorpromach 0x0000000103581706 XLine(IgorCodeParse*, int*) + 1462
17 com.wavemetrics.igorpromach 0x0000000103587090 XaLine(char const*, int, int) + 160
18 com.wavemetrics.igorpromach 0x0000000102650d7e UserDefinedMenus::ExecUserMenu(QAction*, QVariant*) + 1454
19 org.qt-project.QtCore 0x000000011e28dc22 QMetaObject::activate(QObject*, int, int, void**) + 1474
20 org.qt-project.QtWidgets 0x000000011c630505 QAction::activate(QAction::ActionEvent) + 309
21 org.qt-project.QtCore 0x000000011e28df7e QMetaObject::activate(QObject*, int, int, void**) + 2334
22 org.qt-project.QtCore 0x000000011e286881 QObject::event(QEvent*) + 769
23 org.qt-project.QtWidgets 0x000000011c639fdd QApplicationPrivate::notify_helper(QObject*, QEvent*) + 269
24 org.qt-project.QtWidgets 0x000000011c63b348 QApplication::notify(QObject*, QEvent*) + 392
25 com.wavemetrics.igorpromach 0x00000001025fdaec IgorAppObject::notify(QObject*, QEvent*) + 236
26 org.qt-project.QtCore 0x000000011e25d564 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 164
27 org.qt-project.QtCore 0x000000011e25e713 QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 851
28 libqcocoa.dylib 0x000000012121da59 0x1211f5000 + 166489
29 libqcocoa.dylib 0x000000012121e310 0x1211f5000 + 168720
30 com.apple.CoreFoundation 0x00007fff204076dc __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
31 com.apple.CoreFoundation 0x00007fff20407644 __CFRunLoopDoSource0 + 180
32 com.apple.CoreFoundation 0x00007fff204073ba __CFRunLoopDoSources0 + 242
33 com.apple.CoreFoundation 0x00007fff20405dc8 __CFRunLoopRun + 897
34 com.apple.CoreFoundation 0x00007fff20405380 CFRunLoopRunSpecific + 567
35 com.apple.HIToolbox 0x00007fff288a5ab3 RunCurrentEventLoopInMode + 292
36 com.apple.HIToolbox 0x00007fff288a56e6 ReceiveNextEventCommon + 284
37 com.apple.HIToolbox 0x00007fff288a55b3 _BlockUntilNextEventMatchingListInModeWithFilter + 70
38 com.apple.AppKit 0x00007fff22b306f2 _DPSNextEvent + 864
39 com.apple.AppKit 0x00007fff22b2eec5 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1364
40 com.apple.AppKit 0x00007fff22b21239 -[NSApplication run] + 586
41 libqcocoa.dylib 0x000000012121d15f 0x1211f5000 + 164191
42 org.qt-project.QtCore 0x000000011e258b7e QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 430
43 org.qt-project.QtCore 0x000000011e25dc61 QCoreApplication::exec() + 369
44 com.wavemetrics.igorpromach 0x000000010462c0db main + 5643
45 libdyld.dylib 0x00007fff20329f5d start + 1
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x000060000329e640 rcx: 0x6477fc5e91ef0034 rdx: 0x0000000000000000
rdi: 0x0000000000000000 rsi: 0x0000000000000000 rbp: 0x0000000313602b20 rsp: 0x0000000313602a70
r8: 0x000000000000b73f r9: 0xffffffff00000000 r10: 0x00007fff8004c9a8 r11: 0x00007fff203c6694
r12: 0x00006000032bee60 r13: 0x000060000320efe0 r14: 0x0000000313602c10 r15: 0x6477fc5e91ef0034
rip: 0x00000001958ba710 rfl: 0x0000000000000243