With the nightly build on macOS 12.6.2 Monterey, PulseView displays a dialog with the message "Scanning for devices that driver beaglelogic can access..." with a single Cancel button. The UI is immediately unresponsive (spinning pizza wheel) and the Cancel button does nothing. Force Quit works.
Steps to Reproduce:
1) launch nightly build of PulseView by double-clicking the app
Dialog with message "Scanning for devices that driver beaglelogic can access..." and Cancel button, with unresponsive UI.
The PulseView UI should display.
Build Date & Hardware:
Nightly build downloaded 2023-01-20 PST. Actual build date unknown since I can't get to the UI. Info on the bundle says it was created March 14, 2022 at 9:02 AM, and all the files in the bundle have that date for both creation and modification. (Except __pycache__ and its contents in each decoder's folder inside the app bundle, which shows today's date.) I don't know why the bundle date is 10 months old on the "nightly" build.
Running macOS 12.6.2 Monterey on iMac Pro. No logic analyzer or other instrument hardware connected.
Additional Builds and Platforms:
Does not occur with latest Release build 0.4.2.
If I manually run the executable inside the app bundle and use the -D flag to prevent device scanning, the problem does not occur, even if I also specify -d beaglelogic. The UI opens with no device selected.
If I then attempt to connect to a device, and select the beaglelogic driver with TCP/IP, and attempt to "Scan for devices using driver above" it again hangs with unresponsive UI, but there's no dialog. However, in this case when I force quit, I get a message like "sr: beaglelogic: Failed to connect to 192.168.1.100:5555: Interrupted system call". (That's just the default IP address and port number, it has no local significance.)
If I manually run the executable and specify -d beaglelogic, it still hangs up with a dialog, but this time the dialog mentions driver asix-sigma instead of beaglelogic! Weird.
I tried to catch PulseView trying to communicate with a beaglelogic using Wireshark, but was unsuccessful.
You could try running the Pulseview.app/Contents/MacOS/pulseview.real from the console with -l5 to get full logs.
For what it is worth I can't duplicate this with a macbook running monteray.
$ ./pulseview.real -l5
sr: [00:00.000000] log: libsigrok loglevel set to 5.
srd: libsigrokdecode loglevel set to 5.
Settings: "/Users/kb5mu/Library/Preferences/org.sigrok.PulseView.plist" format 0
sr: [00:00.000819] backend: libsigrok 0.6.0-git-6dc55e4/4:0:0.
sr: [00:00.000871] backend: Libs: glib 2.64.2 (rt: 2.64.2/6402:2), zlib 1.2.5, libzip 1.6.1, minilzo 2.10, libserialport 0.1.1/1:0:1 (rt: 0.1.1/1:0:1), libusb-1.0 22.214.171.12497 API 0x01000107, hidapi 0.9.0, libftdi 1.4.
sr: [00:00.000882] backend: Host: x86_64-apple-darwin15.6.0, little-endian.
sr: [00:00.000888] backend: SCPI backends: TCP, RPC, serial, USBTMC.
sr: [00:00.000892] backend: Firmware search paths:
sr: [00:00.000916] backend: - /Users/kb5mu/.local/share/sigrok-firmware
sr: [00:00.000921] backend: - /Users/jenkins_slave/sr_macosx/share/sigrok-firmware
sr: [00:00.000925] backend: - /usr/local/share/sigrok-firmware
sr: [00:00.000929] backend: - /usr/share/sigrok-firmware
sr: [00:00.000947] backend: Sanity-checking all drivers.
sr: [00:00.000958] backend: Sanity-checking all input modules.
sr: [00:00.000965] backend: Sanity-checking all output modules.
sr: [00:00.000971] backend: Sanity-checking all transform modules.
srd: libsigrokdecode 0.6.0-git-24ba9e1/4:0:0 (rt: 0.6.0-git-24ba9e1/4:0:0).
srd: Libs: glib 2.64.2 (rt: 2.64.2/6402:2), Python 3.7.7 / 0x30707f0 (API 1013, ABI 3).
srd: Host: x86_64-apple-darwin15.6.0, little-endian.
srd: Initializing libsigrokdecode.
srd: Adding '/Users/jenkins_slave/sr_macosx/share/libsigrokdecode/decoders' to module path.
srd: Protocol decoder search paths:
srd: Python system search paths:
sr: [00:00.344102] serial: No serial device specified.
sr: [00:00.344126] asix-omega-rtm-cli: Vendor application executable: omegartmcli
sr: [00:00.347260] asix-omega-rtm-cli: External RTM CLI execution failed.
sr: [00:00.347491] hwdriver: Scan found 0 devices (asix-omega-rtm-cli).
sr: [00:00.492591] hwdriver: Scan found 0 devices (asix-sigma).
sr: [00:00.499043] hwdriver: Scan found 0 devices (beaglelogic).