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

segfault on Fedora 33 #34

Closed
xambroz opened this issue Apr 18, 2021 · 6 comments
Closed

segfault on Fedora 33 #34

xambroz opened this issue Apr 18, 2021 · 6 comments

Comments

@xambroz
Copy link

xambroz commented Apr 18, 2021

Hello,
unfortunately the Linux binary segfaults on Fedora 33 straight after entering the file to analyze.

Python Exception <class 'AttributeError'> 'NoneType' object has no attribute 'type':
"/proc/2014477/root"
[Thread 0x7fffe3fff640 (LWP 2014488) exited]

Thread 1 "PE-bear" received signal SIGSEGV, Segmentation fault.
0x00007ffff6f19a26 in QFile::readLink(QString const&) () from /lib64/libQt5Core.so.5
bt
#0 0x00007ffff6f19a26 in QFile::readLink(QString const&) () at /lib64/libQt5Core.so.5
#1 0x00005555556eea9d in QFile::symLinkTarget(QString const&) ()
#2 0x00007ffff6f19a32 in QFile::readLink(QString const&) () at /lib64/libQt5Core.so.5
#3 0x00005555556eea9d in QFile::symLinkTarget(QString const&) ()
#4 0x00007ffff6f19a32 in QFile::readLink(QString const&) () at /lib64/libQt5Core.so.5
#5 0x00005555556eea9d in QFile::symLinkTarget(QString const&) ()
#6 0x00007ffff6f19a32 in QFile::readLink(QString const&) () at /lib64/libQt5Core.so.5
#7 0x00005555556eea9d in QFile::symLinkTarget(QString const&) ()
#8 0x00007ffff6f19a32 in QFile::readLink(QString const&) () at /lib64/libQt5Core.so.5
#9 0x00005555556eea9d in QFile::symLinkTarget(QString const&) ()
#10 0x00007ffff6f19a32 in QFile::readLink(QString const&) () at /lib64/libQt5Core.so.5
#11 0x00005555556eea9d in QFile::symLinkTarget(QString const&) ()
#12 0x00007ffff6f19a32 in QFile::readLink(QString const&) () at /lib64/libQt5Core.so.5...
#6900 0x00007ffff6f19a32 in QFile::readLink(QString const&) () at /lib64/libQt5Core.so.5
#6901 0x00005555556eea9d in QFile::symLinkTarget(QString const&) ()
#6902 0x00007ffff6f19a32 in QFile::readLink(QString const&) () at /lib64/libQt5Core.so.5
#6903 0x00005555556eea9d in QFile::symLinkTarget(QString const&) ()
#6904 0x00007ffff6f19a32 in QFile::readLink(QString const&) () at /lib64/libQt5Core.so.5
#6905 0x00005555556eea9d in QFile::symLinkTarget(QString const&) ()

@xambroz
Copy link
Author

xambroz commented Apr 18, 2021

qt5-qtbase-5.15.2-15.fc33.x86_64
qt5-qtbase-common-5.15.2-15.fc33.noarch
qt5-qtbase-devel-5.15.2-15.fc33.x86_64

@xambroz
Copy link
Author

xambroz commented Apr 18, 2021

Seems to be issue with all the QT5 builds, The QT4 builds work ok.
Tested with :

  • 0.4.0.3 ... OK
  • 0.5.2 ... SIGSEGV
  • 0.5.3.2 ...SIGSEGV

@hasherezade
Copy link
Owner

Hi,
Thanks for reporting. It seems just a Qt version incompatibility. PE-bear was built with an older version of Qt5 than the one you have installed. I will provide new builds soon, and for the future I will try to bundle PE-bear with the exact version with which it was built.

@xambroz
Copy link
Author

xambroz commented Apr 20, 2021

Thank you.

@hasherezade
Copy link
Owner

Hi! Did you try the new builds: 0.5.4 ?
I tested it on Fedora, and while the version with Qt 5.12 indeed seqfaults, the version with Qt 5.14 worked fine for me.

fedora_test

I was using Fedora 34 for my tests though.
Please let me know if it works for you.

@hasherezade
Copy link
Owner

From now you can build Qt 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