Page MenuHome

Crash when importing Alembic from Meshroom
Closed, ResolvedPublicBUG


System Information
Operating system: gentoo os
Graphics card:1060

Blender Version
Broken: 2.79*
Worked: 2.78
Short description of error
When import from Meshroom Blender crashed
Please try to import from
Blender-2.8* crased too.

Event Timeline

Sebastian Parborg (zeddb) lowered the priority of this task from 90 to 50.


Thread 34 "blender" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffcbfff700 (LWP 7480)]
mul_m4_m4m4_uniq (R=R@entry=0x7fffcec686bc, A=A@entry=0x2b4, B=B@entry=0x7fffcbffe740)
    at /home/zed/programmering/blender_master/blender/source/blender/blenlib/intern/math_matrix.c:194
194		__m128 A0 = _mm_loadu_ps(A[0]);
(gdb) bt
#0  mul_m4_m4m4_uniq (R=R@entry=0x7fffcec686bc, A=A@entry=0x2b4, B=B@entry=0x7fffcbffe740)
    at /home/zed/programmering/blender_master/blender/source/blender/blenlib/intern/math_matrix.c:194
#1  0x0000555556b92dda in mul_m4_m4_pre (R=0x7fffcec686bc, A=0x2b4)
    at /home/zed/programmering/blender_master/blender/source/blender/blenlib/intern/math_matrix.c:239
#2  0x0000555556b92e7d in mul_m4_m4m4 (R=R@entry=0x7fffcec686bc, A=<optimized out>, B=B@entry=0x7fffcec686bc)
    at /home/zed/programmering/blender_master/blender/source/blender/blenlib/intern/math_matrix.c:183
#3  0x000055555666f845 in AbcObjectReader::read_matrix (this=0x7fffcec13600, r_mat=0x7fffcec686bc, time=0, scale=1, is_constant=@0x7fffcbffeaa7: false)
    at /home/zed/programmering/blender_master/blender/source/blender/alembic/intern/
#4  0x000055555666fbcf in AbcObjectReader::setupObjectTransform (this=0x7fffcec13600, time=time@entry=0)
    at /home/zed/programmering/blender_master/blender/source/blender/alembic/intern/
#5  0x0000555556621796 in import_startjob (user_data=0x7fffcf696300, stop=<optimized out>, do_update=<optimized out>, progress=<optimized out>)
    at /home/zed/programmering/blender_master/blender/source/blender/alembic/intern/
#6  0x000055555611bbbf in do_job_thread (job_v=0x7fffcf195508)
    at /home/zed/programmering/blender_master/blender/source/blender/windowmanager/intern/wm_jobs.c:330
#7  0x00007ffff63993c3 in start_thread () from /lib64/
#8  0x00007ffff13513ef in clone () from /lib64/
Brecht Van Lommel (brecht) raised the priority of this task from 50 to High.Apr 1 2019, 1:43 PM

When I try to import the file, I get:

Alembic object /mvgRoot/mvgCameras is of unsupported schema type ''
Alembic object /mvgRoot/mvgCamerasUndefined is of unsupported schema type ''
AbcObjectReader::xform(): unable to find IXform for Alembic object '/mvgRoot/mvgCloud/mvgPointCloud/particleShape1'

There are multiple aspects of this issue:

  • There is a crash. This I cannot reproduce any more with the current version of Blender.
  • Apparently Meshlab writes pointclouds without parent Xform object. Blender should be able to handle this, and I have a patch ready for this.

Looks like blender28 can import meshrooms abc file

but camera locations lost!
please test my file with blender-2.78, it imported abc as expected.