Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot run server correctly in Debug #1367

Open
KalaShayminS opened this issue Feb 17, 2015 · 0 comments
Open

Cannot run server correctly in Debug #1367

KalaShayminS opened this issue Feb 17, 2015 · 0 comments

Comments

@KalaShayminS
Copy link
Contributor

Enviroment: Qt 5.0.2, MinGW 4.7, Windows 8.1, Debug mode
Problem: Server automatically closed after someone logged in at tier.cpp:720 when setting the tier.

void Tier::processQuery(QSqlQuery *q, const QVariant &name, int type, WaitingObject *w)
{
if (w) {
w->setProperty("tier", this->name());
}

Error:
ASSERT failure in QCoreApplication::sendEvent: "Cannot send events to objects owned by a different thread. Current thread 225f5030. Receiver '' (of type 'WaitingObject') was created in thread 19ae7df8, file kernel\qcoreapplication.cpp, line 420

In Release it works, but this makes me confusing and cannot debug any more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant