https://bugs.kde.org/show_bug.cgi?id=376833

Francis Herne <m...@flherne.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |VERIFIED
           Severity|normal                      |crash
                 CC|                            |m...@flherne.uk

--- Comment #3 from Francis Herne <m...@flherne.uk> ---
Reproducable here, with debug symbols.

Note that it crashes (for me) when trying to *build* the project after entering
that as an argument, simply setting it isn't sufficient.

I'll have a look at this later unless someone's quicker...

==============================

ASSERT: "!strargs.isEmpty()" in file
/home/flh/projects/kdevelop/projectmanagers/custom-buildsystem/custombuildjob.cpp,
line 134

Thread 1 "kdevelop" received signal SIGABRT, Aborted.
0x00007ffff02e904f in raise () from /usr/lib/libc.so.6
(gdb) bt
#0  0x00007ffff02e904f in raise () at /usr/lib/libc.so.6
#1  0x00007ffff02ea47a in abort () at /usr/lib/libc.so.6
#2  0x00007ffff0f8ae21 in  () at /usr/lib/libQt5Core.so.5
#3  0x00007ffff0f863de in  () at /usr/lib/libQt5Core.so.5
#4  0x00007fffaabd0040 in CustomBuildJob::start() (this=0x40543f0)
    at
/home/flh/projects/kdevelop/projectmanagers/custom-buildsystem/custombuildjob.cpp:134
#5  0x00007ffff664206a in
KDevelop::ExecuteCompositeJobPrivate::startNextJob(KJob*) (this=0x42a1ee0,
job=0x40543f0)
    at /home/flh/projects/kdevplatform/util/executecompositejob.cpp:63
#6  0x00007ffff66420b4 in KDevelop::ExecuteCompositeJob::start()
(this=0x42591c0)
    at /home/flh/projects/kdevplatform/util/executecompositejob.cpp:69
#7  0x00007fffed211fcd in KDevelop::BuilderJob::start() (this=0x42591c0)
    at /home/flh/projects/kdevplatform/project/builderjob.cpp:269
#8  0x00007ffff7a8ddc9 in KDevelop::RunController::registerJob(KJob*)
(this=0xb58ab0, job=0x42591c0) at
/home/flh/projects/kdevplatform/shell/runcontroller.cpp:623
#9  0x00007fffc0d0be43 in
ProjectManagerViewPlugin::runBuilderJob(KDevelop::BuilderJob::BuildType,
QList<KDevelop::ProjectBaseItem*>) (this=
    0x1421fb0, type=KDevelop::BuilderJob::Build, items=...)
    at
/home/flh/projects/kdevplatform/plugins/projectmanagerview/projectmanagerviewplugin.cpp:400
#10 0x00007fffc0d0b9fe in ProjectManagerViewPlugin::buildItemsFromContextMenu()
(this=0x1421fb0)
    at
/home/flh/projects/kdevplatform/plugins/projectmanagerview/projectmanagerviewplugin.cpp:352
#11 0x00007fffc0d1629a in QtPrivate::FunctorCall<QtPrivate::IndexesList<>,
QtPrivate::List<>, void, void (ProjectManagerViewPlugin::*)()>::call(void
(ProjectManagerViewPlugin::*)(), ProjectManagerViewPlugin*, void**) (f=(void
(ProjectManagerViewPlugin::*)(ProjectManagerViewPlugin * const)) 0x7fffc0d0b9c2
<ProjectManagerViewPlugin::buildItemsFromContextMenu()>, o=0x1421fb0,
arg=0x7fffffff9ce0)
    at /usr/include/qt/QtCore/qobjectdefs_impl.h:143
#12 0x00007fffc0d1588c in QtPrivate::FunctionPointer<void
(ProjectManagerViewPlugin::*)()>::call<QtPrivate::List<>, void>(void
(ProjectManagerViewPlugin::*)(), ProjectManagerViewPlugin*, void**) (f=(void
(ProjectManagerViewPlugin::*)(ProjectManagerViewPlugin * const)) 0x7fffc0d0b9c2
<ProjectManagerViewPlugin::buildItemsFromContextMenu()>, o=0x1421fb0,
arg=0x7fffffff9ce0) at /usr/include/qt/QtCore/qobjectdefs_impl.h:162
#13 0x00007fffc0d142d1 in QtPrivate::QSlotObject<void
(ProjectManagerViewPlugin::*)(), QtPrivate::List<>, void>::impl(int,
QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1,
this_=0x3eda350, r=0x1421fb0, a=0x7fffffff9ce0, ret=0x0)
    at /usr/include/qt/QtCore/qobject_impl.h:120
#14 0x00007ffff11ab0be in QMetaObject::activate(QObject*, int, int, void**) ()
    at /usr/lib/libQt5Core.so.5
#15 0x00007ffff1e5ac92 in QAction::triggered(bool) () at
/usr/lib/libQt5Widgets.so.5
#16 0x00007ffff1e5d3f0 in QAction::activate(QAction::ActionEvent) ()
    at /usr/lib/libQt5Widgets.so.5
#17 0x00007ffff1fccf6a in  () at /usr/lib/libQt5Widgets.so.5
#18 0x00007ffff1fd4304 in  () at /usr/lib/libQt5Widgets.so.5
#19 0x00007ffff1fd51a0 in QMenu::mouseReleaseEvent(QMouseEvent*) ()
    at /usr/lib/libQt5Widgets.so.5
#20 0x00007ffff1ea8cd8 in QWidget::event(QEvent*) () at
/usr/lib/libQt5Widgets.so.5
#21 0x00007ffff1fd7513 in QMenu::event(QEvent*) () at
/usr/lib/libQt5Widgets.so.5
#22 0x00007ffff1e6134c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
()
    at /usr/lib/libQt5Widgets.so.5
#23 0x00007ffff1e698c5 in QApplication::notify(QObject*, QEvent*) ()
    at /usr/lib/libQt5Widgets.so.5
#24 0x00007ffff117f440 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
()
    at /usr/lib/libQt5Core.so.5
---Type <return> to continue, or q <return> to quit---
#25 0x00007ffff1e680cd in QApplicationPrivate::sendMouseEvent(QWidget*,
QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) ()
    at /usr/lib/libQt5Widgets.so.5
#26 0x00007ffff1ec37f6 in  () at /usr/lib/libQt5Widgets.so.5
#27 0x00007ffff1ec5e03 in  () at /usr/lib/libQt5Widgets.so.5
#28 0x00007ffff1e6134c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
()
    at /usr/lib/libQt5Widgets.so.5
#29 0x00007ffff1e68b61 in QApplication::notify(QObject*, QEvent*) ()
    at /usr/lib/libQt5Widgets.so.5
#30 0x00007ffff117f440 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
()
    at /usr/lib/libQt5Core.so.5
#31 0x00007ffff16ccd53 in
QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*)
() at /usr/lib/libQt5Gui.so.5
#32 0x00007ffff16ce8c5 in
QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*)
() at /usr/lib/libQt5Gui.so.5
#33 0x00007ffff16aa44b in
QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() at /usr/lib/libQt5Gui.so.5
#34 0x00007fffd7d419e0 in  () at /usr/lib/libQt5XcbQpa.so.5
#35 0x00007fffe4b705a7 in g_main_context_dispatch () at
/usr/lib/libglib-2.0.so.0
#36 0x00007fffe4b70810 in  () at /usr/lib/libglib-2.0.so.0
#37 0x00007fffe4b708bc in g_main_context_iteration () at
/usr/lib/libglib-2.0.so.0
#38 0x00007ffff11d404f in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at /usr/lib/libQt5Core.so.5
#39 0x00007ffff117d89a in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
    at /usr/lib/libQt5Core.so.5
#40 0x00007ffff1fd202d in QMenu::exec(QPoint const&, QAction*) ()
    at /usr/lib/libQt5Widgets.so.5
#41 0x00007fffc0d20dfa in ProjectTreeView::popupContextMenu(QPoint const&)
(this=0x230b300, pos=...)
    at
/home/flh/projects/kdevplatform/plugins/projectmanagerview/projecttreeview.cpp:393
#42 0x00007fffc0d25a0c in QtPrivate::FunctorCall<QtPrivate::IndexesList<0>,
QtPrivate::List<QPoint const&>, void, void (ProjectTreeView::*)(QPoint
const&)>::call(void (ProjectTreeView::*)(QPoint const&), ProjectTreeView*,
void**) (f=
    (void (ProjectTreeView::*)(ProjectTreeView * const, const QPoint &))
0x7fffc0d2049e <ProjectTreeView::popupContextMenu(QPoint const&)>, o=0x230b300,
arg=0x7fffffffafd0)
    at /usr/include/qt/QtCore/qobjectdefs_impl.h:143
