Bug 166076 - Crash when attempting to build(f8) on a fresh imported project
Summary: Crash when attempting to build(f8) on a fresh imported project
Status: RESOLVED WORKSFORME
Alias: None
Product: kdevplatform
Classification: Developer tools
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-08 19:38 UTC by Kishore
Modified: 2008-12-28 15:04 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kishore 2008-07-08 19:38:12 UTC
Version:            (using Devel)
Installed from:    Compiled sources
Compiler:          gcc (GCC) 4.2.3 (Ubuntu 4.2.3-2ubuntu7) 
OS:                Linux

I just imported the playground/utils/knetworkmanager4 project and configured it with cmake support. The main project window was then missing the project toolview so i would first reset the area, then add the project to the build set. At this point the moment i initiate a build kdevelop would crash. Instead if i close kdevelop just before the build step and then restart kdevelop and initiate the build, it goes through fine. The backtrace of the crash follows:

Application: KDevelop (kdevelop), signal SIGSEGV
[Thread debugging using libthread_db enabled]
[New Thread 0x7f8af119c780 (LWP 8499)]
[New Thread 0x42403950 (LWP 8562)]
[New Thread 0x40abf950 (LWP 8500)]
[KCrash handler]
#5  Sublime::Area::wantToolView (this=0x750750, id=@0x7ffff91d7df0)
    at /usr/include/qt4/QtCore/qmap.h:424
#6  0x00007f8af09138ad in KDevelop::UiController::addToolViewToArea (
    this=0x6f5970, factory=0x10649b0, doc=0xff6d90, area=0x750750)
    at 
/media/ext_drive/devel/KDE/src/4/kdevplatform/shell/uicontroller.cpp:545
#7  0x00007f8af0913af5 in KDevelop::UiController::addToolView (this=0x6f5970, 
    name=<value optimized out>, factory=0x10649b0)
    at 
/media/ext_drive/devel/KDE/src/4/kdevplatform/shell/uicontroller.cpp:215
#8  0x00007f8ae1cb6975 in StandardOutputView::registerToolView (
    this=0x866120, title=@0x7ffff91d80f0, 
    type=KDevelop::IOutputView::HistoryView, icon=@0x7ffff91d8060)
    at 
/media/ext_drive/devel/KDE/src/4/kdevplatform/plugins/standardoutputview/standardoutputview.cpp:172
#9  0x00007f8ae1cb722c in StandardOutputView::standardToolView (
    this=0x866120, view=<value optimized out>)
    at 
/media/ext_drive/devel/KDE/src/4/kdevplatform/plugins/standardoutputview/standardoutputview.cpp:131
#10 0x00007f8ae90c71ad in KDevelop::OutputJob::startOutput (this=0xfc4b10)
    at 
/media/ext_drive/devel/KDE/src/4/kdevplatform/outputview/outputjob.cpp:56
#11 0x00007f8ae1ed22d1 in MakeJob::start (this=0xfc4b10)
    at 
/media/ext_drive/devel/KDE/src/4/kdevelop/buildtools/builders/makebuilder/makejob.cpp:109
#12 0x00007f8af0930e3d in KDevelop::RunController::registerJob (
    this=0x7cd810, job=0xfc4b10)
    at 
/media/ext_drive/devel/KDE/src/4/kdevplatform/shell/runcontroller.cpp:217
#13 0x00007f8ae31fb9da in ProjectManagerViewPlugin::executeBuild (
    this=0x8198a0, item=0x884b60)
    at 
/media/ext_drive/devel/KDE/src/4/kdevplatform/plugins/projectmanagerview/projectmanagerviewplugin.cpp:234
#14 0x00007f8ae31fbdb7 in ProjectManagerViewPlugin::buildItemsFromContextMenu
    (this=0x8198a0)
    at 
/media/ext_drive/devel/KDE/src/4/kdevplatform/plugins/projectmanagerview/projectmanagerviewplugin.cpp:328
#15 0x00007f8ae31fc4a3 in ProjectManagerViewPlugin::qt_metacall (
    this=0x8198a0, _c=QMetaObject::InvokeMetaMethod, 
    _id=<value optimized out>, _a=<value optimized out>)
    at 
/media/ext_drive/devel/KDE/build/4/kdevplatform/plugins/projectmanagerview/projectmanagerviewplugin.moc:87
#16 0x00007f8aee631286 in QMetaObject::activate ()
   from /usr/lib/libQtCore.so.4
#17 0x00007f8aea65dfa7 in QAction::triggered () from /usr/lib/libQtGui.so.4
#18 0x00007f8aea65e7b0 in QAction::activate () from /usr/lib/libQtGui.so.4
#19 0x00007f8aea9f3caa in ?? () from /usr/lib/libQtGui.so.4
#20 0x00007f8aef7c00c1 in KMenu::mouseReleaseEvent (this=0x7ffff91d9de0, 
    e=0x7ffff91d7df0)
    at /media/ext_drive/devel/KDE/src/4/kdelibs/kdeui/widgets/kmenu.cpp:452
#21 0x00007f8aea6b24e0 in QWidget::event () from /usr/lib/libQtGui.so.4
#22 0x00007f8aea9f1a21 in QMenu::event () from /usr/lib/libQtGui.so.4
#23 0x00007f8aea66454f in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#24 0x00007f8aea669329 in QApplication::notify () from /usr/lib/libQtGui.so.4
#25 0x00007f8aef701c9b in KApplication::notify (this=0x7ffff91dbaf0, 
    receiver=0x7ffff91d9de0, event=0x7ffff91d90c0)
    at 
/media/ext_drive/devel/KDE/src/4/kdelibs/kdeui/kernel/kapplication.cpp:311
#26 0x00007f8aee61d109 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#27 0x00007f8aea666455 in QApplicationPrivate::sendMouseEvent ()
   from /usr/lib/libQtGui.so.4
#28 0x00007f8aea6c891b in ?? () from /usr/lib/libQtGui.so.4
#29 0x00007f8aea6c766b in QApplication::x11ProcessEvent ()
   from /usr/lib/libQtGui.so.4
#30 0x00007f8aea6ed8f3 in ?? () from /usr/lib/libQtGui.so.4
#31 0x00007f8ae7b27262 in g_main_context_dispatch ()
   from /usr/lib/libglib-2.0.so.0
#32 0x00007f8ae7b2a516 in ?? () from /usr/lib/libglib-2.0.so.0
#33 0x00007f8ae7b2a9af in g_main_context_iteration ()
   from /usr/lib/libglib-2.0.so.0
#34 0x00007f8aee6463af in QEventDispatcherGlib::processEvents ()
   from /usr/lib/libQtCore.so.4
#35 0x00007f8aea6ed72f in ?? () from /usr/lib/libQtGui.so.4
#36 0x00007f8aee61c585 in QEventLoop::processEvents ()
   from /usr/lib/libQtCore.so.4
#37 0x00007f8aee61c6db in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#38 0x00007f8aea9f60e5 in QMenu::exec () from /usr/lib/libQtGui.so.4
#39 0x00007f8ae320215b in ProjectTreeView::popupContextMenu (this=0xe1ab70, 
    pos=@0x7ffff91dadc8)
    at 
/media/ext_drive/devel/KDE/src/4/kdevplatform/plugins/projectmanagerview/projecttreeview.cpp:264
#40 0x00007f8ae32023bb in ProjectTreeView::qt_metacall (this=0xe1ab70, 
    _c=QMetaObject::InvokeMetaMethod, _id=-115507728, _a=0x7ffff91da270)
    at 
/media/ext_drive/devel/KDE/build/4/kdevplatform/plugins/projectmanagerview/projecttreeview.moc:74
#41 0x00007f8aee631286 in QMetaObject::activate ()
   from /usr/lib/libQtCore.so.4
#42 0x00007f8aea6a42a2 in QWidget::customContextMenuRequested ()
   from /usr/lib/libQtGui.so.4
#43 0x00007f8aea6b29e1 in QWidget::event () from /usr/lib/libQtGui.so.4
#44 0x00007f8aea9b1a76 in QFrame::event () from /usr/lib/libQtGui.so.4
#45 0x00007f8aeaa36169 in QAbstractScrollArea::viewportEvent ()
   from /usr/lib/libQtGui.so.4
#46 0x00007f8aeaad1bb5 in QAbstractItemView::viewportEvent ()
   from /usr/lib/libQtGui.so.4
#47 0x00007f8aeab050db in QTreeView::viewportEvent ()
   from /usr/lib/libQtGui.so.4
#48 0x00007f8aeaa37308 in ?? () from /usr/lib/libQtGui.so.4
#49 0x00007f8aee61d40e in 
QCoreApplicationPrivate::sendThroughObjectEventFilters () from 
/usr/lib/libQtCore.so.4
#50 0x00007f8aea664520 in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#51 0x00007f8aea669b61 in QApplication::notify () from /usr/lib/libQtGui.so.4
#52 0x00007f8aef701c9b in KApplication::notify (this=0x7ffff91dbaf0, 
    receiver=0xf41620, event=0x7ffff91dadb0)
    at 
/media/ext_drive/devel/KDE/src/4/kdelibs/kdeui/kernel/kapplication.cpp:311
#53 0x00007f8aee61d109 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#54 0x00007f8aea6c8da7 in ?? () from /usr/lib/libQtGui.so.4
#55 0x00007f8aea6c766b in QApplication::x11ProcessEvent ()
   from /usr/lib/libQtGui.so.4
#56 0x00007f8aea6ed8f3 in ?? () from /usr/lib/libQtGui.so.4
#57 0x00007f8ae7b27262 in g_main_context_dispatch ()
   from /usr/lib/libglib-2.0.so.0
#58 0x00007f8ae7b2a516 in ?? () from /usr/lib/libglib-2.0.so.0
#59 0x00007f8ae7b2a9af in g_main_context_iteration ()
   from /usr/lib/libglib-2.0.so.0
#60 0x00007f8aee6463af in QEventDispatcherGlib::processEvents ()
   from /usr/lib/libQtCore.so.4
#61 0x00007f8aea6ed72f in ?? () from /usr/lib/libQtGui.so.4
#62 0x00007f8aee61c585 in QEventLoop::processEvents ()
   from /usr/lib/libQtCore.so.4
#63 0x00007f8aee61c6db in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#64 0x00007f8aee61e729 in QCoreApplication::exec ()
   from /usr/lib/libQtCore.so.4
#65 0x0000000000406fd3 in main (argc=1, argv=0x7ffff91dcaa8)
    at /media/ext_drive/devel/KDE/src/4/kdevelop/src/main.cpp:209
#0  0x00007f8ae9a3db81 in nanosleep () from /lib/libc.so.6
Comment 1 Dario Andres 2008-12-28 01:53:23 UTC
Have you experienced this bug again with a recent KDE (4.1.3 / 4.2beta2 / 4.2svn) and KDevelop version?  Thanks :)
Comment 2 Kishore 2008-12-28 04:41:01 UTC
I do not have a similar setup anymore but i do not experience a similar crash.
Comment 3 Dario Andres 2008-12-28 15:04:57 UTC
Well.. closing as WORKSFORME. Please, reopen this bug report if you experience the crash again with a recent KDE version and an updated KDevelop build. Thanks