title: Firebase Crashlogs leads me astray (iOS crash log)
body: <p>I have a bug in my app which I am not able to reproduce on my own device and the firebase crash log doesn't really help me. Or maybe I am not able to understand it correctly. What is really weird is that it tells me lines of code where the crash happens which is in the millions.</p>
  <pre><code>Crashed: com.apple.main-thread
  </code></pre>
  <p>0  Flax                           0x102359394 CategoriesViewController.loadPosts(more:) + 4338652052 (CategoriesViewController.swift:4338652052)</p>
  <p>1  Flax                           0x1023598d0 closure #1 in CategoriesViewController.loadPosts(more:) + 361 (CategoriesViewController.swift:361)</p>
  <p>2  Flax                           0x102332c7c closure #5 in closure #1 in PostsAPI.loadPostsOrdered(start:order:limit:category:controller:onSuccess:) + 342 (PostAPI.swift:342)</p>
  <p>3  Flax                           0x1022f9240 thunk for @escaping @callee_guaranteed () -&gt; () + 4338258496 (:4338258496)</p>
  <p>4  libdispatch.dylib              0x186e5ca84 _dispatch_call_block_and_release + 32</p>
  <p>5  libdispatch.dylib              0x186e5e81c _dispatch_client_callout + 20</p>
  <p>6  libdispatch.dylib              0x186e6cc70 _dispatch_main_queue_callback_4CF + 884</p>
  <p>7  CoreFoundation                 0x1871eb398 <strong>CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE</strong> + 16</p>
  <p>8  CoreFoundation                 0x1871e5270 __CFRunLoopRun + 2524</p>
  <p>9  CoreFoundation                 0x1871e4360 CFRunLoopRunSpecific + 600</p>
  <p>10 GraphicsServices               0x19e822734 GSEventRunModal + 164</p>
  <p>11 UIKitCore                      0x189c5f584 -[UIApplication _run] + 1072</p>
  <p>12 UIKitCore                      0x189c64df4 UIApplicationMain + 168</p>
  <p>13 Flax                           0x1022b2e44 main + 21 (HashtagTableViewCell.swift:21)</p>
  <p>14 libdyld.dylib                  0x186ea0cf8 start + 4</p>
  <p>The crash happens rarely. The two lines which make sense (361 (CategoriesViewController.swift:361) and PostsAPI.loadPostsOrdered(start:order:limit:category:controller:onSuccess:) + 342 (PostAPI.swift:342) are actually empty lines which makes it even more confusing.</p>
  <p>Like I said those functions are called thousands of times a day and crash maybe every 1000th time.</p>
  <p>Any idea how to understand this crash log?</p>
  <p>edit: The HashtagTableviewCell</p>
  <pre><code>import Foundation
  import KILabel
  
  class HashtagTableViewCell: UITableViewCell {
      
      
      @IBOutlet weak var hashtagCounter: UILabel!
      @IBOutlet weak var HashTagLabel: UILabel!
      
      var hashtag: Hashtag!
      
      func updateView(hashtag:Hashtag) {
          self.hashtag = hashtag
          HashTagLabel.text = hashtag.mentions != -100 ? &quot;# \(hashtag.tag!)&quot; : &quot;\(hashtag.tag!)&quot;
          HashTagLabel.font = UIFont.systemFont(ofSize: 18)
          hashtagCounter.text = hashtag.mentions == 1 ? &quot;\(hashtag.mentions ?? 0) \(NSLocalizedString(&quot;HASHTAG_CELL_POSTS_1&quot;, comment: &quot;&quot;))&quot; : &quot;\(hashtag.mentions ?? 0) \(NSLocalizedString(&quot;HASHTAG_CELL_POSTS&quot;, comment: &quot;&quot;))&quot;
          if hashtag.mentions == -100 {
              hashtagCounter.text = &quot;&quot;
          }
      }
      
      
      override func awakeFromNib() {
          super.awakeFromNib()
          HashTagLabel.font = UIFont.systemFont(ofSize: 18)
      }
      
      override func prepareForReuse() {
          HashTagLabel.font = UIFont.systemFont(ofSize: 18)
      }
  }
  </code></pre>