title: error: Execution was interrupted, reason: EXC_BAD_ACCESS (code=1, address=0x20)
body: <p>I am trying to print out the <code>CMTimeRange</code> property of an <code>AVAssetTrack</code> object.</p>
  
  <p>First, I've tried:</p>
  
  <pre><code>(lldb) p videoTrack.timeRange
  error: property 'timeRange' not found on object of type 'AVAssetTrack *'
  </code></pre>
  
  <p>Even though it's clearly defined as:</p>
  
  <pre><code>@interface AVAssetTrack (AVAssetTrackTemporalProperties)
  
  /* Indicates the timeRange of the track within the overall timeline of the asset;
  a track with CMTIME_COMPARE_INLINE(timeRange.start, &gt;, kCMTimeZero) will initially present an empty interval. */
  @property (nonatomic, readonly) CMTimeRange timeRange;
  </code></pre>
  
  <p>Anyway, I've tried message passing instead of property access, then I get this:</p>
  
  <pre><code>(lldb) p [videoTrack timeRange]
  error: no known method '-timeRange'; cast the message send to the method's return type
  </code></pre>
  
  <p>Okay, I cast it to the correct type, <code>CMTimeRange</code>, and I get this:</p>
  
  <pre><code>(lldb) p (CMTimeRange)[videoTrack timeRange]
  error: Execution was interrupted, reason: EXC_BAD_ACCESS (code=1, address=0x20).
  The process has been returned to the state before expression evaluation.
  </code></pre>
  
  <p>The <code>videoTrack</code> in question is a valid object:</p>
  
  <pre><code>(lldb) po videoTrack
  &lt;AVAssetTrack: 0x1cc00f2f0, trackID = 1, mediaType = vide&gt;
  </code></pre>
  
  <p>Why am I getting the <code>EXC_BAD_ACCESS</code> error? </p>