No subject


Tue Jan 27 15:54:36 PST 2015


66    CFURLRef profileURL;
67    CFDictionaryRef profileInfo = (CFDictionaryRef)CFDictionaryGetValue(deviceInfo, kColorSyncCustomProfiles);
68    if (profileInfo)
69        profileURL = (CFURLRef)CFDictionaryGetValue(profileInfo, CFSTR("1"));
70    else {
71        profileInfo = (CFDictionaryRef)CFDictionaryGetValue(deviceInfo, kColorSyncFactoryProfiles);
72        CFDictionaryRef factoryProfile = (CFDictionaryRef)CFDictionaryGetValue(profileInfo, CFSTR("1"));
73        profileURL = (CFURLRef)CFDictionaryGetValue(factoryProfile, kColorSyncDeviceProfileURL);
74    }
75    

It appears that factoryProfile can be nil.

-- 
You are receiving this mail because:
You are the assignee for the bug.
--1442015911.febE10.7668
Date: Fri, 11 Sep 2015 16:58:31 -0700
MIME-Version: 1.0
Content-Type: text/html

<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - LayoutTestHelper crashes if a color profile isn't set for a 3rd party monitor"
   href="https://bugs.webkit.org/show_bug.cgi?id=149083">149083</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>LayoutTestHelper crashes if a color profile isn't set for a 3rd party monitor
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>WebKit
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>WebKit Local Build
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Unspecified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Unspecified
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P2
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Tools / Tests
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>webkit-unassigned&#64;lists.webkit.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>msaboff&#64;apple.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>You get a crash at
* thread #1: tid = 0x3bafd6, 0x00007fff8df47f26 CoreFoundation`CFDictionaryGetValue + 38, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
    frame #0: 0x00007fff8df47f26 CoreFoundation`CFDictionaryGetValue + 38
CoreFoundation`CFDictionaryGetValue:
-&gt;  0x7fff8df47f26 &lt;+38&gt;: movq   (%rbx), %rax
    0x7fff8df47f29 &lt;+41&gt;: testq  %rax, %rax
    0x7fff8df47f2c &lt;+44&gt;: je     0x7fff8df47f6e            ; &lt;+110&gt;
    0x7fff8df47f2e &lt;+46&gt;: leaq   -0x14889efd(%rip), %rcx   ; __CFConstantStringClassReferencePtr

bt
    frame #0: 0x00007fff8df47f26 CoreFoundation`CFDictionaryGetValue + 38
    frame #1: 0x000000010000152f LayoutTestHelper`main + 157 at LayoutTestHelper.m:73
    frame #1: 0x0000000100001492 LayoutTestHelper`main + 259 at LayoutTestHelper.m:123
    frame #2: 0x000000010000138f LayoutTestHelper`main [inlined] installLayoutTestColorProfile + 21 at LayoutTestHelper.m:167
    frame #3: 0x000000010000137a LayoutTestHelper`main(argc=&lt;unavailable&gt;, argv=&lt;unavailable&gt;) + 176 at LayoutTestHelper.m:256
    frame #4: 0x00007fff9a1bb5ad libdyld.dylib`start + 1



More information about the webkit-unassigned mailing list