Skip to content
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

[Bug Report] Program Crashes When Using Kaitai Struct to Analyze BMP and PNG #85

Closed
CooperW824 opened this issue Jan 21, 2021 · 5 comments
Labels
bug Something isn't working python released
Milestone

Comments

@CooperW824
Copy link
Contributor

When I use the Kaitai Struct analyzer plugin on PNGs or BMPs the program closes (I presume it's crashing) with no error messages.
I'm using the pre-built binary for Windows.

@hello-adam
Copy link
Member

Thank you for reporting!

Yeah, it shouldn't do that. I am in the process of refactoring the build system, and there should be a few fixes in that once I finish (should be release 0.45.0), but I will test this scenario on windows before making that release.

Does the Linux one work for you?

@hello-adam hello-adam added bug Something isn't working python labels Jan 22, 2021
@hello-adam hello-adam added this to the 1.0 milestone Jan 22, 2021
@CooperW824
Copy link
Contributor Author

Yeah analyzer in the Ubuntu based release works on BMPs and PNGs, but I'm still running into reliability issues when using it, it seems like the program crashes randomly when I click the arrow buttons to cycle through selections, and then other times it works fine. When the program does crash, I do get some error messages output to the terminal those can be found below.

:~/Downloads/Hobbits/bin$ ./hobbits
malloc(): unsorted double linked list corrupted
Aborted (core dumped)
:~/Downloads/Hobbits/bin$ ./hobbits
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
Aborted (core dumped)
:~/Downloads/Hobbits/bin$ ./hobbits
Type conversion already registered from type QSharedPointer<BitContainerPreview> to type QObject*
malloc(): unsorted double linked list corrupted
Aborted (core dumped)

@hello-adam
Copy link
Member

Did this get any better in 0.46.2? I found a bug that could have been doing this, but it might have been something separate.

@hello-adam
Copy link
Member

hmm, I accidentally auto-closed this with the way I wrote the commit. 0.46.3 definitely fixed a crash that behaved like that. Please re-open the issue if you can still reproduce the crash in 0.46.3

hello-adam pushed a commit that referenced this issue Mar 16, 2021
## [0.46.3](v0.46.2...v0.46.3) (2021-03-16)

### Bug Fixes

* correctly enforce FFTW thread-safety ([586042a](586042a)), closes [#85](#85)
* load python plugins correctly ([505acae](505acae))
@hello-adam
Copy link
Member

🎉 This issue has been resolved in version 0.46.3 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

goldest-star added a commit to goldest-star/binary-analysis-tool that referenced this issue Jun 4, 2023
## [0.46.3](Mahlet-Inc/hobbits@v0.46.2...v0.46.3) (2021-03-16)

### Bug Fixes

* correctly enforce FFTW thread-safety ([586042a](Mahlet-Inc/hobbits@586042a)), closes [#85](Mahlet-Inc/hobbits#85)
* load python plugins correctly ([505acae](Mahlet-Inc/hobbits@505acae))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working python released
Projects
None yet
Development

No branches or pull requests

2 participants