albertlauncher / albert

A fast and flexible keyboard launcher
https://albertlauncher.github.io
Other
7.26k stars 305 forks source link

Segmentation fault after input. #401

Closed cmoud94 closed 7 years ago

cmoud94 commented 7 years ago
Environment
Steps to reproduce

Type something into albert.

Expected behaviour

Show list of applications, files, etc.

Actual behaviour

Segfault.

gdb output
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.04) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from albert...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/local/bin/albert 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffeba17700 (LWP 16162)]
[New Thread 0x7fffdda85700 (LWP 16163)]
[New Thread 0x7fffd6e7b700 (LWP 16170)]
[New Thread 0x7fffd667a700 (LWP 16171)]
[New Thread 0x7fffd5e79700 (LWP 16172)]
[New Thread 0x7fffd5678700 (LWP 16173)]
[New Thread 0x7fffd4e77700 (LWP 16174)]
[New Thread 0x7fffc7fff700 (LWP 16175)]
[New Thread 0x7fffc77fe700 (LWP 16176)]

Thread 1 "albert" received signal SIGSEGV, Segmentation fault.
0x00007ffff668a624 in QFutureInterfaceBase::queryState(QFutureInterfaceBase::State) const ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
(gdb) q
A debugging session is active.

    Inferior 1 [process 16158] will be killed.

Quit anyway? (y or n) y
valgrind output
==18011== Memcheck, a memory error detector
==18011== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.
==18011== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info
==18011== Command: albert
==18011== 
==18011== Conditional jump or move depends on uninitialised value(s)
==18011==    at 0x122CC13D: ??? (in /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0.2400.30)
==18011==    by 0x78F31D3: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.2)
==18011==    by 0x790D9A5: g_signal_emit_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.2)
==18011==    by 0x790E554: g_signal_emit_by_name (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.2)
==18011==    by 0x78FA8F7: g_object_set_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.2)
==18011==    by 0x78FAFCB: g_object_set (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.2)
==18011==    by 0x50D1935: ??? (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5.1)
==18011==    by 0x505549C: QStyleFactory::create(QString const&) (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5.1)
==18011==    by 0x4FEE754: QApplication::style() (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5.1)
==18011==    by 0x4FEEB1C: QApplicationPrivate::initialize() (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5.1)
==18011==    by 0x4FEEB6E: QApplicationPrivate::construct() (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5.1)
==18011==    by 0x44596D: main (in /usr/local/bin/albert)
==18011== 
==18011== Conditional jump or move depends on uninitialised value(s)
==18011==    at 0x471B6A: SettingsButton::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (in /usr/local/bin/albert)
==18011==    by 0x471C7D: SettingsButton::qt_metacall(QMetaObject::Call, int, void**) (in /usr/local/bin/albert)
==18011==    by 0x61D0279: QPropertyAnimation::updateCurrentValue(QVariant const&) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.5.1)
==18011==    by 0x61CC427: ??? (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.5.1)
==18011==    by 0x61CC9D4: ??? (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.5.1)
==18011==    by 0x61D122C: QPropertyAnimation::updateState(QAbstractAnimation::State, QAbstractAnimation::State) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.5.1)
==18011==    by 0x61CB32B: QAbstractAnimation::start(QAbstractAnimation::DeletionPolicy) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.5.1)
==18011==    by 0x466BEB: SettingsButton::SettingsButton(QWidget*) (in /usr/local/bin/albert)
==18011==    by 0x45F65C: MainWindow::MainWindow(QWidget*) (in /usr/local/bin/albert)
==18011==    by 0x44721D: main (in /usr/local/bin/albert)
==18011== 
Warning: Application has not been terminated graciously.
Start indexing applications.
==18011== Invalid write of size 1
==18011==    at 0x11DFFE2B: ??? (in /usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2)
==18011==    by 0x11E001BA: ??? (in /usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2)
==18011==    by 0x11E003CE: XcursorLibraryLoadImages (in /usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2)
==18011==    by 0x11E0044D: XcursorLibraryLoadCursor (in /usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2)
==18011==    by 0xE3C8FA2: ??? (in /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5.5.1)
==18011==    by 0xE3C9506: ??? (in /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5.5.1)
==18011==    by 0x5CFE12C: QWindowPrivate::setCursor(QCursor const*) (in /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.5.1)
==18011==    by 0x501ADCF: ??? (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5.1)
==18011==    by 0x502265B: QWidgetPrivate::show_sys() (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5.1)
==18011==    by 0x502BA8D: QWidgetPrivate::show_helper() (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5.1)
==18011==    by 0x502E5FC: QWidget::setVisible(bool) (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5.1)
==18011==    by 0x460F6D: MainWindow::setVisible(bool) (in /usr/local/bin/albert)
==18011==  Address 0xe153455 is 0 bytes after a block of size 5 alloc'd
==18011==    at 0x4C2DB8F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==18011==    by 0x11DFFDA8: ??? (in /usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2)
==18011==    by 0x11E001BA: ??? (in /usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2)
==18011==    by 0x11E003CE: XcursorLibraryLoadImages (in /usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2)
==18011==    by 0x11E0044D: XcursorLibraryLoadCursor (in /usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2)
==18011==    by 0xE3C8FA2: ??? (in /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5.5.1)
==18011==    by 0xE3C9506: ??? (in /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5.5.1)
==18011==    by 0x5CFE12C: QWindowPrivate::setCursor(QCursor const*) (in /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.5.1)
==18011==    by 0x501ADCF: ??? (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5.1)
==18011==    by 0x502265B: QWidgetPrivate::show_sys() (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5.1)
==18011==    by 0x502BA8D: QWidgetPrivate::show_helper() (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5.1)
==18011==    by 0x502E5FC: QWidget::setVisible(bool) (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5.1)
==18011== 
==18011== Invalid read of size 1
==18011==    at 0x4C30A20: __GI_strchr (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==18011==    by 0x11E00130: ??? (in /usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2)
==18011==    by 0x11E00211: ??? (in /usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2)
==18011==    by 0x11E003CE: XcursorLibraryLoadImages (in /usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2)
==18011==    by 0x11E0044D: XcursorLibraryLoadCursor (in /usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2)
==18011==    by 0xE3C8FA2: ??? (in /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5.5.1)
==18011==    by 0xE3C9506: ??? (in /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5.5.1)
==18011==    by 0x5CFE12C: QWindowPrivate::setCursor(QCursor const*) (in /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.5.1)
==18011==    by 0x501ADCF: ??? (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5.1)
==18011==    by 0x502265B: QWidgetPrivate::show_sys() (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5.1)
==18011==    by 0x502BA8D: QWidgetPrivate::show_helper() (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5.1)
==18011==    by 0x502E5FC: QWidget::setVisible(bool) (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5.1)
==18011==  Address 0xe153455 is 0 bytes after a block of size 5 alloc'd
==18011==    at 0x4C2DB8F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==18011==    by 0x11DFFDA8: ??? (in /usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2)
==18011==    by 0x11E001BA: ??? (in /usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2)
==18011==    by 0x11E003CE: XcursorLibraryLoadImages (in /usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2)
==18011==    by 0x11E0044D: XcursorLibraryLoadCursor (in /usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2)
==18011==    by 0xE3C8FA2: ??? (in /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5.5.1)
==18011==    by 0xE3C9506: ??? (in /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5.5.1)
==18011==    by 0x5CFE12C: QWindowPrivate::setCursor(QCursor const*) (in /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.5.1)
==18011==    by 0x501ADCF: ??? (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5.1)
==18011==    by 0x502265B: QWidgetPrivate::show_sys() (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5.1)
==18011==    by 0x502BA8D: QWidgetPrivate::show_helper() (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5.1)
==18011==    by 0x502E5FC: QWidget::setVisible(bool) (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5.1)
==18011== 
==18011== Invalid read of size 1
==18011==    at 0x4C30F74: strlen (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==18011==    by 0x11E001D7: ??? (in /usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2)
==18011==    by 0x11E00211: ??? (in /usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2)
==18011==    by 0x11E003CE: XcursorLibraryLoadImages (in /usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2)
==18011==    by 0x11E0044D: XcursorLibraryLoadCursor (in /usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2)
==18011==    by 0xE3C8FA2: ??? (in /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5.5.1)
==18011==    by 0xE3C9506: ??? (in /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5.5.1)
==18011==    by 0x5CFE12C: QWindowPrivate::setCursor(QCursor const*) (in /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.5.1)
==18011==    by 0x501ADCF: ??? (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5.1)
==18011==    by 0x502265B: QWidgetPrivate::show_sys() (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5.1)
==18011==    by 0x502BA8D: QWidgetPrivate::show_helper() (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5.1)
==18011==    by 0x502E5FC: QWidget::setVisible(bool) (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5.1)
==18011==  Address 0xe153455 is 0 bytes after a block of size 5 alloc'd
==18011==    at 0x4C2DB8F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==18011==    by 0x11DFFDA8: ??? (in /usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2)
==18011==    by 0x11E001BA: ??? (in /usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2)
==18011==    by 0x11E003CE: XcursorLibraryLoadImages (in /usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2)
==18011==    by 0x11E0044D: XcursorLibraryLoadCursor (in /usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2)
==18011==    by 0xE3C8FA2: ??? (in /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5.5.1)
==18011==    by 0xE3C9506: ??? (in /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5.5.1)
==18011==    by 0x5CFE12C: QWindowPrivate::setCursor(QCursor const*) (in /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.5.1)
==18011==    by 0x501ADCF: ??? (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5.1)
==18011==    by 0x502265B: QWidgetPrivate::show_sys() (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5.1)
==18011==    by 0x502BA8D: QWidgetPrivate::show_helper() (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5.1)
==18011==    by 0x502E5FC: QWidget::setVisible(bool) (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5.1)
==18011== 
==18011== Invalid read of size 1
==18011==    at 0x4C30A20: __GI_strchr (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==18011==    by 0x11E00221: ??? (in /usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2)
==18011==    by 0x11E003CE: XcursorLibraryLoadImages (in /usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2)
==18011==    by 0x11E0044D: XcursorLibraryLoadCursor (in /usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2)
==18011==    by 0xE3C8FA2: ??? (in /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5.5.1)
==18011==    by 0xE3C9506: ??? (in /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5.5.1)
==18011==    by 0x5CFE12C: QWindowPrivate::setCursor(QCursor const*) (in /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.5.1)
==18011==    by 0x501ADCF: ??? (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5.1)
==18011==    by 0x502265B: QWidgetPrivate::show_sys() (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5.1)
==18011==    by 0x502BA8D: QWidgetPrivate::show_helper() (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5.1)
==18011==    by 0x502E5FC: QWidget::setVisible(bool) (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5.1)
==18011==    by 0x460F6D: MainWindow::setVisible(bool) (in /usr/local/bin/albert)
==18011==  Address 0xe153455 is 0 bytes after a block of size 5 alloc'd
==18011==    at 0x4C2DB8F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==18011==    by 0x11DFFDA8: ??? (in /usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2)
==18011==    by 0x11E001BA: ??? (in /usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2)
==18011==    by 0x11E003CE: XcursorLibraryLoadImages (in /usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2)
==18011==    by 0x11E0044D: XcursorLibraryLoadCursor (in /usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2)
==18011==    by 0xE3C8FA2: ??? (in /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5.5.1)
==18011==    by 0xE3C9506: ??? (in /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5.5.1)
==18011==    by 0x5CFE12C: QWindowPrivate::setCursor(QCursor const*) (in /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.5.1)
==18011==    by 0x501ADCF: ??? (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5.1)
==18011==    by 0x502265B: QWidgetPrivate::show_sys() (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5.1)
==18011==    by 0x502BA8D: QWidgetPrivate::show_helper() (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5.1)
==18011==    by 0x502E5FC: QWidget::setVisible(bool) (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5.1)
==18011== 
==18011== Syscall param writev(vector[...]) points to uninitialised byte(s)
==18011==    at 0x6CB540D: ??? (syscall-template.S:84)
==18011==    by 0x9B5DF28: ??? (in /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0)
==18011==    by 0x9B5E31C: ??? (in /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0)
==18011==    by 0x9B5EA76: ??? (in /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0)
==18011==    by 0x9B5EC43: xcb_flush (in /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0)
==18011==    by 0xE3BDAF3: QXcbWindow::hide() (in /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5.5.1)
==18011==    by 0x5CFCB17: QWindow::setVisible(bool) (in /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.5.1)
==18011==    by 0x50227D6: QWidgetPrivate::hide_sys() (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5.1)
==18011==    by 0x5029E33: QWidgetPrivate::hide_helper() (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5.1)
==18011==    by 0x502E7BF: QWidget::setVisible(bool) (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5.1)
==18011==    by 0x460F6D: MainWindow::setVisible(bool) (in /usr/local/bin/albert)
==18011==    by 0x461123: MainWindow::toggleVisibility() (in /usr/local/bin/albert)
==18011==  Address 0xde39ba9 is 4,553 bytes inside a block of size 21,152 alloc'd
==18011==    at 0x4C2FB55: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==18011==    by 0x9B5D8DB: xcb_connect_to_fd (in /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0)
==18011==    by 0x9B61610: xcb_connect_to_display_with_auth_info (in /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0)
==18011==    by 0x7E83809: _XConnectXCB (in /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0)
==18011==    by 0x7E74391: XOpenDisplay (in /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0)
==18011==    by 0xE3AA54E: QXcbConnection::QXcbConnection(QXcbNativeInterface*, bool, unsigned int, char const*) (in /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5.5.1)
==18011==    by 0xE3AD9EC: QXcbIntegration::QXcbIntegration(QStringList const&, int&, char**) (in /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5.5.1)
==18011==    by 0x403A3AC: ??? (in /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so)
==18011==    by 0x5CE2D91: QPlatformIntegrationFactory::create(QString const&, QStringList const&, int&, char**, QString const&) (in /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.5.1)
==18011==    by 0x5CEEFC3: QGuiApplicationPrivate::createPlatformIntegration() (in /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.5.1)
==18011==    by 0x5CEFECC: QGuiApplicationPrivate::createEventDispatcher() (in /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.5.1)
==18011==    by 0x63D57E5: QCoreApplication::init() (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.5.1)
==18011== 
QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No such file or directory
QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No such file or directory
Indexed 161 applications.
==18011== Conditional jump or move depends on uninitialised value(s)
==18011==    at 0x5F9A56B: QTransform::rotate(double, Qt::Axis) (in /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.5.1)
==18011==    by 0x5F36283: QPainter::rotate(double) (in /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.5.1)
==18011==    by 0x4670DD: SettingsButton::paintEvent(QPaintEvent*) (in /usr/local/bin/albert)
==18011==    by 0x502EF87: QWidget::event(QEvent*) (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5.1)
==18011==    by 0x4FEC05B: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5.1)
==18011==    by 0x4FF1515: QApplication::notify(QObject*, QEvent*) (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5.1)
==18011==    by 0x63D138A: QCoreApplication::notifyInternal(QObject*, QEvent*) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.5.1)
==18011==    by 0x5027A78: QWidgetPrivate::sendPaintEvent(QRegion const&) (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5.1)
==18011==    by 0x50280C0: QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5.1)
==18011==    by 0x5028D6B: QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5.1)
==18011==    by 0x5027C30: QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5.1)
==18011==    by 0x502C086: QWidgetPrivate::render(QPaintDevice*, QPoint const&, QRegion const&, QFlags<QWidget::RenderFlag>) (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5.1)
==18011== 
==18011== Conditional jump or move depends on uninitialised value(s)
==18011==    at 0x5F9A56D: QTransform::rotate(double, Qt::Axis) (in /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.5.1)
==18011==    by 0x5F36283: QPainter::rotate(double) (in /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.5.1)
==18011==    by 0x4670DD: SettingsButton::paintEvent(QPaintEvent*) (in /usr/local/bin/albert)
==18011==    by 0x502EF87: QWidget::event(QEvent*) (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5.1)
==18011==    by 0x4FEC05B: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5.1)
==18011==    by 0x4FF1515: QApplication::notify(QObject*, QEvent*) (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5.1)
==18011==    by 0x63D138A: QCoreApplication::notifyInternal(QObject*, QEvent*) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.5.1)
==18011==    by 0x5027A78: QWidgetPrivate::sendPaintEvent(QRegion const&) (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5.1)
==18011==    by 0x50280C0: QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5.1)
==18011==    by 0x5028D6B: QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5.1)
==18011==    by 0x5027C30: QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5.1)
==18011==    by 0x502C086: QWidgetPrivate::render(QPaintDevice*, QPoint const&, QRegion const&, QFlags<QWidget::RenderFlag>) (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5.1)
==18011== 
==18011== Invalid read of size 4
==18011==    at 0x61E5624: QFutureInterfaceBase::queryState(QFutureInterfaceBase::State) const (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.5.1)
==18011==    by 0x559BBB5: QFuture<std::pair<Core::QueryHandler*, unsigned int> >::isRunning() const (in /usr/local/lib/albert/libalbertcore.so)
==18011==    by 0x559A2EC: QFuture<std::pair<Core::QueryHandler*, unsigned int> >::const_iterator::operator!=(QFuture<std::pair<Core::QueryHandler*, unsigned int> >::const_iterator const&) const (in /usr/local/lib/albert/libalbertcore.so)
==18011==    by 0x5597F90: Core::Query::QueryPrivate::onSyncHandlersFinsished() (in /usr/local/lib/albert/libalbertcore.so)
==18011==    by 0x55A08C5: QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (Core::Query::QueryPrivate::*)()>::call(void (Core::Query::QueryPrivate::*)(), Core::Query::QueryPrivate*, void**) (in /usr/local/lib/albert/libalbertcore.so)
==18011==    by 0x559EE8D: void QtPrivate::FunctionPointer<void (Core::Query::QueryPrivate::*)()>::call<QtPrivate::List<>, void>(void (Core::Query::QueryPrivate::*)(), Core::Query::QueryPrivate*, void**) (in /usr/local/lib/albert/libalbertcore.so)
==18011==    by 0x559D1D2: QtPrivate::QSlotObject<void (Core::Query::QueryPrivate::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (in /usr/local/lib/albert/libalbertcore.so)
==18011==    by 0x63FFBAE: QMetaObject::activate(QObject*, int, int, void**) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.5.1)
==18011==    by 0x61E80ED: QFutureWatcherBase::event(QEvent*) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.5.1)
==18011==    by 0x4FEC05B: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5.1)
==18011==    by 0x4FF1515: QApplication::notify(QObject*, QEvent*) (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5.1)
==18011==    by 0x63D138A: QCoreApplication::notifyInternal(QObject*, QEvent*) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.5.1)
==18011==  Address 0x10000002b is not stack'd, malloc'd or (recently) free'd
==18011== 
==18011== 
==18011== Process terminating with default action of signal 11 (SIGSEGV)
==18011==  Access not within mapped region at address 0x10000002B
==18011==    at 0x61E5624: QFutureInterfaceBase::queryState(QFutureInterfaceBase::State) const (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.5.1)
==18011==    by 0x559BBB5: QFuture<std::pair<Core::QueryHandler*, unsigned int> >::isRunning() const (in /usr/local/lib/albert/libalbertcore.so)
==18011==    by 0x559A2EC: QFuture<std::pair<Core::QueryHandler*, unsigned int> >::const_iterator::operator!=(QFuture<std::pair<Core::QueryHandler*, unsigned int> >::const_iterator const&) const (in /usr/local/lib/albert/libalbertcore.so)
==18011==    by 0x5597F90: Core::Query::QueryPrivate::onSyncHandlersFinsished() (in /usr/local/lib/albert/libalbertcore.so)
==18011==    by 0x55A08C5: QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (Core::Query::QueryPrivate::*)()>::call(void (Core::Query::QueryPrivate::*)(), Core::Query::QueryPrivate*, void**) (in /usr/local/lib/albert/libalbertcore.so)
==18011==    by 0x559EE8D: void QtPrivate::FunctionPointer<void (Core::Query::QueryPrivate::*)()>::call<QtPrivate::List<>, void>(void (Core::Query::QueryPrivate::*)(), Core::Query::QueryPrivate*, void**) (in /usr/local/lib/albert/libalbertcore.so)
==18011==    by 0x559D1D2: QtPrivate::QSlotObject<void (Core::Query::QueryPrivate::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (in /usr/local/lib/albert/libalbertcore.so)
==18011==    by 0x63FFBAE: QMetaObject::activate(QObject*, int, int, void**) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.5.1)
==18011==    by 0x61E80ED: QFutureWatcherBase::event(QEvent*) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.5.1)
==18011==    by 0x4FEC05B: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5.1)
==18011==    by 0x4FF1515: QApplication::notify(QObject*, QEvent*) (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5.1)
==18011==    by 0x63D138A: QCoreApplication::notifyInternal(QObject*, QEvent*) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.5.1)
==18011==  If you believe this happened as a result of a stack
==18011==  overflow in your program's main thread (unlikely but
==18011==  possible), you can try to increase the size of the
==18011==  main thread stack using the --main-stacksize= flag.
==18011==  The main thread stack size used in this run was 8388608.
==18011== 
==18011== HEAP SUMMARY:
==18011==     in use at exit: 8,025,090 bytes in 64,633 blocks
==18011==   total heap usage: 5,149,948 allocs, 5,085,315 frees, 813,418,603 bytes allocated
==18011== 
==18011== LEAK SUMMARY:
==18011==    definitely lost: 7,104 bytes in 27 blocks
==18011==    indirectly lost: 14,801 bytes in 631 blocks
==18011==      possibly lost: 2,517,000 bytes in 8,186 blocks
==18011==    still reachable: 5,247,921 bytes in 54,515 blocks
==18011==                       of which reachable via heuristic:
==18011==                         length64           : 148,952 bytes in 213 blocks
==18011==                         newarray           : 1,848 bytes in 34 blocks
==18011==                         multipleinheritance: 1,960 bytes in 4 blocks
==18011==         suppressed: 0 bytes in 0 blocks
==18011== Rerun with --leak-check=full to see details of leaked memory
==18011== 
==18011== For counts of detected and suppressed errors, rerun with: -v
==18011== Use --track-origins=yes to see where uninitialised values come from
==18011== ERROR SUMMARY: 25 errors from 10 contexts (suppressed: 0 from 0)
Killed
ManuelSchneid3r commented 7 years ago

Is this a debug build? Try a release build. Maybe dup #395

cmoud94 commented 7 years ago

I've tried both debug and release builds. Possibly the problem was caused while I was installing new version over older one. Then I've tried to completely remove all Albert files from system, build it again as release and install using checkinstall instead of make install and the problem is gone.

ManuelSchneid3r commented 7 years ago

okay, in case of problems reopen.

ManuelSchneid3r commented 7 years ago

@cmoud94 Is this really fixed for you? This is a dup #395 and #436. They are still not fixed.

ManuelSchneid3r commented 7 years ago

Please continue conversation at #395