Comments (13)
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.
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.
抱歉,谢谢解答
这个是相同设备的日志信息,几乎是同一时间点记录到的日志
时间点 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.
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.
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.
应用程序线上环境处于沙盒状态下,有记录到的绝大部分是以上相似的日志,除此之外还有类似日子
MMKV.cpp:417::checkFileCRCValid check crc [UserDefault] fail, crc32:2447369466, m_crcDigest:2915453613
from mmkv.
应用程序线上环境处于沙盒状态下,有记录到的绝大部分是以上相似的日志,除此之外还有类似日子
MMKV.cpp:417::checkFileCRCValid check crc [UserDefault] fail, crc32:2447369466, m_crcDigest:2915453613
请问有没有什么可能的原因导致此问题
from mmkv.
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.
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.
- 记录到的日志基本是重复的,主要是以下内容为主,麻烦请教下这个有可能是某种场景导致的呢?或者请教下发生此场景的时候,读和写是不是意味着完全失效了
[/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.
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.
One more useless response and this issue will be locked down. Please provide info as required.
from mmkv.
Closed due to inactive.
from mmkv.
Related Issues (20)
- [POSIX] can't find ::unlink symbol HOT 6
- kv_system和crc文件移动到其他app 不能读取和写入 HOT 4
- iOS App 切到后台Crash
- Could adding a trim() method result in incorrect data state? HOT 4
- Please modify README about install in `MMKV for Win32` HOT 2
- mmkv rootDir问题请教 HOT 1
- MMKV::checkFileCRCValid Got CRC error HOT 2
- checkcrc anr when the file it too large HOT 4
- 【Android】1.3.3版本多进程初始化,导致数据丢失 HOT 5
- Privacy Manifes HOT 1
- 能否加上visionOS的支持 HOT 2
- Privacy Manifes HOT 1
- iOS依赖了底层C++库,iOS上层和底层C++都想使用mmkv,该怎么集成mmkv到项目中
- 你好,有个崩溃帮忙看下 HOT 5
- 支持win x64吗?一直编译不了,能帮忙看看吗 HOT 8
- Non-fatal Exception: java.lang.UnsatisfiedLinkError: dlopen failed: library "libmmkv.so" not found HOT 1
- MMKV组件升级,双版本数据校验不匹配 HOT 4
- 鸿蒙Next纯血版本如何接入mmkv? HOT 19
- crash with MMKV.getInt[DEDUPED] HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mmkv.