Skip to content

bug: crash on quit (lib_arraymorph.so) #7

@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.

Below is the gdb info about the crash when quitting the python script

Thread 1 "python" received signal SIGSEGV, Segmentation fault.
0x00007ffff5e1a2b8 in Aws::Http::CleanupHttp() () from /home/wangtg2013/miniconda3/envs/myenv2/lib/python3.12/site-packages/arraymorph/lib/lib_arraymorph.so
(gdb) bt
#0 0x00007ffff5e1a2b8 in Aws::Http::CleanupHttp() ()
from /home/wangtg2013/miniconda3/envs/myenv2/lib/python3.12/site-packages/arraymorph/lib/lib_arraymorph.so
#1 0x00007ffff5e12ab1 in Aws::ShutdownAPI(Aws::SDKOptions const&) ()
from /home/wangtg2013/miniconda3/envs/myenv2/lib/python3.12/site-packages/arraymorph/lib/lib_arraymorph.so
#2 0x00007ffff5e11cbf in S3VLINITIALIZE::s3VL_initialize_close() ()
from /home/wangtg2013/miniconda3/envs/myenv2/lib/python3.12/site-packages/arraymorph/lib/lib_arraymorph.so
#3 0x00007ffff7321f1f in H5VL__free_cls ()
from /home/wangtg2013/miniconda3/envs/myenv2/lib/python3.12/site-packages/h5py/../h5py.libs/libhdf5-7d060e2f.so.310.5.1
#4 0x00007ffff717c852 in H5I_dec_ref ()
from /home/wangtg2013/miniconda3/envs/myenv2/lib/python3.12/site-packages/h5py/../h5py.libs/libhdf5-7d060e2f.so.310.5.1
#5 0x00007ffff732212b in H5VL_conn_free ()
from /home/wangtg2013/miniconda3/envs/myenv2/lib/python3.12/site-packages/h5py/../h5py.libs/libhdf5-7d060e2f.so.310.5.1
#6 0x00007ffff73221ca in H5VL_term_package ()
from /home/wangtg2013/miniconda3/envs/myenv2/lib/python3.12/site-packages/h5py/../h5py.libs/libhdf5-7d060e2f.so.310.5.1
#7 0x00007ffff70467a2 in H5_term_library.part.0 ()
from /home/wangtg2013/miniconda3/envs/myenv2/lib/python3.12/site-packages/h5py/../h5py.libs/libhdf5-7d060e2f.so.310.5.1
#8 0x00007ffff7c858a7 in __run_exit_handlers (status=0, listp=0x7ffff7e2b718 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true,
run_dtors=run_dtors@entry=true) at exit.c:108
#9 0x00007ffff7c85a60 in __GI_exit (status=) at exit.c:139
#10 0x00007ffff7c6308a in __libc_start_main (main=0x5555557f27c0

, argc=2, argv=0x7fffffffdc78, init=, fini=,
rtld_fini=, stack_end=0x7fffffffdc68) at ../csu/libc-start.c:342
#11 0x00005555557f26c7 in _start ()
(gdb)

Step To Reproduce

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

Expected Behavior

The python is supposed to quit correctly, but a segmentation fault was encountered.

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