KDevelop crashes on code completion
Steven T. Hatton
hattons at globalsymmetry.com
Thu Aug 25 10:35:06 UTC 2005
On Tuesday 23 August 2005 18:03, Steven T. Hatton wrote:
> On Tuesday 23 August 2005 16:39, Amilcar do Carmo Lucas wrote:
> > On Tuesday 23 August 2005 18:12, Steven T. Hatton wrote:
> > > On Tuesday 23 August 2005 09:10, Amilcar do Carmo Lucas wrote:
> > > > On Tuesday 23 August 2005 14:54, Alexander Dymo wrote:
> > > > > Damn, we have to get our svn bdb copy back.
> > > >
> > > > Let's wait for Dirk. He told me on IRC that he is willing to fix the
> > > > BDB issues that arise when we use DBD 3, 4.0 and 4.1
> > > >
> > > > The user that complained seams to use BDB 4.3 and AFAIK we do not
> > > > support that.
> > > >
> > > > Regards,
> > >
> > > Strange. I removed db-devel = 4.3.27-3 and left db41-devel =
> > > 4.1.25-76, and now KDevelop won't build.
> > >
> > > checking for Berkeley DB >= 3... configure: error: no - please install
> > > Berkeley DB >= 3 and <= 4.1
> > >
> > > rpm -qa | grep ^db
> > > dbench-1.3-340
> > > dbus-1-0.23.4-7
> > > db-4.3.27-3
> > > dbus-1-gtk-0.23.4-7
> > > dbus-1-glib-0.23.4-7
> > > dbxml-2.0.9-3
> > > db41-devel-4.1.25-76
> > > db41-4.1.25-76
> > > db1-1.85-89
> > > db-utils-4.3.27-3
> > > dbus-1-x11-0.23.4-7
> > > dbus-1-devel-0.23.4-7
> > > dbus-1-qt-0.23.4-7
> >
> > I also use SuSE 9.3 and it compiles fine, but I need to pass three
> > parameters to configure so that it can find BDB 4.1. I'm not at my build
> > box rigth now so I cannot tell you exactly which parameters are, but it
> > someting like --with_db3_includes= --with_BD3_ldflags= --DB3_dir
> >
> > And BTW it should have never compiled with 4.3 in the first place. So I
> > guess the autoconfigure script check is wrong.
>
> Yup. It looks that way. I tried reading some of the m4 stuff to figure
> out what's happening, but I'm pretty much immune to m4.
>
> typeset -f helpless
> helpless ()
> {
> xterm -geometry 80x58+400+600 -background "#ffffdd" -T "$1 --help |
> less" -font 10x20 -e "$1 --help | less" >/dev/null 2>&1 &
> }
>
> helpless ./configure
>
> --with-db-includedir=DIR
> where the DB3 headers are installed
> --with-db-libdir=DIR where the DB3 libraries are installed
> --with-db-lib=LIB library name for the DB3 library
>
> A progress report will be forthcoming. I just wanted to get this much
> posted in case others might benefit from it. I will make the assumption
> that I can also use bdb <= db4.1.
This came from GDB while KDevelop was hung. I don't believe it's completely
dead. It looks to me that the problem is related to the bdb stuff. Is
anyone else having a problem with this?
(gdb) signal 0
Continuing with no signal.
[didn't return, so I did a ^C, and then]
Program received signal SIGINT, Interrupt.
0x41dbc5e9 in malloc () from /lib/tls/libc.so.6
(gdb) where
#1 0x418341a8 in QGArray::resize () from /usr/lib/qt3/lib/libqt-mt.so.3
#2 0x418341fa in QGArray::resize () from /usr/lib/qt3/lib/libqt-mt.so.3
#3 0x418241cf in operator>> () from /usr/lib/qt3/lib/libqt-mt.so.3
#4 0x42b94124 in operator>><QCString, QVariant> (s=Variable "s" is not
available.
) at qmap.h:852
#5 0x42b92cd9 in Tag::load (this=0x41e6e800, stream=@0xbffea570)
at /download/org/kdevelop/repository/root/kdevelop/lib/catalog/tag.cpp:86
#6 0x42b94cba in Catalog::query (this=0xa88b3f0, args=@0xbffea830)
at /download/org/kdevelop/repository/root/kdevelop/lib/catalog/catalog.cpp:433
#7 0x42b3a50d in CodeInformationRepository::query (this=0x3120b048,
args=@0xbffea830)
at /download/org/kdevelop/repository/root/kdevelop/languages/cpp/codeinformationrepository.cpp:65
#8 0x42b14fa0 in CppCodeCompletion::computeCompletionEntryList
(this=0xa8da538, entryList=@0xbfffbde0,
type=@0xbffea950, isInstance=false)
at /download/org/kdevelop/repository/root/kdevelop/languages/cpp/cppcodecompletion.cpp:1949
#9 0x42b15347 in CppCodeCompletion::computeCompletionEntryList
(this=0xa8da538, entryList=@0xbfffbde0,
type=@0xbffeab20, isInstance=false)
at /download/org/kdevelop/repository/root/kdevelop/languages/cpp/cppcodecompletion.cpp:1990
#10 0x42b15347 in CppCodeCompletion::computeCompletionEntryList
(this=0xa8da538, entryList=@0xbfffbde0,
type=@0xbffeacf0, isInstance=false)
at /download/org/kdevelop/repository/root/kdevelop/languages/cpp/cppcodecompletion.cpp:1990
#11 0x42b15347 in CppCodeCompletion::computeCompletionEntryList
(this=0xa8da538, entryList=@0xbfffbde0,
type=@0xbffeaec0, isInstance=false)
at /download/org/kdevelop/repository/root/kdevelop/languages/cpp/cppcodecompletion.cpp:1990
#12 0x42b15347 in CppCodeCompletion::computeCompletionEntryList
(this=0xa8da538, entryList=@0xbfffbde0,
type=@0xbffeb090, isInstance=false)
at /download/org/kdevelop/repository/root/kdevelop/languages/cpp/cppcodecompletion.cpp:1990
#13 0x42b15347 in CppCodeCompletion::computeCompletionEntryList
(this=0xa8da538, entryList=@0xbfffbde0,
type=@0xbffeb260, isInstance=false)
at /download/org/kdevelop/repository/root/kdevelop/languages/cpp/cppcodecompletion.cpp:1990
#14 0x42b15347 in CppCodeCompletion::computeCompletionEntryList
(this=0xa8da538, entryList=@0xbfffbde0,
type=@0xbffeb430, isInstance=false)
at /download/org/kdevelop/repository/root/kdevelop/languages/cpp/cppcodecompletion.cpp:1990
#15 0x42b15347 in CppCodeCompletion::computeCompletionEntryList
(this=0xa8da538, entryList=@0xbfffbde0,
type=@0xbffeb600, isInstance=false)
at /download/org/kdevelop/repository/root/kdevelop/languages/cpp/cppcodecompletion.cpp:1990
#16 0x42b15347 in CppCodeCompletion::computeCompletionEntryList
(this=0xa8da538, entryList=@0xbfffbde0,
type=@0xbffeb7d0, isInstance=false)
at /download/org/kdevelop/repository/root/kdevelop/languages/cpp/cppcodecompletion.cpp:1990
#17 0x42b15347 in CppCodeCompletion::computeCompletionEntryList
(this=0xa8da538, entryList=@0xbfffbde0,
type=@0xbffeb9a0, isInstance=false)
at /download/org/kdevelop/repository/root/kdevelop/languages/cpp/cppcodecompletion.cpp:1990
#18 0x42b15347 in CppCodeCompletion::computeCompletionEntryList
(this=0xa8da538, entryList=@0xbfffbde0,
type=@0xbffebb70, isInstance=false)
at /download/org/kdevelop/repository/root/kdevelop/languages/cpp/cppcodecompletion.cpp:1990
#19 0x42b15347 in CppCodeCompletion::computeCompletionEntryList
(this=0xa8da538, entryList=@0xbfffbde0,
type=@0xbffebd40, isInstance=false)
at /download/org/kdevelop/repository/root/kdevelop/languages/cpp/cppcodecompletion.cpp:1990
#20 0x42b15347 in CppCodeCompletion::computeCompletionEntryList
(this=0xa8da538, entryList=@0xbfffbde0,
type=@0xbffebf10, isInstance=false)
at /download/org/kdevelop/repository/root/kdevelop/languages/cpp/cppcodecompletion.cpp:1990
#21 0x42b15347 in CppCodeCompletion::computeCompletionEntryList
(this=0xa8da538, entryList=@0xbfffbde0,
type=@0xbffec0e0, isInstance=false)
--
Regards,
Steven
More information about the KDevelop-devel
mailing list