Subsurface crashing on Mac since update to Mavericks

Thiago Macieira thiago at macieira.org
Fri Nov 8 13:55:08 UTC 2013


On sexta-feira, 8 de novembro de 2013 17:32:36, Robert Helling wrote:
> (gdb) backtrace
> #0  0x00007fff8e868f45 in CFURLCopyScheme ()
> #1  0x00007fff8e867b20 in CFURLCreateDataAndPropertiesFromResource ()
> #2  0x00000001037e8e0e in macQueryInternal ()
> #3  0x00000001037e9fed in QNetworkProxyFactory::systemProxyForQuery ()
> #4  0x00000001037e3950 in QSystemConfigurationProxyFactory::queryProxy ()

This is a different crash now, but still no debugging symbols...

This is the code in question:
    QCFType<CFDataRef> pacData;
    QCFType<CFURLRef> pacUrl = CFURLCreateWithString(kCFAllocatorDefault, 
cfPacLocation, NULL);
    SInt32 errorCode;
    if (!CFURLCreateDataAndPropertiesFromResource(kCFAllocatorDefault, pacUrl, 
&pacData, NULL, NULL, &errorCode)) {

As I found out in QLocale, Mac APIs can sometimes return nulls where we didn't 
expect, depending on system settings and whatnot.

This is probably a real bug due to Mavericks change in behaviour.

I have one of the QtNetwork maintainers here in Dev Days, so I'll ask him to 
take a look.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center
      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://lists.hohndel.org/pipermail/subsurface/attachments/20131108/692d5110/attachment.sig>


More information about the subsurface mailing list