[Interest] Segfault: qHash(QString const&) in libQtCore.so.4
thiago.macieira at intel.com
Mon Oct 7 08:41:35 CEST 2013
On segunda-feira, 7 de outubro de 2013 07:38:52, Rainer Wiesenfarth wrote:
> Am 02.10.2013 18:37, schrieb Thiago Macieira:
> > On quarta-feira, 2 de outubro de 2013 17:26:21, Peter Smith wrote:
> >> Hi all,
> >> I'm having problems with QGIS seg faulting, and it looks like the
> >> problem is in QT (hence posting on this list):
> > No, it isn't.
> I'd say: Yes, there might be (note the version (4.6.2) he is using).
> There was a race condition issue with QString and QHash involved in
> versions up to 4.8.x which had to do with the Latin1 and ASCII
> conversion of QStrings.
There was a problem, but you've got it upside down.
The problem was caused because a global QHash was accessed when using a
certain QString function (latin1()).
The problem from the OP is a crash when hashing a QString. That doesn't access
the global hash in question, so it can't be this issue.
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 190 bytes
Desc: This is a digitally signed message part.
More information about the Interest