Skip to content

bug: a new crash on quit (lib_arraymorph.so) #9

@wangtg2013

Description

@wangtg2013

Did you check docs and existing issues?

  • I have read all the ArrayMorph docs.
  • I have searched the existing issues.

ArrayMorph version

0.2

Describe the bug/issue.

The python program crashed on quite, and the gdb gave a different trace:
Thread 1 "python" received signal SIGSEGV, Segmentation fault.
0x00007ffff5e24aef in Aws::Utils::Crypto::CleanupCrypto() ()
from /home/wangtg2013/Workspace/arraymorph_pypi/test-py-312/lib/python3.12/site-packages/arraymorph/lib/lib_arraymorph.so
(gdb) b
Breakpoint 1 at 0x7ffff5e24aef
(gdb) bt
#0 0x00007ffff5e24aef in Aws::Utils::Crypto::CleanupCrypto() ()
from /home/wangtg2013/Workspace/arraymorph_pypi/test-py-312/lib/python3.12/site-packages/arraymorph/lib/lib_arraymorph.so
#1 0x00007ffff5debac6 in Aws::ShutdownAPI(Aws::SDKOptions const&) ()
from /home/wangtg2013/Workspace/arraymorph_pypi/test-py-312/lib/python3.12/site-packages/arraymorph/lib/lib_arraymorph.so
#2 0x00007ffff5deacbf in S3VLINITIALIZE::s3VL_initialize_close() ()
from /home/wangtg2013/Workspace/arraymorph_pypi/test-py-312/lib/python3.12/site-packages/arraymorph/lib/lib_arraymorph.so
#3 0x00007ffff7314f1f in H5VL__free_cls ()
from /home/wangtg2013/Workspace/arraymorph_pypi/test-py-312/lib/python3.12/site-packages/h5py/../h5py.libs/libhdf5-7d060e2f.so.310.5.1
#4 0x00007ffff716f852 in H5I_dec_ref ()
from /home/wangtg2013/Workspace/arraymorph_pypi/test-py-312/lib/python3.12/site-packages/h5py/../h5py.libs/libhdf5-7d060e2f.so.310.5.1
#5 0x00007ffff731512b in H5VL_conn_free ()
from /home/wangtg2013/Workspace/arraymorph_pypi/test-py-312/lib/python3.12/site-packages/h5py/../h5py.libs/libhdf5-7d060e2f.so.310.5.1
#6 0x00007ffff73151ca in H5VL_term_package ()
from /home/wangtg2013/Workspace/arraymorph_pypi/test-py-312/lib/python3.12/site-packages/h5py/../h5py.libs/libhdf5-7d060e2f.so.310.5.1
#7 0x00007ffff70397a2 in H5_term_library.part.0 ()
from /home/wangtg2013/Workspace/arraymorph_pypi/test-py-312/lib/python3.12/site-packages/h5py/../h5py.libs/libhdf5-7d060e2f.so.310.5.1
#8 0x00007ffff7c7b8a7 in __run_exit_handlers (status=0, listp=0x7ffff7e21718 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true,
run_dtors=run_dtors@entry=true) at exit.c:108
#9 0x00007ffff7c7ba60 in __GI_exit (status=) at exit.c:139
#10 0x00007ffff7c5908a in __libc_start_main (main=0x17b9b80

, argc=2, argv=0x7fffffffdc28, init=, fini=,
rtld_fini=, stack_end=0x7fffffffdc18) at ../csu/libc-start.c:342
#11 0x00000000017947a9 in _start ()

Step To Reproduce

  1. run python
  2. import h5py
  3. quit()

Expected Behavior

The Python is supposed to quit without a segmentation fault.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions