xBimTeam / XbimGeometry

XbimGeometry contains the CLR interop libraries and the c++ engine used to compute the 3D geometry of models.
https://xbimteam.github.io/
Other
260 stars 131 forks source link

AccessViolation exceptions occur when using xbim geometric operations. #402

Open ido-cu opened 2 years ago

ido-cu commented 2 years ago

Using Xbim geometric operations causes AccessViolation exceptions.

Assemblies and versions affected: Xbim.Essentials Version=5.1.323, 5.1.341 Xbim.Geometry Version=5.1.403, 5.1.437

Steps (or code) to reproduce the issue: AccessViolationTester.zip

I added a testing app in C# (.net 6). When running it - it will crash with a AccessViolationException.

Minimal file to reproduce the issue: This is an actual client's model. Is there any way to provide it to you privately?

Expected behavior:

The program will not crash.

Actual behavior or exception details: The program crashes with a AccessViolation exception.

ido-cu commented 1 year ago

@SteveLockley @CBenghi Hi guys, are you planning of fixing this issue?

andyward commented 1 year ago

@ido-cu Do you want to send us the problem file (via a fileshare/sharepoint/dropbox/wetransfer etc)? My xbim email is on my GH profile. We're doing final regression on the V6 Geometry engine so will try to pick up with that.

ido-cu commented 1 year ago

@andyward I shared the input file with you via email. thanks :)