Uploaded image for project: 'Realm JavaScript SDK'
  1. Realm JavaScript SDK
  2. RJS-720

Realm iOS crash - out of memory - Realm or Apple bug?

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: None

      Sorry for skipping the template, I'm not entirely sure this belongs to realm, or sadly there's another "realm" namespace within Apple's source code.

      Can someone tell me if the following crash log is from realm? I will update the issue with the required template info if it is.

      NSMallocException Failed to grow buffer 
          Frameworks/CoreFoundation.framework/CoreFoundation ___exceptionPreprocess
          /usr/lib/libobjc.A.dylib _objc_exception_throw
          Frameworks/CoreFoundation.framework/CoreFoundation __CFRaiseMemoryException
          Frameworks/CoreFoundation.framework/CoreFoundation ___CFReallocationFailed
          Frameworks/CoreFoundation.framework/CoreFoundation ___CFSafelyReallocate
          Frameworks/Foundation.framework/Foundation __NSMutableDataGrowBytes
          Frameworks/Foundation.framework/Foundation -[NSConcreteMutableData appendBytes:length:]
          Frameworks/ImageIO.framework/ImageIO IIOImageWriteSession::putBytes(void const*, unsigned long)
          Frameworks/ImageIO.framework/ImageIO iioWriteCallback(void*, int, void*)
          PrivateFrameworks/AppleJPEG.framework/AppleJPEG _aj_ostream_write
          PrivateFrameworks/AppleJPEG.framework/AppleJPEG _aj_block_encode_ac
          PrivateFrameworks/AppleJPEG.framework/AppleJPEG _aj_encode_buffers_baseline
          PrivateFrameworks/AppleJPEG.framework/AppleJPEG _aj_encode_row
          PrivateFrameworks/AppleJPEG.framework/AppleJPEG _applejpeg_encode_image_row
          PrivateFrameworks/AppleJPEG.framework/AppleJPEG _recode_all
          Frameworks/ImageIO.framework/ImageIO IIOImageDestination::finalize()
          Frameworks/ImageIO.framework/ImageIO _CGImageDestinationFinalize
          Tenant Move-In realm::util::FunctionRef<unsigned long (realm::BPlusTreeNode*, unsigned long)>::FunctionRef<realm::BPlusTree<realm::Timestamp>::erase(unsigned long)::{lambda(realm::BPlusTreeNode*, unsigned long)#1}&>(realm::BPlusTree<realm::Timestamp>::erase(unsigned long)::{lambda(realm::BPlusTreeNode*, unsigned long)#1}&)::{lambda(void*, realm::BPlusTreeNode*, unsigned long)#1}::__invoke(realm::BPlusTree<realm::Timestamp>::erase(unsigned long)::{lambda(realm::BPlusTreeNode*, unsigned long)#1}&, realm::BPlusTreeNode*, unsigned long)
          Frameworks/AVFoundation.framework/AVFoundation -[AVCaptureStillImageOutput handleNotification:payload:]
          Frameworks/CoreFoundation.framework/CoreFoundation ___CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__
          Frameworks/CoreFoundation.framework/CoreFoundation ___CFRunLoopDoBlocks
          Frameworks/CoreFoundation.framework/CoreFoundation ___CFRunLoopRun
          Frameworks/CoreFoundation.framework/CoreFoundation _CFRunLoopRunSpecific
          PrivateFrameworks/GraphicsServices.framework/GraphicsServices _GSEventRunModal
          PrivateFrameworks/UIKitCore.framework/UIKitCore _UIApplicationMain
          Tenant Move-In _mh_execute_header
          /usr/lib/system/libdyld.dylib _start
      

      Thanks.

            Assignee:
            lubo.blagoev@mongodb.com Lubo Blagoev
            Reporter:
            unitosyncbot Unito Sync Bot
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: