mmap failures in KPixmapCache
Thiago Macieira
thiago at kde.org
Thu Nov 19 16:15:25 GMT 2009
Em Quinta-feira 19 Novembro 2009, às 14:29:45, John Tapsell escreveu:
> 2009/11/19 Thiago Macieira <thiago at kde.org>:
> > Em Quarta-feira 18 Novembro 2009, às 23:31:25, você escreveu:
> >> I see it here on "Linux parkotron 2.6.31-ARCH #1 SMP PREEMPT Tue Nov
> >> 10 19:01:40 CET 2009 x86_64 Intel(R) Core(TM) i5 CPU 750 @ 2.67GHz
> >> GenuineIntel GNU/Linux"
> >>
> >> Unfortunately, I know nothing about, mmapping or QFile::map. It
> >> doesn't makes sense for me to report it as I can't provide the
> >> relevant details. David, are you able to report it?
> >
> > We found the issue. It's a KDE bug.
>
> Does this mean if any KDE user installs Qt4.6, they will see a large
> performance drop?
>
> If so, could Qt just print a warning, but allow it anyway, on linux
> systems which would allow this?
I'm asking the developer to revert. I'll need an exception for the 4.6.0 final
to get this change in now.
Anyway, you're in for a big surprise if you ignore the warning.
It's not that on Mac it fails to mmap. It succeeds, but you can't use the
returned value. If you try, your application will get a SIGBUS.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Senior Product Manager - Nokia, Qt Development Frameworks
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20091119/2c40aad3/attachment.sig>
More information about the kde-core-devel
mailing list