-
Notifications
You must be signed in to change notification settings - Fork 227
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
ObjC analysis crashes on AwemeCore binary #5657
Comments
@dawn-breaking Hi I went ahead and made an issue regarding your crash, I have been trying to get the issue to reproduce locally and I was wondering if you have a stack trace. We have also had a few reports of new intel CPU's being unstable, specifically the i9-13900K/14900K, so that would also be useful information for us if you know the CPU you are running. (Not to say that is your issue, it likely is not, considering you are running Ubuntu and no reports indicate that instability effects Linux) |
Hi |
FYI, I had an M3 MBP running all night on this and it's still going. No crash yet, but analysis still isn't done. (Not using basic analysis). Do you have the full stack trace of the crash showing pointer offsets? |
Did you have any other Objective-C files open and analyzing when the crash occurred? |
1)I also have M3 MBP, the same file works fine with full analysis on it. 2)stack trace: Thread 106 "W T A core.func" received signal SIGSEGV, Segmentation fault. |
no other Objective-C files crashed, only this file crashed on ubuntu with full analysis. |
Thanks for reporting this! Resolved in dev builds >=4.1.5667 |
Analysis of Aweme in Windows 10 still has the problem of crashing. The crash occurs in the first stage when the memory surges. system: windows10 |
How much memory do you have on the machine you're using @c0618? This is a very lage file so one potential source of crashes are OOMs. Alternatively, can you run it under a debug or capture the stack track of the crash so we can confirm if it's the same issue? |
@psifertex |
4.0 doesn't automatically run the ObjectiveC workflow, are you manually enabling it there? 64gb of RAM is quite possibly not enough for a file of this size. Having it suddenly terminate is consistent with an OOM condition. |
@psifertex |
Do you mean you used open with options and selected the objective c workflow on 4.0? Sorry, not sure I understand your previous reply. There are several other settings that can help with memory utilization as well, we've started a section of the documentation to cover this, though it's fairly small now: https://docs.binary.ninja/guide/troubleshooting.html#working-with-large-or-complex-binaries Even if the 4.1 changes have introduced more memory utilization that's really a distinct issue from this previous one even though it's the same file. In fact, the fact that the previous reporter doesn't have an issue with 4x the available memory leads me to believe this is indeed a separate issue. |
Another suggestion -- try creating a swap file to see if that alleviates the issue of additional memory pressure |
Discussed in #5656
Originally posted by dawn-breaking June 23, 2024
bininninjia commercial stable latest version save AwemeCore.bndb crashes on completion of analysis。latest commercial dev version load AwemeCore also crashed。example binary file download URL:https://dawnvip.oss-cn-shenzhen.aliyuncs.com/AwemeCore. os version : ubuntu22.04, memory total size 256G, with “full” for analysis mode
Crash info
This is likely due to the ObjC analysis, I was able to produce a crash related to deallocating an already deallocated
AnalysisInfo
. This is not trivially reproducible, if it crashes at all it crashes almost immediately after starting "Phase 1" analysis, sometimes it does not crash at all, which makes sense for this double free.The text was updated successfully, but these errors were encountered: