Debug Build Error on 5.12 - ASSERT: "xs == xData.data() + xData.size()"
-
@Christian-Ehrlicher said in Debug Build Error on 5.12 - ASSERT: "xs == xData.data() + xData.size()":
You have to go up the stack in the stack trace window...
@Christian-Ehrlicher - I never did figure it out. tried watching youtube videoes to see what I am missing. I am just going back to an earlier version because it's not breaking at the excepting it's just dying in the main. And when I Retry I am not getting the same error point in QT Creator.
-
-
@mrjj I am not sure Qt is providing the Traceback.
The application just quits with a C++ Error. Here is a video. I have to Abort, Retry or Ignore.
I am not quite sure if I select Retry, I am getting the correct info from the Stack Trace.
https://www.eatoncode.com/resources/shareit/Desktop_2018-12-11_00.02.06.mp4
If you have any advise, it would be helpful.
-
I have finally created a reproduce-able issue with an example.
Here is the video
https://www.eatoncode.com/resources/shareit/Desktop_2019-02-02_23.44.44.mp4
Here is the code.
https://www.eatoncode.com/resources/shareit/buttonqt/demobuttons.zip
So far it works from 5.9 - 5.11.3, but it breaks on 5.12.0, 5.12.1 and 5.13.0 Alpha
In debug mode, I get the xData.data error but I can run in release mode but the hover images do not display correctly on my buttons.
I am using MSVS 2017 32 and 64 bit versions.
Thanks for your help in advance.
-
From my pov this assert was there already in the previous version but you never used the Qt debug libs.
The calculation for the assert looks wrong to me - I've created a bug report: https://bugreports.qt.io/browse/QTBUG-73472 -
@Christian-Ehrlicher Thanks for looking into my issue, I do appreciate it.
-
It appears this bug was fixed in 5.12.3 and works in 5.12.4 But does not work correctly in 5.13.0.
Can we carry over the bug fix from 5.12.3 and include it in 5.13.0 ?
-
There is a daily merge from 5.12 to 5.13 to dev so it should appear in 5.13.1.
-
Correction...
The fix was on 5.12.3
Looks like it's broke on 5.12.4 again.. for some reason it looks like this.
https://www.eatoncode.com/resources/shareit/qtbug_73742_2019-06-24_07.18.28.png
https://www.eatoncode.com/resources/shareit/Desktop_2019-06-24_07.28.31.mp4
At least there is not a fatal error, it's just NOT displaying correctly according to the docs
Buttons works on
5.6.X - 5.11.X
5.12.0 - 5.12.2 - Broke with Error listed above.
5.12.3 - Buttons work perfectly again
5.12.4 - No Error But Example has display issues with 4 square backgrounds. (See above screenshot and movie clip)
5.13.0 - Has same fatal error as 5.12.2@Christian-Ehrlicher - Ok, I will be checking out 5.13.1 once it comes out. Thanks for the help.
-
@Christian-Ehrlicher I updated my Qt because of a maintenance update. Now it seems that 5.12.3 is not working.
Is this truly a bug or should I use a different approach?
https://www.eatoncode.com/resources/shareit/qtbug_73742_-_Qt_Creator_2019-07-20_14.38.39.png
Thanks in advance.
-
Hi @EatonCode,
You should report the issues on https://bugreports.qt.io/browse/QTBUG-73472
That is the only way to reach the responsible maintainers.
Regards