-
Notifications
You must be signed in to change notification settings - Fork 616
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xcrash_sample native crash double catches #24
Comments
Not a feature. The way the mock service process native crashes in the sample app is to create a native crash in the xCrash does not catch the same process crash multiple times. The PID of the crash process is different. It sounds like the service process crashed and was restarted by the operating system again, and then crashed again. Can you look at logcat and find some clues? Can you provide the model and Android version in question? In addition, do you have the same problem on other models or Android version? Thanks~ |
Thank you. It is weird, as you can see, I made a demo to log 59.634 27142-27142/xcrash.sample:bg D/DoubleCatch: MyService: constructCnt is 0
59.634 27142-27142/xcrash.sample:bg D/DoubleCatch: MyService: thread is Thread[main,5,main]
59.634 27142-27142/xcrash.sample:bg D/DoubleCatch: MyService: object is 103236765
59.634 27142-27142/xcrash.sample:bg D/DoubleCatch: MyService: createCnt is 0
59.635 27142-27142/xcrash.sample:bg D/DoubleCatch: MyService: startCommandCnt is 0
59.635 27142-27142/xcrash.sample:bg D/DoubleCatch: MyService: Process is 27142
02.661 27197-27197/? D/DoubleCatch: MyService: constructCnt is 0
02.661 27197-27197/? D/DoubleCatch: MyService: thread is Thread[main,5,main]
02.661 27197-27197/? D/DoubleCatch: MyService: object is 103236765
02.661 27197-27197/? D/DoubleCatch: MyService: createCnt is 0
02.662 27197-27197/? D/DoubleCatch: MyService: startCommandCnt is 0
02.662 27197-27197/? D/DoubleCatch: MyService: Process is 27197
tested on:
|
First of all, thank you for your work. And then the issue:
Description
When test "native crash (in another process)", it cause double times crashes/catches, create 2 tombstones in seconds.
Detail
I compared that files, they have different catch
pid
,tid
, and some random memory addr, and later one have following stack additionally:Question
Is it a feature or something else?
The text was updated successfully, but these errors were encountered: