Git Product home page Git Product logo

Comments (13)

lingol avatar lingol commented on June 18, 2024

Why did your location change? At one time it's

/var/mobile/Containers/Data/Application/4E2F1FAB-F402-4BFE-9035-87BD355F6A72/Library/com.zhibo8.client81136870/UserDefault/mmkv/UserDefault

Later it becomes:

/var/mobile/Containers/Data/Application/C931BEA1-C36B-4BFB-A247-86A18126580F/Library/com.zhibo8.client81136870/UserDefault/mmkv/UserDefault

from mmkv.

lingol avatar lingol commented on June 18, 2024

I don't think you have provided logs in the order as it happens. Please provide logs with timestamps.
And don't mix logs from different devices/users.

from mmkv.

xiaoyeying avatar xiaoyeying commented on June 18, 2024

抱歉,谢谢解答

这个是相同设备的日志信息,几乎是同一时间点记录到的日志
时间点 2024-0310-1824 日志信息MemoryFile.cpp:94::open fail to open [/var/mobile/Containers/Data/Application/4E2F1FAB-F402-4BFE-9035-87BD355F6A72/Library/com.zhibo8.client81136870/UserDefault/mmkv/UserDefault.crc], 1(Operation not permitted)
时间点2024-0310-1824 日志信息 MemoryFile.cpp:94::open fail to open [/var/mobile/Containers/Data/Application/4E2F1FAB-F402-4BFE-9035-87BD355F6A72/Library/com.zhibo8.client81136870/UserDefault/mmkv/UserDefault], 1(Operation not permitted)

问题:
我们这边记录到用户读写均失效的情况,未知原因,日志较多,这个是截取一部分比较典型的日志

疑问点:
我这边的疑问点是正常状态下读取均是正常的,为何会存在沙盒文件的权限错误日志,这种是否会导致无法正常读写数据

from mmkv.

lingol avatar lingol commented on June 18, 2024

On that device, does things work normally before? Or does it never work? You should provide as many logs of MMKV as possible. With just these two single logs it's impossible to do any diagnosis.

from mmkv.

lingol avatar lingol commented on June 18, 2024

Last time I checked, on iOS an App is always sanboxed. So I don't quite understand why you said "正常状态下读取均是正常的". What do you mean by saying "正常状态"?

from mmkv.

xiaoyeying avatar xiaoyeying commented on June 18, 2024

应用程序线上环境处于沙盒状态下,有记录到的绝大部分是以上相似的日志,除此之外还有类似日子
MMKV.cpp:417::checkFileCRCValid check crc [UserDefault] fail, crc32:2447369466, m_crcDigest:2915453613

from mmkv.

xiaoyeying avatar xiaoyeying commented on June 18, 2024

应用程序线上环境处于沙盒状态下,有记录到的绝大部分是以上相似的日志,除此之外还有类似日子
MMKV.cpp:417::checkFileCRCValid check crc [UserDefault] fail, crc32:2447369466, m_crcDigest:2915453613

请问有没有什么可能的原因导致此问题

from mmkv.

lingol avatar lingol commented on June 18, 2024

Last time I checked, on iOS an App is always sanboxed. So I don't quite understand why you said "正常状态下读取均是正常的". What do you mean by saying "正常状态"?

from mmkv.

lingol avatar lingol commented on June 18, 2024

On that device, does things work normally before? Or does it never work? You should provide as many logs of MMKV as possible. With just these two single logs it's impossible to do any diagnosis.

from mmkv.

xiaoyeying avatar xiaoyeying commented on June 18, 2024
  1. 记录到的日志基本是重复的,主要是以下内容为主,麻烦请教下这个有可能是某种场景导致的呢?或者请教下发生此场景的时候,读和写是不是意味着完全失效了

[/var/mobile/Containers/Data/Application/4E2F1FAB-F402-4BFE-9035-87BD355F6A72/Library/com.zhibo8.client81136870/UserDefault/mmkv/UserDefault]

MMKV.cpp:417::checkFileCRCValid check crc [UserDefault] failed, crc32:2447369466 , m_crcDigest:2915453613

from mmkv.

lingol avatar lingol commented on June 18, 2024

On that device, does things work normally before? Or does it never work? You should provide as many logs of MMKV as possible. With just these two single logs it's impossible to do any diagnosis.

from mmkv.

lingol avatar lingol commented on June 18, 2024

One more useless response and this issue will be locked down. Please provide info as required.

from mmkv.

lingol avatar lingol commented on June 18, 2024

Closed due to inactive.

from mmkv.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.