openlink / iODBC

An open-source ODBC driver manager and SDK that facilitates the development of database-independent applications on linux, freebsd, unix and MacOS X platforms.
http://www.iodbc.org/
Other
162 stars 52 forks source link

iODBC-SDK-3.52.15-macOS10 installer not working on macOS 12 #70

Closed marko-asplund closed 2 years ago

marko-asplund commented 2 years ago

iODBC-SDK-3.52.15-macOS10.dmg installer fails to start on macOS 12.2 (arm64)

Screenshot 2022-02-09 at 17 23 23

TallTed commented 2 years ago

You just need to download the installer for "macOS 10.15 thru 12.x (and above)" on x86_64 and arm64, iODBC-SDK-3.52.15-macOS11.dmg, as linked from the iODBC downloads page, rather than the installer for "macOS 10.9 thru 10.15" on x86 and x86_64.

This is also linked for download from the Releases page for v3.52.15, currently also latest release.

Please confirm whether this resolves your issue.

marko-asplund commented 2 years ago

Thanks! 👍

Got past that, but now iODBC Administrator keeps crashing

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

Process:               iODBC Administrator [34344]
Path:                  /Applications/iODBC/iODBC Administrator.app/Contents/MacOS/iODBC Administrator
Identifier:            org.iodbc.iODBCAdministrator
Version:               iODBC Administrator version 3.52.15 (3.52.15)
Code Type:             ARM-64 (Native)
Parent Process:        launchd [1]
User ID:               501

Date/Time:             2022-02-09 19:02:30.5593 +0200
OS Version:            macOS 12.2 (21D49)
Report Version:        12
Anonymous UUID:        B169722B-F8D7-44C1-F3EB-BFE68404F676

Sleep/Wake UUID:       CF082696-AC41-4059-BC18-A0193ADFE27A

Time Awake Since Boot: 30000 seconds
Time Since Wake:       16633 seconds

System Integrity Protection: enabled

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

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000000
Exception Codes:       0x0000000000000001, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Reason:    Namespace SIGNAL, Code 11 Segmentation fault: 11
Terminating Process:   exc handler [34344]

VM Region Info: 0 is not in any region.  Bytes before following region: 4334108672
      REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      UNUSED SPACE AT START
--->  
      __TEXT                      102554000-102558000    [   16K] r-x/r-x SM=COW  ...Administrator

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   libsystem_platform.dylib               0x192935884 _platform_strlen + 4
1   iODBCdrvproxy                          0x1287c5d38 showSetup + 756
2   iODBCdrvproxy                          0x1287c4a14 ConfigDSN + 368
3   iODBCinst                              0x1026b7a30 SQLConfigDataSource_Internal + 7028
4   iODBCadm                               0x11cbc9f04 -[IODBCadm_DSNmanageController call_UserDSN_Add:] + 124
5   AppKit                                 0x195745400 -[NSApplication(NSResponder) sendAction:to:from:] + 456
6   AppKit                                 0x195745200 -[NSControl sendAction:to:] + 96
7   AppKit                                 0x195745108 __26-[NSCell _sendActionFrom:]_block_invoke + 152
8   AppKit                                 0x195744ffc -[NSCell _sendActionFrom:] + 196
9   AppKit                                 0x195744f28 -[NSButtonCell _sendActionFrom:] + 104
10  AppKit                                 0x195741d68 NSControlTrackMouse + 1720
11  AppKit                                 0x195741684 -[NSCell trackMouse:inRect:ofView:untilMouseUp:] + 160
12  AppKit                                 0x1957414f8 -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] + 740
13  AppKit                                 0x195740760 -[NSControl mouseDown:] + 636
14  AppKit                                 0x19573ebb4 -[NSWindow(NSEventRouting) _handleMouseDownEvent:isDelayedEvent:] + 4524
15  AppKit                                 0x1956b2004 -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] + 2444
16  AppKit                                 0x1956b140c -[NSWindow(NSEventRouting) sendEvent:] + 348
17  AppKit                                 0x1956b0370 -[NSApplication(NSEvent) sendEvent:] + 2776
18  AppKit                                 0x1957f3300 -[NSApplication _doModalLoop:peek:] + 376
19  AppKit                                 0x1957f1dac __35-[NSApplication runModalForWindow:]_block_invoke_2 + 72
20  AppKit                                 0x1957f1d48 __35-[NSApplication runModalForWindow:]_block_invoke + 112
21  AppKit                                 0x1957f14d8 _NSTryRunModal + 128
22  AppKit                                 0x1957f1388 -[NSApplication runModalForWindow:] + 148
23  iODBCadm                               0x11cbc8e5c create_administrator + 120
24  iODBCadm                               0x11cbbdefc _iodbcdm_admin_dialbox + 16
25  iODBCinst                              0x1026bd2a0 ManageDataSources + 152
26  CoreFoundation                         0x1929e1200 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 28
27  CoreFoundation                         0x192a84b84 ___CFXRegistrationPost_block_invoke + 52
28  CoreFoundation                         0x192a84af0 _CFXRegistrationPost + 456
29  CoreFoundation                         0x1929afeb0 _CFXNotificationPost + 720
30  Foundation                             0x193865e3c -[NSNotificationCenter postNotificationName:object:userInfo:] + 96
31  AppKit                                 0x195549d10 -[NSApplication _postDidFinishNotification] + 340
32  AppKit                                 0x195549a28 -[NSApplication _sendFinishLaunchingNotification] + 236
33  AppKit                                 0x195547428 -[NSApplication(NSAppleEventHandling) _handleAEOpenEvent:] + 580
34  AppKit                                 0x195547010 -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 780
35  Foundation                             0x1938927c4 -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 344
36  Foundation                             0x193892600 _NSAppleEventManagerGenericHandler + 96
37  AE                                     0x19918775c 0x19917b000 + 51036
38  AE                                     0x1991870b4 0x19917b000 + 49332
39  AE                                     0x19917ff84 aeProcessAppleEvent + 488
40  HIToolbox                              0x19b5943b0 AEProcessAppleEvent + 68
41  AppKit                                 0x1955413ec _DPSNextEvent + 1848
42  AppKit                                 0x19553f8a4 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1332
43  AppKit                                 0x1955319b4 -[NSApplication run] + 596
44  AppKit                                 0x195503088 NSApplicationMain + 1064
45  iODBC Administrator                    0x10255708c 0x102554000 + 12428
46  dyld                                   0x1027cd0f4 start + 520

Thread 1:
0   libsystem_pthread.dylib                0x19291c010 start_wqthread + 0

Thread 2:: com.apple.NSEventThread
0   libsystem_kernel.dylib                 0x1928e5954 mach_msg_trap + 8
1   libsystem_kernel.dylib                 0x1928e5d00 mach_msg + 76
2   CoreFoundation                         0x1929eced8 __CFRunLoopServiceMachPort + 372
3   CoreFoundation                         0x1929eb390 __CFRunLoopRun + 1212
4   CoreFoundation                         0x1929ea734 CFRunLoopRunSpecific + 600
5   AppKit                                 0x1956adfb0 _NSEventThread + 196
6   libsystem_pthread.dylib                0x192921240 _pthread_start + 148
7   libsystem_pthread.dylib                0x19291c024 thread_start + 8

Thread 3:
0   libsystem_pthread.dylib                0x19291c010 start_wqthread + 0

Thread 4:
0   libsystem_pthread.dylib                0x19291c010 start_wqthread + 0

Thread 5:
0   libsystem_pthread.dylib                0x19291c010 start_wqthread + 0

Thread 0 crashed with ARM Thread State (64-bit):
    x0: 0x0000000000000000   x1: 0x0000000000000000   x2: 0x0000000000000005   x3: 0x00000001929357d0
    x4: 0x0000000000000000   x5: 0x00000001ebf88b68   x6: 0x0000000000000066   x7: 0x000000016d8a52b8
    x8: 0x00006000019054b8   x9: 0x0000000000000000  x10: 0x000000000000006c  x11: 0x000000000000003f
   x12: 0x000000000000000b  x13: 0x000000011e879ca0  x14: 0x00000000d54dc800  x15: 0x00000001eba57be8
   x16: 0x0000000192935880  x17: 0x982a0001939c242c  x18: 0x00000001380d3940  x19: 0x00000001dce97196
   x20: 0x00006000020b2470  x21: 0x0000000000000000  x22: 0x00006000017000c0  x23: 0x0000000000000005
   x24: 0x00006000015b1970  x25: 0x000000000000001b  x26: 0x0000000000000000  x27: 0x000000000000001b
   x28: 0x00000001dce978b4   fp: 0x000000016d8a5ee0   lr: 0x00000001287c5d38
    sp: 0x000000016d8a5e40   pc: 0x0000000192935884 cpsr: 0x80001000
   far: 0x0000000000000000  esr: 0x92000006 (Data Abort) byte read Translation fault

Binary Images:
       0x192934000 -        0x19293bfff libsystem_platform.dylib (*) <49cf1536-27e5-3a34-9724-d75552cbab56> /usr/lib/system/libsystem_platform.dylib
       0x1287c0000 -        0x1287c7fff org.iodbc.drvproxy (iODBCdrvproxy version 3.52.15) <7c0b1d19-fb34-3adf-9fae-0ef621ee4b8e> /Library/Frameworks/iODBC.framework/Versions/3.52/Resources/iODBCdrvproxy.bundle/Contents/MacOS/iODBCdrvproxy
       0x1026b0000 -        0x1026c3fff org.iodbc.inst (iODBCinst version 3.52.15) <b844d831-63c6-3c36-8de9-e1376244f41f> /Library/Frameworks/iODBCinst.framework/Versions/3.52/iODBCinst
       0x11cbb8000 -        0x11cbd3fff org.iodbc.adm (iODBCadm version 3.52.15) <d39c843a-65d7-393a-a695-a03446ec19f8> /Library/Frameworks/iODBC.framework/Versions/3.52/Resources/iODBCadm.bundle/Contents/MacOS/iODBCadm
       0x1954ff000 -        0x1963b5fff com.apple.AppKit (6.9) <1b65b629-6d3b-3fcd-ad43-e5683a9f94b7> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
       0x192968000 -        0x192eabfff com.apple.CoreFoundation (6.9) <16fadf8b-a3af-3e0c-b5fb-ce9a9cdc8747> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
       0x19385c000 -        0x193c49fff com.apple.Foundation (6.9) <90321a38-43a5-3767-9a9c-2c631338b9bc> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
       0x19917b000 -        0x1991ecfff com.apple.AE (924) <2d01b841-0d66-3cc4-985c-f9fd946ceebe> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
       0x19b550000 -        0x19b87ffff com.apple.HIToolbox (2.1.1) <b5a3fe9a-833b-3697-ac9c-1e9e8eb11bac> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
       0x102554000 -        0x102557fff org.iodbc.iODBCAdministrator (iODBC Administrator version 3.52.15) <974ae06f-154d-3597-a48a-d2ae332ea684> /Applications/iODBC/iODBC Administrator.app/Contents/MacOS/iODBC Administrator
       0x1027c8000 -        0x102827fff dyld (*) <d21a73ea-79cd-36eb-8ac9-2c5cf5181a27> /usr/lib/dyld
       0x19291a000 -        0x192926fff libsystem_pthread.dylib (*) <f7b2eccf-e6f1-3109-ae81-9028c0b8332a> /usr/lib/system/libsystem_pthread.dylib
       0x1928e4000 -        0x192919fff libsystem_kernel.dylib (*) <384945e6-dd71-37e5-9a3d-84fff14a1e60> /usr/lib/system/libsystem_kernel.dylib

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: 0
    thread_create: 0
    thread_set_state: 0

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

                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Accelerate framework               640K        5 
Activity Tracing                   256K        1 
CG backing stores                 4992K        8 
CG image                           416K       12 
ColorSync                          656K       28 
CoreAnimation                     7280K      125 
CoreGraphics                        48K        3 
CoreUI image data                 2112K       27 
Foundation                          48K        2 
Image IO                            16K        1 
Kernel Alloc Once                   32K        1 
MALLOC                           290.3M       54 
MALLOC guard page                  192K        9 
MALLOC_MEDIUM (reserved)         960.0M        8         reserved VM address space (unallocated)
MALLOC_NANO (reserved)           384.0M        1         reserved VM address space (unallocated)
STACK GUARD                       56.1M        6 
Stack                             10.6M        6 
VM_ALLOCATE                        1.0G       22 
__AUTH                            1937K      189 
__AUTH_CONST                      11.6M      345 
__DATA                            8702K      334 
__DATA_CONST                      11.7M      350 
__DATA_DIRTY                       840K      118 
__FONT_DATA                          4K        1 
__LINKEDIT                       576.1M        8 
__OBJC_CONST                      1779K      154 
__OBJC_RO                         82.1M        1 
__OBJC_RW                         3104K        1 
__TEXT                           253.6M      366 
__UNICODE                          588K        1 
dyld private memory               1024K        1 
mapped file                      178.8M       30 
shared memory                      896K       15 
===========                     =======  ======= 
TOTAL                              3.8G     2233 
TOTAL, minus reserved VM space     2.5G     2233 

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

{"app_name":"iODBC Administrator","timestamp":"2022-02-09 19:02:30.00 +0200","app_version":"iODBC Administrator version 3.52.15","slice_uuid":"974ae06f-154d-3597-a48a-d2ae332ea684","build_version":"3.52.15","platform":1,"bundleID":"org.iodbc.iODBCAdministrator","share_with_app_devs":1,"is_first_party":0,"bug_type":"309","os_version":"macOS 12.2 (21D49)","incident_id":"71C33DC5-C2A6-4120-84F6-DC41AB433007","name":"iODBC Administrator"}
{
  "uptime" : 30000,
  "procLaunch" : "2022-02-09 19:01:55.3097 +0200",
  "procRole" : "Foreground",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "MacBookPro18,2",
  "procStartAbsTime" : 742054497159,
  "coalitionID" : 4510,
  "osVersion" : {
    "train" : "macOS 12.2",
    "build" : "21D49",
    "releaseType" : "User"
  },
  "captureTime" : "2022-02-09 19:02:30.5593 +0200",
  "incident" : "71C33DC5-C2A6-4120-84F6-DC41AB433007",
  "bug_type" : "309",
  "pid" : 34344,
  "procExitAbsTime" : 742900293655,
  "translated" : false,
  "cpuType" : "ARM-64",
  "procName" : "iODBC Administrator",
  "procPath" : "\/Applications\/iODBC\/iODBC Administrator.app\/Contents\/MacOS\/iODBC Administrator",
  "bundleInfo" : {"CFBundleShortVersionString":"iODBC Administrator version 3.52.15","CFBundleVersion":"3.52.15","CFBundleIdentifier":"org.iodbc.iODBCAdministrator"},
  "storeInfo" : {"deviceIdentifierForVendor":"6613248D-1168-5B3F-BD30-86135C98A166","thirdParty":true},
  "parentProc" : "launchd",
  "parentPid" : 1,
  "coalitionName" : "org.iodbc.iODBCAdministrator",
  "crashReporterKey" : "B169722B-F8D7-44C1-F3EB-BFE68404F676",
  "wakeTime" : 16633,
  "sleepWakeUUID" : "CF082696-AC41-4059-BC18-A0193ADFE27A",
  "sip" : "enabled",
  "vmRegionInfo" : "0 is not in any region.  Bytes before following region: 4334108672\n      REGION TYPE                    START - END         [ VSIZE] PRT\/MAX SHRMOD  REGION DETAIL\n      UNUSED SPACE AT START\n--->  \n      __TEXT                      102554000-102558000    [   16K] r-x\/r-x SM=COW  ...Administrator",
  "isCorpse" : 1,
  "exception" : {"codes":"0x0000000000000001, 0x0000000000000000","rawCodes":[1,0],"type":"EXC_BAD_ACCESS","signal":"SIGSEGV","subtype":"KERN_INVALID_ADDRESS at 0x0000000000000000"},
  "termination" : {"flags":0,"code":11,"namespace":"SIGNAL","indicator":"Segmentation fault: 11","byProc":"exc handler","byPid":34344},
  "vmregioninfo" : "0 is not in any region.  Bytes before following region: 4334108672\n      REGION TYPE                    START - END         [ VSIZE] PRT\/MAX SHRMOD  REGION DETAIL\n      UNUSED SPACE AT START\n--->  \n      __TEXT                      102554000-102558000    [   16K] r-x\/r-x SM=COW  ...Administrator",
  "extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
  "faultingThread" : 0,
  "threads" : [{"triggered":true,"id":321726,"threadState":{"x":[{"value":0},{"value":0},{"value":5},{"value":6754097104},{"value":0},{"value":8253901672,"symbolLocation":0,"symbol":"__global_locale"},{"value":102},{"value":6132748984},{"value":105553142502584},{"value":0},{"value":108},{"value":63},{"value":11},{"value":4807171232},{"value":3578644480},{"value":8248458216,"symbolLocation":0,"symbol":"OBJC_CLASS_$_NSConstantString"},{"value":6754097280,"symbolLocation":0,"symbol":"_platform_strlen"},{"value":10964576249558344748,"symbolLocation":10964576242786893824,"symbol":"-[NSConstantString getCharacters:range:]"},{"value":5235358016},{"value":8001253782,"objc-selector":"count"},{"value":105553150551152},{"value":0},{"value":105553140383936},{"value":5},{"value":105553139014000},{"value":27},{"value":0},{"value":27},{"value":8001255604,"objc-selector":"isEqualToString:"}],"flavor":"ARM_THREAD_STATE64","lr":{"value":4974206264},"cpsr":{"value":2147487744},"fp":{"value":6132752096},"sp":{"value":6132751936},"esr":{"value":2449473542,"description":"(Data Abort) byte read Translation fault"},"pc":{"value":6754097284,"matchesCrashFrame":1},"far":{"value":0}},"queue":"com.apple.main-thread","frames":[{"imageOffset":6276,"symbol":"_platform_strlen","symbolLocation":4,"imageIndex":0},{"imageOffset":23864,"symbol":"showSetup","symbolLocation":756,"imageIndex":1},{"imageOffset":18964,"symbol":"ConfigDSN","symbolLocation":368,"imageIndex":1},{"imageOffset":31280,"symbol":"SQLConfigDataSource_Internal","symbolLocation":7028,"imageIndex":2},{"imageOffset":73476,"symbol":"-[IODBCadm_DSNmanageController call_UserDSN_Add:]","symbolLocation":124,"imageIndex":3},{"imageOffset":2384896,"symbol":"-[NSApplication(NSResponder) sendAction:to:from:]","symbolLocation":456,"imageIndex":4},{"imageOffset":2384384,"symbol":"-[NSControl sendAction:to:]","symbolLocation":96,"imageIndex":4},{"imageOffset":2384136,"symbol":"__26-[NSCell _sendActionFrom:]_block_invoke","symbolLocation":152,"imageIndex":4},{"imageOffset":2383868,"symbol":"-[NSCell _sendActionFrom:]","symbolLocation":196,"imageIndex":4},{"imageOffset":2383656,"symbol":"-[NSButtonCell _sendActionFrom:]","symbolLocation":104,"imageIndex":4},{"imageOffset":2370920,"symbol":"NSControlTrackMouse","symbolLocation":1720,"imageIndex":4},{"imageOffset":2369156,"symbol":"-[NSCell trackMouse:inRect:ofView:untilMouseUp:]","symbolLocation":160,"imageIndex":4},{"imageOffset":2368760,"symbol":"-[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:]","symbolLocation":740,"imageIndex":4},{"imageOffset":2365280,"symbol":"-[NSControl mouseDown:]","symbolLocation":636,"imageIndex":4},{"imageOffset":2358196,"symbol":"-[NSWindow(NSEventRouting) _handleMouseDownEvent:isDelayedEvent:]","symbolLocation":4524,"imageIndex":4},{"imageOffset":1781764,"symbol":"-[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:]","symbolLocation":2444,"imageIndex":4},{"imageOffset":1778700,"symbol":"-[NSWindow(NSEventRouting) sendEvent:]","symbolLocation":348,"imageIndex":4},{"imageOffset":1774448,"symbol":"-[NSApplication(NSEvent) sendEvent:]","symbolLocation":2776,"imageIndex":4},{"imageOffset":3097344,"symbol":"-[NSApplication _doModalLoop:peek:]","symbolLocation":376,"imageIndex":4},{"imageOffset":3091884,"symbol":"__35-[NSApplication runModalForWindow:]_block_invoke_2","symbolLocation":72,"imageIndex":4},{"imageOffset":3091784,"symbol":"__35-[NSApplication runModalForWindow:]_block_invoke","symbolLocation":112,"imageIndex":4},{"imageOffset":3089624,"symbol":"_NSTryRunModal","symbolLocation":128,"imageIndex":4},{"imageOffset":3089288,"symbol":"-[NSApplication runModalForWindow:]","symbolLocation":148,"imageIndex":4},{"imageOffset":69212,"symbol":"create_administrator","symbolLocation":120,"imageIndex":3},{"imageOffset":24316,"symbol":"_iodbcdm_admin_dialbox","symbolLocation":16,"imageIndex":3},{"imageOffset":53920,"symbol":"ManageDataSources","symbolLocation":152,"imageIndex":2},{"imageOffset":496128,"symbol":"__CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__","symbolLocation":28,"imageIndex":5},{"imageOffset":1166212,"symbol":"___CFXRegistrationPost_block_invoke","symbolLocation":52,"imageIndex":5},{"imageOffset":1166064,"symbol":"_CFXRegistrationPost","symbolLocation":456,"imageIndex":5},{"imageOffset":294576,"symbol":"_CFXNotificationPost","symbolLocation":720,"imageIndex":5},{"imageOffset":40508,"symbol":"-[NSNotificationCenter postNotificationName:object:userInfo:]","symbolLocation":96,"imageIndex":6},{"imageOffset":306448,"symbol":"-[NSApplication _postDidFinishNotification]","symbolLocation":340,"imageIndex":4},{"imageOffset":305704,"symbol":"-[NSApplication _sendFinishLaunchingNotification]","symbolLocation":236,"imageIndex":4},{"imageOffset":295976,"symbol":"-[NSApplication(NSAppleEventHandling) _handleAEOpenEvent:]","symbolLocation":580,"imageIndex":4},{"imageOffset":294928,"symbol":"-[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:]","symbolLocation":780,"imageIndex":4},{"imageOffset":223172,"symbol":"-[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:]","symbolLocation":344,"imageIndex":6},{"imageOffset":222720,"symbol":"_NSAppleEventManagerGenericHandler","symbolLocation":96,"imageIndex":6},{"imageOffset":51036,"imageIndex":7},{"imageOffset":49332,"imageIndex":7},{"imageOffset":20356,"symbol":"aeProcessAppleEvent","symbolLocation":488,"imageIndex":7},{"imageOffset":279472,"symbol":"AEProcessAppleEvent","symbolLocation":68,"imageIndex":8},{"imageOffset":271340,"symbol":"_DPSNextEvent","symbolLocation":1848,"imageIndex":4},{"imageOffset":264356,"symbol":"-[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]","symbolLocation":1332,"imageIndex":4},{"imageOffset":207284,"symbol":"-[NSApplication run]","symbolLocation":596,"imageIndex":4},{"imageOffset":16520,"symbol":"NSApplicationMain","symbolLocation":1064,"imageIndex":4},{"imageOffset":12428,"imageIndex":9},{"imageOffset":20724,"symbol":"start","symbolLocation":520,"imageIndex":10}]},{"id":321754,"frames":[{"imageOffset":8208,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":11}]},{"id":321776,"name":"com.apple.NSEventThread","frames":[{"imageOffset":6484,"symbol":"mach_msg_trap","symbolLocation":8,"imageIndex":12},{"imageOffset":7424,"symbol":"mach_msg","symbolLocation":76,"imageIndex":12},{"imageOffset":544472,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":372,"imageIndex":5},{"imageOffset":537488,"symbol":"__CFRunLoopRun","symbolLocation":1212,"imageIndex":5},{"imageOffset":534324,"symbol":"CFRunLoopRunSpecific","symbolLocation":600,"imageIndex":5},{"imageOffset":1765296,"symbol":"_NSEventThread","symbolLocation":196,"imageIndex":4},{"imageOffset":29248,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":11},{"imageOffset":8228,"symbol":"thread_start","symbolLocation":8,"imageIndex":11}]},{"id":322089,"frames":[{"imageOffset":8208,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":11}]},{"id":322090,"frames":[{"imageOffset":8208,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":11}]},{"id":322094,"frames":[{"imageOffset":8208,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":11}]}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6754091008,
    "size" : 32768,
    "uuid" : "49cf1536-27e5-3a34-9724-d75552cbab56",
    "path" : "\/usr\/lib\/system\/libsystem_platform.dylib",
    "name" : "libsystem_platform.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4974182400,
    "CFBundleShortVersionString" : "iODBCdrvproxy version 3.52.15",
    "CFBundleIdentifier" : "org.iodbc.drvproxy",
    "size" : 32768,
    "uuid" : "7c0b1d19-fb34-3adf-9fae-0ef621ee4b8e",
    "path" : "\/Library\/Frameworks\/iODBC.framework\/Versions\/3.52\/Resources\/iODBCdrvproxy.bundle\/Contents\/MacOS\/iODBCdrvproxy",
    "name" : "iODBCdrvproxy",
    "CFBundleVersion" : "3.52.15"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4335534080,
    "CFBundleShortVersionString" : "iODBCinst version 3.52.15",
    "CFBundleIdentifier" : "org.iodbc.inst",
    "size" : 81920,
    "uuid" : "b844d831-63c6-3c36-8de9-e1376244f41f",
    "path" : "\/Library\/Frameworks\/iODBCinst.framework\/Versions\/3.52\/iODBCinst",
    "name" : "iODBCinst",
    "CFBundleVersion" : "3.52.15"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4777017344,
    "CFBundleShortVersionString" : "iODBCadm version 3.52.15",
    "CFBundleIdentifier" : "org.iodbc.adm",
    "size" : 114688,
    "uuid" : "d39c843a-65d7-393a-a695-a03446ec19f8",
    "path" : "\/Library\/Frameworks\/iODBC.framework\/Versions\/3.52\/Resources\/iODBCadm.bundle\/Contents\/MacOS\/iODBCadm",
    "name" : "iODBCadm",
    "CFBundleVersion" : "3.52.15"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6800011264,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.AppKit",
    "size" : 15429632,
    "uuid" : "1b65b629-6d3b-3fcd-ad43-e5683a9f94b7",
    "path" : "\/System\/Library\/Frameworks\/AppKit.framework\/Versions\/C\/AppKit",
    "name" : "AppKit",
    "CFBundleVersion" : "2113.30.116"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6754304000,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.CoreFoundation",
    "size" : 5521408,
    "uuid" : "16fadf8b-a3af-3e0c-b5fb-ce9a9cdc8747",
    "path" : "\/System\/Library\/Frameworks\/CoreFoundation.framework\/Versions\/A\/CoreFoundation",
    "name" : "CoreFoundation",
    "CFBundleVersion" : "1856.105"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6769983488,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.Foundation",
    "size" : 4120576,
    "uuid" : "90321a38-43a5-3767-9a9c-2c631338b9bc",
    "path" : "\/System\/Library\/Frameworks\/Foundation.framework\/Versions\/C\/Foundation",
    "name" : "Foundation",
    "CFBundleVersion" : "1856.105"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6863433728,
    "CFBundleShortVersionString" : "924",
    "CFBundleIdentifier" : "com.apple.AE",
    "size" : 466944,
    "uuid" : "2d01b841-0d66-3cc4-985c-f9fd946ceebe",
    "path" : "\/System\/Library\/Frameworks\/CoreServices.framework\/Versions\/A\/Frameworks\/AE.framework\/Versions\/A\/AE",
    "name" : "AE",
    "CFBundleVersion" : "924"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6901006336,
    "CFBundleShortVersionString" : "2.1.1",
    "CFBundleIdentifier" : "com.apple.HIToolbox",
    "size" : 3342336,
    "uuid" : "b5a3fe9a-833b-3697-ac9c-1e9e8eb11bac",
    "path" : "\/System\/Library\/Frameworks\/Carbon.framework\/Versions\/A\/Frameworks\/HIToolbox.framework\/Versions\/A\/HIToolbox",
    "name" : "HIToolbox"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4334108672,
    "CFBundleShortVersionString" : "iODBC Administrator version 3.52.15",
    "CFBundleIdentifier" : "org.iodbc.iODBCAdministrator",
    "size" : 16384,
    "uuid" : "974ae06f-154d-3597-a48a-d2ae332ea684",
    "path" : "\/Applications\/iODBC\/iODBC Administrator.app\/Contents\/MacOS\/iODBC Administrator",
    "name" : "iODBC Administrator",
    "CFBundleVersion" : "3.52.15"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 4336680960,
    "size" : 393216,
    "uuid" : "d21a73ea-79cd-36eb-8ac9-2c5cf5181a27",
    "path" : "\/usr\/lib\/dyld",
    "name" : "dyld"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6753984512,
    "size" : 53248,
    "uuid" : "f7b2eccf-e6f1-3109-ae81-9028c0b8332a",
    "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
    "name" : "libsystem_pthread.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6753763328,
    "size" : 221184,
    "uuid" : "384945e6-dd71-37e5-9a3d-84fff14a1e60",
    "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
    "name" : "libsystem_kernel.dylib"
  }
],
  "sharedCache" : {
  "base" : 6750814208,
  "size" : 3091218432,
  "uuid" : "b90241b2-e425-3982-b3f6-26c4567cbb49"
},
  "vmSummary" : "ReadOnly portion of Libraries: Total=829.7M resident=0K(0%) swapped_out_or_unallocated=829.7M(100%)\nWritable regions: Total=1.6G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.6G(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nAccelerate framework               640K        5 \nActivity Tracing                   256K        1 \nCG backing stores                 4992K        8 \nCG image                           416K       12 \nColorSync                          656K       28 \nCoreAnimation                     7280K      125 \nCoreGraphics                        48K        3 \nCoreUI image data                 2112K       27 \nFoundation                          48K        2 \nImage IO                            16K        1 \nKernel Alloc Once                   32K        1 \nMALLOC                           290.3M       54 \nMALLOC guard page                  192K        9 \nMALLOC_MEDIUM (reserved)         960.0M        8         reserved VM address space (unallocated)\nMALLOC_NANO (reserved)           384.0M        1         reserved VM address space (unallocated)\nSTACK GUARD                       56.1M        6 \nStack                             10.6M        6 \nVM_ALLOCATE                        1.0G       22 \n__AUTH                            1937K      189 \n__AUTH_CONST                      11.6M      345 \n__DATA                            8702K      334 \n__DATA_CONST                      11.7M      350 \n__DATA_DIRTY                       840K      118 \n__FONT_DATA                          4K        1 \n__LINKEDIT                       576.1M        8 \n__OBJC_CONST                      1779K      154 \n__OBJC_RO                         82.1M        1 \n__OBJC_RW                         3104K        1 \n__TEXT                           253.6M      366 \n__UNICODE                          588K        1 \ndyld private memory               1024K        1 \nmapped file                      178.8M       30 \nshared memory                      896K       15 \n===========                     =======  ======= \nTOTAL                              3.8G     2233 \nTOTAL, minus reserved VM space     2.5G     2233 \n",
  "legacyInfo" : {
  "threadTriggered" : {
    "queue" : "com.apple.main-thread"
  }
},
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "607844aa04477260f58a8077",
      "factorPackIds" : {
        "SIRI_MORPHUN_ASSETS" : "6103050cbfe6dc472e1c982a"
      },
      "deploymentId" : 240000066
    },
    {
      "rolloutId" : "60da5e84ab0ca017dace9abf",
      "factorPackIds" : {

      },
      "deploymentId" : 240000008
    },
    {
      "rolloutId" : "601d9415f79519000ccd4b69",
      "factorPackIds" : {
        "SIRI_TEXT_TO_SPEECH" : "61f0405329647d394933a4c4"
      },
      "deploymentId" : 240000377
    },
    {
      "rolloutId" : "602ad4dac86151000cf27e46",
      "factorPackIds" : {
        "SIRI_DICTATION_ASSETS" : "61fb0e87c773c43cde3bb80e"
      },
      "deploymentId" : 240000303
    },
    {
      "rolloutId" : "5fc94383418129005b4e9ae0",
      "factorPackIds" : {

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

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

  ]
}
}

Model: MacBookPro18,2, BootROM 7429.81.3, proc 10:8:2 processors, 64 GB, SMC 
Graphics: Apple M1 Max, Apple M1 Max, Built-In
Display: Color LCD, 3456 x 2234 Retina, Main, MirrorOff, Online
Display: LEN P27h-10, 2560 x 1440 (QHD/WQHD - Wide Quad High Definition), MirrorOff, Online
Memory Module: LPDDR5
AirPort: Wi-Fi, wl0: Dec 13 2021 17:12:34 version 20.10.853.31.8.7.109 FWID 01-804e92d8
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
USB Device: USB31Bus
USB Device: USB3.0 Hub
USB Device: USB2.0 Hub
USB Device: Microsoft® 2.4GHz Transceiver v9.0
USB Device: USB31Bus
USB Device: 4-Port USB 3.0 Hub
USB Device: 4-Port USB 3.0 Hub
USB Device: 4-Port USB 2.0 Hub
USB Device: 4-Port USB 2.0 Hub
USB Device: BillBoard Device
USB Device: USB31Bus
Thunderbolt Bus: MacBook Pro, Apple Inc.
Thunderbolt Bus: MacBook Pro, Apple Inc.
Thunderbolt Bus: MacBook Pro, Apple Inc.
TallTed commented 2 years ago

Can you provide some additional detail about what actions you're taking that lead to these crashes of the iODBC Administrator.app?

My immediate guess is that you're trying to configure a DSN for a driver that was built for x86_64 and/or x86, and does not have an arm64 binary slice. This should lead to an explicit error message, but we've received a couple of reports that suggest this error is not always coming up as expected. If this is the case, updating to a Universal2 (containing binary slices for arm64 and x86_64) or am64-native build of the driver should resolve the issue.

marko-asplund commented 2 years ago

Yes, I'm trying to configure a DSN and your guess is probably correct

foo ~ % file /opt/snowflake/snowflakeodbc/lib/universal/libSnowflake.dylib
/opt/snowflake/snowflakeodbc/lib/universal/libSnowflake.dylib: Mach-O universal binary with 2 architectures: [i386:Mach-O dynamically linked shared library i386] [x86_64]
/opt/snowflake/snowflakeodbc/lib/universal/libSnowflake.dylib (for architecture i386):  Mach-O dynamically linked shared library i386
/opt/snowflake/snowflakeodbc/lib/universal/libSnowflake.dylib (for architecture x86_64):    Mach-O 64-bit dynamically linked shared library x86_64
TallTed commented 2 years ago

OK, so you can use the iODBC Administrator64.app which is a fat (but not universal) binary, including slices for x86 and x86_64, and will launch in the Rosetta2 (x86_64 emulation) layer of macOS 12.x on arm64.

Alternatively, you can use the Finder to duplicate iODBC Administrator.app; Get Info on the copy; change its name from "iODBC Administrator.app" to "iODBC Administrator x86_64.app", and tick the box to "Open using Rosetta"; close the Get Info window, and launch this app to configure your DSN. The original iODBC Administrator.app will remain available for use when your driver(s) are ported to arm64-native or Universal2 (with an arm64 slice).

Note that you will only be able to use this fat (but not universal) binary, including slices for x86 and x86_64, Snowflake ODBC driver with x86_64 apps running in the Rosetta2 emulation layer, until they ship an arm64-native or Universal2 (with an arm64 slice) driver.

If this information is sufficient to answer your questions, please close this issue.

marko-asplund commented 2 years ago

Thank you @TallTed ! 🙇