Back to the main page.

Bug 3371 - OS High Sierra seems to make ft_selectdata (and possibly other functions) get stuck in a loop

Status CLOSED FIXED
Reported 2017-11-17 05:02:00 +0100
Modified 2019-08-10 12:41:41 +0200
Product: FieldTrip
Component: core
Version: unspecified
Hardware: PC
Operating System: Mac OS
Importance: P5 normal
Assigned to: Arjen Stolk
URL:
Tags:
Depends on:
Blocks:
See also:

Arjen Stolk - 2017-11-17 05:02:02 +0100

Just upgraded to OS High Sierra and starting to experience this issue. Haven't figured out what's causing it, but a relatively straightforward operation such as the following will seemingly run forever, using 100% of the processor. freq.powspctrm = randn(10,1,10,10); freq.time = 1:10; freq.freq = 1:10; freq.label = 'chan'; freq.dimord = 'rpt_chan_freq_time'; cfg = []; cfg.latency = [1 5]; sel = ft_selectdata(cfg, freq); /Users/arjsto/Desktop/Screen Shot 2017-11-16 at 7.58.38 PM.png


Arjen Stolk - 2017-11-17 05:02:48 +0100

Created attachment 851 profiler


Arjen Stolk - 2017-11-17 05:04:49 +0100

By the way, this issue occurs in both MATLAB 2015b and 2017b.


Arjen Stolk - 2017-11-17 06:36:00 +0100

Looks like it's related to git >> system(sprintf('git --version')) xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun ans = 1 Which, ironically, is an issue I've recently helped fixing (https://github.com/fieldtrip/fieldtrip/issues/545). In short, reinstalling xcode solves the issue (in the OS terminal): xcode-select --install


Robert Oostenveld - 2019-08-10 12:35:28 +0200

This closes a whole series of bugs that have been resolved (either FIXED/WONTFIX/INVALID) for quite some time. If you disagree, please file a new issue on https://github.com/fieldtrip/fieldtrip/issues.


Robert Oostenveld - 2019-08-10 12:41:41 +0200

This closes a whole series of bugs that have been resolved (either FIXED/WONTFIX/INVALID) for quite some time. If you disagree, please file a new issue on https://github.com/fieldtrip/fieldtrip/issues.