Crash in 0.4

Ralf Gerlich Ralf.Gerlich at t-online.de
Wed Jun 2 18:16:55 BST 1999



Hi!

I just downloaded and installed the snapshot from the 01-06-1999. I
deleted kdeveloprc. As I tried to open a 0.3.1 project I got this:

CClassView::refresh( proj )
  parsing:[/home/ralfg/devel/kscool/kscool/main.h]
Found operator declaration.
QGDict::hash: Invalid null key

I then compiled kdevelop using --enable-debug and used GDB to get a
backtrace. This is the result:

#0  0x401215ff in QGDict::hashKey ()
#1  0x40121a83 in QGDict::look ()
#2  0x81dc81d in QDictT<CParsedAttribute>::insert (this=0x8335334,
k=0x0, d=0x840fe00)
    at /usr/lib/qt/include/qdict.h:123
#3  0x81ce460 in CClassStore::addGlobalVar (this=0x83352e4,
aVar=0x840fe00)
    at ClassStore.cc:113
#4  0x81cdaba in CClassParser::parseGlobalMethodVariable
(this=0x83352e4)
    at ClassParser.cc:1109
#5  0x81cddba in CClassParser::parseToplevel (this=0x83352e4) at
ClassParser.cc:1197
#6  0x81cde5e in CClassParser::parseFile (this=0x83352e4,
file=@0xbffff030)
    at ClassParser.cc:1236
#7  0x81cdf4c in CClassParser::parse (this=0x83352e4,
    file=0x840b7b0 "/home/ralfg/devel/kscool/kscool/main.h") at
ClassParser.cc:1265
#8  0x8096d07 in CClassView::refresh (this=0x8334d10, proj=0x83583f8) at
cclassview.cpp:194
#9  0x808b154 in CKDevelop::refreshTrees (this=0x832b450) at
ckdevelop_noslot.cpp:38
#10 0x8063fb5 in CKDevelop::slotViewRefresh (this=0x832b450) at
ckdevelop.cpp:540
#11 0x8091cb6 in CKDevelop::slotProjectOpen (this=0x832b450) at
ckdevelop_project.cpp:493
#12 0x40103353 in QObject::activate_signal ()
#13 0x4015a302 in QPopupMenu::mouseReleaseEvent ()
#14 0x401158a2 in QWidget::event ()
#15 0x400e16dc in QApplication::notify ()
#16 0x4017cf19 in QETWidget::translateMouseEvent ()
#17 0x4017b171 in QApplication::x11ProcessEvent ()
#18 0x4017ad04 in QApplication::processNextEvent ()
#19 0x4017ba81 in QApplication::enter_loop ()
#20 0x4017ac8d in QApplication::exec ()
#21 0x8070688 in main (argc=1, argv=0xbffff794) at main.cpp:78
#22 0x806165e in _start ()

I attached the file main.h

When I comment out both operators it works.

Perhaps you've got an idea.

Ciao,
Ralf

-------------- next part --------------
#ifndef MAIN_H
#define MAIN_H

#include <kapp.h>
#include <qpoint.h>
#include <qrect.h>
#include <iostream.h>

ostream& operator<<(ostream& os,const QPoint& p);
ostream& operator<<(ostream& os,const QRect& r);

#define DEBUG

#ifdef DEBUG
#define dprintf(fmt,a...) {fprintf(stderr,"%s:%d:",__FILE__,__LINE__);fprintf(stderr,fmt,##a);}
#define dtrapstart()	fprintf(stderr,"%s:%s:%d START\n",__FILE__,__FUNCTION__,__LINE__)
#define dtrapend()	fprintf(stderr,"%s:%s:%d END\n",__FILE__,__FUNCTION__,__LINE__)
#else
#define dprintf(fmt,a...)
#define dtrapstart()
#define dtrapend()
#endif
#endif



-------------- next part --------------
A non-text attachment was scrubbed...
Name: Ralf.Gerlich.vcf
Type: text/x-vcard
Size: 358 bytes
Desc: Card for Ralf Gerlich
URL: <http://mail.kde.org/pipermail/kdevelop/attachments/19990602/70938b9b/attachment.vcf>


More information about the KDevelop mailing list