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

module-python: crash on process exit when initialized from Java #4651

Closed
davidnich opened this issue Dec 6, 2022 · 0 comments
Closed

module-python: crash on process exit when initialized from Java #4651

davidnich opened this issue Dec 6, 2022 · 0 comments

Comments

@davidnich
Copy link
Contributor

ex:

java: /home/david/src/qore/git/qore/include/qore/QoreThreadLock.h:83: void QoreThreadLock::lock(): Assertion `!rc' failed.

Thread 1 "java" received signal SIGABRT, Aborted.
0x00007ffff7e25e7c in __pthread_kill_implementation () from /lib64/libc.so.6
(gdb) bt 
#0  0x00007ffff7e25e7c in __pthread_kill_implementation () from /lib64/libc.so.6
#1  0x00007ffff7dd5aa6 in raise () from /lib64/libc.so.6
#2  0x00007ffff7dbf7fc in abort () from /lib64/libc.so.6
#3  0x00007ffff7dbf71b in __assert_fail_base.cold () from /lib64/libc.so.6
#4  0x00007ffff7dce656 in __assert_fail () from /lib64/libc.so.6
#5  0x00007fff27ea7c4d in QoreThreadLock::lock (this=0x7fff27eff5a0 <QorePythonProgram::py_thr_lck>)
    at /home/david/src/qore/git/qore/include/qore/QoreThreadLock.h:83
#6  0x00007fff27ea7cc6 in AutoLocker::AutoLocker (this=0x7fffffffcb40, l=...) at /home/david/src/qore/git/qore/include/qore/QoreThreadLock.h:145
#7  0x00007fff27e99571 in QorePythonProgram::pythonThreadCleanup () at /home/david/src/qore/git/module-python/src/QorePythonProgram.cpp:467
#8  0x00007fff809be2d6 in q_deregister_foreign_thread() () from /usr/lib64/libqore.so.12.1.1
#9  0x00007fff809bea35 in QoreForeignThreadHelper::~QoreForeignThreadHelper() () from /usr/lib64/libqore.so.12.1.1
#10 0x00007fff80a226ac in QoreProgramHelper::~QoreProgramHelper() () from /usr/lib64/libqore.so.12.1.1
#11 0x00007fff5e072cc1 in std::unique_ptr<QoreProgramHelper, std::default_delete<QoreProgramHelper> >::~unique_ptr() ()
   from /usr/lib64/qore-modules/jni-api-1.3.qmod
#12 0x00007ffff7dd80e5 in __run_exit_handlers () from /lib64/libc.so.6
#13 0x00007ffff7dd8260 in exit () from /lib64/libc.so.6
#14 0x00007ffff7dc0517 in __libc_start_call_main () from /lib64/libc.so.6
#15 0x00007ffff7dc05c9 in __libc_start_main_impl () from /lib64/libc.so.6
#16 0x0000555555555365 in _start ()
@davidnich davidnich added this to the 1.12.4 milestone Dec 6, 2022
@davidnich davidnich self-assigned this Dec 6, 2022
@davidnich davidnich added this to To do in Qore Development via automation Dec 6, 2022
Qore Development automation moved this from To do to Done Dec 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

1 participant