Crashing when Preparing Geometry with "Shown" components

41 views
Skip to first unread message

ReynoldsNo

unread,
Oct 16, 2025, 11:12:08 AMOct 16
to OpenVSP
I recently downloaded OpenVSP versions 3.45.4 and 3.46.0 and noticed a rather odd error. 

I opened an old *.vsp3 file created in version 3.40.1 and tried running Prepare Geometry and also running VSPAERO and it crashed with the error: 
"double free or corruption (~!prev)"

After some digging, I noticed that when I run Prepare Geometry on 
  • Shown components ==> crashes
  • All components thin ==> OK
  • All components thick ==> OK
  • Set with All components: thin surfaces ==> OK
  • Set with All components: thick surfaces ==> OK
  • Mixed Sets thin/thick surfaces ==> OK
Any idea what might be causing the "Shown" components error??

Thanks

Rob McDonald

unread,
Oct 16, 2025, 11:55:37 AMOct 16
to ope...@googlegroups.com
Are both thick and thin set to Shown?  You shouldn't have geometry in both thick and thin groups.

Otherwise, if you can share a file that demonstrates this, I can check it out.

Rob


--
You received this message because you are subscribed to the Google Groups "OpenVSP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openvsp+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/openvsp/58a5ac86-41aa-4a25-ba8f-2c9c20f4c626n%40googlegroups.com.

ReynoldsNo

unread,
Oct 16, 2025, 3:44:29 PMOct 16
to OpenVSP
Hi Rob, 
    So no.  
   Only thick is set to Shown or thin is set to Shown.   Not both.

   Here is an example file in which this error is occurring. 

   Also, some additional info.  
   Running OpenVSP 3.46.0
   Ubuntu Linux 24.04.3 LTS 
   WSL2 

   Thanks

   Cedric

Generic_Fuselage.vsp3

Brandon Litherland

unread,
Oct 16, 2025, 4:56:16 PMOct 16
to OpenVSP
I opened your file with the generic fuselage and had no issues preparing the geometry.
Could be a WSL / Linux build issue.

ReynoldsNo

unread,
Oct 16, 2025, 5:34:55 PMOct 16
to OpenVSP
The behavior is a bit sporadic. 

I opened the file and ran Prepare Solver with Thin ==> Shown    Thick ==> None and it worked
Then I                          ran Prepare Solver with Thin ==> None       Thick ==> Shown and it crashed

Then I re-opened the file and ran Prepare Solver with Thin ==> Shown    Thick ==> None and it crashed again. 

Not sure what to do with this.  But I will keep investigating. 

Thanks!

Rob McDonald

unread,
Oct 16, 2025, 5:47:38 PMOct 16
to ope...@googlegroups.com
I suspect it is a bug related to pointers..  Ubuntu builds are built with GCC, MacOS builds are built with clang, Windows builds with MSVC.  These kinds of things sometimes behave differently depending on the compiler and the platform.

I will need to debug this on a Linux machine.

Updating my Win/Linux dual boot box to Win 11 meant I had to blow away my Ubuntu partition.  I have some RHEL / SLES VM's, but I haven't taken the time to build up an Ubuntu one yet.

So, maybe this bug will show on one of those VM's, but no matter what, it will take a while for me to be able to dig into this.

Rob


Reply all
Reply to author
Forward
0 new messages