Summary: | Hangs when loading previous session | ||
---|---|---|---|
Product: | [Applications] kdevelop | Reporter: | Mark Stanton <mark> |
Component: | Session support | Assignee: | kdevelop-bugs-null |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | Keywords: | investigated, triaged |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | 4.3.0 | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Mark Stanton
2012-04-02 15:21:59 UTC
could it be related to https://bugs.kde.org/show_bug.cgi?id=295766 ? also: please show the output of "thread apply all bt" in gdb. I did look at that bug before reporting this one. I don't think it is (directly) related because a) I don't get any errors b) I don't get any indication that indexing has started Sorry about the thread thing. I can't get back to this until this evening and will post the full thread backtrace then. Thread 11 (Thread 0x7fffca807700 (LWP 12663)): #0 0x0000003901ee85c3 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87 #1 0x0000003903e44fd8 in g_main_context_poll (n_fds=1, fds=0x7fffb80008c0, priority=<optimized out>, timeout=9999, context= 0x7fffb80009a0) at gmain.c:3402 #2 g_main_context_iterate (context=0x7fffb80009a0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3084 #3 0x0000003903e4549c in g_main_context_iteration (context=0x7fffb80009a0, may_block=1) at gmain.c:3152 #4 0x00000039155a7d5f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4 #5 0x0000003915578182 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4 #6 0x00000039155783d7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4 #7 0x0000003915478b27 in QThread::exec() () from /usr/lib64/libQtCore.so.4 #8 0x000000391547bb6b in ?? () from /usr/lib64/libQtCore.so.4 #9 0x0000003902607d90 in start_thread (arg=0x7fffca807700) at pthread_create.c:309 #10 0x0000003901ef0f5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 10 (Thread 0x7fffca006700 (LWP 12627)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165 #1 0x0000003aa13b86ec in ?? () from /usr/lib64/libQtWebKit.so.4 #2 0x0000003aa13b8819 in ?? () from /usr/lib64/libQtWebKit.so.4 #3 0x0000003902607d90 in start_thread (arg=0x7fffca006700) at pthread_create.c:309 #4 0x0000003901ef0f5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 7 (Thread 0x7fffcba6e700 (LWP 12342)): #0 0x0000003901ee85c3 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87 #1 0x0000003903e44fd8 in g_main_context_poll (n_fds=2, fds=0x7fffc0002200, priority=<optimized out>, timeout=-1, context= 0x7fffc00009a0) at gmain.c:3402 #2 g_main_context_iterate (context=0x7fffc00009a0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3084 #3 0x0000003903e4549c in g_main_context_iteration (context=0x7fffc00009a0, may_block=1) at gmain.c:3152 #4 0x00000039155a7d5f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4 #5 0x0000003915578182 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4 #6 0x00000039155783d7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4 #7 0x0000003915478b27 in QThread::exec() () from /usr/lib64/libQtCore.so.4 #8 0x0000003915557e7f in ?? () from /usr/lib64/libQtCore.so.4 #9 0x000000391547bb6b in ?? () from /usr/lib64/libQtCore.so.4 #10 0x0000003902607d90 in start_thread (arg=0x7fffcba6e700) at pthread_create.c:309 #11 0x0000003901ef0f5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 6 (Thread 0x7fffd0a0b700 (LWP 12335)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165 #1 0x0000003923184e62 in ?? () from /usr/lib64/libQtScript.so.4 #2 0x0000003923184e99 in ?? () from /usr/lib64/libQtScript.so.4 #3 0x0000003902607d90 in start_thread (arg=0x7fffd0a0b700) at pthread_create.c:309 #4 0x0000003901ef0f5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 5 (Thread 0x7fffd1ff3700 (LWP 12330)): #0 0x0000003901ee85c3 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87 #1 0x0000003903e44fd8 in g_main_context_poll (n_fds=1, fds=0x7fffc4002700, priority=<optimized out>, timeout=-1, context= 0x7fffc40009a0) at gmain.c:3402 #2 g_main_context_iterate (context=0x7fffc40009a0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3084 #3 0x0000003903e4549c in g_main_context_iteration (context=0x7fffc40009a0, may_block=1) at gmain.c:3152 #4 0x00000039155a7d5f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4 #5 0x0000003915578182 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4 #6 0x00000039155783d7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4 #7 0x0000003915478b27 in QThread::exec() () from /usr/lib64/libQtCore.so.4 #8 0x000000391547bb6b in ?? () from /usr/lib64/libQtCore.so.4 #9 0x0000003902607d90 in start_thread (arg=0x7fffd1ff3700) at pthread_create.c:309 #10 0x0000003901ef0f5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 4 (Thread 0x7fffd27f4700 (LWP 12329)): #0 0x0000003901ee85c3 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87 #1 0x0000003903e44fd8 in g_main_context_poll (n_fds=1, fds=0x7fffcc002700, priority=<optimized out>, timeout=-1, context= 0x7fffcc0009a0) at gmain.c:3402 #2 g_main_context_iterate (context=0x7fffcc0009a0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3084 #3 0x0000003903e4549c in g_main_context_iteration (context=0x7fffcc0009a0, may_block=1) at gmain.c:3152 #4 0x00000039155a7d5f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4 #5 0x0000003915578182 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4 #6 0x00000039155783d7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4 #7 0x0000003915478b27 in QThread::exec() () from /usr/lib64/libQtCore.so.4 #8 0x000000391547bb6b in ?? () from /usr/lib64/libQtCore.so.4 #9 0x0000003902607d90 in start_thread (arg=0x7fffd27f4700) at pthread_create.c:309 #10 0x0000003901ef0f5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 3 (Thread 0x7fffdabcc700 (LWP 12327)): #0 0x0000003901eea403 in select () at ../sysdeps/unix/syscall-template.S:82 #1 0x00000039155563cf in ?? () from /usr/lib64/libQtCore.so.4 #2 0x000000391547bb6b in ?? () from /usr/lib64/libQtCore.so.4 #3 0x0000003902607d90 in start_thread (arg=0x7fffdabcc700) at pthread_create.c:309 #4 0x0000003901ef0f5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 2 (Thread 0x7fffe7b6b700 (LWP 12326)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:216 #1 0x000000391547bfdf in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4 #2 0x0000003a9d4b170b in ?? () from /usr/lib64/libkdevplatformlanguage.so.5 #3 0x000000391547bb6b in ?? () from /usr/lib64/libQtCore.so.4 #4 0x0000003902607d90 in start_thread (arg=0x7fffe7b6b700) at pthread_create.c:309 #5 0x0000003901ef0f5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 1 (Thread 0x7ffff7f9d840 (LWP 12323)): #0 0x000000390260e5cd in write () at ../sysdeps/unix/syscall-template.S:82 #1 0x000000390f401b00 in ?? () from /usr/lib64/libfam.so.0 #2 0x000000390f401ca5 in ?? () from /usr/lib64/libfam.so.0 #3 0x000000390f402b9e in FAMMonitorDirectory () from /usr/lib64/libfam.so.0 #4 0x0000003a991237c7 in ?? () from /usr/lib64/libkdecore.so.5 #5 0x0000003a99123b0b in ?? () from /usr/lib64/libkdecore.so.5 #6 0x0000003a991219fb in ?? () from /usr/lib64/libkdecore.so.5 #7 0x0000003a991222e6 in ?? () from /usr/lib64/libkdecore.so.5 #8 0x0000003a991222e6 in ?? () from /usr/lib64/libkdecore.so.5 #9 0x0000003a991222e6 in ?? () from /usr/lib64/libkdecore.so.5 #10 0x0000003a991222e6 in ?? () from /usr/lib64/libkdecore.so.5 #11 0x0000003a991222e6 in ?? () from /usr/lib64/libkdecore.so.5 #12 0x0000003a991222e6 in ?? () from /usr/lib64/libkdecore.so.5 #13 0x0000003a991222e6 in ?? () from /usr/lib64/libkdecore.so.5 #14 0x0000003a99122adb in KDirWatch::addDir(QString const&, QFlags<KDirWatch::WatchMode>) () from /usr/lib64/libkdecore.so.5 #15 0x0000003a9e22a908 in KDevelop::AbstractFileManagerPlugin::import(KDevelop::IProject*) () from /usr/lib64/libkdevplatformproject.so.5 #16 0x00007fffc84445ac in ?? () from /usr/lib64/kde4/kdevcustommakemanager.so #17 0x0000003a9da83e75 in KDevelop::Project::open(KUrl const&) () from /usr/lib64/libkdevplatformshell.so.5 #18 0x0000003a9da80502 in ?? () from /usr/lib64/libkdevplatformshell.so.5 #19 0x0000003a9da7d672 in KDevelop::ProjectController::openProject(KUrl const&) () from /usr/lib64/libkdevplatformshell.so.5 #20 0x0000003a9da7c256 in KDevelop::ProjectController::openProjects(KUrl::List const&) () from /usr/lib64/libkdevplatformshell.so.5 #21 0x0000003a9da7e2a1 in ?? () from /usr/lib64/libkdevplatformshell.so.5 #22 0x0000003915591f16 in QObject::event(QEvent*) () from /usr/lib64/libQtCore.so.4 #23 0x0000003ad9fc9994 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4 #24 0x0000003ad9fce813 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4 #25 0x0000003a99851d56 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5 #26 0x000000391557904c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4 #27 0x000000391557cada in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQtCore.so.4 #28 0x00000039155a7933 in ?? () from /usr/lib64/libQtCore.so.4 #29 0x0000003903e44acd in g_main_dispatch (context=0x6a20e0) at gmain.c:2441 #30 g_main_context_dispatch (context=0x6a20e0) at gmain.c:3011 #31 0x0000003903e452c8 in g_main_context_iterate (context=0x6a20e0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3089 #32 0x0000003903e4549c in g_main_context_iteration (context=0x6a20e0, may_block=1) at gmain.c:3152 #33 0x00000039155a7d5f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4 #34 0x0000003ada06c66e in ?? () from /usr/lib64/libQtGui.so.4 #35 0x0000003915578182 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4 #36 0x00000039155783d7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4 #37 0x000000391557cdd5 in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4 #38 0x000000000040a399 in ?? () #39 0x0000003901e2169d in __libc_start_main (main=0x404cd0, argc=1, ubp_av=0x7fffffffdee8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffded8) at libc-start.c:226 #40 0x000000000040aaf1 in _start () might very well be a fam issue, see http://oss.sgi.com/bugzilla/show_bug.cgi?id=158 could you try to get rid of fam and instead install inotify (well, actually that should be shipped with recent kernels by default). It seems that what I've got is gam_server, not fam or inotify (I didn't choose any of these, as far as I remember). After some discussion on the IRC channel it seems to be something to do with the that, so this isn't a KDevelop issue. It does look very much like https://bugzilla.redhat.com/show_bug.cgi?id=786170. As per the comments in that bug report, killing the gam server process, even though it restarts itself immediately every time, allows KDevelop to proceed to load the session. This bug has had its resolution changed, but accidentally has been left in NEEDSINFO status. I am thus closing this bug and setting the status as RESOLVED to reflect the resolution change. |