-
Notifications
You must be signed in to change notification settings - Fork 24
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
pb2nc sporadic seg faults using -index #1618
Comments
Debugging this issue on kiowa in /d1/personal/johnhg/MET/MET_development/MET/met/bugfix_1618. Here's output when it doesn't fail:
Here's output when it does fail:
|
I confirmed that this problem still persists when linking against the latest version of BUFRLIB, version 11.3.0 in: When I remove the -index option and reconfigure to process all variables and message type, I do get a successful run:
But it does produce a warning:
Re-assigning to Howard to investigate this more. |
The same code works without -index options (MET calls openpb_ and numpbmsg_). |
Describe the Problem
Running pb2nc with the -index option succeeds sometimes but other times it causes a segmentation fault.
Expected Behavior
The index of input fields output every time instead of occasionally causing a segfault.
Environment
Describe your runtime environment:
1. Machine: kiowa (NCAR)
2. OS: Linux
3. Software version number(s): Bug was experienced using 8.1.1 and 9.1
To Reproduce
Describe the steps to reproduce the behavior:
1. Go to kiowa
2. Change directory to:
3. Run this command multiple times:
Error message should look like this:
Relevant Deadlines
List relevant project deadlines here or state NONE.
Funding Source
Define the source of funding and account keys here or state NONE.
Define the Metadata
Assignee
Labels
Projects and Milestone
Define Related Issue(s)
Consider the impact to the other METplus components.
Bugfix Checklist
See the METplus Workflow for details.
Branch name:
bugfix_<Issue Number>_main_<Version>_<Description>
Pull request:
bugfix <Issue Number> main_<Version> <Description>
Select: Reviewer(s), Project(s), Milestone, and Linked issues
Branch name:
bugfix_<Issue Number>_develop_<Description>
Pull request:
bugfix <Issue Number> develop <Description>
The text was updated successfully, but these errors were encountered: