Qt debug error when running .exe - qt

I have written a game in c++ Qt, and I got a debug error message, when running the exe file. The error message appears only on one PC. It appears, when I try to display any text (QLabel, QGraphicsTextItem, anything). On other PC-s there is no error message.
The message is: Microsoft Visual C++ Debug Library
Debug Error!
Program D:\gardener\Gardener.exe
Module: 5.0.2
File: global\qglobal.cpp
Line: 1977
ASSERT:"uint(i) < uint(size())" in file q:\qt5_workdir\w\s\qtbase\include\qtcore../../src/corelib/tools/qstring.h, line 729
Details:
Problem Event Name: APPCRASH
Application Name: Gardener.exe
Application Version: 0.0.0.0
Application Timestamp: 51d6cba1
Fault Module Name: Qt5Cored.dll
Fault Module Version: 5.0.2.0
Fault Module Timestamp: 516366c9
Exception Code: 80000003
Exception Offset: 0005f1d1
OS Version: 6.2.9200.2.0.0.256.49
Locale ID: 1038
Additional Information 1:5861
Additional Information 2: 5861822e1919d7c014bbb064c64908b2
Additional Information 3: f3d5
Additional Information 4: f3d5be0cad2787556264647dc02181c3
I tried to google it, but no success. Does someone have any idea what the problem could be? Thanks!

This assertion can be triggered when accessing a non-existent element in a QString. But without seeing your code and the line where this happens, I can't tell for sure whether that's your problem.

Related

How to fix "vagrant up" errors when trying to set up Trellis?

I've been trying to set up a Trellis local WordPress dev environment from the Roots stack. I did all the steps from the docs, have the recommended folder structure, downloaded all the dependencies, but I still get a few errors.
First I get some errors and warnings when I use "yarn" in my theme folder, as suggested here. They say to use the CLI from my host instead of Vagrant box, that's just the MacBook's terminal right? Or do I need a CLI from VirtualBox?
The second error happens when trying to call "vagrant up", and this is one that I can paste here as it's a bit more concise.
There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.
Command: ["hostonlyif", "create"]
Stderr: 0%...
Progress state: NS_ERROR_FAILURE
VBoxManage: error: Failed to create the host-only adapter
VBoxManage: error: VBoxNetAdpCtl: Error while adding new interface: failed to open /dev/vboxnetctl: No such file or directory
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component HostNetworkInterfaceWrap, interface IHostNetworkInterface
VBoxManage: error: Context: "RTEXITCODE handleCreate(HandlerArg *)" at line 95 of file VBoxManageHostonly.cpp
After Googling this I got a lot of outdated suggestions to check my PATH and restart the VirtualBox, but these I tried and didn't help. I hope someone can help me set this up, thanks. :)

Drupal 7 uuid.module Database update 7103 fails

I finished upgrading a Drupal 6 site to Drupal 7. All fields have been migrated. When I run update now I get this UUID error
An AJAX HTTP error occurred. HTTP Result Code: 200 Debugging information follows. Path: http://drupal220/update.php?
op=selection&token=bLDFFBM8NZi09U0is5p6eim_do1vePHV5iNjLWLu8u4&id=10&op=do StatusText: OK ResponseText: Fatal error: Cannot access empty property in C:\xampp\htdocs\drupal220\sites\all\modules\uuid\uuid.install on line 266
The update process was aborted prematurely while running update #7103 in uuid.module. All errors have been logged. You may need to check the watchdog database table
manually.
Watchdog report
Location http://drupal220/update.php?op=selection&token=bLDFFBM8NZi09U0is5p6eim_do1vePHV5iNjLWLu8u4&id=9&op=do
Referrer http://drupal220/update.php?op=selection&token=bLDFFBM8NZi09U0is5p6eim_do1vePHV5iNjLWLu8u4&op=start&id=9
Message Notice: Undefined index: label in uuid_update_7103() (line 266 of C:\xampp\htdocs\drupal220\sites\all\modules\uuid\uuid.install).
It seems is an error from the uuid module, try to downgrade the version to 7.x-1.0-alpha5 and I think it fixes the error.
You can download this version here.

NetBeans IDE 8.0.1 gives Redefinition failed with error 62 Check JVMTI documentation for this error code

I am using NetBeans IDE 8.0.1,jdk1.7.0_67,tomcat apache-tomcat-7.0.47. I have written a sample HelloWorld Spring MVC application and trying to profile the application. when i profile the application i get the following error
Redefinition failed with error 62
Check JVMTI documentation for this error code.
I have gone through the following links
https://netbeans.org/bugzilla/show_bug.cgi?id=191297
https://netbeans.org/bugzilla/show_bug.cgi?id=59085
As said in the links i have set the property "-Xverify:none" in netbeans.conf. After setting the property i get the same error.
This is the default options present in netbeans.conf
netbeans_default_options="-J-client -J-Xss2m -J-Xms32m -J-XX:PermSize=32m -J-Dapple.laf.useScreenMenuBar=true -J-Dapple.awt.graphics.UseQuartz=true -J-Dsun.java2d.noddraw=true -J-Dsun.java2d.dpiaware=true -J-Dsun.zip.disableMemoryMapping=true -J-Xverify:none"
Can some one please help me. Thanks in advance

How can I cancel/stop my build through request URL

I want to cancel then start my build through url:
This how I starting my build:
http://<user name>:<user password>#<server address>/httpAuth/action.html?add2Queue=<build type Id>
but when I'm trying to cancel/stop it:
http://<user name>:<user password>#<server address>/ajax.html?comment=<cancel_comment>&submit=Stop&buildId=<internal_build_id>&kill
I'm getting exception:
Error message: Given kill operation code is null
TeamCity: 8.0.5 (build 27692)
Operating system: Windows Server 2008 R2 (6.1, x86)
Java: 1.7.0_21-b11 (Oracle Corporation)
Servlet container: Apache Tomcat/7.0.37
Trace: java.lang.IllegalArgumentException: Given kill operation code is null
Source: Accessing server by HTTP
I tried through REST API but didn't helped me.
I analyze js code in TeamCity and found 2 solution
Kill build by process id :
yourTeamCityUrl/ajax.html?comment=%somment%&kill=%buildQueueId%&operationKind=2&_readd=&submit=Stop
Kill build by build id:
yourTeamCityUrl/ajax.html?comment=%comment%&submit=Stop&buildId=%active_build%&kill&operationKind=1
only need to add &operationKind=1

abcpdf7 causing dev web server to crash

This is my sample code from asp.net project
Doc abcpdfDoc = new Doc();
abcpdfDoc.MediaBox.String = "0 0 612 1008";
abcpdfDoc.Rect.String = abcpdfDoc.MediaBox.String;
abcpdfDoc.Page = abcpdfDoc.AddPage();
int docID
docID = abcpdfDoc.AddImageUrl(url_html.ToString()); //CAUSES webserver to crash
The code compiles with no warning/error. During debugging, I get a webserver crashed message - the following is the message
Problem signature:
Problem Event Name: APPCRASH
Application Name: WebDev.WebServer.EXE
Application Version: 9.0.30729.1
Application Timestamp: 488f1aa2
Fault Module Name: ieframe.dll
Fault Module Version: 9.0.8112.16457
Fault Module Timestamp: 50a2fe39
Exception Code: c0000005
Exception Offset: 000d135b
OS Version: 6.1.7601.2.1.0.256.48
Locale ID: 1033
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
I am using abpdf7, downloaded the trial edition and ran the msi in admin mode using command line msiexec /i on win 7 running 32b OS
The reason of crash is that the older version of the library does not work with IE 9.x, upgrading to latest version of library resolved the issue

Resources