Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • J JJException
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 32
    • Issues 32
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • jezz
  • JJException
  • Issues
  • #119
Closed
Open
Issue created Feb 21, 2022 by yang hui@justFI

KVO crash

Describe the bug App启动使用了AVPlayer播放视频,并添加了Observer 监听 其status [self.playerItem addObserver:self forKeyPath:@"status" options:NSKeyValueObservingOptionNew context:nil]; 在页面 dealloc 也 remove了 [self.playerItem removeObserver:self forKeyPath:@"status"];

但 在进入App时 ,crahsh了。 这个本地调试 crash的信息 image image image image

偶发性。但线上版本也会发生。下面时 bugly的 报告。 image

  • Device: iPhone8- 本地测试机型 非线上机型
  • OS: iOS14.3
Assignee
Assign to
Time tracking