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

not working with a PE build by fasm #29

Closed
catafest opened this issue Dec 28, 2020 · 8 comments
Closed

not working with a PE build by fasm #29

catafest opened this issue Dec 28, 2020 · 8 comments

Comments

@catafest
Copy link

The file for test was build with fasm

[mythcat@desk fasm]$ file pe_001.exe 
pe_001.exe: PE32 executable (console) Intel 80386, for MS Windows

The result is a crash :

[mythcat@desk PE-bear_0.5.2.3_x64_linux]$ ./PE-bear 
"/proc/11817/root"
Segmentation fault (core dumped)
@hasherezade
Copy link
Owner

Thank you for reporting. Can you please attach (or send me via e-mail) the exact PE that caused the crash?

@hasherezade
Copy link
Owner

Thank you for your e-mail I checked the package that you sent:

wetransfer-d6d2e4.zip

However, I cannot reproduce the error. On my side, the PE opened with no errors:

pebear_screen

I tried on Linux and on Windows, zero issues.

I suspect that the reason of the crash may be caused by a different Qt version that you possibly use.
Could you please check your Qt version?
Any more details regarding your OS?

@hasherezade
Copy link
Owner

also, try to update your Qt and let me know if it helps.

@catafest
Copy link
Author

catafest commented Dec 28, 2020

I used every day dnf tool to update and my Fedora Linux.

[mythcat@desk fasm]$ uname -a
Linux desk 5.9.16-200.fc33.x86_64 #1 SMP Mon Dec 21 14:08:22 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

[mythcat@desk fasm]$ pkg-config --modversion QtCore
Package QtCore was not found in the pkg-config search path.
Perhaps you should add the directory containing `QtCore.pc'
to the PKG_CONFIG_PATH environment variable
Package 'QtCore', required by 'virtual:world', not found

[mythcat@desk fasm]$ qmake-qt5 --version
QMake version 3.1
Using Qt version 5.15.2 in /usr/lib64

maybe is video card problem 
NVIDIA Corporation GT218 [GeForce 210]

@hasherezade
Copy link
Owner

I don't think your video card could be a problem, rather different versions of libraries than those with which the PE-bear's binary was compiled.
Did you experience similar crashes on load of other executables as well, or only with those that are compiled with fasm?

@catafest
Copy link
Author

I think you need to create a bash sh file for each project.
Also, you need to put the libs used this sh or to tell people how libs need to used.
The idea to scan files and check them has a good format is great.

@hasherezade
Copy link
Owner

It seems to be the same issue as here: #34
Please let me know if the build with Qt 5.14 works fine for you. It is this one:

https://github.com/hasherezade/pe-bear-releases/releases/download/0.5.4/PE-bear_0.5.4_qt5.14_x64_linux.tar.xz

@hasherezade
Copy link
Owner

From now you can build PE-bear from the sources to avoid any of such issues: https://github.com/hasherezade/pe-bear

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants