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

List:       kdevelop-bugs
Subject:    [Bug 287294] New: bugGoToSource
From:       shailesh <shailesh99 () gmail ! com>
Date:       2011-11-22 19:35:42
Message-ID: bug-287294-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]

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

           Summary: bugGoToSource
           Product: kdevelop
           Version: unspecified
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-bugs@kdevelop.org
        ReportedBy: shailesh99@gmail.com


Application: kdevelop (4.0.2 (using KDevPlatform 1.0.2))
KDE Platform Version: 4.5.3 (KDE 4.5.3)
Qt Version: 4.7.0
Operating System: Linux 2.6.38-12-generic i686
Distribution: Ubuntu 10.04.3 LTS

-- Information about the crash:
- What I was doing when the application crashed:
I tried to go to the source of one of the header files by dragging my mouse to
the '#include<>' statement and clicking on 'goto source'.

The crash can be reproduced every time.

-- Backtrace:
Application: KDevelop (kdevelop.bin), signal: Segmentation fault
[Current thread is 1 (Thread 0xb7847970 (LWP 6567))]

Thread 9 (Thread 0xb3ae2b70 (LWP 6581)):
#0  0x00a2b416 in __kernel_vsyscall ()
#1  0x00886342 in pthread_cond_timedwait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:179
#2  0x00ef0a34 in __pthread_cond_timedwait (cond=0xa2131e0, mutex=0xa2131c8,
abstime=0xb3ae22b0) at forward.c:152
#3  0x00648a8f in QWaitConditionPrivate::wait (this=0xa21c1fc, mutex=0xa21c200,
time=200000) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0xa21c1fc, mutex=0xa21c200, time=200000) at
thread/qwaitcondition_unix.cpp:160
#5  0x0242d035 in KDevelop::DUChainPrivate::CleanupThread::run (this=0xa21c1f0)
at ../../language/duchain/duchain.cpp:286
#6  0x00647f39 in QThreadPrivate::start (arg=0xa21c1f0) at
thread/qthread_unix.cpp:266
#7  0x0088196e in start_thread (arg=0xb3ae2b70) at pthread_create.c:300
#8  0x00ee3a4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 8 (Thread 0xb32e1b70 (LWP 6583)):
#0  0x00a2b416 in __kernel_vsyscall ()
#1  0x00886015 in pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x00ef09dd in __pthread_cond_wait (cond=0xa2842b8, mutex=0xa2842a0) at
forward.c:139
#3  0x00648b07 in QWaitConditionPrivate::wait (this=0xa27cf40, mutex=0xa1f9390,
time=4294967295) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0xa27cf40, mutex=0xa1f9390, time=4294967295) at
thread/qwaitcondition_unix.cpp:160
#5  0x04973890 in
ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xa27cf28,
th=0xa265368) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x0497703c in ThreadWeaver::WorkingHardState::waitForAvailableJob
(this=0xa265eb0, th=0xa265368) at
../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x04972dbb in ThreadWeaver::WeaverImpl::waitForAvailableJob
(this=0xa27cf28, th=0xa265368) at
../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x04977132 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa265eb0,
th=0xa265368) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x04973d93 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa27cf28,
th=0xa265368, previous=0xa27a928) at
../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x049751be in ThreadWeaver::ThreadRunHelper::run (this=0xb32e12f4,
parent=0xa27cf28, th=0xa265368) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0x049758db in ThreadWeaver::Thread::run (this=0xa265368) at
../../../threadweaver/Weaver/Thread.cpp:142
#12 0x00647f39 in QThreadPrivate::start (arg=0xa265368) at
thread/qthread_unix.cpp:266
#13 0x0088196e in start_thread (arg=0xb32e1b70) at pthread_create.c:300
#14 0x00ee3a4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 7 (Thread 0xb2ae0b70 (LWP 6585)):
#0  0x00a2b416 in __kernel_vsyscall ()
#1  0x00886015 in pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x00ef09dd in __pthread_cond_wait (cond=0xa2842b8, mutex=0xa2842a0) at
forward.c:139
#3  0x00648b07 in QWaitConditionPrivate::wait (this=0xa27cf40, mutex=0xa1f9390,
time=4294967295) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0xa27cf40, mutex=0xa1f9390, time=4294967295) at
thread/qwaitcondition_unix.cpp:160
#5  0x04973890 in
ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xa27cf28,
th=0xa25f3a0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x0497703c in ThreadWeaver::WorkingHardState::waitForAvailableJob
(this=0xa265eb0, th=0xa25f3a0) at
../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x04972dbb in ThreadWeaver::WeaverImpl::waitForAvailableJob
(this=0xa27cf28, th=0xa25f3a0) at
../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x04977132 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa265eb0,
th=0xa25f3a0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x04973d93 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa27cf28,
th=0xa25f3a0, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x049751be in ThreadWeaver::ThreadRunHelper::run (this=0xb2ae02f4,
parent=0xa27cf28, th=0xa25f3a0) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0x049758db in ThreadWeaver::Thread::run (this=0xa25f3a0) at
../../../threadweaver/Weaver/Thread.cpp:142
#12 0x00647f39 in QThreadPrivate::start (arg=0xa25f3a0) at
thread/qthread_unix.cpp:266
#13 0x0088196e in start_thread (arg=0xb2ae0b70) at pthread_create.c:300
#14 0x00ee3a4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 6 (Thread 0xb08bdb70 (LWP 6593)):
#0  0x00885344 in __pthread_mutex_unlock_usercnt (mutex=0xa4c6004, decr=<value
optimized out>) at pthread_mutex_unlock.c:52
#1  0x00ef0be6 in pthread_mutex_unlock (mutex=0xa4c6004) at forward.c:184
#2  0x02146794 in g_main_context_check () from /lib/libglib-2.0.so.0
#3  0x021470ce in ?? () from /lib/libglib-2.0.so.0
#4  0x021474b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x0077782f in QEventDispatcherGlib::processEvents (this=0xa4c2f20,
flags=...) at kernel/qeventdispatcher_glib.cpp:417
#6  0x00747a99 in QEventLoop::processEvents (this=0xb08bd2c0, flags=) at
kernel/qeventloop.cpp:149
#7  0x00747f1a in QEventLoop::exec (this=0xb08bd2c0, flags=...) at
kernel/qeventloop.cpp:201
#8  0x00644c5e in QThread::exec (this=0xb44149f0) at thread/qthread.cpp:490
#9  0x0252a278 in KDevelop::CompletionWorkerThread::run (this=0xb44149f0) at
../../language/codecompletion/codecompletionmodel.cpp:81
#10 0x00647f39 in QThreadPrivate::start (arg=0xb44149f0) at
thread/qthread_unix.cpp:266
#11 0x0088196e in start_thread (arg=0xb08bdb70) at pthread_create.c:300
#12 0x00ee3a4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 5 (Thread 0xb10beb70 (LWP 6594)):
#0  QTimerInfoList::timerWait (this=0xa4b5db4, tm=...) at
kernel/qeventdispatcher_unix.cpp:441
#1  0x00777a38 in timerSourcePrepareHelper (src=<value optimized out>,
timeout=0xb10be0ec) at kernel/qeventdispatcher_glib.cpp:136
#2  0x00777ac5 in timerSourcePrepare (source=0xa4b5db4, timeout=0xb10be068) at
kernel/qeventdispatcher_glib.cpp:169
#3  0x02146aca in g_main_context_prepare () from /lib/libglib-2.0.so.0
#4  0x02146ee9 in ?? () from /lib/libglib-2.0.so.0
#5  0x021474b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#6  0x0077782f in QEventDispatcherGlib::processEvents (this=0xa4b6380,
flags=...) at kernel/qeventdispatcher_glib.cpp:417
#7  0x00747a99 in QEventLoop::processEvents (this=0xb10be2c0, flags=) at
kernel/qeventloop.cpp:149
#8  0x00747f1a in QEventLoop::exec (this=0xb10be2c0, flags=...) at
kernel/qeventloop.cpp:201
#9  0x00644c5e in QThread::exec (this=0xb441b2b0) at thread/qthread.cpp:490
#10 0x0252a278 in KDevelop::CompletionWorkerThread::run (this=0xb441b2b0) at
../../language/codecompletion/codecompletionmodel.cpp:81
#11 0x00647f39 in QThreadPrivate::start (arg=0xb441b2b0) at
thread/qthread_unix.cpp:266
#12 0x0088196e in start_thread (arg=0xb10beb70) at pthread_create.c:300
#13 0x00ee3a4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 4 (Thread 0xaf411b70 (LWP 6595)):
#0  0x00a2b416 in __kernel_vsyscall ()
#1  0x00886342 in pthread_cond_timedwait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:179
#2  0x00ef0a34 in __pthread_cond_timedwait (cond=0xaf411224, mutex=0xaf411254,
abstime=0xaf4112a0) at forward.c:152
#3  0x0064747e in thread_sleep (ti=0x1) at thread/qthread_unix.cpp:416
#4  0x006475d3 in QThread::msleep (msecs=30) at thread/qthread_unix.cpp:442
#5  0x0420049b in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#6  0x00647f39 in QThreadPrivate::start (arg=0xa4bc628) at
thread/qthread_unix.cpp:266
#7  0x0088196e in start_thread (arg=0xaf411b70) at pthread_create.c:300
#8  0x00ee3a4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xa2902b70 (LWP 6605)):
#0  0x00a2b416 in __kernel_vsyscall ()
#1  0x00886015 in pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x00ef09dd in __pthread_cond_wait (cond=0xa194438, mutex=0xa194420) at
forward.c:139
#3  0x00648b07 in QWaitConditionPrivate::wait (this=0xa194618, mutex=0xa1bb5e8,
time=4294967295) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0xa194618, mutex=0xa1bb5e8, time=4294967295) at
thread/qwaitcondition_unix.cpp:160
#5  0x04973890 in
ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xa194600,
th=0xa5fe698) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x0497703c in ThreadWeaver::WorkingHardState::waitForAvailableJob
(this=0xa1bb790, th=0xa5fe698) at
../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x04972dbb in ThreadWeaver::WeaverImpl::waitForAvailableJob
(this=0xa194600, th=0xa5fe698) at
../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x04977132 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa1bb790,
th=0xa5fe698) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x04973d93 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa194600,
th=0xa5fe698, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x04977151 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa1bb790,
th=0xa5fe698) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0x04973d93 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa194600,
th=0xa5fe698, previous=0x9ebb9d08) at
../../../threadweaver/Weaver/WeaverImpl.cpp:351
#12 0x049751be in ThreadWeaver::ThreadRunHelper::run (this=0xa29022f4,
parent=0xa194600, th=0xa5fe698) at ../../../threadweaver/Weaver/Thread.cpp:87
#13 0x049758db in ThreadWeaver::Thread::run (this=0xa5fe698) at
../../../threadweaver/Weaver/Thread.cpp:142
#14 0x00647f39 in QThreadPrivate::start (arg=0xa5fe698) at
thread/qthread_unix.cpp:266
#15 0x0088196e in start_thread (arg=0xa2902b70) at pthread_create.c:300
#16 0x00ee3a4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xa2101b70 (LWP 6606)):
[KCrash Handler]
#7  increase (this=0x9fc68f0a, rhs=...) at
../../language/duchain/indexedstring.cpp:42
#8  IndexedString (this=0x9fc68f0a, rhs=...) at
../../language/duchain/indexedstring.cpp:230
#9  0x040081c3 in void
rpp::pp_macro::copyListsFrom<rpp::pp_macro>(rpp::pp_macro const&) () from
/usr/lib/libkdev4cpprpp.so
#10 0x040063d3 in rpp::pp_macro::pp_macro(rpp::pp_macro const&, bool) () from
/usr/lib/libkdev4cpprpp.so
#11 0x04012e92 in MacroRepositoryItemRequest::createItem(rpp::pp_macro*) const
() from /usr/lib/libkdev4cpprpp.so
#12 0x0465d207 in Cpp::MacroIndexConversion::toIndex(rpp::pp_macro const&)
const () from /usr/lib/libkdev4cppduchain.so
#13 0x04668456 in ?? () from /usr/lib/libkdev4cppduchain.so
#14 0x0465ed26 in Cpp::EnvironmentFile::addDefinedMacro(rpp::pp_macro const&,
rpp::pp_macro const*) () from /usr/lib/libkdev4cppduchain.so
#15 0x0468bfd5 in CppPreprocessEnvironment::setMacro(rpp::pp_macro*) () from
/usr/lib/libkdev4cppduchain.so
#16 0x0400a4a5 in rpp::pp::handle_define(rpp::Stream&) () from
/usr/lib/libkdev4cpprpp.so
#17 0x0400e3f2 in rpp::pp::handle_directive(unsigned int, rpp::Stream&,
rpp::Stream&) () from /usr/lib/libkdev4cpprpp.so
#18 0x0400e9a0 in rpp::pp::operator()(rpp::Stream&, rpp::Stream&) () from
/usr/lib/libkdev4cpprpp.so
#19 0x0400ec26 in rpp::pp::processFileInternal(QString const&, QByteArray
const&, QVector<unsigned int>&) () from /usr/lib/libkdev4cpprpp.so
#20 0x0400ecf5 in rpp::pp::processFile(QString const&, QByteArray const&) ()
from /usr/lib/libkdev4cpprpp.so
#21 0x0421c73a in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#22 0x04976164 in ThreadWeaver::JobRunHelper::runTheJob (this=0xa21011fc,
th=0xa279190, job=0xc7c7770) at ../../../threadweaver/Weaver/Job.cpp:106
#23 0x049764c1 in ThreadWeaver::Job::execute (this=0xc7c7770, th=0xa279190) at
../../../threadweaver/Weaver/Job.cpp:135
#24 0x04977e93 in ThreadWeaver::JobCollectionJobRunner::execute
(this=0xc53e730, t=0xa279190) at
../../../threadweaver/Weaver/JobCollection.cpp:82
#25 0x049788ae in ThreadWeaver::JobCollection::execute (this=0xc8435d0,
t=0xa279190) at ../../../threadweaver/Weaver/JobCollection.cpp:231
#26 0x0497518a in ThreadWeaver::ThreadRunHelper::run (this=0xa21012f4,
parent=0xa194600, th=0xa279190) at ../../../threadweaver/Weaver/Thread.cpp:95
#27 0x049758db in ThreadWeaver::Thread::run (this=0xa279190) at
../../../threadweaver/Weaver/Thread.cpp:142
#28 0x00647f39 in QThreadPrivate::start (arg=0xa279190) at
thread/qthread_unix.cpp:266
#29 0x0088196e in start_thread (arg=0xa2101b70) at pthread_create.c:300
#30 0x00ee3a4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb7847970 (LWP 6567)):
#0  0x00a2b416 in __kernel_vsyscall ()
#1  0x00886015 in pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x00ef09dd in __pthread_cond_wait (cond=0xa4c4cc0, mutex=0xa4c4ca8) at
forward.c:139
#3  0x00647012 in QMutexPrivate::wait (this=0xa4c4c90, timeout=-1) at
thread/qmutex_unix.cpp:84
#4  0x006426a2 in QMutex::lock (this=0x46cb188) at thread/qmutex.cpp:167
#5  0x0465c1cb in ?? () from /usr/lib/libkdev4cppduchain.so
#6  0x0254e8fc in Utils::Set::unrefNode (this=0xbfe6fa08, current=<value
optimized out>) at ../../language/util/setrepository.cpp:1094
#7  0x0254ec0e in Utils::Set::unrefNode (this=0xbfe6fa08, current=<value
optimized out>) at ../../language/util/setrepository.cpp:1090
#8  0x0254ebff in Utils::Set::unrefNode (this=0xbfe6fa08, current=<value
optimized out>) at ../../language/util/setrepository.cpp:1089
#9  0x0254ebff in Utils::Set::unrefNode (this=0xbfe6fa08, current=<value
optimized out>) at ../../language/util/setrepository.cpp:1089
#10 0x0254f02c in Utils::Set::staticUnref (this=0xbfe6fa08) at
../../language/util/setrepository.cpp:1111
#11 0x04221de6 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#12 0x00e451bf in __run_exit_handlers (status=-1075381752, listp=0xf6c324,
run_list_atexit=true) at exit.c:78
#13 0x00e4522f in *__GI_exit (status=1) at exit.c:100
#14 0x06823520 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#15 0x003ffe9a in KApplication::xioErrhandler (this=0xbfe6ffd0, dpy=0x9f70db8)
at ../../kdeui/kernel/kapplication.cpp:416
#16 0x003ffed6 in kde_xio_errhandler (dpy=0x9f70db8) at
../../kdeui/kernel/kapplication.cpp:125
#17 0x02004c16 in _XIOError () from /usr/lib/libX11.so.6
#18 0x0200ca1a in ?? () from /usr/lib/libX11.so.6
#19 0x0200d356 in _XEventsQueued () from /usr/lib/libX11.so.6
#20 0x01ff5adf in XEventsQueued () from /usr/lib/libX11.so.6
#21 0x011b8155 in x11EventSourceCheck (s=0x9f7ac00) at
kernel/qguieventdispatcher_glib.cpp:87
#22 0x02146799 in g_main_context_check () from /lib/libglib-2.0.so.0
#23 0x021470ce in ?? () from /lib/libglib-2.0.so.0
#24 0x021474b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#25 0x007777f5 in QEventDispatcherGlib::processEvents (this=0x9f4d230,
flags=...) at kernel/qeventdispatcher_glib.cpp:415
#26 0x011b7f85 in QGuiEventDispatcherGlib::processEvents (this=0x9f4d230,
flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#27 0x00747a99 in QEventLoop::processEvents (this=0xbfe6fe84, flags=) at
kernel/qeventloop.cpp:149
#28 0x00747f1a in QEventLoop::exec (this=0xbfe6fe84, flags=...) at
kernel/qeventloop.cpp:201
#29 0x0074c4cf in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#30 0x010f5557 in QApplication::exec () at kernel/qapplication.cpp:3672
#31 0x08050290 in _start ()

Reported using DrKonqi

-- 
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