Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

NI4882 Sample program on Mac OSX

Hi Leute

Hier eine Herausforderung:

Wer kann das Sampleprogramm findinstr.c in /Applications/National Instruments/NI-488.2/Sample auf einem Mac OSX

ohne einen Crash zum Laufen bringen?

 

Crash.................................

Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"
zsh: abort ./gpib-test

 

-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process: gpib-test [72670]
Path: /Users/USER/*/gpib-test
Identifier: gpib-test
Version: ???
Code Type: X86-64 (Native)
Parent Process: zsh [72424]
Responsible: Terminal [64289]
User ID: 501

Date/Time: 2022-04-16 08:10:15.7817 +0200
OS Version: macOS 12.2.1 (21D62)
Report Version: 12
Anonymous UUID: 77812435-04A4-1EF6-F9B2-F4366D6E4494

Sleep/Wake UUID: D228AA03-573F-4F79-9B84-EC0ABF6710D8

Time Awake Since Boot: 85000 seconds
Time Since Wake: 7737 seconds

System Integrity Protection: enabled

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY

Application Specific Information:
abort() called


Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x7ff80b9bd112 __pthread_kill + 10
1 libsystem_pthread.dylib 0x7ff80b9f3214 pthread_kill + 263
2 libsystem_c.dylib 0x7ff80b93fd10 abort + 123
3 nipalu 0x10a327ae4 0x10a2b0000 + 490212
4 nipalu 0x10a327f99 0x10a2b0000 + 491417
5 dyld 0x10cebcb49 invocation function for block in dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const + 182
6 dyld 0x10cee30ff invocation function for block in dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void (unsigned int) block_pointer, void const*) const + 129
7 dyld 0x10ceda893 invocation function for block in dyld3::MachOFile::forEachSection(void (dyld3::MachOFile::SectionInfo const&, bool, bool&) block_pointer) const + 566
8 dyld 0x10cea9d91 dyld3::MachOFile::forEachLoadCommand(Diagnostics&, void (load_command const*, bool&) block_pointer) const + 129
9 dyld 0x10ceda61b dyld3::MachOFile::forEachSection(void (dyld3::MachOFile::SectionInfo const&, bool, bool&) block_pointer) const + 179
10 dyld 0x10cee2b30 dyld3::MachOAnalyzer::forEachInitializerPointerSection(Diagnostics&, void (unsigned int, unsigned int, unsigned char const*, bool&) block_pointer) const + 118
11 dyld 0x10cee2da2 dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void (unsigned int) block_pointer, void const*) const + 386
12 dyld 0x10cebca7c dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const + 144
13 dyld 0x10cebcc08 dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const + 178
14 dyld 0x10cebcbeb dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const + 149
15 dyld 0x10cebcbeb dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const + 149
16 dyld 0x10cebccac dyld4::Loader::runInitializersBottomUpPlusUpwardLinks(dyld4::RuntimeState&) const + 108
17 dyld 0x10cecb9b5 dyld4::APIs::dlopen_from(char const*, int, void*) + 563
18 CoreFoundation 0x7ff80baf31c9 _CFBundleDlfcnLoadFramework + 134
19 CoreFoundation 0x7ff80bb5b17d _CFBundleLoadExecutableAndReturnError + 546
20 gpib-test 0x109f33909 LoadFunctionCore + 111 (ni4882.c:490) [inlined]
21 gpib-test 0x109f33909 LoadFunction + 137 (ni4882.c:548)
22 gpib-test 0x109f386d0 SendIFC + 32 (ni4882.c:1765)
23 gpib-test 0x109f3252f findinstr_main + 15 (findinstr.c:36)
24 gpib-test 0x109f32b86 main + 54 (main.cpp:16)
25 dyld 0x10cead4fe start + 462


Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x000000010cf28600 rcx: 0x00007ff7b5fd0288 rdx: 0x0000000000000000
rdi: 0x0000000000000103 rsi: 0x0000000000000006 rbp: 0x00007ff7b5fd02b0 rsp: 0x00007ff7b5fd0288
r8: 0x0000000000000015 r9: 0x000000000000003b r10: 0x0000000000000000 r11: 0x0000000000000246
r12: 0x0000000000000103 r13: 0x000000010a2b06a0 r14: 0x0000000000000006 r15: 0x0000000000000016
rip: 0x00007ff80b9bd112 rfl: 0x0000000000000246 cr2: 0x00007ff84d21f418

Logical CPU: 0
Error Code: 0x02000148
Trap Number: 133


Binary Images:
0x7ff80b9b6000 - 0x7ff80b9ecfff libsystem_kernel.dylib (*) <c1d58a50-5a4d-3bcb-a1fc-ec0902ce34d3> /usr/lib/system/libsystem_kernel.dylib
0x7ff80b9ed000 - 0x7ff80b9f8fff libsystem_pthread.dylib (*) <ee564342-d8f2-396d-b642-40092cf34d82> /usr/lib/system/libsystem_pthread.dylib
0x7ff80b8be000 - 0x7ff80b946fff libsystem_c.dylib (*) <4b160c81-ec52-3243-aaba-49f719bbf617> /usr/lib/system/libsystem_c.dylib
0x10a2b0000 - 0x10a336fff com.ni.framework.nipalu (21.5.0) <1b1bb22b-5ce2-3521-b2bc-29e4037cfd82> /Library/Frameworks/nipalu.framework/Versions/1/nipalu
0x10cea8000 - 0x10cf13fff dyld (*) <7de33963-bbc5-3996-ba6e-f1d562c17c95> /usr/lib/dyld
0x7ff80ba3a000 - 0x7ff80bf3cfff com.apple.CoreFoundation (6.9) <9b112884-be6c-3c7f-9a2a-a47c491105db> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x109f2e000 - 0x109f39fff gpib-test (*) <8c09d4e9-4516-3710-a333-6557a689e5e2> /Users/USER/*/gpib-test

External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 1629
thread_create: 0
thread_set_state: 2189

VM Region Summary:
ReadOnly portion of Libraries: Total=394.4M resident=0K(0%) swapped_out_or_unallocated=394.4M(100%)
Writable regions: Total=548.6M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=548.6M(100%)

VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
Activity Tracing 256K 1
Kernel Alloc Once 8K 1
MALLOC 155.2M 15
MALLOC guard page 16K 4
MALLOC_NANO (reserved) 384.0M 1 reserved VM address space (unallocated)
STACK GUARD 56.0M 1
Stack 8192K 1
VM_ALLOCATE 8K 2
__DATA 2047K 124
__DATA_CONST 5170K 82
__DATA_DIRTY 208K 50
__LINKEDIT 313.4M 10
__OBJC_RO 81.8M 1
__OBJC_RW 3136K 2
__TEXT 81.0M 134
__UNICODE 588K 1
dyld private memory 1028K 2
shared memory 12K 2
=========== ======= =======
TOTAL 1.1G 434
TOTAL, minus reserved VM space 707.6M 434

 

-----------
Full Report
-----------

{"app_name":"gpib-test","timestamp":"2022-04-16 08:10:15.00 +0200","app_version":"","slice_uuid":"8c09d4e9-4516-3710-a333-6557a689e5e2","build_version":"","platform":1,"share_with_app_devs":0,"is_first_party":1,"bug_type":"309","os_version":"macOS 12.2.1 (21D62)","incident_id":"E524F035-884F-4959-A34B-8D1191950FB9","name":"gpib-test"}
{
"uptime" : 85000,
"procLaunch" : "2022-04-16 08:10:15.6874 +0200",
"procRole" : "Unspecified",
"version" : 2,
"userID" : 501,
"deployVersion" : 210,
"modelCode" : "MacBookPro11,4",
"procStartAbsTime" : 85153658530032,
"coalitionID" : 443,
"osVersion" : {
"train" : "macOS 12.2.1",
"build" : "21D62",
"releaseType" : "User"
},
"captureTime" : "2022-04-16 08:10:15.7817 +0200",
"incident" : "E524F035-884F-4959-A34B-8D1191950FB9",
"bug_type" : "309",
"pid" : 72670,
"procExitAbsTime" : 85153752521080,
"cpuType" : "X86-64",
"procName" : "gpib-test",
"procPath" : "\/Users\/USER\/*\/gpib-test",
"parentProc" : "zsh",
"parentPid" : 72424,
"coalitionName" : "com.apple.Terminal",
"crashReporterKey" : "77812435-04A4-1EF6-F9B2-F4366D6E4494",
"responsiblePid" : 64289,
"responsibleProc" : "Terminal",
"wakeTime" : 7737,
"sleepWakeUUID" : "D228AA03-573F-4F79-9B84-EC0ABF6710D8",
"sip" : "enabled",
"isCorpse" : 1,
"exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGABRT"},
"asi" : {"libsystem_c.dylib":["abort() called"]},
"extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":2189,"task_for_pid":1629},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
"faultingThread" : 0,
"threads" : [{"triggered":true,"id":2472428,"threadState":{"r13":{"value":4465559200},"rax":{"value":0},"rflags":{"value":582},"cpu":{"value":0},"r14":{"value":6},"rsi":{"value":6},"r8":{"value":21},"cr2":{"value":140704422687768},"rdx":{"value":0},"r10":{"value":0},"r9":{"value":59},"r15":{"value":22},"rbx":{"value":4512187904,"symbolLocation":0,"symbol":"_main_thread"},"trap":{"value":133},"err":{"value":33554760},"r11":{"value":582},"rip":{"value":140703323377938,"matchesCrashFrame":1},"rbp":{"value":140701886907056},"rsp":{"value":140701886907016},"r12":{"value":259},"rcx":{"value":140701886907016},"flavor":"x86_THREAD_STATE","rdi":{"value":259}},"queue":"com.apple.main-thread","frames":[{"imageOffset":28946,"symbol":"__pthread_kill","symbolLocation":10,"imageIndex":0},{"imageOffset":25108,"symbol":"pthread_kill","symbolLocation":263,"imageIndex":1},{"imageOffset":531728,"symbol":"abort","symbolLocation":123,"imageIndex":2},{"imageOffset":490212,"imageIndex":3},{"imageOffset":491417,"imageIndex":3},{"imageOffset":84809,"symbol":"invocation function for block in dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const","symbolLocation":182,"imageIndex":4},{"imageOffset":241919,"symbol":"invocation function for block in dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void (unsigned int) block_pointer, void const*) const","symbolLocation":129,"imageIndex":4},{"imageOffset":206995,"symbol":"invocation function for block in dyld3::MachOFile::forEachSection(void (dyld3::MachOFile::SectionInfo const&, bool, bool&) block_pointer) const","symbolLocation":566,"imageIndex":4},{"imageOffset":7569,"symbol":"dyld3::MachOFile::forEachLoadCommand(Diagnostics&, void (load_command const*, bool&) block_pointer) const","symbolLocation":129,"imageIndex":4},{"imageOffset":206363,"symbol":"dyld3::MachOFile::forEachSection(void (dyld3::MachOFile::SectionInfo const&, bool, bool&) block_pointer) const","symbolLocation":179,"imageIndex":4},{"imageOffset":240432,"symbol":"dyld3::MachOAnalyzer::forEachInitializerPointerSection(Diagnostics&, void (unsigned int, unsigned int, unsigned char const*, bool&) block_pointer) const","symbolLocation":118,"imageIndex":4},{"imageOffset":241058,"symbol":"dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void (unsigned int) block_pointer, void const*) const","symbolLocation":386,"imageIndex":4},{"imageOffset":84604,"symbol":"dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const","symbolLocation":144,"imageIndex":4},{"imageOffset":85000,"symbol":"dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const","symbolLocation":178,"imageIndex":4},{"imageOffset":84971,"symbol":"dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const","symbolLocation":149,"imageIndex":4},{"imageOffset":84971,"symbol":"dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const","symbolLocation":149,"imageIndex":4},{"imageOffset":85164,"symbol":"dyld4::Loader::runInitializersBottomUpPlusUpwardLinks(dyld4::RuntimeState&) const","symbolLocation":108,"imageIndex":4},{"imageOffset":145845,"symbol":"dyld4::APIs::dlopen_from(char const*, int, void*)","symbolLocation":563,"imageIndex":4},{"imageOffset":758217,"symbol":"_CFBundleDlfcnLoadFramework","symbolLocation":134,"imageIndex":5},{"imageOffset":1184125,"symbol":"_CFBundleLoadExecutableAndReturnError","symbolLocation":546,"imageIndex":5},{"symbol":"LoadFunctionCore","inline":true,"imageIndex":6,"imageOffset":22793,"symbolLocation":111,"sourceLine":490,"sourceFile":"ni4882.c"},{"imageOffset":22793,"sourceLine":548,"sourceFile":"ni4882.c","symbol":"LoadFunction","imageIndex":6,"symbolLocation":137},{"imageOffset":42704,"sourceLine":1765,"sourceFile":"ni4882.c","symbol":"SendIFC","imageIndex":6,"symbolLocation":32},{"imageOffset":17711,"sourceLine":36,"sourceFile":"findinstr.c","symbol":"findinstr_main","imageIndex":6,"symbolLocation":15},{"imageOffset":19334,"sourceLine":16,"sourceFile":"main.cpp","symbol":"main","imageIndex":6,"symbolLocation":54},{"imageOffset":21758,"symbol":"start","symbolLocation":462,"imageIndex":4}]}],
"usedImages" : [
{
"source" : "P",
"arch" : "x86_64",
"base" : 140703323348992,
"size" : 225280,
"uuid" : "c1d58a50-5a4d-3bcb-a1fc-ec0902ce34d3",
"path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
"name" : "libsystem_kernel.dylib"
},
{
"source" : "P",
"arch" : "x86_64",
"base" : 140703323574272,
"size" : 49152,
"uuid" : "ee564342-d8f2-396d-b642-40092cf34d82",
"path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
"name" : "libsystem_pthread.dylib"
},
{
"source" : "P",
"arch" : "x86_64",
"base" : 140703322333184,
"size" : 561152,
"uuid" : "4b160c81-ec52-3243-aaba-49f719bbf617",
"path" : "\/usr\/lib\/system\/libsystem_c.dylib",
"name" : "libsystem_c.dylib"
},
{
"source" : "P",
"arch" : "x86_64",
"base" : 4465557504,
"CFBundleShortVersionString" : "21.5.0",
"CFBundleIdentifier" : "com.ni.framework.nipalu",
"size" : 552960,
"uuid" : "1b1bb22b-5ce2-3521-b2bc-29e4037cfd82",
"path" : "\/Library\/Frameworks\/nipalu.framework\/Versions\/1\/nipalu",
"name" : "nipalu",
"CFBundleVersion" : "21.5.0f104"
},
{
"source" : "P",
"arch" : "x86_64",
"base" : 4511662080,
"size" : 442368,
"uuid" : "7de33963-bbc5-3996-ba6e-f1d562c17c95",
"path" : "\/usr\/lib\/dyld",
"name" : "dyld"
},
{
"source" : "P",
"arch" : "x86_64h",
"base" : 140703323889664,
"CFBundleShortVersionString" : "6.9",
"CFBundleIdentifier" : "com.apple.CoreFoundation",
"size" : 5255168,
"uuid" : "9b112884-be6c-3c7f-9a2a-a47c491105db",
"path" : "\/System\/Library\/Frameworks\/CoreFoundation.framework\/Versions\/A\/CoreFoundation",
"name" : "CoreFoundation",
"CFBundleVersion" : "1856.107"
},
{
"source" : "P",
"arch" : "x86_64",
"base" : 4461879296,
"size" : 49152,
"uuid" : "8c09d4e9-4516-3710-a333-6557a689e5e2",
"path" : "\/Users\/USER\/*\/gpib-test",
"name" : "gpib-test"
}
],
"sharedCache" : {
"base" : 140703320342528,
"size" : 15216836608,
"uuid" : "0939015d-8308-3e69-b095-bd928f835202"
},
"vmSummary" : "ReadOnly portion of Libraries: Total=394.4M resident=0K(0%) swapped_out_or_unallocated=394.4M(100%)\nWritable regions: Total=548.6M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=548.6M(100%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nActivity Tracing 256K 1 \nKernel Alloc Once 8K 1 \nMALLOC 155.2M 15 \nMALLOC guard page 16K 4 \nMALLOC_NANO (reserved) 384.0M 1 reserved VM address space (unallocated)\nSTACK GUARD 56.0M 1 \nStack 8192K 1 \nVM_ALLOCATE 8K 2 \n__DATA 2047K 124 \n__DATA_CONST 5170K 82 \n__DATA_DIRTY 208K 50 \n__LINKEDIT 313.4M 10 \n__OBJC_RO 81.8M 1 \n__OBJC_RW 3136K 2 \n__TEXT 81.0M 134 \n__UNICODE 588K 1 \ndyld private memory 1028K 2 \nshared memory 12K 2 \n=========== ======= ======= \nTOTAL 1.1G 434 \nTOTAL, minus reserved VM space 707.6M 434 \n",
"legacyInfo" : {
"threadTriggered" : {
"queue" : "com.apple.main-thread"
}
},
"trialInfo" : {
"rollouts" : [
{
"rolloutId" : "602ad4dac86151000cf27e46",
"factorPackIds" : {
"SIRI_DICTATION_ASSETS" : "6193d03f2171a2330e561dfc"
},
"deploymentId" : 240000305
},
{
"rolloutId" : "60da5e84ab0ca017dace9abf",
"factorPackIds" : {

},
"deploymentId" : 240000008
},
{
"rolloutId" : "607844aa04477260f58a8077",
"factorPackIds" : {
"SIRI_MORPHUN_ASSETS" : "6103050cbfe6dc472e1c982a"
},
"deploymentId" : 240000066
},
{
"rolloutId" : "60356660bbe37970735c5624",
"factorPackIds" : {

},
"deploymentId" : 240000027
},
{
"rolloutId" : "601d9415f79519000ccd4b69",
"factorPackIds" : {
"SIRI_TEXT_TO_SPEECH" : "622657ce37186c771d5404ad"
},
"deploymentId" : 240000416
},
{
"rolloutId" : "5fb4245a1bbfe8005e33a1e1",
"factorPackIds" : {

},
"deploymentId" : 240000015
},
{
"rolloutId" : "5ffde50ce2aacd000d47a95f",
"factorPackIds" : {

},
"deploymentId" : 240000132
},
{
"rolloutId" : "5fc94383418129005b4e9ae0",
"factorPackIds" : {

},
"deploymentId" : 240000331
}
],
"experiments" : [

]
}
}

Model: MacBookPro11,4, BootROM 428.60.3.0.0, 4 processors, Quad-Core Intel Core i7, 2,2 GHz, 16 GB, SMC 2.29f24
Graphics: Intel Iris Pro, Intel Iris Pro, Built-In
Display: Color LCD, 2880 x 1800 Retina, Main, MirrorOff, Online
Memory Module: BANK 0/DIMM0, 8 GB, DDR3, 1600 MHz, 0x802C, 0x31364B544631473634485A2D314736453120
Memory Module: BANK 1/DIMM0, 8 GB, DDR3, 1600 MHz, 0x802C, 0x31364B544631473634485A2D314736453120
AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x152), Broadcom BCM43xx 1.0 (7.77.111.1 AirPortDriverBrcmNIC-1710.3)
AirPort:
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
Network Service: Thunderbolt Ethernet, Ethernet, en4
Serial ATA Device: APPLE SSD SM0256G, 251 GB
USB Device: USB30Bus
USB Device: Apple Internal Keyboard / Trackpad
USB Device: Bluetooth USB Host Controller
Thunderbolt Bus: MacBook Pro, Apple Inc., 27.1

0 Kudos
Message 1 of 3
(1,109 Views)

Hi  thegeekByUnix

For more information can you share with us what you are want to use this for? 

Also, I found an article in which is described about this error. Try to go through that, it might be helpful. 

 

Regards)

0 Kudos
Message 2 of 3
(877 Views)

NI-488.2 for Mac OS X and NI-488.2 for Linux have a similar program called GPIB Explorer. For more information, refer to Chapter 3, GPIB Explorer (Mac OS X and Linux). 


@thegeekByUnix DG me wrote:

Hi Leute

Hier eine Herausforderung:

Wer kann das Sampleprogramm findinstr.c in /Applications/National Instruments/NI-488.2/Sample auf einem Mac OSX

ohne einen Crash zum Laufen bringen?

 

Crash.................................

Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"
zsh: abort ./gpib-test

 

-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process: gpib-test [72670]
Path: /Users/USER/*/gpib-test
Identifier: gpib-test
Version: ???
Code Type: X86-64 (Native)
Parent Process: zsh [72424]
Responsible: Terminal [64289]
User ID: 501

Date/Time: 2022-04-16 08:10:15.7817 +0200
OS Version: macOS 12.2.1 (21D62)
Report Version: 12
Anonymous UUID: 77812435-04A4-1EF6-F9B2-F4366D6E4494

Sleep/Wake UUID: D228AA03-573F-4F79-9B84-EC0ABF6710D8

Time Awake Since Boot: 85000 seconds
Time Since Wake: 7737 seconds

System Integrity Protection: enabled

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY

Application Specific Information:
abort() called


Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x7ff80b9bd112 __pthread_kill + 10
1 libsystem_pthread.dylib 0x7ff80b9f3214 pthread_kill + 263
2 libsystem_c.dylib 0x7ff80b93fd10 abort + 123
3 nipalu 0x10a327ae4 0x10a2b0000 + 490212
4 nipalu 0x10a327f99 0x10a2b0000 + 491417
5 dyld 0x10cebcb49 invocation function for block in dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const + 182
6 dyld 0x10cee30ff invocation function for block in dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void (unsigned int) block_pointer, void const*) const + 129
7 dyld 0x10ceda893 invocation function for block in dyld3::MachOFile::forEachSection(void (dyld3::MachOFile::SectionInfo const&, bool, bool&) block_pointer) const + 566
8 dyld 0x10cea9d91 dyld3::MachOFile::forEachLoadCommand(Diagnostics&, void (load_command const*, bool&) block_pointer) const + 129
9 dyld 0x10ceda61b dyld3::MachOFile::forEachSection(void (dyld3::MachOFile::SectionInfo const&, bool, bool&) block_pointer) const + 179
10 dyld 0x10cee2b30 dyld3::MachOAnalyzer::forEachInitializerPointerSection(Diagnostics&, void (unsigned int, unsigned int, unsigned char const*, bool&) block_pointer) const + 118
11 dyld 0x10cee2da2 dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void (unsigned int) block_pointer, void const*) const + 386
12 dyld 0x10cebca7c dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const + 144
13 dyld 0x10cebcc08 dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const + 178
14 dyld 0x10cebcbeb dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const + 149
15 dyld 0x10cebcbeb dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const + 149
16 dyld 0x10cebccac dyld4::Loader::runInitializersBottomUpPlusUpwardLinks(dyld4::RuntimeState&) const + 108
17 dyld 0x10cecb9b5 dyld4::APIs::dlopen_from(char const*, int, void*) + 563
18 CoreFoundation 0x7ff80baf31c9 _CFBundleDlfcnLoadFramework + 134
19 CoreFoundation 0x7ff80bb5b17d _CFBundleLoadExecutableAndReturnError + 546
20 gpib-test 0x109f33909 LoadFunctionCore + 111 (ni4882.c:490) [inlined]
21 gpib-test 0x109f33909 LoadFunction + 137 (ni4882.c:548)
22 gpib-test 0x109f386d0 SendIFC + 32 (ni4882.c:1765)
23 gpib-test 0x109f3252f findinstr_main + 15 (findinstr.c:36)
24 gpib-test 0x109f32b86 main + 54 (main.cpp:16)
25 dyld 0x10cead4fe start + 462


Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x000000010cf28600 rcx: 0x00007ff7b5fd0288 rdx: 0x0000000000000000
rdi: 0x0000000000000103 rsi: 0x0000000000000006 rbp: 0x00007ff7b5fd02b0 rsp: 0x00007ff7b5fd0288
r8: 0x0000000000000015 r9: 0x000000000000003b r10: 0x0000000000000000 r11: 0x0000000000000246
r12: 0x0000000000000103 r13: 0x000000010a2b06a0 r14: 0x0000000000000006 r15: 0x0000000000000016
rip: 0x00007ff80b9bd112 rfl: 0x0000000000000246 cr2: 0x00007ff84d21f418

Logical CPU: 0
Error Code: 0x02000148
Trap Number: 133


Binary Images:
0x7ff80b9b6000 - 0x7ff80b9ecfff libsystem_kernel.dylib (*) <c1d58a50-5a4d-3bcb-a1fc-ec0902ce34d3> /usr/lib/system/libsystem_kernel.dylib
0x7ff80b9ed000 - 0x7ff80b9f8fff libsystem_pthread.dylib (*) <ee564342-d8f2-396d-b642-40092cf34d82> /usr/lib/system/libsystem_pthread.dylib
0x7ff80b8be000 - 0x7ff80b946fff libsystem_c.dylib (*) <4b160c81-ec52-3243-aaba-49f719bbf617> /usr/lib/system/libsystem_c.dylib
0x10a2b0000 - 0x10a336fff com.ni.framework.nipalu (21.5.0) <1b1bb22b-5ce2-3521-b2bc-29e4037cfd82> /Library/Frameworks/nipalu.framework/Versions/1/nipalu
0x10cea8000 - 0x10cf13fff dyld (*) <7de33963-bbc5-3996-ba6e-f1d562c17c95> /usr/lib/dyld
0x7ff80ba3a000 - 0x7ff80bf3cfff com.apple.CoreFoundation (6.9) <9b112884-be6c-3c7f-9a2a-a47c491105db> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x109f2e000 - 0x109f39fff gpib-test (*) <8c09d4e9-4516-3710-a333-6557a689e5e2> /Users/USER/*/gpib-test

External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 1629
thread_create: 0
thread_set_state: 2189

VM Region Summary:
ReadOnly portion of Libraries: Total=394.4M resident=0K(0%) swapped_out_or_unallocated=394.4M(100%)
Writable regions: Total=548.6M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=548.6M(100%)

VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
Activity Tracing 256K 1
Kernel Alloc Once 8K 1
MALLOC 155.2M 15
MALLOC guard page 16K 4
MALLOC_NANO (reserved) 384.0M 1 reserved VM address space (unallocated)
STACK GUARD 56.0M 1
Stack 8192K 1
VM_ALLOCATE 8K 2
__DATA 2047K 124
__DATA_CONST 5170K 82
__DATA_DIRTY 208K 50
__LINKEDIT 313.4M 10
__OBJC_RO 81.8M 1
__OBJC_RW 3136K 2
__TEXT 81.0M 134
__UNICODE 588K 1
dyld private memory 1028K 2
shared memory 12K 2
=========== ======= =======
TOTAL 1.1G 434
TOTAL, minus reserved VM space 707.6M 434

 

-----------
Full Report
-----------

{"app_name":"gpib-test","timestamp":"2022-04-16 08:10:15.00 +0200","app_version":"","slice_uuid":"8c09d4e9-4516-3710-a333-6557a689e5e2","build_version":"","platform":1,"share_with_app_devs":0,"is_first_party":1,"bug_type":"309","os_version":"macOS 12.2.1 (21D62)","incident_id":"E524F035-884F-4959-A34B-8D1191950FB9","name":"gpib-test"}
{
"uptime" : 85000,
"procLaunch" : "2022-04-16 08:10:15.6874 +0200",
"procRole" : "Unspecified",
"version" : 2,
"userID" : 501,
"deployVersion" : 210,
"modelCode" : "MacBookPro11,4",
"procStartAbsTime" : 85153658530032,
"coalitionID" : 443,
"osVersion" : {
"train" : "macOS 12.2.1",
"build" : "21D62",
"releaseType" : "User"
},
"captureTime" : "2022-04-16 08:10:15.7817 +0200",
"incident" : "E524F035-884F-4959-A34B-8D1191950FB9",
"bug_type" : "309",
"pid" : 72670,
"procExitAbsTime" : 85153752521080,
"cpuType" : "X86-64",
"procName" : "gpib-test",
"procPath" : "\/Users\/USER\/*\/gpib-test",
"parentProc" : "zsh",
"parentPid" : 72424,
"coalitionName" : "com.apple.Terminal",
"crashReporterKey" : "77812435-04A4-1EF6-F9B2-F4366D6E4494",
"responsiblePid" : 64289,
"responsibleProc" : "Terminal",
"wakeTime" : 7737,
"sleepWakeUUID" : "D228AA03-573F-4F79-9B84-EC0ABF6710D8",
"sip" : "enabled",
"isCorpse" : 1,
"exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGABRT"},
"asi" : {"libsystem_c.dylib":["abort() called"]},
"extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":2189,"task_for_pid":1629},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
"faultingThread" : 0,
"threads" : [{"triggered":true,"id":2472428,"threadState":{"r13":{"value":4465559200},"rax":{"value":0},"rflags":{"value":582},"cpu":{"value":0},"r14":{"value":6},"rsi":{"value":6},"r8":{"value":21},"cr2":{"value":140704422687768},"rdx":{"value":0},"r10":{"value":0},"r9":{"value":59},"r15":{"value":22},"rbx":{"value":4512187904,"symbolLocation":0,"symbol":"_main_thread"},"trap":{"value":133},"err":{"value":33554760},"r11":{"value":582},"rip":{"value":140703323377938,"matchesCrashFrame":1},"rbp":{"value":140701886907056},"rsp":{"value":140701886907016},"r12":{"value":259},"rcx":{"value":140701886907016},"flavor":"x86_THREAD_STATE","rdi":{"value":259}},"queue":"com.apple.main-thread","frames":[{"imageOffset":28946,"symbol":"__pthread_kill","symbolLocation":10,"imageIndex":0},{"imageOffset":25108,"symbol":"pthread_kill","symbolLocation":263,"imageIndex":1},{"imageOffset":531728,"symbol":"abort","symbolLocation":123,"imageIndex":2},{"imageOffset":490212,"imageIndex":3},{"imageOffset":491417,"imageIndex":3},{"imageOffset":84809,"symbol":"invocation function for block in dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const","symbolLocation":182,"imageIndex":4},{"imageOffset":241919,"symbol":"invocation function for block in dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void (unsigned int) block_pointer, void const*) const","symbolLocation":129,"imageIndex":4},{"imageOffset":206995,"symbol":"invocation function for block in dyld3::MachOFile::forEachSection(void (dyld3::MachOFile::SectionInfo const&, bool, bool&) block_pointer) const","symbolLocation":566,"imageIndex":4},{"imageOffset":7569,"symbol":"dyld3::MachOFile::forEachLoadCommand(Diagnostics&, void (load_command const*, bool&) block_pointer) const","symbolLocation":129,"imageIndex":4},{"imageOffset":206363,"symbol":"dyld3::MachOFile::forEachSection(void (dyld3::MachOFile::SectionInfo const&, bool, bool&) block_pointer) const","symbolLocation":179,"imageIndex":4},{"imageOffset":240432,"symbol":"dyld3::MachOAnalyzer::forEachInitializerPointerSection(Diagnostics&, void (unsigned int, unsigned int, unsigned char const*, bool&) block_pointer) const","symbolLocation":118,"imageIndex":4},{"imageOffset":241058,"symbol":"dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void (unsigned int) block_pointer, void const*) const","symbolLocation":386,"imageIndex":4},{"imageOffset":84604,"symbol":"dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const","symbolLocation":144,"imageIndex":4},{"imageOffset":85000,"symbol":"dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const","symbolLocation":178,"imageIndex":4},{"imageOffset":84971,"symbol":"dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const","symbolLocation":149,"imageIndex":4},{"imageOffset":84971,"symbol":"dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const","symbolLocation":149,"imageIndex":4},{"imageOffset":85164,"symbol":"dyld4::Loader::runInitializersBottomUpPlusUpwardLinks(dyld4::RuntimeState&) const","symbolLocation":108,"imageIndex":4},{"imageOffset":145845,"symbol":"dyld4::APIs::dlopen_from(char const*, int, void*)","symbolLocation":563,"imageIndex":4},{"imageOffset":758217,"symbol":"_CFBundleDlfcnLoadFramework","symbolLocation":134,"imageIndex":5},{"imageOffset":1184125,"symbol":"_CFBundleLoadExecutableAndReturnError","symbolLocation":546,"imageIndex":5},{"symbol":"LoadFunctionCore","inline":true,"imageIndex":6,"imageOffset":22793,"symbolLocation":111,"sourceLine":490,"sourceFile":"ni4882.c"},{"imageOffset":22793,"sourceLine":548,"sourceFile":"ni4882.c","symbol":"LoadFunction","imageIndex":6,"symbolLocation":137},{"imageOffset":42704,"sourceLine":1765,"sourceFile":"ni4882.c","symbol":"SendIFC","imageIndex":6,"symbolLocation":32},{"imageOffset":17711,"sourceLine":36,"sourceFile":"findinstr.c","symbol":"findinstr_main","imageIndex":6,"symbolLocation":15},{"imageOffset":19334,"sourceLine":16,"sourceFile":"main.cpp","symbol":"main","imageIndex":6,"symbolLocation":54},{"imageOffset":21758,"symbol":"start","symbolLocation":462,"imageIndex":4}]}],
"usedImages" : [
{
"source" : "P",
"arch" : "x86_64",
"base" : 140703323348992,
"size" : 225280,
"uuid" : "c1d58a50-5a4d-3bcb-a1fc-ec0902ce34d3",
"path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
"name" : "libsystem_kernel.dylib"
},
{
"source" : "P",
"arch" : "x86_64",
"base" : 140703323574272,
"size" : 49152,
"uuid" : "ee564342-d8f2-396d-b642-40092cf34d82",
"path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
"name" : "libsystem_pthread.dylib"
},
{
"source" : "P",
"arch" : "x86_64",
"base" : 140703322333184,
"size" : 561152,
"uuid" : "4b160c81-ec52-3243-aaba-49f719bbf617",
"path" : "\/usr\/lib\/system\/libsystem_c.dylib",
"name" : "libsystem_c.dylib"
},
{
"source" : "P",
"arch" : "x86_64",
"base" : 4465557504,
"CFBundleShortVersionString" : "21.5.0",
"CFBundleIdentifier" : "com.ni.framework.nipalu",
"size" : 552960,
"uuid" : "1b1bb22b-5ce2-3521-b2bc-29e4037cfd82",
"path" : "\/Library\/Frameworks\/nipalu.framework\/Versions\/1\/nipalu",
"name" : "nipalu",
"CFBundleVersion" : "21.5.0f104"
},
{
"source" : "P",
"arch" : "x86_64",
"base" : 4511662080,
"size" : 442368,
"uuid" : "7de33963-bbc5-3996-ba6e-f1d562c17c95",
"path" : "\/usr\/lib\/dyld",
"name" : "dyld"
},
{
"source" : "P",
"arch" : "x86_64h",
"base" : 140703323889664,
"CFBundleShortVersionString" : "6.9",
"CFBundleIdentifier" : "com.apple.CoreFoundation",
"size" : 5255168,
"uuid" : "9b112884-be6c-3c7f-9a2a-a47c491105db",
"path" : "\/System\/Library\/Frameworks\/CoreFoundation.framework\/Versions\/A\/CoreFoundation",
"name" : "CoreFoundation",
"CFBundleVersion" : "1856.107"
},
{
"source" : "P",
"arch" : "x86_64",
"base" : 4461879296,
"size" : 49152,
"uuid" : "8c09d4e9-4516-3710-a333-6557a689e5e2",
"path" : "\/Users\/USER\/*\/gpib-test",
"name" : "gpib-test"
}
],
"sharedCache" : {
"base" : 140703320342528,
"size" : 15216836608,
"uuid" : "0939015d-8308-3e69-b095-bd928f835202"
},
"vmSummary" : "ReadOnly portion of Libraries: Total=394.4M resident=0K(0%) swapped_out_or_unallocated=394.4M(100%)\nWritable regions: Total=548.6M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=548.6M(100%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nActivity Tracing 256K 1 \nKernel Alloc Once 8K 1 \nMALLOC 155.2M 15 \nMALLOC guard page 16K 4 \nMALLOC_NANO (reserved) 384.0M 1 reserved VM address space (unallocated)\nSTACK GUARD 56.0M 1 \nStack 8192K 1 \nVM_ALLOCATE 8K 2 \n__DATA 2047K 124 \n__DATA_CONST 5170K 82 \n__DATA_DIRTY 208K 50 \n__LINKEDIT 313.4M 10 \n__OBJC_RO 81.8M 1 \n__OBJC_RW 3136K 2 \n__TEXT 81.0M 134 \n__UNICODE 588K 1 \ndyld private memory 1028K 2 \nshared memory 12K 2 \n=========== ======= ======= \nTOTAL 1.1G 434 \nTOTAL, minus reserved VM space 707.6M 434 \n",
"legacyInfo" : {
"threadTriggered" : {
"queue" : "com.apple.main-thread"
}
},
"trialInfo" : {
"rollouts" : [
{
"rolloutId" : "602ad4dac86151000cf27e46",
"factorPackIds" : {
"SIRI_DICTATION_ASSETS" : "6193d03f2171a2330e561dfc"
},
"deploymentId" : 240000305
},
{
"rolloutId" : "60da5e84ab0ca017dace9abf",
"factorPackIds" : {

},
"deploymentId" : 240000008
},
{
"rolloutId" : "607844aa04477260f58a8077",
"factorPackIds" : {
"SIRI_MORPHUN_ASSETS" : "6103050cbfe6dc472e1c982a"
},
"deploymentId" : 240000066
},
{
"rolloutId" : "60356660bbe37970735c5624",
"factorPackIds" : {

},
"deploymentId" : 240000027
},
{
"rolloutId" : "601d9415f79519000ccd4b69",
"factorPackIds" : {
"SIRI_TEXT_TO_SPEECH" : "622657ce37186c771d5404ad"
},
"deploymentId" : 240000416
},
{
"rolloutId" : "5fb4245a1bbfe8005e33a1e1",
"factorPackIds" : {

},
"deploymentId" : 240000015
},
{
"rolloutId" : "5ffde50ce2aacd000d47a95f",
"factorPackIds" : {

},
"deploymentId" : 240000132
},
{
"rolloutId" : "5fc94383418129005b4e9ae0",
"factorPackIds" : {

},
"deploymentId" : 240000331
}
],
"experiments" : [

]
}
}

Model: MacBookPro11,4, BootROM 428.60.3.0.0, 4 processors, Quad-Core Intel Core i7, 2,2 GHz, 16 GB, SMC 2.29f24
Graphics: Intel Iris Pro, Intel Iris Pro, Built-In
Display: Color LCD, 2880 x 1800 Retina, Main, MirrorOff, Online
Memory Module: BANK 0/DIMM0, 8 GB, DDR3, 1600 MHz, 0x802C, 0x31364B544631473634485A2D314736453120
Memory Module: BANK 1/DIMM0, 8 GB, DDR3, 1600 MHz, 0x802C, 0x31364B544631473634485A2D314736453120
AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x152), Broadcom BCM43xx 1.0 (7.77.111.1 AirPortDriverBrcmNIC-1710.3)
AirPort:
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
Network Service: Thunderbolt Ethernet, Ethernet, en4
Serial ATA Device: APPLE SSD SM0256G, 251 GB
USB Device: USB30Bus
USB Device: Apple Internal Keyboard / Trackpad
USB Device: Bluetooth USB Host Controller
Thunderbolt Bus: MacBook Pro, Apple Inc., 27.1


Thanks.

0 Kudos
Message 3 of 3
(850 Views)