[Qt-interest] qFatal when creating QLocale

Malyushytsky, Alex alex at wai.com
Tue Jul 19 02:53:38 CEST 2011


Assert is not a crash yet.
Anyway this sounds like a bug. (Report it?)


Alex





From: qt-interest-bounces+alex=wai.com at qt.nokia.com [mailto:qt-interest-bounces+alex=wai.com at qt.nokia.com] On Behalf Of Schimkowitsch Robert
Sent: Monday, July 18, 2011 8:38 AM
To: qt-interest at qt.nokia.com
Subject: [Qt-interest] qFatal when creating QLocale

In 4.7.3, I get an assertion when I attempt to create a QLocale object on the stack.
I have tried
QLocale tempoaryLocale = QLocale::system();
and
QLocale tempoaryLocale;
and
QLocale tempoaryLocale(QLocale::German, QLocale::Austria);

all run into the same assertion, specifically
ASSERT: "index <= locale_data_size" in file <c:\ndk_buildrepos\qt-desktop\src\corelib\tools\qlocale.cpp, line 2175>
I am using Windows XP with a German/Austria system locale.
How can I create a QLocale on the stack without a crash?

Kind regards
Robert Schimkowitsch
________________________________________
This message and any attachments are solely for the use of the intended recipients. They may contain privileged and/or confidential information or other information protected from disclosure. If you are not an intended recipient, you are hereby notified that you received this email in error and that any review, dissemination, distribution or copying of this email and any attachment is strictly prohibited. If you have received this email in error, please contact the sender and delete the message and any attachment from your system.
Thank You.
________________________________________


---------------------------------------------------------------------------------------------------
Weidlinger Associates, Inc. made the following annotations.

“This message and any attachments are solely for the intended recipient and may contain confidential or privileged information. If you are not the intended recipient, any disclosure, copying, use, or distribution of the information included in this message and any attachments is prohibited. If you have received this communication in error, please notify us by reply e-mail and immediately and permanently delete this message and any attachments. Thank you.”

“Please consider our environment before printing this email.”


More information about the Qt-interest-old mailing list