# Help for package testing on macOS Monterrey or BigSur system

**URL:** <https://discourse.slicer.org/t/help-for-package-testing-on-macos-monterrey-or-bigsur-system/23249>\
**Category:** Development\
**Created:** [May 2, 2022, 10:00pm UTC](https://discourse.slicer.org/t/help-for-package-testing-on-macos-monterrey-or-bigsur-system/23249 "2022-05-02T22:00:04Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![jcfr](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jcfr/32/17825_2.png) [@jcfr](https://discourse.slicer.org/u/jcfr)\
**Post date:** [May 2, 2022, 10:00pm UTC](https://discourse.slicer.org/t/help-for-package-testing-on-macos-monterrey-or-bigsur-system/23249/1 "2022-05-02T22:00:04Z")

</div>

### Context

To perform some testing to check if issue [Slicer#6347](https://github.com/Slicer/Slicer/issues/6347) reported by @che85 is specific to recent macOS system or if it is related to specific network & proxy settings.

### Help needed

Two ways you could help:

1. Reach out privately to @jcfr to schedule a hangout

2. Perform these steps and report back:

---

<div class="post-metadata">

**Author:** ![hherhold](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/hherhold/32/12199_2.png) [@hherhold](https://discourse.slicer.org/u/hherhold)\
**Post date:** [May 2, 2022, 10:05pm UTC](https://discourse.slicer.org/t/help-for-package-testing-on-macos-monterrey-or-bigsur-system/23249/2 "2022-05-02T22:05:19Z")

</div>

How recent of a preview release to test this?

---

<div class="post-metadata">

**Author:** ![jcfr](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jcfr/32/17825_2.png) [@jcfr](https://discourse.slicer.org/u/jcfr)\
**Post date:** [May 2, 2022, 10:08pm UTC](https://discourse.slicer.org/t/help-for-package-testing-on-macos-monterrey-or-bigsur-system/23249/3 "2022-05-02T22:08:51Z")

</div>

> [@hherhold](#):
>
> How recent of a preview release to test this?

Since the issue indicates

> > just tested on older Slicer preview versions and it’s happening for all of them.

feedback related to a recent installation of a preview build would be helpful too if that it is easier for you to check.

---

<div class="post-metadata">

**Author:** ![hherhold](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/hherhold/32/12199_2.png) [@hherhold](https://discourse.slicer.org/u/hherhold)\
**Post date:** [May 2, 2022, 10:27pm UTC](https://discourse.slicer.org/t/help-for-package-testing-on-macos-monterrey-or-bigsur-system/23249/4 "2022-05-02T22:27:51Z")

</div>

DOH - should have read issue, sorry. Checking.

---

<div class="post-metadata">

**Author:** ![hherhold](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/hherhold/32/12199_2.png) [@hherhold](https://discourse.slicer.org/u/hherhold)\
**Post date:** [May 2, 2022, 10:35pm UTC](https://discourse.slicer.org/t/help-for-package-testing-on-macos-monterrey-or-bigsur-system/23249/5 "2022-05-02T22:35:03Z")

</div>

I did not get the error described above - the extensions installed correctly (SlicerMorph, which includes a few extensions, etc).

I did get a crash on exit, however - stack trace below. Re-opening Slicer, trying an extension, and then exiting Slicer dit not repeat the crash.

This is on macOS Monterey 12.1, MacBook Pro 16" (2019).

```auto
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process: Slicer [4415]
Path: /Users/USER/Downloads/Slicer.app/Contents/MacOS/Slicer
Identifier: org.slicer.slicer
Version: 5.0.1 (5.0.1)
Code Type: X86-64 (Native)
Parent Process: launchd [1]
User ID: 501

Date/Time: 2022-05-02 18:30:59.0736 -0400
OS Version: macOS 12.1 (21C52)
Report Version: 12
Bridge OS Version: 6.1 (19P647)
Anonymous UUID: 35B3F1AE-3AB0-EA88-9149-17BDBEC361AB

Sleep/Wake UUID: 733D78D9-C625-4583-8C2D-569FE60E808B

Time Awake Since Boot: 62000 seconds
Time Since Wake: 7698 seconds

System Integrity Protection: enabled

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

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: UNKNOWN_0xD at 0x0000000000000000
Exception Codes: 0x000000000000000d, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY

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

VM Region Info: 0 is not in any region. Bytes before following region: 4502261760
      REGION TYPE START - END [VSIZE] PRT/MAX SHRMOD REGION DETAIL
      UNUSED SPACE AT START
--->  
      __TEXT 10c5b1000-10c5f3000 [264K] r-x/rwx SM=COW .../MacOS/Slicer

Thread 0 Crashed:: CrBrowserMain Dispatch queue: com.apple.main-thread
0 QtWidgets 0x10dd46675 QWidgetPrivate::setParent_sys(QWidget*, QFlags<Qt::WindowType>) + 37
1 QtWidgets 0x10dd3099d QWidget::setParent(QWidget*, QFlags<Qt::WindowType>) + 637
2 libqSlicerBaseQTGUI.dylib 0x10cd64063 qSlicerApplicationPrivate::~qSlicerApplicationPrivate() + 131
3 libqSlicerBaseQTGUI.dylib 0x10cd6413e qSlicerApplicationPrivate::~qSlicerApplicationPrivate() + 14
4 libqSlicerBaseQTCore.dylib 0x10d6513e6 qSlicerCoreApplication::~qSlicerCoreApplication() + 38
5 Slicer 0x10c5eeb0f main + 527
6 dyld 0x10e5ef4fe start + 462

```

---

<div class="post-metadata">

**Author:** ![jcfr](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jcfr/32/17825_2.png) [@jcfr](https://discourse.slicer.org/u/jcfr)\
**Post date:** [May 2, 2022, 11:01pm UTC](https://discourse.slicer.org/t/help-for-package-testing-on-macos-monterrey-or-bigsur-system/23249/6 "2022-05-02T23:01:27Z")

</div>

Thanks for the feedback that is very helpful. Thanks for taking the time 🙏

The crash is unfortunate, I would be curious is this is systematic after installing extension.

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [May 2, 2022, 11:37pm UTC](https://discourse.slicer.org/t/help-for-package-testing-on-macos-monterrey-or-bigsur-system/23249/7 "2022-05-02T23:37:38Z")

</div>

I also got the crash on exit after running the extension manager. Install worked for Segmentation Extra Effects, so probably not extension-specific. Oddly it’s a slightly different stack trace.

```auto
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process: Slicer [3899]
Path: /Users/USER/Downloads/Slicer.app/Contents/MacOS/Slicer
Identifier: org.slicer.slicer
Version: 5.0.1 (5.0.1)
Code Type: X86-64 (Native)
Parent Process: launchd [1]
User ID: 501

Date/Time: 2022-05-02 19:33:22.3666 -0400
OS Version: macOS 12.3.1 (21E258)
Report Version: 12
Bridge OS Version: 6.4 (19P4243)
Anonymous UUID: 3797FBED-83D2-B47D-D4EA-26F22AA011DE

Time Awake Since Boot: 1300 seconds

System Integrity Protection: enabled

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

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: UNKNOWN_0xD at 0x0000000000000000
Exception Codes: 0x000000000000000d, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY

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

VM Region Info: 0 is not in any region. Bytes before following region: 4525027328
      REGION TYPE START - END [VSIZE] PRT/MAX SHRMOD REGION DETAIL
      UNUSED SPACE AT START
--->  
      __TEXT 10db67000-10dba9000 [264K] r-x/rwx SM=COW .../MacOS/Slicer

Thread 0 Crashed:: CrBrowserMain Dispatch queue: com.apple.main-thread
0 libqSlicerBaseQTGUI.dylib 0x10e31a072 qSlicerApplicationPrivate::~qSlicerApplicationPrivate() + 146
1 libqSlicerBaseQTGUI.dylib 0x10e31a13e qSlicerApplicationPrivate::~qSlicerApplicationPrivate() + 14
2 libqSlicerBaseQTCore.dylib 0x10ec073e6 qSlicerCoreApplication::~qSlicerCoreApplication() + 38
3 Slicer 0x10dba4b0f main + 527
4 dyld 0x112fbf51e start + 462

<cruft removed>

```

---

<div class="post-metadata">

**Author:** ![jcfr](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jcfr/32/17825_2.png) [@jcfr](https://discourse.slicer.org/u/jcfr)\
**Post date:** [May 3, 2022, 3:46pm UTC](https://discourse.slicer.org/t/help-for-package-testing-on-macos-monterrey-or-bigsur-system/23249/8 "2022-05-03T15:46:57Z")

</div>

Thanks @hherhold @RafaelPalomar @pieper @lassoan @mau_igna_06 for the help, during today’s hangout we identified the issue and will be submitting a fix.

we will then release `v5.0.3`

---

<div class="post-metadata">

**Author:** ![jcfr](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jcfr/32/17825_2.png) [@jcfr](https://discourse.slicer.org/u/jcfr)\
**Post date:** [May 3, 2022, 4:33pm UTC](https://discourse.slicer.org/t/help-for-package-testing-on-macos-monterrey-or-bigsur-system/23249/9 "2022-05-03T16:33:33Z")

</div>

To close the loop, here is the associated fix: [BUG: Fix on exit Segfault ensuring ExtensionsManagerDialog is deleted once by jcfr · Pull Request #6348 · Slicer/Slicer · GitHub](https://github.com/Slicer/Slicer/pull/6348)

---

<div class="post-metadata">

**Author:** ![che85](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/che85/32/636_2.png) [@che85](https://discourse.slicer.org/u/che85)\
**Post date:** [May 4, 2022, 2:31pm UTC](https://discourse.slicer.org/t/help-for-package-testing-on-macos-monterrey-or-bigsur-system/23249/10 "2022-05-04T14:31:01Z")

</div>

It turns out, that I had an outdated OpenSSL version installed which is the reason why I couldn’t install any extensions.
