Page MenuHome

Crash when importing Alembic from Meshroom
Closed, ResolvedPublic

Description

System Information
Operating system: gentoo os
Graphics card:1060

Blender Version
Broken: 2.79*
Worked: 2.78
Short description of error
When import sfm.abc from Meshroom Blender crashed
Please try to import sfm.abc.zip from
https://sea-region.github.com/alicevision/meshroom/issues/170
Blender-2.8* crased too.

Event Timeline

Sebastian Parborg (zeddb) triaged this task as Confirmed, Medium priority.

Backtrace:

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/abc_object.cc:327
#4  0x000055555666fbcf in AbcObjectReader::setupObjectTransform (this=0x7fffcec13600, time=time@entry=0)
    at /home/zed/programmering/blender_master/blender/source/blender/alembic/intern/abc_object.cc:257
#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/alembic_capi.cc:772
#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/libpthread.so.0
#8  0x00007ffff13513ef in clone () from /lib64/libc.so.6
Brecht Van Lommel (brecht) raised the priority of this task from Confirmed, Medium to Confirmed, 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.

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