Skip to content

Bug fix swig induced core dump#629

Open
matthew-beauchamp wants to merge 3 commits intomdaus:mainfrom
matthew-beauchamp:bug-fix-swig-induced-core-dump
Open

Bug fix swig induced core dump#629
matthew-beauchamp wants to merge 3 commits intomdaus:mainfrom
matthew-beauchamp:bug-fix-swig-induced-core-dump

Conversation

@matthew-beauchamp
Copy link

swig generates scope braces around the declaration of "temp" var, but…

… reader destroy is called immediately after the close brace with &temp causing a core dump in Release build under gcc 13. Moving outside of if ($input) expands scope to entire swig function avoiding issue

… reader destroy is called immediately after the close brace with &temp causing a core dump in Release build under gcc 13. Moving outside of if ($input) expands scope to entire swig function avoiding issue
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 this pull request may close these issues.

1 participant