Bug 1633 - Nightly PulseView crashes on startup
Summary: Nightly PulseView crashes on startup
Status: RESOLVED FIXED
Alias: None
Product: PulseView
Classification: Unclassified
Component: Build system (show other bugs)
Version: unreleased development snapshot
Hardware: x86 Mac OS X
: Normal major
Target Milestone: ---
Assignee: Nobody
URL:
Keywords:
: 1653 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-10-27 17:27 CET by Andrea Leofreddi
Modified: 2023-06-16 14:41 CEST (History)
5 users (show)



Attachments
Crash on open (406.15 KB, image/png)
2020-10-27 17:27 CET, Andrea Leofreddi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrea Leofreddi 2020-10-27 17:27:11 CET
Created attachment 695 [details]
Crash on open

Hi,
I've downloaded the nightly build of PulseView for macOS and got it crashing when I try to open it, as per attachment.

Investigating a bit it seems that it fails to load `libintl.8.dylib` - despite being shipped with the bundle, the Python framework is trying to link with a (missing) gettext installation at `/usr/local/opt/gettext/lib/libintl.8.dylib`, which is not there on macOS 10.15.7:

```
$ otool -L /Applications/PulseView.app/Contents/Frameworks/Python.framework/Versions/3.7/Python
/Applications/PulseView.app/Contents/Frameworks/Python.framework/Versions/3.7/Python:
	/usr/local/opt/python/Frameworks/Python.framework/Versions/3.7/Python (compatibility version 3.7.0, current version 3.7.0)
	/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 1259.22.0)
	/usr/local/opt/gettext/lib/libintl.8.dylib (compatibility version 10.0.0, current version 10.7.0) <<<<<<<<<<<<<<
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1226.10.1)
```

As a quick workaround, I've added `export DYLD_LIBRARY_PATH="../Frameworks"` to `/Applications/PulseView.app/Contents/MacOS/pulseview` to make it work.
Comment 1 Wolfram Sang 2021-01-03 21:52:27 CET
*** Bug 1653 has been marked as a duplicate of this bug. ***
Comment 2 Vadzim 2021-05-09 19:24:17 CEST
Thanks for the workaround!
Comment 3 dca 2021-06-08 03:08:33 CEST
Grumble.  Sure would be nice if a maintainer added the workaround to the nightlies, so people who might not find and execute this workaround on their own can still use the tool.
Comment 4 Brian redbeard 2022-09-13 01:47:39 CEST
Didn't need a maintainer. Many hands make light work.  Should be resolved via https://github.com/sigrokproject/sigrok-util/pull/13
Comment 5 Rock12 2023-06-16 14:41:32 CEST
This means you can easily move it from one job site to another without any hassle. Moreover, it can be conveniently stored in your garage or workshop when not in use. https://youraircompressor.com/best-pipe-for-air-compressor-lines/