NatLabRockies / NatLabRockies/wex

Dview crashed when change settings on arm64 (Mac Silicon)

Open
#170 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
66
Forks
39
PR merge metrics
No merged PRs in 30d

Description

I complied Data viewer (DView) from source on Mac Silicon and tried to change settings (stacked plot etc.. at bottom right). Whenever I click ok button to activate new settings, the Data Viewer crashed. I also installed desktop version for Mac and got same crash. The error log with installed one as below - just want to ensure this issue is reproduced in other arm_64 installs.
Environment Mac M3 Sonoma 14.5

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

Process:               SAM [82279]
Path:                  /Applications/SAM_2023.12.17/SAM.app/Contents/MacOS/SAM
Identifier:            gov.nrel.
Version:               1.0.0 (1.0.0)
Code Type:             ARM-64 (Native)
Parent Process:        launchd [1]
User ID:               2146447833

Date/Time:             2024-05-28 18:16:36.3743 -0700
OS Version:            macOS 14.5 (23F79)
Report Version:        12
Anonymous UUID:        7C1B74C8-DC39-E375-647B-5CEFB6E6846C

Sleep/Wake UUID:       481CD0B9-AF73-4F3B-9A7F-49B53C2072CD

Time Awake Since Boot: 14000 seconds
Time Since Wake:       2951 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 0x00000000000005a0
Exception Codes:       0x0000000000000001, 0x00000000000005a0

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

VM Region Info: 0x5a0 is not in any region.  Bytes before following region: 4339841632
      REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      UNUSED SPACE AT START
--->
      __TEXT                      102acc000-103a60000    [ 15.6M] r-x/r-x SM=COW  /Applications/SAM_2023.12.17/SAM.app/Contents/MacOS/SAM

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the DView settings change on an arm64 Mac using the reported Mac M3 Sonoma 14.5 environment and the provided crash log. Trace the crash from clicking the settings dialog's OK button; done means settings changes apply without crashing on the affected arm64 installation.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, macos
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.