MinGW Assertion Runtime:Assertion Failed

Feel free to ask any question here
Hritika
Posts: 23
Joined: Sat Jul 15, 2017 2:59 pm

MinGW Assertion Runtime:Assertion Failed

Postby Hritika » Thu Jul 27, 2017 5:42 am

Sir,
I have been running cc on QT 5.6 Mingw ,but while using Rasterize function I am getting error in ccRasterGrid.cpp file Line no 349: Regarding Assertion Failed.I have made some modifications.Can you suggest any soultion?


With Regards
Hritika

Hritika
Posts: 23
Joined: Sat Jul 15, 2017 2:59 pm

Re: MinGW Assertion Runtime:Assertion Failed

Postby Hritika » Thu Jul 27, 2017 6:08 am

Respected Sir,

Now,The problem of assertion is not coming but while rasterization ,there is an error regarding "not enough memory", while working in qt5.6 mingw.
But while taking same values in cloud compare ,it is working.
Please guide me.

With regards
Hritika

Hritika
Posts: 23
Joined: Sat Jul 15, 2017 2:59 pm

Re: MinGW Assertion Runtime:Assertion Failed

Postby Hritika » Thu Jul 27, 2017 6:58 am

Both the above mentioned errors are coming randomly one after the other.
Please guide me .

Thank you

daniel
Site Admin
Posts: 3375
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: MinGW Assertion Runtime:Assertion Failed

Postby daniel » Thu Jul 27, 2017 7:22 pm

Hard to tell... Something must be corrupted in your project / memory.

Are you compiling the original source code (and the latest version) or have you modified the code?
Daniel, CloudCompare admin

Hritika
Posts: 23
Joined: Sat Jul 15, 2017 2:59 pm

Re: MinGW Assertion Runtime:Assertion Failed

Postby Hritika » Sat Jul 29, 2017 12:26 am

I have modified the code a bit.Infact the plugins are also not loading,when checked in the console.Ther error is
The plugin uses incompatible qt library 5.7[release].

daniel
Site Admin
Posts: 3375
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: MinGW Assertion Runtime:Assertion Failed

Postby daniel » Sat Jul 29, 2017 8:45 am

Then something is probably wrong in your setup?
Daniel, CloudCompare admin

Hritika
Posts: 23
Joined: Sat Jul 15, 2017 2:59 pm

Re: MinGW Assertion Runtime:Assertion Failed

Postby Hritika » Sat Jul 29, 2017 9:22 am

I think the setup is fine,since other features are working properly.Is it due to the fact that plugins are not getting loaded during the start of the application?

daniel
Site Admin
Posts: 3375
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: MinGW Assertion Runtime:Assertion Failed

Postby daniel » Sun Jul 30, 2017 6:50 am

Apparently you are linking under debug mode with the release libs of Qt. At least for the plugins. Or you have compiled the release versions of the plugins and you haven't updated them in debug mode?
Daniel, CloudCompare admin

Hritika
Posts: 23
Joined: Sat Jul 15, 2017 2:59 pm

Re: MinGW Assertion Runtime:Assertion Failed

Postby Hritika » Tue Aug 01, 2017 9:38 am

Sir can you tell how to update them in the debug mode?What does it mean?

Thank you
With regards
Hritika Mehta

daniel
Site Admin
Posts: 3375
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: MinGW Assertion Runtime:Assertion Failed

Postby daniel » Wed Aug 02, 2017 6:42 am

Not sure how it works with Qt Creator, but you have two compilation modes: debug (fully instrumented, where you can trace into the code and the software can detect some bugs, etc. - However it's very slow) and release moee (no check, but fast). You can't mix them.

This is standard mechanisms, it's not specific to Cloudcompare.
Daniel, CloudCompare admin


Return to “Questions”

Who is online

Users browsing this forum: Google [Bot] and 2 guests