"kapptemplate --help" crashes. Backtrace: Thread 2 (Thread 0x7fffe963b700 (LWP 5794)): #0 0x00007ffff51e587d in poll () from /lib64/libc.so.6 #1 0x00007fffefc869a2 in _xcb_conn_wait () from /usr/lib64/libxcb.so.1 #2 0x00007fffefc8846f in xcb_wait_for_event () from /usr/lib64/libxcb.so.1 #3 0x00007fffeb361099 in QXcbEventReader::run() () from /usr/lib64/qt5/plugins/platforms/libqxcb.so #4 0x00007ffff5844516 in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5 #5 0x00007ffff4ced204 in start_thread () from /lib64/libpthread.so.0 #6 0x00007ffff51ee46d in clone () from /lib64/libc.so.6 Thread 1 (Thread 0x7ffff7e6d780 (LWP 5790)): #0 0x00007fffe0c92a93 in Breeze::StyleConfigData::self() () from /usr/lib64/qt5/plugins/styles/breeze.so #1 0x00007fffe0c7ac3c in Breeze::Style::Style() () from /usr/lib64/qt5/plugins/styles/breeze.so #2 0x00007fffe0c8a0d7 in Breeze::StylePlugin::create(QString const&) () from /usr/lib64/qt5/plugins/styles/breeze.so #3 0x00007ffff653364d in QStyleFactory::create(QString const&) () from /usr/lib64/libQt5Widgets.so.5 #4 0x00007ffff655a1b5 in QProxyStylePrivate::ensureBaseStyle() const () from /usr/lib64/libQt5Widgets.so.5 #5 0x00007ffff655ad65 in QProxyStyle::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5 #6 0x00007ffff64c94fc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5 #7 0x00007ffff64ce5d8 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5 #8 0x00007ffff59ed34d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5 #9 0x00007ffff5a22712 in QObjectPrivate::setParent_helper(QObject*) () from /usr/lib64/libQt5Core.so.5 #10 0x00007ffff5a22d83 in QObject::~QObject() () from /usr/lib64/libQt5Core.so.5 #11 0x00007fffe0c77179 in Breeze::Style::~Style() () from /usr/lib64/qt5/plugins/styles/breeze.so #12 0x00007ffff5a19b23 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5 #13 0x00007ffff5a1a68f in QObject::destroyed(QObject*) () from /usr/lib64/libQt5Core.so.5 #14 0x00007ffff5a22e79 in QObject::~QObject() () from /usr/lib64/libQt5Core.so.5 #15 0x00007fffe0c89fe7 in Breeze::StylePlugin::~StylePlugin() () from /usr/lib64/qt5/plugins/styles/breeze.so #16 0x00007ffff59e3a51 in QLibraryPrivate::unload(QLibraryPrivate::UnloadFlag) () from /usr/lib64/libQt5Core.so.5 #17 0x00007ffff59ddf63 in QFactoryLoaderPrivate::~QFactoryLoaderPrivate() () from /usr/lib64/libQt5Core.so.5 #18 0x00007ffff59de0e9 in QFactoryLoaderPrivate::~QFactoryLoaderPrivate() () from /usr/lib64/libQt5Core.so.5 #19 0x00007ffff5a22d97 in QObject::~QObject() () from /usr/lib64/libQt5Core.so.5 #20 0x00007ffff59dd051 in QFactoryLoader::~QFactoryLoader() () from /usr/lib64/libQt5Core.so.5 #21 0x00007ffff6533b09 in (anonymous namespace)::Q_QGS_loader::innerFunction()::Holder::~Holder() () from /usr/lib64/libQt5Widgets.so.5 #22 0x00007ffff513e679 in __run_exit_handlers () from /lib64/libc.so.6 #23 0x00007ffff513e6c5 in exit () from /lib64/libc.so.6 #24 0x00007ffff5852e2b in QCommandLineParser::showHelp(int) () from /usr/lib64/libQt5Core.so.5 #25 0x00007ffff5852f20 in QCommandLineParser::process(QStringList const&) () from /usr/lib64/libQt5Core.so.5 #26 0x00007ffff585300f in QCommandLineParser::process(QCoreApplication const&) () from /usr/lib64/libQt5Core.so.5 #27 0x000000000040d915 in main () Reproducible: Always Installed from Git master.
I tried those commands: $ kapptemplate --help $ kapptemplate --version kapptemplate 0.1 $ kapptemplate --author They work fine without crash. I close this bug. Feel free to reopen if it still crashes for you.
Works here as well on Fedora 28 with kapptemplate-17.12.3-1.fc28.x86_64.