#43 0x00007fffc0d2542a in QtPrivate::FunctionPointer<void
(ProjectTreeView::*)(QPoint const&)>::call<QtPrivate::List<QPoint const&>,
void>(void (ProjectTreeView::*)(QPoint const&), ProjectTreeView*, void**) (f=
    (void (ProjectTreeView::*)(ProjectTreeView * const, const QPoint &))
0x7fffc0d2049e <ProjectTreeView::popupContextMenu(QPoint const&)>, o=0x230b300,
arg=0x7fffffffafd0)
    at /usr/include/qt/QtCore/qobjectdefs_impl.h:162

#44 0x00007fffc0d243f1 in QtPrivate::QSlotObject<void
(ProjectTreeView::*)(QPoint const&), QtPrivate::List<QPoint const&>,
void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*)
(which=1, this_=0x23155b0, r=0x230b300, a=0x7fffffffafd0, ret=0x0)
    at /usr/include/qt/QtCore/qobject_impl.h:120
#45 0x00007ffff11ab0be in QMetaObject::activate(QObject*, int, int, void**) ()
    at /usr/lib/libQt5Core.so.5
#46 0x00007ffff1e8ec15 in QWidget::customContextMenuRequested(QPoint const&) ()
    at /usr/lib/libQt5Widgets.so.5
#47 0x00007ffff1ea9970 in QWidget::event(QEvent*) () at
/usr/lib/libQt5Widgets.so.5
#48 0x00007ffff1f90ece in QFrame::event(QEvent*) () at
/usr/lib/libQt5Widgets.so.5
#49 0x00007ffff20b7ed3 in QAbstractItemView::viewportEvent(QEvent*) ()
    at /usr/lib/libQt5Widgets.so.5
#50 0x00007ffff20f797c in QTreeView::viewportEvent(QEvent*) ()
    at /usr/lib/libQt5Widgets.so.5
---Type <return> to continue, or q <return> to quit---
#51 0x00007ffff117f1a1 in
QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () at
/usr/lib/libQt5Core.so.5
#52 0x00007ffff1e61325 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
()
    at /usr/lib/libQt5Widgets.so.5
#53 0x00007ffff1e69cc0 in QApplication::notify(QObject*, QEvent*) ()
    at /usr/lib/libQt5Widgets.so.5
#54 0x00007ffff117f440 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
()
    at /usr/lib/libQt5Core.so.5
#55 0x00007ffff1ec353b in  () at /usr/lib/libQt5Widgets.so.5
#56 0x00007ffff1ec5e03 in  () at /usr/lib/libQt5Widgets.so.5
#57 0x00007ffff1e6134c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
()
    at /usr/lib/libQt5Widgets.so.5
#58 0x00007ffff1e68b61 in QApplication::notify(QObject*, QEvent*) ()
    at /usr/lib/libQt5Widgets.so.5
#59 0x00007ffff117f440 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
()
    at /usr/lib/libQt5Core.so.5
#60 0x00007ffff16ccd53 in
QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*)
() at /usr/lib/libQt5Gui.so.5
#61 0x00007ffff16ce8c5 in
QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*)
() at /usr/lib/libQt5Gui.so.5
#62 0x00007ffff16aa44b in
QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() at /usr/lib/libQt5Gui.so.5
#63 0x00007fffd7d419e0 in  () at /usr/lib/libQt5XcbQpa.so.5
#64 0x00007fffe4b705a7 in g_main_context_dispatch () at
/usr/lib/libglib-2.0.so.0
#65 0x00007fffe4b70810 in  () at /usr/lib/libglib-2.0.so.0
#66 0x00007fffe4b708bc in g_main_context_iteration () at
/usr/lib/libglib-2.0.so.0
#67 0x00007ffff11d404f in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at /usr/lib/libQt5Core.so.5
#68 0x00007ffff117d89a in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
    at /usr/lib/libQt5Core.so.5
#69 0x00007ffff1185de4 in QCoreApplication::exec() () at
/usr/lib/libQt5Core.so.5
#70 0x000000000040f341 in main(int, char**) (argc=3, argv=0x7fffffffe148)
    at /home/flh/projects/kdevelop/app/main.cpp:763

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to