Skip to content
This repository has been archived by the owner on Aug 23, 2024. It is now read-only.

Pre-startup crash on macOS (0.13.0) #237

Closed
woodruffw opened this issue Feb 16, 2022 · 6 comments
Closed

Pre-startup crash on macOS (0.13.0) #237

woodruffw opened this issue Feb 16, 2022 · 6 comments
Assignees
Labels
bug Something isn't working

Comments

@woodruffw
Copy link

HI there! This project looks fantastic; thanks for creating it.

Describe the bug

I tried to download the latest version of sonixd (0.13.0) for macOS and start it.

The application fails to start: no windows appear except for a crash splash. Screenshots below.

To Reproduce

Steps to reproduce the behavior:

  1. Download the latest release DMG
  2. Open the DMG, drag the application to the Applications folder
  3. Run sonixd via Spotlight
  4. See error

Expected behavior

I expected the application to start.

Screenshots

Apologies for the cramped screenshots; macOS makes it impossible to resize these.

Screen Shot 2022-02-16 at 11 05 26 AM

Screen Shot 2022-02-16 at 11 05 52 AM

Desktop (please complete the following information):

  • OS: macOS
  • Version: 12.2.1 (x86-64)
@woodruffw woodruffw added the bug Something isn't working label Feb 16, 2022
@ChandlerSwift
Copy link

Alternatively, here's a text version of my crash log -- looks to be pretty similar:

Uncaught Exception:
TypeError: Cannot read property 'map' of undefined
    at Module.78118 (/Applications/Sonixd.app/Contents/Resources/app.asar/main.prod.js:2:1224390)
    at n (/Applications/Sonixd.app/Contents/Resources/app.asar/main.prod.js:2:1302639)
    at /Applications/Sonixd.app/Contents/Resources/app.asar/main.prod.js:2:1303150
    at Object.<anonymous> (/Applications/Sonixd.app/Contents/Resources/app.asar/main.prod.js:2:1303164)
    at Module._compile (internal/modules/cjs/loader.js:1078:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1108:10)
    at Module.load (internal/modules/cjs/loader.js:935:32)
    at Module._load (internal/modules/cjs/loader.js:776:14)
    at Function.f._load (electron/js2c/asar_bundle.js:5:12913)
    at Object.<anonymous> (electron/js2c/browser_init.js:193:3237)
    ```

@0xAB51NTH
Copy link

image
Seems like its not only a issue with macOS but with windows too, I have the same issue.

Windows 10 version 21H1 on newest sonixd release.

@jeffvli
Copy link
Owner

jeffvli commented Feb 16, 2022

Thanks for reporting. Seems like I broke something regarding the default settings file creation.
Going to debug this.

jeffvli added a commit that referenced this issue Feb 16, 2022
This happened due to adding the config reducer to the main process. Since it tries to set up the initial state, the current implementation was failing since it wasn't trying to use the mock settings.
@jeffvli jeffvli self-assigned this Feb 16, 2022
@jeffvli
Copy link
Owner

jeffvli commented Feb 17, 2022

Should be resolved in 0.13.1. Let me know if it still doesn't work.

@jeffvli jeffvli closed this as completed Feb 17, 2022
@jeffvli jeffvli changed the title Pre-startup crash on macOS Pre-startup crash on macOS (0.13.0) Feb 17, 2022
@jeffvli jeffvli pinned this issue Feb 17, 2022
@ChandlerSwift
Copy link

Can confirm -- works fine now. Thanks!

@woodruffw
Copy link
Author

Confirming that it works for me as well. Thanks so much for the quick fix!

@jeffvli jeffvli unpinned this issue Mar 5, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
Development

No branches or pull requests

4 participants