hasherezade / pe-bear-releases

PE-bear (builds only)

Home Page:https://hshrzd.wordpress.com/pe-bear/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

not working with a PE build by fasm

catafest opened this issue · comments

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)

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

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?

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

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]

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?

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.

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

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