$ valgrind cuelistapp --log-file="log" valgrind: cuelistapp: command not found nathan@acer:~/src/cuelistapp/build-cuelistapp-Desktop-Debug$ valgrind ./cuelistapp --log-file="log" ==29559== Memcheck, a memory error detector ==29559== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==29559== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==29559== Command: ./cuelistapp --log-file=log ==29559== --29559-- WARNING: unhandled x86-linux syscall: 383 --29559-- You may be able to write your own handler. --29559-- Read the file README_MISSING_SYSCALL_OR_IOCTL. --29559-- Nevertheless we consider this a bug. Please report --29559-- it at http://valgrind.org/support/bug_reports.html. QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-nathan' QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-nathan' QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-nathan' qt5ct: using qt5ct plugin qt5ct: D-Bus global menu: no ==29559== Conditional jump or move depends on uninitialised value(s) ==29559== at 0x11F4BC: PlaybackManager::go() (playbackmanager.cpp:42) ==29559== by 0x1121B1: MainWindow::on_btn_Go_clicked() (mainwindow.cpp:299) ==29559== by 0x11F9F6: MainWindow::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (moc_mainwindow.cpp:119) ==29559== by 0x11FB01: MainWindow::qt_metacall(QMetaObject::Call, int, void**) (moc_mainwindow.cpp:152) ==29559== by 0x5AFC9DB: QMetaObject::activate(QObject*, int, int, void**) (in /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5.11.1) ==29559== by 0x5AFCEEC: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (in /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5.11.1) ==29559== by 0x4B70DF8: QAbstractButton::clicked(bool) (in /usr/lib/i386-linux-gnu/libQt5Widgets.so.5.11.1) ==29559== by 0x4B71070: ??? (in /usr/lib/i386-linux-gnu/libQt5Widgets.so.5.11.1) ==29559== by 0x4B72723: ??? (in /usr/lib/i386-linux-gnu/libQt5Widgets.so.5.11.1) ==29559== by 0x4B728F8: QAbstractButton::mouseReleaseEvent(QMouseEvent*) (in /usr/lib/i386-linux-gnu/libQt5Widgets.so.5.11.1) ==29559== by 0x4ABA4C9: QWidget::event(QEvent*) (in /usr/lib/i386-linux-gnu/libQt5Widgets.so.5.11.1) ==29559== by 0x4B73DB9: QAbstractButton::event(QEvent*) (in /usr/lib/i386-linux-gnu/libQt5Widgets.so.5.11.1) ==29559== PlaybackManager::onGo(): invalid pointer m_currentCue