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
C functions module reloading is not restoring functions properly #5968
Comments
You should fix it separately (before 4642 commits) at least to be able to cherry-pick it to 1.10. |
cyrillos
added a commit
that referenced
this issue
Apr 8, 2021
In commit 96938fa (Add hot function reload for C procedures) an ability to hot reload of modules has been introduced. When module is been reloaded his functions are resolved to new symbols but if something went wrong it is supposed to restore old symbols from the old module. Actually current code restores only one function and may crash if there a bunch of functions to restore. Lets fix it. Fixes #5968 Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
cyrillos
added a commit
that referenced
this issue
Apr 10, 2021
In commit 96938fa (Add hot function reload for C procedures) an ability to hot reload of modules has been introduced. When module is been reloaded his functions are resolved to new symbols but if something went wrong it is supposed to restore old symbols from the old module. Actually current code restores only one function and may crash if there a bunch of functions to restore. Lets fix it. Fixes #5968 Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
cyrillos
added a commit
that referenced
this issue
Apr 12, 2021
In commit 96938fa (Add hot function reload for C procedures) an ability to hot reload of modules has been introduced. When module is been reloaded his functions are resolved to new symbols but if something went wrong it is supposed to restore old symbols from the old module. Actually current code restores only one function and may crash if there a bunch of functions to restore. Lets fix it. Fixes #5968 Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
It must be pushed to all the supported branches, because it is a bugfix. |
cyrillos
added a commit
that referenced
this issue
Jul 14, 2021
In commit 96938fa (Add hot function reload for C procedures) an ability to hot reload of modules has been introduced. When module is been reloaded his functions are resolved to new symbols but if something went wrong it is supposed to restore old symbols from the old module. Actually current code restores only one function and may crash if there a bunch of functions to restore. Lets fix it. Fixes #5968 Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
cyrillos
added a commit
that referenced
this issue
Jul 14, 2021
In commit 96938fa (Add hot function reload for C procedures) an ability to hot reload of modules has been introduced. When module is been reloaded his functions are resolved to new symbols but if something went wrong it is supposed to restore old symbols from the old module. Actually current code restores only one function and may crash if there a bunch of functions to restore. Lets fix it. Fixes #5968 Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
@kyukhin for 2.7 series |
kyukhin
pushed a commit
that referenced
this issue
Jul 15, 2021
In commit 96938fa (Add hot function reload for C procedures) an ability to hot reload of modules has been introduced. When module is been reloaded his functions are resolved to new symbols but if something went wrong it is supposed to restore old symbols from the old module. Actually current code restores only one function and may crash if there a bunch of functions to restore. Lets fix it. Fixes #5968 Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com> (cherry-picked from b9f2bf4)
kyukhin
pushed a commit
that referenced
this issue
Jul 15, 2021
In commit 96938fa (Add hot function reload for C procedures) an ability to hot reload of modules has been introduced. When module is been reloaded his functions are resolved to new symbols but if something went wrong it is supposed to restore old symbols from the old module. Actually current code restores only one function and may crash if there a bunch of functions to restore. Lets fix it. Fixes #5968 Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com> (cherry-picked from 39370f3)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In the commit 96938fa restore of old functions is simply broken. I made a test which makes tarantool to crash. Actually the code is highly bounded to my series in #4642 thus need to fix it in the scope to not double efforts.
The text was updated successfully, but these errors were encountered: