Closed miaoyuxin closed 10 months ago
What version of the plugin do you use? Could you use the stacktrace utility to get the actual stack trace?
the version is 2.8.5。 I'm sorry we can't get any more stack information either, as this is reported by a plugin that we've never encountered before. We have about 100000 players per day, and this error will cause 50-100 players to crash every day. Based on our data, most of these players will crash within a few seconds after starting the application, and then return to normal. Additionally, we have attached two log files. Would this be helpful
叛逆Ω︶ㄣ @.***
------------------ 原始邮件 ------------------ 发件人: "Benedicht/BestHTTP-Issues" @.>; 发送时间: 2023年12月20日(星期三) 晚上6:26 @.>; @.**@.>; 主题: Re: [Benedicht/BestHTTP-Issues] Some Crashes With BestHTTP.HTTP1 (Issue #184)
What version of the plugin do you use? Could you use the stacktrace utility to get the actual stack trace?
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
Is there any chance that you are loading a scene while at least one request is active?
In theory, this possibility exists. Do you mean that when loading a scene, there may be such a problem when sending a request? It is strange that we found that the vast majority of users report errors at the beginning of the game, and we also have scene switching operations during the game, but we did not collect similar errors at this time. Can you find any useful information from the logs I posted?
叛逆Ω︶ㄣ @.***
------------------ 原始邮件 ------------------ 发件人: "Benedicht/BestHTTP-Issues" @.>; 发送时间: 2023年12月20日(星期三) 晚上10:07 @.>; @.**@.>; 主题: Re: [Benedicht/BestHTTP-Issues] Some Crashes With BestHTTP.HTTP1 (Issue #184)
Is there any chance that you are loading a scene while at least one request is active?
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
I see no attachments unfortunately.
There's an issue that i reported a few months ago that can cause a dead-lock, but a few of us suspects that it might be able to crash the application too: https://issuetracker.unity3d.com/issues/android-player-freezes-when-loading-a-scene-on-another-thread
Sorry for not receiving the attachment. There may have been some issues with the email. I will try sending the attachment again and take a screenshot to prevent it from being lost again. Our current Unity version is 2019.4.40f1,Is this attachment helpful to you?
叛逆Ω︶ㄣ @.***
------------------ 原始邮件 ------------------ 发件人: "Benedicht/BestHTTP-Issues" @.>; 发送时间: 2023年12月21日(星期四) 凌晨2:46 @.>; @.**@.>; 主题: Re: [Benedicht/BestHTTP-Issues] Some Crashes With BestHTTP.HTTP1 (Issue #184)
I see no attachments unfortunately.
There's an issue that i reported a few months ago that can cause a dead-lock, but a few of us suspects that it might be able to crash the application too: https://issuetracker.unity3d.com/issues/android-player-freezes-when-loading-a-scene-on-another-thread
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
I think the problem is that you're replying to a github issue email, and email attachments aren't attached to the issue.
Can I add the attachment directly on GitHub so that you can see it on your end? best_stack.txt besthttpLog.txt
Yes, that's working.
There aren't many stack logs, I hope it's helpful to you
Unfortunately, i couldn't find anything useful in the attachments. The stack trace is the same as you sent initially, contains no usable information.
In the past few days, we have not found any useful stack logs, but we have discovered another bug. Sending an HTTPRequest while using a WiFi connection without a network connection will fail. Then, connecting to a normal WiFi connection and sending an HTTPRequest will continue to fail
Hi,We have found a crash log. Is it helpful to you
How much requests do you sending? Thread creation failed.
suggests that the application/system is out of threads and can't create more.
When we start app, there will be a portion of data uploaded, each time as a separate HTTPRequest. Will this request be pooled? Or will it lead to an increase in the number of threads in poor network conditions? There is another question about the stack of the zip error message sent above. Is there any possibility of this causing it?
Found no relevant information about the threading error. The plugin maintains a queue and processes 6 requests in parallel by default limiting its thread usage too.
I would suggest to use a more recent Unity version and/or report the exception to Unity.
While i don't know the root cause of the second one, the plugin handles non fatal exceptions and retries the request if possible.
hi, We have found some crashes related to besthttp in our application, and we have not yet found the cause of the crashes. Could you please help us solve it? There are some crash related stack logs in the attachment. Thanks