DoTheEvo / ANGRYsearch

Linux file search, instant results as you type
GNU General Public License v2.0
1.05k stars 92 forks source link

Producing coredumps on every close #63

Open vredesbyyrd opened 6 years ago

vredesbyyrd commented 6 years ago

Hi, thanks for all your work on this great tool.

I noticed that my root partition had inexplicably grown multiple gigs over a few days, and tracked the cause down to 93 coredumps from ANGRYsearch. Its producing these coredumps every time ANGRYsearch exits. Whether its auto-closing after selecting a search query or manually closed is irrelevant. I installed ANGRYsearch on another system to make sure it was not something specific to this setup and got the same results.

The coredumps are sometimes directly from 'ANGRYsearch' and other times from 'python'. I have not been able to find any rhyme or reason why. I am not knowledgeable enough to decipher the coredumps myself. A wild guess would be there was some change in python 3.7 that is responsible, but unsure how to go about debugging that.

ArchLinux Kernel 4.18.9-1
Gnome-shell 3.30
ANGRYsearch 1.0.1-1
Python-pyqt5 5.11.2-2
libxkbcommon-x11 0.8.2-1

Attached logs:

angrysearch-coredump.txt python3.7-coredump.txt

vredesbyyrd commented 6 years ago

Okay, when started from terminal i get this on close.

qt5ct: using qt5ct plugin
qt5ct: D-Bus system tray: no
Traceback (most recent call last):
  File "/usr/bin/angrysearch", line 821, in closeEvent
    self.tray_icon.hide()
AttributeError: 'Gui_MainWindow' object has no attribute 'tray_icon'
fish: “angrysearch” terminated by signal SIGABRT (Abort)
vredesbyyrd commented 6 years ago

Commenting out self.tray_icon.hide() in angrysearch.py stops the coredumps. This is okay since I do not need the tray icon on gnome. I will leave this open for now in case anyone else is seeing the same issue.