[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #56149] An HDF5 file which fails to load cause
From: |
John W. Eaton |
Subject: |
[Octave-bug-tracker] [bug #56149] An HDF5 file which fails to load causes segfault when eventually exiting |
Date: |
Wed, 17 Apr 2019 18:55:58 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0 |
Follow-up Comment #4, bug #56149 (project octave):
Here is what I see:
octave:1> load example.h5
error: load: error while reading hdf5 item all_measurements
octave:1> quit
Thread 1 "octave-cli" received signal SIGSEGV, Segmentation fault.
0x00007ffff559cf27 in H5SL_search () from
/usr/lib/x86_64-linux-gnu/libhdf5_serial.so.103
(gdb) where
#0 0x00007ffff559cf27 in H5SL_search () from
/usr/lib/x86_64-linux-gnu/libhdf5_serial.so.103
#1 0x00007ffff54a01c1 in H5FO_top_decr () from
/usr/lib/x86_64-linux-gnu/libhdf5_serial.so.103
#2 0x00007ffff54b623d in H5G_close () from
/usr/lib/x86_64-linux-gnu/libhdf5_serial.so.103
#3 0x00007ffff54b65e2 in H5G__close_cb () from
/usr/lib/x86_64-linux-gnu/libhdf5_serial.so.103
#4 0x00007ffff54ea951 in ?? () from
/usr/lib/x86_64-linux-gnu/libhdf5_serial.so.103
#5 0x00007ffff55a0ee3 in H5SL_try_free_safe () from
/usr/lib/x86_64-linux-gnu/libhdf5_serial.so.103
#6 0x00007ffff54eb391 in H5I_clear_type () from
/usr/lib/x86_64-linux-gnu/libhdf5_serial.so.103
#7 0x00007ffff54a93d3 in H5G_top_term_package () from
/usr/lib/x86_64-linux-gnu/libhdf5_serial.so.103
#8 0x00007ffff53d025b in H5_term_library () from
/usr/lib/x86_64-linux-gnu/libhdf5_serial.so.103
#9 0x00007ffff53d1a4d in H5close () from
/usr/lib/x86_64-linux-gnu/libhdf5_serial.so.103
#10 0x00007ffff7a94d2b in octave::load_save_system::~load_save_system
(this=0x5555555d0568, __in_chrg=<optimized out>) at
/home/jwe/src/octave/libinterp/corefcn/load-save.cc:277
#11 0x00007ffff7a6ba1c in octave::interpreter::~interpreter
(this=0x5555555cfcb0, __in_chrg=<optimized out>) at
/home/jwe/src/octave/libinterp/corefcn/interpreter.cc:538
#12 0x00007ffff71adbc7 in octave::application::delete_interpreter
(this=0x7fffffffd570) at /home/jwe/src/octave/libinterp/octave.cc:332
#13 0x00007ffff71adf5d in octave::cli_application::execute
(this=0x7fffffffd570) at /home/jwe/src/octave/libinterp/octave.cc:393
#14 0x00005555555564ed in main (argc=8, argv=0x7fffffffd898) at
/home/jwe/src/octave/src/main-cli.cc:92
Since the segfault happens inside an HDF5 library function, maybe we are
failing to clean up properly after the error? H5close is not closing a file,
but is intended to free resources used by the HDF5 library.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?56149>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/