[Qt-interest] qFatal when creating QLocale
Schimkowitsch Robert
Robert.Schimkowitsch at andritz.com
Tue Jul 19 08:38:06 CEST 2011
It only happens when I step over the QLocale instantiation in the
debugger (GDB). I'll check if a bug is reported for that once the bug
tracker is back online.
Kind regards
Robert Schimkowitsch
-----Original Message-----
From: qt-interest-bounces+robert.schimkowitsch=andritz.com at qt.nokia.com
[mailto:qt-interest-bounces+robert.schimkowitsch=andritz.com at qt.nokia.co
m] On Behalf Of Malyushytsky, Alex
Sent: Tuesday, July 19, 2011 2:54 AM
To: qt-interest at qt.nokia.com
Subject: Re: [Qt-interest] qFatal when creating QLocale
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."
_______________________________________________
Qt-interest mailing list
Qt-interest at qt.nokia.com
http://lists.qt.nokia.com/mailman/listinfo/qt-interest
More information about the Qt-interest-old
mailing list