Skip to content

App not responding when launched on macOS #116

@tony-had

Description

@tony-had

Version: 0.6.1

Steps to reproduce:

  1. Install Radiance on a fresh copy of macOS Big Sur (I suspect any macOS version will do).
  2. (Perform workaround described in Crash when launching Radiance on macOS #115).
  3. Launch the app.

Result:
The app hangs. No GUI is displayed.

Notes:
The app requests access to the microphone as expected.

Diagnostic report:

Date/Time:        2021-01-21 20:50:50.405 +0200
End time:         2021-01-21 20:54:10.718 +0200
OS Version:       macOS 11.1 (Build 20C69)
Architecture:     x86_64h
Report Version:   32
Incident Identifier: F47D2720-D645-4576-B23C-E6CDB4244B93
Share With Devs:  Yes

Data Source:      Microstackshots
Shared Cache:     467A83CB-BA86-3F07-B652-B9256C74080A slid base address 0x7fff20004000, slide 0x4000

Command:          radiance
Path:             /Applications/Radiance.app/Contents/MacOS/radiance
Identifier:       
Version:           ()
PID:              60590

Event:            wakeups
Action taken:     none
Wakeups:          45001 wakeups over the last 200 seconds (225 wakeups per second average), exceeding limit of 150 wakeups per second over 300 seconds
Wakeups limit:    45000
Limit duration:   300s
Wakeups caused:   45001
Wakeups duration: 200s
Duration:         200.31s
Duration Sampled: 52.28s
Steps:            5

Hardware model:   MacBookPro13,1
Active cpus:      4

Fan speed:        1600 rpm

Heaviest stack for the target process:
  5  thread_start + 15 (libsystem_pthread.dylib + 9339) [0x7fff2031047b]
  5  _pthread_start + 224 (libsystem_pthread.dylib + 26960) [0x7fff20314950]
  2  ??? (<F614DEB3-394A-388A-9B8C-03E2B56E8275> + 139907) [0x10ca26283]
  1  Audio::run() + 738 (radiance + 139570) [0x10a5dc132]
  1  Audio::analyzeChunk() + 57 (radiance + 139705) [0x10a5dc1b9]


Powerstats for:   radiance () [60590]
UUID:             5D984010-404B-301F-85B8-876E6FC31B69
App Version:      
Build Version:    
Path:             /Applications/Radiance.app/Contents/MacOS/radiance
Architecture:     x86_64
Footprint:        66.18 MB
Start time:       2021-01-21 20:53:16.745 +0200
End time:         2021-01-21 20:54:09.027 +0200
Num samples:      5 (100%)
Primary state:    2 samples Non-Frontmost App, Non-Suppressed, User mode, Effective Thread QoS Unspecified, Requested Thread QoS Unspecified, Override Thread QoS Unspecified
User Activity:    0 samples Idle, 5 samples Active
Power Source:     5 samples on Battery, 0 samples on AC
  5  thread_start + 15 (libsystem_pthread.dylib + 9339) [0x7fff2031047b]
    5  _pthread_start + 224 (libsystem_pthread.dylib + 26960) [0x7fff20314950]
      2  ??? (<F614DEB3-394A-388A-9B8C-03E2B56E8275> + 139907) [0x10ca26283]
        1  Audio::run() + 738 (radiance + 139570) [0x10a5dc132]
          1  Audio::analyzeChunk() + 57 (radiance + 139705) [0x10a5dc1b9]
            1  <Effective Thread QoS Default, Requested Thread QoS Default>
        1  Audio::run() + 658 (radiance + 139490) [0x10a5dc0e2]
          1  ??? (<CD9B6000-03D2-3480-A317-AF0F2E759F6D> + 55861) [0x10bf60a35]
            1  ??? (<CD9B6000-03D2-3480-A317-AF0F2E759F6D> + 34950) [0x10bf5b886]
              1  __semwait_signal + 10 (libsystem_kernel.dylib + 14262) [0x7fff202e27b6]
                1  <Effective Thread QoS Default, Requested Thread QoS Default>
      1  CVDisplayLink::runIOThread() + 482 (CoreVideo + 8146) [0x7fff27279fd2]
        1  CVDisplayLink::waitUntil(unsigned long long) + 229 (CoreVideo + 10955) [0x7fff2727aacb]
          1  __psynch_cvwait + 10 (libsystem_kernel.dylib + 14562) [0x7fff202e28e2]
            1  <Kernel mode>
      1  CVDisplayLink::runIOThread() + 280 (CoreVideo + 7944) [0x7fff27279f08]
        1  _pthread_mutex_firstfit_lock_slow + 0 (libsystem_pthread.dylib + 8425) [0x7fff203100e9]
      1  HALB_IOThread::Entry(void*) + 72 (CoreAudio + 3288890) [0x7fff21e41f3a]
        1  invocation function for block in HALC_ProxyIOContext::HALC_ProxyIOContext(unsigned int, unsigned int) + 6591 (CoreAudio + 1573067) [0x7fff21c9f0cb]
          1  ??? (CoreAudio + 65039) [0x11b1c7e0f]
            1  ??? (<CD9B6000-03D2-3480-A317-AF0F2E759F6D> + 47889) [0x10bf5eb11]
              1  AudioUnitRender + 113 (AudioToolboxCore + 2048278) [0x7fff218b4116]
                1  ??? (CoreAudio + 295071) [0x11b20009f]
                  1  ??? (CoreAudio + 518635) [0x11b2369eb]

  Binary Images:
           0x10a5ba000 -        0x10a683fff    ()                                           <5D984010-404B-301F-85B8-876E6FC31B69>  /Applications/Radiance.app/Contents/MacOS/radiance
           0x10bf53000 -                ???  ???                                            <CD9B6000-03D2-3480-A317-AF0F2E759F6D>
           0x10ca04000 -                ???  ???                                            <F614DEB3-394A-388A-9B8C-03E2B56E8275>
           0x11b1b8000 -        0x11b337fff  CoreAudio                                      <79BEEEC4-3C3B-3C49-AF25-792C6CE5BF68>  /System/Library/Components/CoreAudio.component/Contents/MacOS/CoreAudio
        0x7fff202df000 -     0x7fff2030dfff  libsystem_kernel.dylib (7195.60.75)            <4BD61365-29AF-3234-8002-D989D295FDBB>  /usr/lib/system/libsystem_kernel.dylib
        0x7fff2030e000 -     0x7fff20319fff  libsystem_pthread.dylib (454.60.1)             <8DD3A0BC-2C92-31E3-BBAB-CE923A4342E4>  /usr/lib/system/libsystem_pthread.dylib
        0x7fff216c0000 -     0x7fff21935fff  com.apple.audio.AudioToolboxCore 1.0 (1180.23) <56821802-07B9-3FA9-AF73-D943BAE0DE57>  /System/Library/PrivateFrameworks/AudioToolboxCore.framework/Versions/A/AudioToolboxCore
        0x7fff21b1f000 -     0x7fff221c2fff  com.apple.audio.CoreAudio 5.0 (5.0)            <DF623EC9-FC55-3B3C-94FF-6A5C50A981B3>  /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
        0x7fff27278000 -     0x7fff272c4fff  com.apple.CoreVideo 1.8 (408.4)                <0D5AD16E-A871-3ACB-B910-39B87928E937>  /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions