D17278: Meson plugin: First working version

Gleb Popov noreply at phabricator.kde.org
Thu Jan 3 18:46:24 GMT 2019


arrowd added a comment.


  Tried this out on FreeBSD with KDevelop master.
  
  The project imported successfully, but trying to build caused crash:
  
    Application: KDevelop (kdevelop), signal: Segmentation fault
    [KCrash Handler]
    #8  0x0000000820c4f721 in MesonBuilder::build(KDevelop::ProjectBaseItem*) (this=0x820069ac0, item=0x82043b070) at /home/arr/projects/kdevelop/plugins/meson/mesonbuilder.cpp:214
    #9  0x0000000804784796 in KDevelop::BuilderJobPrivate::addJob(KDevelop::BuilderJob::BuildType, KDevelop::ProjectBaseItem*) (this=0x82b52e3e0, t=KDevelop::BuilderJob::Build, item=0x82043b070) at /home/arr/projects/kdevelop/kdevplatform/project/builderjob.cpp:122
    #10 0x0000000804784e39 in KDevelop::BuilderJob::addItems(KDevelop::BuilderJob::BuildType, QList<KDevelop::ProjectBaseItem*> const&) (this=0x8204c00f0, t=KDevelop::BuilderJob::Build, items=...) at /home/arr/projects/kdevelop/kdevplatform/project/builderjob.cpp:157
    #11 0x000000081ea6d136 in ProjectManagerViewPlugin::runBuilderJob(KDevelop::BuilderJob::BuildType, QList<KDevelop::ProjectBaseItem*> const&) (this=0x818f41a10, type=KDevelop::BuilderJob::Build, items=...) at /home/arr/projects/kdevelop/plugins/projectmanagerview/projectmanagerviewplugin.cpp:459
    #12 0x000000081ea6c1ca in ProjectManagerViewPlugin::buildItemsFromContextMenu() (this=0x818f41a10) at /home/arr/projects/kdevelop/plugins/projectmanagerview/projectmanagerviewplugin.cpp:414
    #13 0x000000081ea74a9e in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (ProjectManagerViewPlugin::*)()>::call(void (ProjectManagerViewPlugin::*)(), ProjectManagerViewPlugin*, void**) (f=(void (ProjectManagerViewPlugin::*)(ProjectManagerViewPlugin * const)) 0x81ea6c190 <ProjectManagerViewPlugin::buildItemsFromContextMenu()>, o=0x818f41a10, arg=0x7fffffffa410) at /usr/local/include/qt5/QtCore/qobjectdefs_impl.h:152
    #14 0x000000081ea74a03 in QtPrivate::FunctionPointer<void (ProjectManagerViewPlugin::*)()>::call<QtPrivate::List<>, void>(void (ProjectManagerViewPlugin::*)(), ProjectManagerViewPlugin*, void**) (f=(void (ProjectManagerViewPlugin::*)(ProjectManagerViewPlugin * const)) 0x81ea6c190 <ProjectManagerViewPlugin::buildItemsFromContextMenu()>, o=0x818f41a10, arg=0x7fffffffa410) at /usr/local/include/qt5/QtCore/qobjectdefs_impl.h:185
    #15 0x000000081ea748e6 in QtPrivate::QSlotObject<void (ProjectManagerViewPlugin::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0x82b4d1040, r=0x818f41a10, a=0x7fffffffa410, ret=0x0) at /usr/local/include/qt5/QtCore/qobjectdefs_impl.h:414
    #16 0x00000008042580be in QMetaObject::activate(QObject*, int, int, void**) () at /usr/local/lib/qt5/libQt5Core.so.5
    #17 0x000000080307562b in QAction::activate(QAction::ActionEvent) () at /usr/local/lib/qt5/libQt5Widgets.so.5
    #18 0x00000008031e3900 in  () at /usr/local/lib/qt5/libQt5Widgets.so.5
    #19 0x00000008031e10ce in  () at /usr/local/lib/qt5/libQt5Widgets.so.5
    #20 0x00000008031e7db3 in QMenu::mouseReleaseEvent(QMouseEvent*) () at /usr/local/lib/qt5/libQt5Widgets.so.5
    #21 0x00000008030b64e0 in QWidget::event(QEvent*) () at /usr/local/lib/qt5/libQt5Widgets.so.5
    #22 0x00000008031e8481 in QMenu::event(QEvent*) () at /usr/local/lib/qt5/libQt5Widgets.so.5
    #23 0x000000080307dee1 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/local/lib/qt5/libQt5Widgets.so.5
    #24 0x0000000803080b63 in QApplication::notify(QObject*, QEvent*) () at /usr/local/lib/qt5/libQt5Widgets.so.5
    #25 0x0000000804226ef1 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/local/lib/qt5/libQt5Core.so.5
    #26 0x000000080307e815 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () at /usr/local/lib/qt5/libQt5Widgets.so.5
    #27 0x00000008030d4771 in  () at /usr/local/lib/qt5/libQt5Widgets.so.5
    #28 0x00000008030d3246 in  () at /usr/local/lib/qt5/libQt5Widgets.so.5
    #29 0x000000080307dee1 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/local/lib/qt5/libQt5Widgets.so.5
    #30 0x000000080307f27d in QApplication::notify(QObject*, QEvent*) () at /usr/local/lib/qt5/libQt5Widgets.so.5
    #31 0x0000000804226ef1 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/local/lib/qt5/libQt5Core.so.5
    #32 0x00000008036025a2 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /usr/local/lib/qt5/libQt5Gui.so.5
    #33 0x00000008035e958c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/local/lib/qt5/libQt5Gui.so.5
    #34 0x00000008136a6baf in  () at /usr/local/lib/qt5/libQt5XcbQpa.so.5
    #35 0x0000000805bf6b77 in g_main_context_dispatch () at /usr/local/lib/libglib-2.0.so.0
    #36 0x0000000805bf6f03 in  () at /usr/local/lib/libglib-2.0.so.0
    #37 0x0000000805bf6fb4 in g_main_context_iteration () at /usr/local/lib/libglib-2.0.so.0
    #38 0x000000080427bda6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/local/lib/qt5/libQt5Core.so.5
    #39 0x0000000804222a3e in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/local/lib/qt5/libQt5Core.so.5
    #40 0x00000008031e659b in QMenu::exec(QPoint const&, QAction*) () at /usr/local/lib/qt5/libQt5Widgets.so.5
    #41 0x000000081ea84b3a in ProjectTreeView::popupContextMenu(QPoint const&) (this=0x81fd296c0, pos=...) at /home/arr/projects/kdevelop/plugins/projectmanagerview/projecttreeview.cpp:385
    #42 0x000000081ea89009 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 &)) 0x81ea842b0 <ProjectTreeView::popupContextMenu(QPoint const&)>, o=0x81fd296c0, arg=0x7fffffffb610) at /usr/local/include/qt5/QtCore/qobjectdefs_impl.h:152
    #43 0x000000081ea88f73 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 &)) 0x81ea842b0 <ProjectTreeView::popupContextMenu(QPoint const&)>, o=0x81fd296c0, arg=0x7fffffffb610) at /usr/local/include/qt5/QtCore/qobjectdefs_impl.h:185
    #44 0x000000081ea88e96 in QtPrivate::QSlotObject<void (ProjectTreeView::*)(QPoint const&), QtPrivate::List<QPoint const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0x81fd32980, r=0x81fd296c0, a=0x7fffffffb610, ret=0x0) at /usr/local/include/qt5/QtCore/qobjectdefs_impl.h:414
    #45 0x00000008042580be in QMetaObject::activate(QObject*, int, int, void**) () at /usr/local/lib/qt5/libQt5Core.so.5
    #46 0x00000008030b7409 in QWidget::event(QEvent*) () at /usr/local/lib/qt5/libQt5Widgets.so.5
    #47 0x000000080315569d in QFrame::event(QEvent*) () at /usr/local/lib/qt5/libQt5Widgets.so.5
    #48 0x00000008032c4d5d in QAbstractItemView::viewportEvent(QEvent*) () at /usr/local/lib/qt5/libQt5Widgets.so.5
    #49 0x000000080332df45 in QTreeView::viewportEvent(QEvent*) () at /usr/local/lib/qt5/libQt5Widgets.so.5
    #50 0x0000000804227194 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () at /usr/local/lib/qt5/libQt5Core.so.5
    #51 0x000000080307decc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/local/lib/qt5/libQt5Widgets.so.5
    #52 0x00000008030803a2 in QApplication::notify(QObject*, QEvent*) () at /usr/local/lib/qt5/libQt5Widgets.so.5
    #53 0x0000000804226ef1 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/local/lib/qt5/libQt5Core.so.5
    #54 0x00000008030d4b90 in  () at /usr/local/lib/qt5/libQt5Widgets.so.5
    #55 0x00000008030d3246 in  () at /usr/local/lib/qt5/libQt5Widgets.so.5
    #56 0x000000080307dee1 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/local/lib/qt5/libQt5Widgets.so.5
    #57 0x000000080307f27d in QApplication::notify(QObject*, QEvent*) () at /usr/local/lib/qt5/libQt5Widgets.so.5
    #58 0x0000000804226ef1 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/local/lib/qt5/libQt5Core.so.5
    #59 0x00000008036025a2 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /usr/local/lib/qt5/libQt5Gui.so.5
    #60 0x00000008035e958c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/local/lib/qt5/libQt5Gui.so.5
    #61 0x00000008136a6baf in  () at /usr/local/lib/qt5/libQt5XcbQpa.so.5
    #62 0x0000000805bf6b77 in g_main_context_dispatch () at /usr/local/lib/libglib-2.0.so.0
    #63 0x0000000805bf6f03 in  () at /usr/local/lib/libglib-2.0.so.0
    #64 0x0000000805bf6fb4 in g_main_context_iteration () at /usr/local/lib/libglib-2.0.so.0
    #65 0x000000080427bda6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/local/lib/qt5/libQt5Core.so.5
    #66 0x0000000804222a3e in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/local/lib/qt5/libQt5Core.so.5
    #67 0x00000008042274ee in QCoreApplication::exec() () at /usr/local/lib/qt5/libQt5Core.so.5
    #68 0x0000000000215fd8 in main(int, char**) (argc=1, argv=0x7fffffffe630) at /home/arr/projects/kdevelop/app/main.cpp:846
    [Inferior 1 (process 8040) detached]

REPOSITORY
  R32 KDevelop

REVISION DETAIL
  https://phabricator.kde.org/D17278

To: dmensinger, apol
Cc: arrowd, rjvbb, flherne, rizzitello, yurchor, kde-doc-english, kdevelop-devel, glebaccon, hase, antismap, iodelay, skadinna, geetamc, Pilzschaf, akshaydeo, surgenight
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20190103/e95f99a9/attachment-0001.html>


More information about the KDevelop-devel mailing list