Topic: [Solved] netifc Crashing (DF AVB)

I am setting my system for a recording tomorrow morning and have run into some issues.

I have a Digiface AVB, 2 x AVBTools, 2 x 12Mic's. Macbook 16" M1 Max.

System has been working fine 2months ago but today the AVB Controller is freezing and not seeing any network devices. Looking in Console.app it appears that netifc is crashing.

Have tried a number of reboots and installed the latest drivers and updated the DF AVB FW.



Logs attached.

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

Process:               netifc [621]
Path:                  /Library/Application Support/RME/netifc
Identifier:            netifc
Version:               ???
Code Type:             ARM-64 (Native)
Parent Process:        launchd [1]
User ID:               0

Date/Time:             2024-05-08 17:05:21.9691 +1000
OS Version:            macOS 14.2 (23C64)
Report Version:        12
Anonymous UUID:        4CE35EB2-8B58-DEE2-6744-C5ED751FBAB0


Time Awake Since Boot: 30 seconds

System Integrity Protection: enabled

Crashed Thread:        2

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x032bc00000000109 -> 0x0000400000000109 (possible pointer authentication failure)
Exception Codes:       0x0000000000000001, 0x032bc00000000109

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

VM Region Info: 0x400000000109 is not in any region.  Bytes after previous region: 69887707840778  Bytes before following region: 35184372088567
      REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      commpage (reserved)        1000000000-7000000000   [384.0G] ---/--- SM=NUL  ...(unallocated)
--->  GAP OF 0x5f9000000000 BYTES
      MALLOC_NANO              600000000000-600020000000 [512.0M] rw-/rwx SM=PRV 

Thread 0::  Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib                   0x185be9394 write + 8
1   netifc                                   0x10224655c main + 1100
2   dyld                                     0x1858a50e0 start + 2360

Thread 1:
0   libsystem_kernel.dylib                   0x185be8e68 __semwait_signal + 8
1   libsystem_c.dylib                        0x185ac82f8 nanosleep + 220
2   libsystem_c.dylib                        0x185ac8210 usleep + 68
3   netifc                                   0x1022466d8 getset_ip_address + 240
4   libsystem_pthread.dylib                  0x185c26034 _pthread_start + 136
5   libsystem_pthread.dylib                  0x185c20e3c thread_start + 8

Thread 2 Crashed:
0   netifc                                   0x102245044 readusbasync + 52
1   IOKit                                    0x1893612bc IODispatchCalloutFromCFMessage + 364
2   CoreFoundation                           0x185d33494 __CFMachPortPerform + 296
3   CoreFoundation                           0x185d03fdc __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 60
4   CoreFoundation                           0x185d03efc __CFRunLoopDoSource1 + 520
5   CoreFoundation                           0x185d028c8 __CFRunLoopRun + 2244
6   CoreFoundation                           0x185d019ac CFRunLoopRunSpecific + 608
7   CoreFoundation                           0x185d7f704 CFRunLoopRun + 64
8   netifc                                   0x102246f80 handle_usb_trans + 180
9   libsystem_pthread.dylib                  0x185c26034 _pthread_start + 136
10  libsystem_pthread.dylib                  0x185c20e3c thread_start + 8


Thread 2 crashed with ARM Thread State (64-bit):
    x0: 0x000000012080ac00   x1: 0x0000000000000000   x2: 0x0000000000000000   x3: 0x000000012080bdc0
    x4: 0x000000012080ac80   x5: 0x000000016dcd2210   x6: 0x0000000000001200   x7: 0x00000000ffffffff
    x8: 0x032bc00000000001   x9: 0x0000000000002502  x10: 0x0000000000000009  x11: 0x0000000000796c00
   x12: 0x00000001208081f8  x13: 0x00000000ffff803f  x14: 0x00000000000003e1  x15: 0x00000000ffff7dff
   x16: 0x0000000185c55380  x17: 0x00000001e5477d68  x18: 0x0000000000000000  x19: 0x000000012080ac00
   x20: 0x00006000032bc014  x21: 0x000000016dcd2230  x22: 0x0000000000000000  x23: 0x00000001dc40fd20
   x24: 0x000000016dcd2248  x25: 0x0000000000000070  x26: 0x0000000000000000  x27: 0x0000000000000000
   x28: 0x0000600002ba8280   fp: 0x000000016dcd0fb0   lr: 0xee3000010224502c
    sp: 0x000000016dcd0fa0   pc: 0x0000000102245044 cpsr: 0x60001000
   far: 0x032bc00000000109  esr: 0x92000004 (Data Abort) byte read Translation fault

Binary Images:
       0x102308000 -        0x102313fff com.apple.iokit.IOUSBLib (900.4.2) <22675c70-4e6e-3644-bb69-230a1a1b033d> /System/Library/Extensions/IOUSBHostFamily.kext/Contents/PlugIns/IOUSBLib.bundle/Contents/MacOS/IOUSBLib
       0x102240000 -        0x102247fff netifc (*) <919ed3d6-0e63-375b-bdf9-6ebde0303075> /Library/Application Support/RME/netifc
       0x185be4000 -        0x185c1efff libsystem_kernel.dylib (*) <ca94fc21-bc40-3b43-b65d-b87ece9e1d48> /usr/lib/system/libsystem_kernel.dylib
       0x18589f000 -        0x185933347 dyld (*) <324e4ad9-e01f-3183-b09f-3e20b326643a> /usr/lib/dyld
               0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???
       0x185a3a000 -        0x185a70fff libsystem_malloc.dylib (*) <690a8b04-8e64-3332-b5a5-56a3d5c1c43f> /usr/lib/system/libsystem_malloc.dylib
       0x185abb000 -        0x185b39ffb libsystem_c.dylib (*) <ab8a0a0b-9a1e-3284-9243-5a0334468ae5> /usr/lib/system/libsystem_c.dylib
       0x185c1f000 -        0x185c2bff3 libsystem_pthread.dylib (*) <a7d94c96-7b1f-3229-9bea-048d037c3292> /usr/lib/system/libsystem_pthread.dylib
       0x18935b000 -        0x18943cfff com.apple.framework.IOKit (2.0.2) <95d2a74c-6fc0-39a8-990f-5e07a3ff7952> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
       0x185c86000 -        0x18615dfff com.apple.CoreFoundation (6.9) <47e4ec09-8f6e-30a8-99d0-34024d4f8122> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
       0x185c52000 -        0x185c58ffb libsystem_platform.dylib (*) <e1840daa-9c10-393d-a3a3-94dde6fe0011> /usr/lib/system/libsystem_platform.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=1.0G resident=0K(0%) swapped_out_or_unallocated=1.0G(100%)
Writable regions: Total=609.8M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=609.8M(100%)

                                VIRTUAL   REGION
REGION TYPE                        SIZE    COUNT (non-coalesced)
===========                     =======  =======
Activity Tracing                   256K        1
Kernel Alloc Once                   32K        1
MALLOC                           600.2M       27
MALLOC guard page                   96K        6
STACK GUARD                       56.0M        3
Stack                             9264K        3
__AUTH                             339K       65
__AUTH_CONST                      4056K      146
__DATA                            1887K      141
__DATA_CONST                      4145K      149
__DATA_DIRTY                       365K       58
__LINKEDIT                       891.5M        3
__OBJC_RO                         71.1M        1
__OBJC_RW                         2168K        1
__TEXT                           119.9M      156
dyld private memory                272K        2
shared memory                       32K        2
===========                     =======  =======
TOTAL                              1.7G      765



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

{"app_name":"netifc","timestamp":"2024-05-08 17:05:22.00 +1000","app_version":"","slice_uuid":"919ed3d6-0e63-375b-bdf9-6ebde0303075","build_version":"","platform":1,"share_with_app_devs":0,"is_first_party":1,"bug_type":"309","os_version":"macOS 14.2 (23C64)","roots_installed":0,"incident_id":"589AD5E4-9512-4100-ABA1-8A18DE95B3C7","name":"netifc"}
{
  "uptime" : 30,
  "procRole" : "Unspecified",
  "version" : 2,
  "userID" : 0,
  "deployVersion" : 210,
  "modelCode" : "MacBookPro18,2",
  "coalitionID" : 247,
  "osVersion" : {
    "train" : "macOS 14.2",
    "build" : "23C64",
    "releaseType" : "User"
  },
  "captureTime" : "2024-05-08 17:05:21.9691 +1000",
  "codeSigningMonitor" : 1,
  "incident" : "589AD5E4-9512-4100-ABA1-8A18DE95B3C7",
  "pid" : 621,
  "translated" : false,
  "cpuType" : "ARM-64",
  "roots_installed" : 0,
  "bug_type" : "309",
  "procLaunch" : "2024-05-08 17:05:16.3339 +1000",
  "procStartAbsTime" : 588229787,
  "procExitAbsTime" : 722970944,
  "procName" : "netifc",
  "procPath" : "\/Library\/Application Support\/RME\/netifc",
  "parentProc" : "launchd",
  "parentPid" : 1,
  "coalitionName" : "de.rme-audio.netifc",
  "crashReporterKey" : "4CE35EB2-8B58-DEE2-6744-C5ED751FBAB0",
  "throttleTimeout" : 10,
  "codeSigningID" : "netifc",
  "codeSigningTeamID" : "67AK2U2X7M",
  "codeSigningFlags" : 570503953,
  "codeSigningValidationCategory" : 6,
  "codeSigningTrustLevel" : 4294967295,
  "instructionByteStream" : {"beforePC":"9AMAqiAAgFIBA4JSbgkAlOACALTzAwCqFAQA+QgAgVIIFAC5iAJA+Q==","atPC":"CIVA+QJgAJEE9f8QHyAD1eADFKohAIBSAwCBUuUDE6oAAT\/W9AMAqg=="},
  "sip" : "enabled",
  "vmRegionInfo" : "0x400000000109 is not in any region.  Bytes after previous region: 69887707840778  Bytes before following region: 35184372088567\n      REGION TYPE                    START - END         [ VSIZE] PRT\/MAX SHRMOD  REGION DETAIL\n      commpage (reserved)        1000000000-7000000000   [384.0G] ---\/--- SM=NUL  ...(unallocated)\n--->  GAP OF 0x5f9000000000 BYTES\n      MALLOC_NANO              600000000000-600020000000 [512.0M] rw-\/rwx SM=PRV  ",
  "exception" : {"codes":"0x0000000000000001, 0x032bc00000000109","rawCodes":[1,228487312344875273],"type":"EXC_BAD_ACCESS","signal":"SIGSEGV","subtype":"KERN_INVALID_ADDRESS at 0x032bc00000000109 -> 0x0000400000000109 (possible pointer authentication failure)"},
  "termination" : {"flags":0,"code":11,"namespace":"SIGNAL","indicator":"Segmentation fault: 11","byProc":"exc handler","byPid":621},
  "vmregioninfo" : "0x400000000109 is not in any region.  Bytes after previous region: 69887707840778  Bytes before following region: 35184372088567\n      REGION TYPE                    START - END         [ VSIZE] PRT\/MAX SHRMOD  REGION DETAIL\n      commpage (reserved)        1000000000-7000000000   [384.0G] ---\/--- SM=NUL  ...(unallocated)\n--->  GAP OF 0x5f9000000000 BYTES\n      MALLOC_NANO              600000000000-600020000000 [512.0M] rw-\/rwx SM=PRV  ",
  "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" : 2,
  "threads" : [{"id":5817,"threadState":{"x":[{"value":1066},{"value":0},{"value":1066},{"value":27},{"value":12034498363392},{"value":7726646165504},{"value":4608},{"value":0},{"value":7990169824,"symbolLocation":224,"symbol":"_main_thread"},{"value":7990169824,"symbolLocation":224,"symbol":"_main_thread"},{"value":12532993},{"value":8017408},{"value":4840226856},{"value":4294934555},{"value":30},{"value":4294934015},{"value":4},{"value":6537188868,"symbolLocation":0,"symbol":"nanov2_try_free_default"},{"value":0},{"value":4330931552,"symbolLocation":0,"symbol":"t"},{"value":4330909388,"symbolLocation":0,"symbol":"handle_usb_trans"},{"value":4330931560,"symbolLocation":0,"symbol":"mac"},{"value":4330930176,"symbolLocation":0,"symbol":"poly8_lookup"},{"value":4331061248,"symbolLocation":129664,"symbol":"s_pktReadBuf"},{"value":4331062664,"symbolLocation":0,"symbol":"q"},{"value":4331062680,"symbolLocation":0,"symbol":"lock"},{"value":4330930176,"symbolLocation":0,"symbol":"poly8_lookup"},{"value":4840293888},{"value":4330932224,"symbolLocation":640,"symbol":"s_pktReadBuf"}],"flavor":"ARM_THREAD_STATE64","lr":{"value":4330906972},"cpsr":{"value":1073745920},"fp":{"value":6136003264},"sp":{"value":6136003168},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6538826644},"far":{"value":0}},"queue":"com.apple.main-thread","frames":[{"imageOffset":21396,"symbol":"write","symbolLocation":8,"imageIndex":2},{"imageOffset":25948,"symbol":"main","symbolLocation":1100,"imageIndex":1},{"imageOffset":24800,"symbol":"start","symbolLocation":2360,"imageIndex":3}]},{"id":6872,"frames":[{"imageOffset":20072,"symbol":"__semwait_signal","symbolLocation":8,"imageIndex":2},{"imageOffset":54008,"symbol":"nanosleep","symbolLocation":220,"imageIndex":6},{"imageOffset":53776,"symbol":"usleep","symbolLocation":68,"imageIndex":6},{"imageOffset":26328,"symbol":"getset_ip_address","symbolLocation":240,"imageIndex":1},{"imageOffset":28724,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":7},{"imageOffset":7740,"symbol":"thread_start","symbolLocation":8,"imageIndex":7}],"threadState":{"x":[{"value":4},{"value":0},{"value":1},{"value":1},{"value":15},{"value":0},{"value":60},{"value":0},{"value":7990207224,"symbolLocation":0,"symbol":"clock_sem"},{"value":1},{"value":17},{"value":2164514811},{"value":2043},{"value":2045},{"value":2166611972},{"value":4},{"value":334},{"value":8141632368},{"value":0},{"value":0},{"value":6136556496},{"value":0},{"value":0},{"value":0},{"value":4330930176,"symbolLocation":0,"symbol":"poly8_lookup"},{"value":0},{"value":0},{"value":4330914776},{"value":105553177772032}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6537642744},"cpsr":{"value":2684358656},"fp":{"value":6136556480},"sp":{"value":6136556432},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6538825320},"far":{"value":0}}},{"triggered":true,"id":6873,"threadState":{"x":[{"value":4840270848},{"value":0},{"value":0},{"value":4840275392},{"value":4840270976},{"value":6137127440},{"value":4608},{"value":4294967295},{"value":228487312344875009},{"value":9474},{"value":9},{"value":7957504},{"value":4840260088},{"value":4294934591},{"value":993},{"value":4294934015},{"value":6539268992,"symbolLocation":0,"symbol":"_platform_memset"},{"value":8141634920},{"value":0},{"value":4840270848},{"value":105553169465364},{"value":6137127472},{"value":0},{"value":7990213920,"symbolLocation":0,"symbol":"mach_task_self_"},{"value":6137127496},{"value":112},{"value":0},{"value":0},{"value":105553162044032}],"flavor":"ARM_THREAD_STATE64","lr":{"value":17163218184239861804},"cpsr":{"value":1610616832},"fp":{"value":6137122736},"sp":{"value":6137122720},"esr":{"value":2449473540,"description":"(Data Abort) byte read Translation fault"},"pc":{"value":4330901572,"matchesCrashFrame":1},"far":{"value":228487312344875273}},"frames":[{"imageOffset":20548,"symbol":"readusbasync","symbolLocation":52,"imageIndex":1},{"imageOffset":25276,"symbol":"IODispatchCalloutFromCFMessage","symbolLocation":364,"imageIndex":8},{"imageOffset":709780,"symbol":"__CFMachPortPerform","symbolLocation":296,"imageIndex":9},{"imageOffset":516060,"symbol":"__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__","symbolLocation":60,"imageIndex":9},{"imageOffset":515836,"symbol":"__CFRunLoopDoSource1","symbolLocation":520,"imageIndex":9},{"imageOffset":510152,"symbol":"__CFRunLoopRun","symbolLocation":2244,"imageIndex":9},{"imageOffset":506284,"symbol":"CFRunLoopRunSpecific","symbolLocation":608,"imageIndex":9},{"imageOffset":1021700,"symbol":"CFRunLoopRun","symbolLocation":64,"imageIndex":9},{"imageOffset":28544,"symbol":"handle_usb_trans","symbolLocation":180,"imageIndex":1},{"imageOffset":28724,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":7},{"imageOffset":7740,"symbol":"thread_start","symbolLocation":8,"imageIndex":7}]}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 4331700224,
    "CFBundleShortVersionString" : "900.4.2",
    "CFBundleIdentifier" : "com.apple.iokit.IOUSBLib",
    "size" : 49152,
    "uuid" : "22675c70-4e6e-3644-bb69-230a1a1b033d",
    "path" : "\/System\/Library\/Extensions\/IOUSBHostFamily.kext\/Contents\/PlugIns\/IOUSBLib.bundle\/Contents\/MacOS\/IOUSBLib",
    "name" : "IOUSBLib",
    "CFBundleVersion" : "900.4.2"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4330881024,
    "size" : 32768,
    "uuid" : "919ed3d6-0e63-375b-bdf9-6ebde0303075",
    "path" : "\/Library\/Application Support\/RME\/netifc",
    "name" : "netifc"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6538805248,
    "size" : 241664,
    "uuid" : "ca94fc21-bc40-3b43-b65d-b87ece9e1d48",
    "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
    "name" : "libsystem_kernel.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6535376896,
    "size" : 607048,
    "uuid" : "324e4ad9-e01f-3183-b09f-3e20b326643a",
    "path" : "\/usr\/lib\/dyld",
    "name" : "dyld"
  },
  {
    "size" : 0,
    "source" : "A",
    "base" : 0,
    "uuid" : "00000000-0000-0000-0000-000000000000"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6537060352,
    "size" : 225280,
    "uuid" : "690a8b04-8e64-3332-b5a5-56a3d5c1c43f",
    "path" : "\/usr\/lib\/system\/libsystem_malloc.dylib",
    "name" : "libsystem_malloc.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6537588736,
    "size" : 520188,
    "uuid" : "ab8a0a0b-9a1e-3284-9243-5a0334468ae5",
    "path" : "\/usr\/lib\/system\/libsystem_c.dylib",
    "name" : "libsystem_c.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6539046912,
    "size" : 53236,
    "uuid" : "a7d94c96-7b1f-3229-9bea-048d037c3292",
    "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
    "name" : "libsystem_pthread.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6596964352,
    "CFBundleShortVersionString" : "2.0.2",
    "CFBundleIdentifier" : "com.apple.framework.IOKit",
    "size" : 925696,
    "uuid" : "95d2a74c-6fc0-39a8-990f-5e07a3ff7952",
    "path" : "\/System\/Library\/Frameworks\/IOKit.framework\/Versions\/A\/IOKit",
    "name" : "IOKit"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6539468800,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.CoreFoundation",
    "size" : 5079040,
    "uuid" : "47e4ec09-8f6e-30a8-99d0-34024d4f8122",
    "path" : "\/System\/Library\/Frameworks\/CoreFoundation.framework\/Versions\/A\/CoreFoundation",
    "name" : "CoreFoundation",
    "CFBundleVersion" : "2202"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6539255808,
    "size" : 28668,
    "uuid" : "e1840daa-9c10-393d-a3a3-94dde6fe0011",
    "path" : "\/usr\/lib\/system\/libsystem_platform.dylib",
    "name" : "libsystem_platform.dylib"
  }
],
  "sharedCache" : {
  "base" : 6534627328,
  "size" : 4061216768,
  "uuid" : "9787f614-d6d0-32d2-ac62-6596e786e862"
},
  "vmSummary" : "ReadOnly portion of Libraries: Total=1.0G resident=0K(0%) swapped_out_or_unallocated=1.0G(100%)\nWritable regions: Total=609.8M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=609.8M(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nActivity Tracing                   256K        1 \nKernel Alloc Once                   32K        1 \nMALLOC                           600.2M       27 \nMALLOC guard page                   96K        6 \nSTACK GUARD                       56.0M        3 \nStack                             9264K        3 \n__AUTH                             339K       65 \n__AUTH_CONST                      4056K      146 \n__DATA                            1887K      141 \n__DATA_CONST                      4145K      149 \n__DATA_DIRTY                       365K       58 \n__LINKEDIT                       891.5M        3 \n__OBJC_RO                         71.1M        1 \n__OBJC_RW                         2168K        1 \n__TEXT                           119.9M      156 \ndyld private memory                272K        2 \nshared memory                       32K        2 \n===========                     =======  ======= \nTOTAL                              1.7G      765 \n",
  "legacyInfo" : {
  "threadTriggered" : {

  }
},
  "logWritingSignature" : "69f26c202dba13af198db8bb7031d752b7d33bf3"
}

Re: [Solved] netifc Crashing (DF AVB)

As a follow up in this crash. It appears the stage racks were positioned close to each other and there was an additional Cat5 patch cable connecting them together forming a loop. From my research this results in a "Broadcast Storm" flooding the network (on switches like the Presonus which dont have STP implemented)

Fortunately we managed to find this before the 6am setup for the film session.

Mea Culpa.