Hi Chen and Deniz,

I should have noticed that this was a debug assertion failing and test a Debug 
build. Thanks for pointing this out, Deniz! I can confirm that I get the same 
behavior.

Having said that, this is something that should be further investigated and 
fixed. The problem occurs in the third-party library HACDv2 (for convex 
decomposition). Stepping through the code with a debugger should help identify 
the underlying issue. I will look into this when I have some time; but that may 
not be for a while, so if you want to take a crack at it, that would be greatly 
appreciated.

--Radu

From: [email protected] <[email protected]> On Behalf 
Of ychen_441
Sent: Monday, September 2, 2024 12:40 PM
To: ProjectChrono <[email protected]>
Subject: Re: [chrono] Error reported when run Chrono::VEHICLE demo: 
"demo_VEH_SCMTerrain_WheeledVehicle"

Updates:

Thanks for Deniz's message, I switch the "CMAKE_BUILD_TYPE " in ccmake from the 
default to "Release", and everything is going smooth now!

That's indeed something I ignored when I did the configuration, my bad :P

Appreciates to Radu and Deniz, wish you the best cuppa morning coffee when you 
see this.

Best,
Chen

On Monday 2 September 2024 at 14:07:07 UTC+8 
[email protected]<mailto:[email protected]> wrote:
Hi Radu,

I face the same issue on a Linux machine in Debug configuration. When I compile 
the code in Release, the issue doesn't exist.
Kind regards,
Deniz
On Friday, August 30, 2024 at 5:19:18 PM UTC+2 Radu Serban wrote:
Hi Chen,

I am unable to reproduce this issue (on Windows or on Linux).

You have to provide more details and information, especially for this type of 
issues:

  *   What OS are you using? What compiler and compiler version?
  *   What Chrono modules did you enable during CMake configuration?
  *   Do you get any errors/warnings during CMake configuration? Anything 
during build?
  *   Please provide the CMakeCache.txt and the output from CMake during 
configuration.

--Radu

From: [email protected]<mailto:[email protected]> 
<[email protected]<mailto:[email protected]>> On Behalf Of 
ychen_441
Sent: Friday, August 30, 2024 10:17 AM
To: ProjectChrono 
<[email protected]<mailto:[email protected]>>
Subject: [chrono] Error reported when run Chrono::VEHICLE demo: 
"demo_VEH_SCMTerrain_WheeledVehicle"


Lovely colleagues,

I met the following error reported after I tried to run 
"demo_VEH_SCMTerrain_WheeledVehicle" provided in "/bin" folder:

--------------------------------------------------------------------------------------------------------------------------------------

Copyright (c) 2017 
projectchrono.org<https://urldefense.com/v3/__http:/projectchrono.org__;!!Mak6IKo!OXNwKXd02trYO2ncqIIXXsPPMWAxhQI10I8syxfD4FGoauNycKb_uPPs8jRliYa9ts6kf-cz1ckmqtBcm1M$>
Chrono version: 9.0.1
demo_VEH_SCMTerrain_WheeledVehicle: 
/home/chen/chrono/src/chrono_thirdparty/HACDv2/dgVector.h:345: 
dgBigVector::dgBigVector(hacd::HaF64, hacd::HaF64, hacd::HaF64, hacd::HaF64): 
Assertion `((isfinite((*this)[0]) && !isnan((*this)[0])) && 
(isfinite((*this)[1]) && !isnan((*this)[1])) && (isfinite((*this)[2]) && 
!isnan((*this)[2])) && (isfinite((*this)[3]) && !isnan((*this)[3])))' failed.
Aborted (core dumped)
--------------------------------------------------------------------------------------------------------------------------------------

Nothing weird happened when I ran SCM demos of rigid wheel and tracked vehicle.
Any solution to this issue? Thx :D

Chen
--
You received this message because you are subscribed to the Google Groups 
"ProjectChrono" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/projectchrono/17d0c864-e73e-4fb6-9b4a-2c124ca53e27n%40googlegroups.com<https://urldefense.com/v3/__https:/groups.google.com/d/msgid/projectchrono/17d0c864-e73e-4fb6-9b4a-2c124ca53e27n*40googlegroups.com?utm_medium=email&utm_source=footer__;JQ!!Mak6IKo!JZZlSffn3p_aHG__4j5C5FHRFf3_jpXF6FrnbbF8OwIibOo9bsSXRYP9ioekqORAtoUVfsBXoZnd1SCTJoQ$>.
--
You received this message because you are subscribed to the Google Groups 
"ProjectChrono" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/projectchrono/cd4c8037-fe78-462c-a739-fa10e971dca2n%40googlegroups.com<https://urldefense.com/v3/__https:/groups.google.com/d/msgid/projectchrono/cd4c8037-fe78-462c-a739-fa10e971dca2n*40googlegroups.com?utm_medium=email&utm_source=footer__;JQ!!Mak6IKo!OXNwKXd02trYO2ncqIIXXsPPMWAxhQI10I8syxfD4FGoauNycKb_uPPs8jRliYa9ts6kf-cz1ckmU9Nzu34$>.

-- 
You received this message because you are subscribed to the Google Groups 
"ProjectChrono" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/projectchrono/CH3PPF46CDC21858FBDFB3817E76BD91BD9A7932%40CH3PPF46CDC2185.namprd06.prod.outlook.com.

Reply via email to