JosephDaniels / alembic

Automatically exported from code.google.com/p/alembic
Other
0 stars 0 forks source link

Crashes with Maya 2014 Arnold 4.1.3.3 on darwin 10.9.1 #334

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Compile hdf5 with thread support ( --enable-threadsafe 
--with-pthread=/usr/include,/usr/lib )
2. Rebuild Alembic with it
3. Launch Maya, use a mtoa standin node pointing to the 
AlembicArnoldProcedural.so and a valid Alembic file.
4. Launch an interactive render, Maya crashes after the render is completed.

What is the expected output? What do you see instead?
I suspect the hdf5 flags are wrong to enable multi threading. Maya crashes when 
doing internal thread_cleanup for the rendering thread, after all ressources 
are released ( outside of the rendering C++ function )

What version of the product are you using? On what operating system?
darwin 10.9.1, Maya 2014, Alembic 1.5.3 from Mercurial repo, hdf5 1.8.12, 
Arnold 4.1.3.3, mtoa from the Solid Angle Master branch.

Please provide any additional information below.
My workaround for the time being is to compile hdf5 without thread support, and 
add a lock in mtoa to ensure files are loaded one after the other.

Original issue reported on code.google.com by sdeve...@couch-lab.com on 17 Jan 2014 at 2:59

GoogleCodeExporter commented 8 years ago
Does it crash if you add H5dont_atexit to ProcInit?

Original comment by miller.lucas on 21 Jan 2014 at 5:44

GoogleCodeExporter commented 8 years ago
Will try and report back.
Thanks.

Original comment by sdeve...@couch-lab.com on 22 Jan 2014 at 9:18

GoogleCodeExporter commented 8 years ago
Hi there,
it still crashes, even with H5dont_atexit. I find my hdf5 compile flags highly 
suspicious, having to use --with-pthread=/usr/include,/usr/lib
In theory, I shouldn�t have to add anything on Darwin, shouldn�t I ?
Anyway, I�ll keep my thread lock in place, and compile hdf5 without threading, 
with the idea that the focus should be on Ogawa anyway.
Cheers.
St�phane Deverly

Original comment by sdeve...@couch-lab.com on 23 Jan 2014 at 10:31

GoogleCodeExporter commented 8 years ago
Please reopen (or open a new ticket) if you are having issues with Ogawa.

I'm not sure why you need the lock with HDF5, but am not surprised, others have 
noticed similar threading problems with HDF5.

Original comment by miller.lucas on 15 Mar 2014 at 5:39