You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While attempting to add Objective-C (NSJSONSerialization) tests, I found that the test scripts do not work correctly on macOS; the output is always 2. The first time I ran it, I got a number of Abort Traps from broken pipes between the scripts:
./utils/binary_search.sh: line 1: 65239 Broken pipe: 13 ./utils/deep_json_array.sh $n 65240 Abort trap: 6 | $json_parsing_command 2> /dev/null > /dev/null
repeated several times with different process numbers, followed by ./utils/binary_search.sh: line 1: 65292 Done ./utils/deep_json_array.sh $n 65293 Abort trap: 6 | $json_parsing_command 2> /dev/null > /dev/null
repeated several times with different process numbers, followed by 2
Subsequent runs just output 2
(Running the tests manually, NSJSONSerialization tops out at 512 levels of nesting.)
macOS 10.14.6, GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin18)
The text was updated successfully, but these errors were encountered:
Can you give more details ? The shell script seems to be working the same in MacOS and linux for me.
The Broken pipe [...] Abort trap: 6 messages seem to signal that the underlying program segfaulted. Maybe you can make a pull request with your Objective-C project so that we can have a look at it together ?
While attempting to add Objective-C (NSJSONSerialization) tests, I found that the test scripts do not work correctly on macOS; the output is always 2. The first time I ran it, I got a number of Abort Traps from broken pipes between the scripts:
./utils/binary_search.sh: line 1: 65239 Broken pipe: 13 ./utils/deep_json_array.sh $n 65240 Abort trap: 6 | $json_parsing_command 2> /dev/null > /dev/null
repeated several times with different process numbers, followed by
./utils/binary_search.sh: line 1: 65292 Done ./utils/deep_json_array.sh $n 65293 Abort trap: 6 | $json_parsing_command 2> /dev/null > /dev/null
repeated several times with different process numbers, followed by
2
Subsequent runs just output
2
(Running the tests manually, NSJSONSerialization tops out at 512 levels of nesting.)
macOS 10.14.6, GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin18)
The text was updated successfully, but these errors were encountered: