Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testing branch for OS 3.8 hitting segfault when regexp_parser-2.9.2 is installed #276

Open
DavidGoldwasser opened this issue Aug 13, 2024 · 1 comment · May be fixed by #279
Open

Testing branch for OS 3.8 hitting segfault when regexp_parser-2.9.2 is installed #276

DavidGoldwasser opened this issue Aug 13, 2024 · 1 comment · May be fixed by #279

Comments

@DavidGoldwasser
Copy link
Collaborator

DavidGoldwasser commented Aug 13, 2024

When I check out https://github.com/urbanopt/urbanopt-geojson-gem/tree/os38 bundle install works fine. So does bundle exec rake spec. I want to run measure tests but I can't run them directly either with Ruby or with OpenStudio using openstudio my_test.rb because I need to geojson gem to run the measure.

When I run bundle exec rake openstudio:test_with_openstudio after Starting ruby tests shows up a bunch of dependencies are addd, then ruby gems are activated. I get a seg fault when regexp_parser-2.9.2 is activated. So far I only tested on mac.

[ruby] <-2> Activating gem :/ruby/3.2.0/specifications/sqlite3-1.7.2-arm64-darwin.gemspec LoadError: cannot load such file -- /Users/dgoldwas/Documents/github/uo/urbanopt-geojson-gem/.bundle/install/ruby/3.2.0/gems/regexp_parser-2.9.2/lib/regexp_parser/syntax//Users/dgoldwas/Documents/github/uo/urbanopt-geojson-gem/.bundle/install/ruby/3.2.0/gems/regexp_parser-2.9.2/lib/regexp_parser/syntax/versions/1.8.6.rb stderr: ruby: [BUG] Segmentation fault at 0x00000001029f4100 ruby 3.2.2 (2023-03-30 revision e51014f9c0) [arm64-darwin22]

This is top of the log file openstudio-2024-08-13-162318.ips
{"app_name":"openstudio","timestamp":"2024-08-13 16:23:18.00 -0600","app_version":"","slice_uuid":"bf3d7960-af7b-35d9-a0b9-cbe9534ad1df","build_version":"","platform":1,"share_with_app_devs":0,"is_first_party":1,"bug_type":"309","os_version":"macOS 13.6.8 (22G820)","roots_installed":0,"incident_id":"F3B32B7C-0D92-41FB-90CE-5AE08EDA24B5","name":"openstudio"}

@jmarrec
Copy link

jmarrec commented Nov 6, 2024

I was going to say you should ping regex_parser to the same version as the CLI, 2.9.0, but I think that's done already.

No? @DavidGoldwasser

@vtnate vtnate linked a pull request Nov 13, 2024 that will close this issue
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants