[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-bugs
Subject:    [Bug 253380] New: eventloop lockup in GitPlugin::getLsFiles when
From:       Milian Wolff <mail () milianw ! de>
Date:       2010-10-06 11:03:48
Message-ID: bug-253380-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]

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

           Summary: eventloop lockup in GitPlugin::getLsFiles when
                    deleting whole project folder opened in kdev
           Product: kdevplatform
           Version: SVN
          Platform: Unlisted Binaries
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: NOR
         Component: git
        AssignedTo: kdevelop-bugs@kdevelop.org
        ReportedBy: mail@milianw.de


Version:           SVN
OS:                Linux

I think this should be reproducible (no time for that right now). Seems like
the git jobs cannot cope with the folder to work on being removed completely.


Reproducible: Didn't try

Steps to Reproduce:
- had a sub folder of a project in kdevelop open as top-level project, it was
git-tracked
- git pulled, the sub folder was removed, hence the project in kdevelop was
empty
- I wanted to close it, hence requested ctx menu
=> lockup



(gdb) bt
#0  0x00007fc398a21f83 in *__GI___poll (fds=<value optimized out>, nfds=<value
optimized out>, timeout=29) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fc39303f4a9 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007fc39303f8fc in g_main_context_iteration () from
/lib/libglib-2.0.so.0
#3  0x00007fc39a77d183 in QEventDispatcherGlib::processEvents (this=0xd6f060,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#4  0x00007fc39995197e in QGuiEventDispatcherGlib::processEvents
(this=0x7fc3800251f0, flags=<value optimized out>) at
kernel/qguieventdispatcher_glib.cpp:204
#5  0x00007fc39a74fdd2 in QEventLoop::processEvents (this=<value optimized
out>, flags=DWARF-2 expression error: DW_OP_reg operations must be used either
alone or in conjuction with DW_OP_piece.
) at kernel/qeventloop.cpp:149
#6  0x00007fc39a7501bc in QEventLoop::exec (this=0x7ffffab02f20, flags=DWARF-2
expression error: DW_OP_reg operations must be used either alone or in
conjuction with DW_OP_piece.
) at kernel/qeventloop.cpp:201
#7  0x00007fc39e543f26 in KJob::exec() () from /usr/lib/libkdecore.so.5
#8  0x00007fc3846faff1 in GitPlugin::getLsFiles (this=0x7fc38000da00,
directory=..., args=QList<QString> = {...},
verbosity=KDevelop::OutputJob::Silent)
    at /home/milian/projects/kde4/kdevplatform/plugins/git/gitplugin.cpp:1000
#9  0x00007fc3846f4c22 in GitPlugin::isVersionControlled (this=0x7fc38000da00,
path=...)
    at /home/milian/projects/kde4/kdevplatform/plugins/git/gitplugin.cpp:263
#10 0x00007fc3972eee0c in
KDevelop::VcsPluginHelper::VcsPluginHelperPrivate::createMenu (this=0x1d902a0)
    at /home/milian/projects/kde4/kdevplatform/vcs/vcspluginhelper.cpp:126
#11 0x00007fc3972ec0a4 in KDevelop::VcsPluginHelper::commonActions
(this=0x12c0d10) at
/home/milian/projects/kde4/kdevplatform/vcs/vcspluginhelper.cpp:221
#12 0x00007fc397307036 in
KDevelop::DistributedVersionControlPlugin::contextMenuExtension
(this=0x7fc38000da00, context=0x7ffffab03420)
    at /home/milian/projects/kde4/kdevplatform/vcs/dvcs/dvcsplugin.cpp:123
#13 0x00007fc39df0f0b9 in
KDevelop::PluginController::queryPluginsForContextMenuExtensions
(this=0xfeca50, context=0x7ffffab03420)
    at /home/milian/projects/kde4/kdevplatform/shell/plugincontroller.cpp:606
#14 0x00007fc3718f9f59 in ProjectTreeView::popupContextMenu (this=0x2655d00,
pos=...)
    at
/home/milian/projects/kde4/kdevplatform/plugins/projectmanagerview/projecttreeview.cpp:184
#15 0x00007fc3718fad40 in ProjectTreeView::qt_metacall (this=0x2655d00,
_c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7ffffab03710)
    at
/home/milian/projects/.build/kde4/kdevplatform/plugins/projectmanagerview/projecttreeview.moc:81
#16 0x00007fc39a768da7 in QMetaObject::activate (sender=0x2655d00, m=<value
optimized out>, local_signal_index=<value optimized out>,
argv=0xffffffffffffffff)
    at kernel/qobject.cpp:3280
#17 0x00007fc3998e88d2 in QWidget::customContextMenuRequested
(this=0x7fc3800251f0, _t1=<value optimized out>) at
.moc/release-shared/moc_qwidget.cpp:360
#18 0x00007fc3998f5852 in QWidget::event (this=0x2655d00, event=0x7ffffab04360)
at kernel/qwidget.cpp:8357
#19 0x00007fc399cbbe76 in QFrame::event (this=0x2655d00, e=0x7ffffab04360) at
widgets/qframe.cpp:557
#20 0x00007fc399df3abb in QAbstractItemView::viewportEvent (this=0x2655d00,
event=0x7ffffab04360) at itemviews/qabstractitemview.cpp:1619
#21 0x00007fc399e318f5 in QTreeView::viewportEvent (this=0x2655d00,
event=0x7ffffab04360) at itemviews/qtreeview.cpp:1256
#22 0x00007fc39a7508d7 in
QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized
out>, receiver=0x2657a00, event=0x7ffffab04360)
    at kernel/qcoreapplication.cpp:847
#23 0x00007fc39989f6bc in QApplicationPrivate::notify_helper (this=0xd92770,
receiver=0x2657a00, e=0x7ffffab04360) at kernel/qapplication.cpp:4392
#24 0x00007fc3998a53c1 in QApplication::notify (this=0x7ffffab05240,
receiver=0x2657a00, e=0x7ffffab04360) at kernel/qapplication.cpp:4038
#25 0x00007fc39af33536 in KApplication::notify(QObject*, QEvent*) () from
/usr/lib/libkdeui.so.5
#26 0x0000000000404bcc in KDevelopApplication::notify (this=0x7ffffab05240,
receiver=0x2657a00, event=0x7ffffab04360)
    at /home/milian/projects/kde4/kdevelop/app/main.cpp:87
#27 0x00007fc39a7510ac in QCoreApplication::notifyInternal
(this=0x7ffffab05240, receiver=0x2657a00, event=0x7ffffab04360) at
kernel/qcoreapplication.cpp:732
---Type <return> to continue, or q <return> to quit---
#28 0x00007fc3999274f2 in QETWidget::translateMouseEvent (this=<value optimized
out>, event=<value optimized out>) at kernel/qapplication_x11.cpp:4408
#29 0x00007fc399925ddc in QApplication::x11ProcessEvent (this=<value optimized
out>, event=0x7ffffab04cb0) at kernel/qapplication_x11.cpp:3536
#30 0x00007fc399952012 in x11EventSourceDispatch (s=0xd96520, callback=<value
optimized out>, user_data=<value optimized out>)
    at kernel/qguieventdispatcher_glib.cpp:146
#31 0x00007fc39303b8c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#32 0x00007fc39303f748 in ?? () from /lib/libglib-2.0.so.0
#33 0x00007fc39303f8fc in g_main_context_iteration () from
/lib/libglib-2.0.so.0
#34 0x00007fc39a77d183 in QEventDispatcherGlib::processEvents (this=0xd6f060,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#35 0x00007fc39995197e in QGuiEventDispatcherGlib::processEvents
(this=0x7fc3800251f0, flags=<value optimized out>) at
kernel/qguieventdispatcher_glib.cpp:204
#36 0x00007fc39a74fdd2 in QEventLoop::processEvents (this=<value optimized
out>, flags=DWARF-2 expression error: DW_OP_reg operations must be used either
alone or in conjuction with DW_OP_piece.
) at kernel/qeventloop.cpp:149
#37 0x00007fc39a7501bc in QEventLoop::exec (this=0x7ffffab04fe0, flags=DWARF-2
expression error: DW_OP_reg operations must be used either alone or in
conjuction with DW_OP_piece.
) at kernel/qeventloop.cpp:201
#38 0x00007fc39a75426b in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1009
#39 0x000000000040a8e9 in main (argc=3, argv=0x7ffffab06cf8) at
/home/milian/projects/kde4/kdevelop/app/main.cpp:416
(gdb)

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic