Coder Social home page Coder Social logo

写日志崩溃 about logan HOT 19 CLOSED

happy201993 avatar happy201993 commented on August 29, 2024
写日志崩溃

from logan.

Comments (19)

happy201993 avatar happy201993 commented on August 29, 2024

版本使用的是1.2.8,iOS线上环境出现

from logan.

Richard-Cao avatar Richard-Cao commented on August 29, 2024

本地能复现吗

from logan.

happy201993 avatar happy201993 commented on August 29, 2024

from logan.

happy201993 avatar happy201993 commented on August 29, 2024

复现不了,线上崩溃很多 灰度第一天上万个

from logan.

happy201993 avatar happy201993 commented on August 29, 2024

image
还有一个,这个次数少一些,60多次

from logan.

Richard-Cao avatar Richard-Cao commented on August 29, 2024

@wsxyeah 看看呢

from logan.

wsxyeah avatar wsxyeah commented on August 29, 2024

看起来是内存访问问题,能提供更多信息吗,比如寄存器信息之类的

from logan.

happy201993 avatar happy201993 commented on August 29, 2024

没有了,我目前也只有这个堆栈。另外看崩溃聚合信息,所有崩溃都是进入后台之后发生的,在前台没有问题

from logan.

Richard-Cao avatar Richard-Cao commented on August 29, 2024

没有了,我目前也只有这个堆栈。另外看崩溃聚合信息,所有崩溃都是进入后台之后发生的,在前台没有问题

进入后台flush了?

from logan.

happy201993 avatar happy201993 commented on August 29, 2024

没有了,我目前也只有这个堆栈。另外看崩溃聚合信息,所有崩溃都是进入后台之后发生的,在前台没有问题

进入后台flush了?

没有吧,看堆栈是在后台的时候,写日志导致的

from logan.

Richard-Cao avatar Richard-Cao commented on August 29, 2024

没有了,我目前也只有这个堆栈。另外看崩溃聚合信息,所有崩溃都是进入后台之后发生的,在前台没有问题

进入后台flush了?

没有吧,看堆栈是在后台的时候,写日志导致的

你那边退到后台以后掉flush了吗

from logan.

happy201993 avatar happy201993 commented on August 29, 2024

没有了,我目前也只有这个堆栈。另外看崩溃聚合信息,所有崩溃都是进入后台之后发生的,在前台没有问题

进入后台flush了?

没有吧,看堆栈是在后台的时候,写日志导致的

你那边退到后台以后掉flush了吗

我没主动掉flush,我看Logan.m里面有这个操作。从日志上看flush应该是走完了,有的是退到后台后好久才崩的

from logan.

happy201993 avatar happy201993 commented on August 29, 2024

这个库应该用的人也很多,但是似乎只有我遇到了这个问题,不知道是不是使用不对导致的问题,帮忙检查下。
初始化:
image

写日志
image

@wsxyeah

from logan.

happy201993 avatar happy201993 commented on August 29, 2024

@wsxyeah 我看到了你的修改,但是这个崩溃是在日志加密阶段,还没有到mmap的时候把?

from logan.

happy201993 avatar happy201993 commented on August 29, 2024

最新代码打个tag把 @Richard-Cao @wsxyeah

from logan.

wsxyeah avatar wsxyeah commented on August 29, 2024

最新代码打个tag把 @Richard-Cao @wsxyeah

DONE

from logan.

Chance-Cheng avatar Chance-Cheng commented on August 29, 2024

请问这个崩溃修复了么?目前还有出现么?

from logan.

happy201993 avatar happy201993 commented on August 29, 2024

from logan.

Richard-Cao avatar Richard-Cao commented on August 29, 2024

请问这个崩溃修复了么?目前还有出现么?

更新一下版本

from logan.

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.