From kdevelop-bugs Wed Jun 30 13:22:17 1999 From: Tilo Schwarz Date: Wed, 30 Jun 1999 13:22:17 +0000 To: kdevelop-bugs Subject: Segmentation fault [14:51,25.06.99] X-MARC-Message: https://marc.info/?l=kdevelop-bugs&m=93303751621899 > Bugreport ID : 14:51,25.06.99 > Originator : Tilo Schwarz > E-Mail : tilo.schwarz@daimlerchrysler.com > Subject : Segmentation fault > Error Class : software bug > Error Location: I donīt know > Priority : low > Severity : critical > Bug Description --------------------------- While trying to open the .kdevprj file: # KDE Config File [kt/docs/en/index-1.html] install_location= dist=true install=false type=DATA [COPYING] install_location= dist=true install=false type=DATA [Config for BinMakefileAm] ldflags= cxxflags=-O0 -g3 -Wall bin_program=kt [README] install_location= dist=true install=false type=DATA [kt/docs/Makefile.am] sub_dirs=en, type=normal [kt/docs/en/index-2.html] install_location= dist=true install=false type=DATA [kt/docs/en/Makefile.am] files=kt/docs/en/index-1.html,kt/docs/en/index-2.html,kt/docs/en/index-3.html,kt/docs/en/index-4.html,kt/docs/en/index-5.html,kt/docs/en/index-6.html,kt/docs/en/index.html, sub_dirs= type=normal [LFV Groups] Header=*.h,*.hxx,*.hpp,*.H, GNU=AUTHORS,COPYING,ChangeLog,INSTALL,README,TODO,NEWS, Others=*, groups=Header,Sources,GNU,Others, Sources=*.cpp,*.c,*.cc,*.C,*.cxx,*.ec,*.ecpp, [kt.kdevprj] install_location= dist=true install=false type=DATA [kt/docs/en/index-3.html] install_location= dist=true install=false type=DATA [kt/docs/en/index-4.html] install_location= dist=true install=false type=DATA [kt/main.cpp] install_location= dist=true install=false type=SOURCE [kt/docs/en/index-5.html] install_location= dist=true install=false type=DATA [kt/Makefile.am] files=kt/main.cpp, sub_dirs=docs, type=prog_main [ChangeLog] install_location= dist=true install=false type=DATA [General] makefiles=Makefile.am,kt/Makefile.am,kt/docs/Makefile.am,kt/docs/en/Makefile.am, author=TS project_type=normal_cpp sub_dir=kt/ version=0.1 project_name=KT sgml_file=index.sgml email=TS@DC kdevprj_version=0.3 [TODO] install_location= dist=true install=false type=DATA [INSTALL] install_location= dist=true install=false type=DATA [kt/docs/en/index-6.html] install_location= dist=true install=false type=DATA [kt.lsm] install_location= dist=true install=false type=DATA [Makefile.am] files=kt.kdevprj,AUTHORS,COPYING,ChangeLog,INSTALL,README,TODO,kt.lsm, sub_dirs=kt, type=normal [AUTHORS] install_location= dist=true install=false type=DATA [kt/docs/en/index.html] install_location= dist=true install=false type=DATA kdevelop crashes: > gdb kdevelop GNU gdb 4.17.0.11 with Linux support Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu"... (no debugging symbols found)... (gdb) run Starting program: /opt/kde/bin/kdevelop Qt: gdb: -nograb added to command-line options. Use the -dograb option to enforce grabbing. QGList::locate: Index 4 out of range CClassView::refresh( proj ) parsing:[/Net/carnap/home/tschwarz/Developer/kt/kt/main.cpp] CClassView::refresh() buildInitalClassTree Program received signal SIGSEGV, Segmentation fault. 0x4065ccdc in _gdbm_findkey (dbf=0x0, key={dptr = 0x8400b70 "[CLASS]Classes", dsize = 15}, dptr=0xbffff0e0, new_hash_val=0xbffff0e4) (gdb) l rtld.c:1: No such file or directory. (gdb) bt #0 0x4065ccdc in _gdbm_findkey (dbf=0x0, key={ dptr = 0x8400b70 "[CLASS]Classes", dsize = 15}, dptr=0xbffff0e0, new_hash_val=0xbffff0e4) #1 0x4065d1de in gdbm_exists (dbf=0x0, key={ dptr = 0x8400b70 "[CLASS]Classes", dsize = 15}) #2 0x82774aa in _start () #3 0x8270c22 in _start () #4 0x80aabf7 in _start () #5 0x809219f in _start () #6 0x806571c in _start () #7 0x809c169 in _start () #8 0x40127323 in QObject::activate_signal () #9 0x4018ad56 in QPopupMenu::mouseReleaseEvent () #10 0x4013c08a in QWidget::event () #11 0x40100400 in QApplication::notify () #12 0x401b1453 in QETWidget::translateMouseEvent () #13 0x401af3c9 in QApplication::x11ProcessEvent () #14 0x401aef17 in QApplication::processNextEvent () #15 0x401afd99 in QApplication::enter_loop () #16 0x401aee95 in QApplication::exec () #17 0x8077c61 in _start () (gdb) > How to repeat the error ------------------- Start kdevelop and try to load the .kdevprj file again, a SIGSEGV follows. > Bugfix or Workaround ---------------------- Don't know. I like your work, kdevelop is a great project!! > System Information ------------------------ > KDevelop version : 0.4 > KDE version : 1.1 > QT version : 1.44 > OS/Distribution : uname -a: Linux carnap 2.2.5 #1 Fri Jun 11 15:40:41 MEST 1999 i586 unknown / SUSE 6.1 > Compiler : egcs-2.91.66 -------------------- Tilo Schwarz, DaimlerChrysler, Research Center Ulm, FT3/AB Address: Wilhelm-Runge-Str.11, P.O. Box 23 60, 89013 Ulm, Germany Phone: +49 731 505 2376 Email: tilo.schwarz@daimlerchrysler.com