Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

f4dconverter 사용시, 파일이 변환되어도 세그멘테이션 에러가 납니다. #3

Open
JinDaeYoon opened this issue May 25, 2021 · 1 comment

Comments

@JinDaeYoon
Copy link

JinDaeYoon commented May 25, 2021

파일은 변환되었습니다만, 종료시에 정상 종료 메세지가 뜨지 않습니다.

docker container는 이 repo의 dockerfile을 그대로 사용해 만들었습니다.
또한, input output log 디렉토리는 정상적으로 존재합니다.
파일 버전은 둘 다 IFC2X3이므로, 파일 버전의 문제는 아닌 것 같습니다.

[root@66814048cc49 app]# F4DConverter -inputFolder input -outputFolder output -log log -meshType 0
[Info]Arguments are following.
-inputFolder : input
-log : log
-meshType : 0
-outputFolder : output
programPath : F4DConverter
Can not find Proj4 serchpath location : proj
Starting GLFW context with OpenGL
OpenGL2.1 Mesa 18.3.4
Supported GLSL version is 1.20
In directory: input
[file]SOCIALROOM.ifc
[file]STUDENTROOM.ifc

===== Start processing this file : SOCIALROOM.ifc
Detected IFC version: IFC2X3
addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed 
carve::triangulate::incorporateHolesIntoPolygon failed 
addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed 
carve::triangulate::incorporateHolesIntoPolygon failed 
addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed 
carve::triangulate::incorporateHolesIntoPolygon failed 
addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed 
carve::triangulate::incorporateHolesIntoPolygon failed 
addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed 
carve::triangulate::incorporateHolesIntoPolygon failed 
addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed 
carve::triangulate::incorporateHolesIntoPolygon failed 
addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed 
carve::triangulate::incorporateHolesIntoPolygon failed 
addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed 
carve::triangulate::incorporateHolesIntoPolygon failed 
addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed 
carve::triangulate::incorporateHolesIntoPolygon failed 
addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed 
carve::triangulate::incorporateHolesIntoPolygon failed 
addClosedPolyhedron: Meshset is not closed
[Info]Vertex trimming done.
[Info]Exterior detection done.
[Info]Model/reference detection done. 441 models out of 2424 meshes detected.
[Info]VBO of each mesh created.
[Info]Mesh distribution on each octree done.
[Info]Net Surface Mesh created.
===== End processing this file : SOCIALROOM.ifc

===== Start processing this file : STUDENTROOM.ifc
Detected IFC version: IFC2X3
carve::triangulate::incorporateHolesIntoPolygon failed 
carve::triangulate::incorporateHolesIntoPolygon failed 
addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed 
carve::triangulate::incorporateHolesIntoPolygon failed 
addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed 
carve::triangulate::incorporateHolesIntoPolygon failed 
addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed 
carve::triangulate::incorporateHolesIntoPolygon failed 
addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed 
carve::triangulate::incorporateHolesIntoPolygon failed 
addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed 
carve::triangulate::incorporateHolesIntoPolygon failed 
addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed 
carve::triangulate::incorporateHolesIntoPolygon failed 
addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed 
carve::triangulate::incorporateHolesIntoPolygon failed 
addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed 
carve::triangulate::incorporateHolesIntoPolygon failed 
addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed 
carve::triangulate::incorporateHolesIntoPolygon failed 
addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed 
carve::triangulate::incorporateHolesIntoPolygon failed 
addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed 
carve::triangulate::incorporateHolesIntoPolygon failed 
addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed 
carve::triangulate::incorporateHolesIntoPolygon failed 
addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed 
carve::triangulate::incorporateHolesIntoPolygon failed 
addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed 
carve::triangulate::incorporateHolesIntoPolygon failed 
carve::triangulate::incorporateHolesIntoPolygon failed 
addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed 
addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed 
carve::triangulate::incorporateHolesIntoPolygon failed 
carve::triangulate::incorporateHolesIntoPolygon failed 
addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed 
addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed 
carve::triangulate::incorporateHolesIntoPolygon failed 
carve::triangulate::incorporateHolesIntoPolygon failed 
addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed 
addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed 
carve::triangulate::incorporateHolesIntoPolygon failed 
carve::triangulate::incorporateHolesIntoPolygon failed 
addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed 
addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed 
carve::triangulate::incorporateHolesIntoPolygon failed 
carve::triangulate::incorporateHolesIntoPolygon failed 
addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed 
addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed 
carve::triangulate::incorporateHolesIntoPolygon failed 
carve::triangulate::incorporateHolesIntoPolygon failed 
addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed 
addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed 
carve::triangulate::incorporateHolesIntoPolygon failed 
carve::triangulate::incorporateHolesIntoPolygon failed 
addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed 
addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed 
carve::triangulate::incorporateHolesIntoPolygon failed 
carve::triangulate::incorporateHolesIntoPolygon failed 
addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed 
addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed 
carve::triangulate::incorporateHolesIntoPolygon failed 
carve::triangulate::incorporateHolesIntoPolygon failed 
addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed 
addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed 
carve::triangulate::incorporateHolesIntoPolygon failed 
carve::triangulate::incorporateHolesIntoPolygon failed 
addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed 
addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed 
carve::triangulate::incorporateHolesIntoPolygon failed 
carve::triangulate::incorporateHolesIntoPolygon failed 
addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed 
addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed 
addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed 
carve::triangulate::incorporateHolesIntoPolygon failed 
carve::triangulate::incorporateHolesIntoPolygon failed 
addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed 
addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed 
addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed 
carve::triangulate::incorporateHolesIntoPolygon failed 
carve::triangulate::incorporateHolesIntoPolygon failed 
addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed 
addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed 
addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed 
carve::triangulate::incorporateHolesIntoPolygon failed 
carve::triangulate::incorporateHolesIntoPolygon failed 
addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed 
addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed 
carve::triangulate::incorporateHolesIntoPolygon failed 
carve::triangulate::incorporateHolesIntoPolygon failed 
addClosedPolyhedron: Meshset is not closed
carve::triangulate::incorporateHolesIntoPolygon failed 
addClosedPolyhedron: Meshset is not closed
[Info]Vertex trimming done.
[Info]Exterior detection done.
[Info]Model/reference detection done. 700 models out of 5243 meshes detected.
[Info]VBO of each mesh created.
[Info]Mesh distribution on each octree done.
[Info]Net Surface Mesh created.
===== End processing this file : STUDENTROOM.ifc
Segmentation fault (core dumped)
  • 지금 확인해보니 파일 개개별은 변환이 되었는데, objectIndexFile.ihe 파일이 생성이 안 되네요.
@JinDaeYoon JinDaeYoon changed the title 사소한 버그) f4dconverter 사용시, 파일이 변환되어도 세그멘테이션 에러가 납니다. f4dconverter 사용시, 파일이 변환되어도 세그멘테이션 에러가 납니다. May 25, 2021
@shire75
Copy link
Contributor

shire75 commented May 27, 2021

@JinDaeYoon 안녕하세요.

피드백 해주셔서 감사합니다.

어떤 조건에서 변환을 하든 마지막에 에러가 뜨는 상황으로 판단합니다.

해당 부분은 최근 버전업 패치의 버그로 보이니 수정하겠습니다.

감사합니다.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants