octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #37713] HDF5 error message on exit


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #37713] HDF5 error message on exit
Date: Sat, 12 Oct 2013 22:48:46 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.57 Safari/537.36

Follow-up Comment #9, bug #37713 (project octave):

It appears that the call to H5Fis_hdf5 in load-save.cc (get_file_format) is
indeed what's setting up Octave to generate this error on exit, because it's
being called in a secondary thread when run in GUI mode.

The following quick-n-dirty standalone program demonstrates the same error on
exit for me:


#include <hdf5.h>
#include <pthread.h>

void *
func (void *p)
{
  char *arg = (char*)p;
  int x = H5Fis_hdf5 (arg);
  return 0;
}

int main(int argc, char *argv[])
{
  pthread_t thread;
  pthread_create (&thread, 0, func, argv[1]);
  pthread_join (thread, 0);
  return 0;
}


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?37713>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]