Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 203697 - dev-util/kdevelop-3.4.1/3.5.0 crashes while loading a c++ project
Summary: dev-util/kdevelop-3.4.1/3.5.0 crashes while loading a c++ project
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-29 16:42 UTC by Albert Zeyer
Modified: 2008-06-30 02:12 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Albert Zeyer 2007-12-29 16:42:26 UTC
KDevelop itselfs loads correctly. But after I load my C++ project, it crashes. It crashes at the very end, that means I see loading all tabs with the source files I had opened last time but when it seems ready, it immediatly crashes.

This is what I get on console:
...
kbuildsycoca: WARNING: '/usr/share/applications/mplayer.desktop' specifies undefined mimetype/servicetype 'video/x-fli'
kbuildsycoca: WARNING: '/home/az/.local/share/applications/k3b-usercreated.desktop' specifies undefined mimetype/servicetype 'application/x-cd-image'
kbuildsycoca: WARNING: '/home/az/.local/share/applications/file-roller-usercreated.desktop' specifies undefined mimetype/servicetype 'application/vnd.corel-draw'
kbuildsycoca: WARNING: '/home/az/.local/share/applications/argouml-usercreated.desktop' specifies undefined mimetype/servicetype 'application/zip'
QObject::connect: No such slot MakeWidget::slotDocumentOpened(const KURL&)
QObject::connect:  (sender name:   'unnamed')
QObject::connect:  (receiver name: 'make widget')
QLayout "unnamed" added to IndexView "unnamed", which already has a layout
kdecore (KAction): WARNING: KAction::initPrivate(): trying to assign a shortcut (Alt+Ctrl+Shift+N) to an unnamed action.
kio (KTrader): WARNING: Parsing ' and [X-KDevelop-Version] == 4' gave syntax error
kio (KTrader): WARNING: Parsing ' and [X-KDevelop-Version] == 4' gave syntax error
QObject::connect: No such signal KListBox::clicked(QListBoxItem*item)
QObject::connect:  (sender name:   'srcDistFileListBox')
QObject::connect:  (receiver name: 'dist_widget')
QObject::connect: No such slot GDBDebugger::GDBBreakpointWidget::slotAddBlankBreakpoint()
QObject::connect:  (sender name:   'gdbBreakpointWidget')
QObject::connect:  (receiver name: 'gdbBreakpointWidget')
kio (KTrader): WARNING: Parsing ' and [X-KDevelop-Version] == 4' gave syntax error
kio (KTrader): WARNING: Parsing ' and [X-KDevelop-Version] == 4' gave syntax error
QObject::connect: No such slot subversionPart::projectConfigWidget(KDialogBase*)
QObject::connect:  (sender name:   'unnamed')
QObject::connect:  (receiver name: 'Subversion')
QObject::connect: No such slot subversionPart::slotStopButtonClicked(KDevPlugin*)
QObject::connect:  (sender name:   'unnamed')
QObject::connect:  (receiver name: 'Subversion')
QObject::connect: Cannot connect (null)::dropEventPass(QDropEvent *) to SimpleMainWindow::slotDropEvent(QDropEvent *)
QObject::connect: Cannot connect (null)::dropEventPass(QDropEvent *) to SimpleMainWindow::slotDropEvent(QDropEvent *)
QObject::connect: Cannot connect (null)::dropEventPass(QDropEvent *) to SimpleMainWindow::slotDropEvent(QDropEvent *)
QObject::connect: Cannot connect (null)::dropEventPass(QDropEvent *) to SimpleMainWindow::slotDropEvent(QDropEvent *)
QObject::connect: Cannot connect (null)::dropEventPass(QDropEvent *) to SimpleMainWindow::slotDropEvent(QDropEvent *)
QObject::connect: Cannot connect (null)::dropEventPass(QDropEvent *) to SimpleMainWindow::slotDropEvent(QDropEvent *)
QObject::connect: Cannot connect (null)::dropEventPass(QDropEvent *) to SimpleMainWindow::slotDropEvent(QDropEvent *)
QObject::connect: Cannot connect (null)::dropEventPass(QDropEvent *) to SimpleMainWindow::slotDropEvent(QDropEvent *)
QObject::connect: Cannot connect (null)::dropEventPass(QDropEvent *) to SimpleMainWindow::slotDropEvent(QDropEvent *)
QObject::connect: Cannot connect (null)::dropEventPass(QDropEvent *) to SimpleMainWindow::slotDropEvent(QDropEvent *)
QObject::connect: Cannot connect (null)::dropEventPass(QDropEvent *) to SimpleMainWindow::slotDropEvent(QDropEvent *)
ASSERT: "part && parent" in partwidget.cpp (41)
kio (KTrader): WARNING: Parsing ' and [X-KDevelop-Version] == 4' gave syntax error
kio (KTrader): WARNING: Parsing ' and [X-KDevelop-Version] == 4' gave syntax error
kio (KTrader): WARNING: Parsing ' and [X-KDevelop-Version] == 4' gave syntax error
kio (KTrader): WARNING: Parsing ' and [X-KDevelop-Version] == 4' gave syntax error
kio (KTrader): WARNING: Parsing ' and [X-KDevelop-Version] == 4' gave syntax error
kio (KTrader): WARNING: Parsing ' and [X-KDevelop-Version] == 4' gave syntax error
kio (KTrader): WARNING: Parsing ' and [X-KDevelop-Version] == 4' gave syntax error
kio (KTrader): WARNING: Parsing ' and [X-KDevelop-Version] == 4' gave syntax error
kio (KTrader): WARNING: Parsing ' and [X-KDevelop-Version] == 4' gave syntax error
kio (KTrader): WARNING: Parsing ' and [X-KDevelop-Version] == 4' gave syntax error
kio (KTrader): WARNING: Parsing ' and [X-KDevelop-Version] == 4' gave syntax error
QObject::connect: No such slot ProblemReporter::configWidget(KDialogBase*)
QObject::connect:  (sender name:   'unnamed')
QObject::connect:  (receiver name: 'problemReporterWidget')
terminate called after throwing an instance of 'std::bad_alloc'
  what():  St9bad_alloc
KCrash: Application 'kdevelop' crashing...

----------------------
And the backtrace:
[?1034hUsing host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 0xb5f8f6d0 (LWP 6795)]
[New Thread 0xb4815b90 (LWP 6835)]
[New Thread 0xb5540b90 (LWP 6825)]
[KCrash handler]
#6  0xffffe410 in __kernel_vsyscall ()
#7  0xb5fbd181 in *__GI_raise (sig=6)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#8  0xb5fbe948 in *__GI_abort () at abort.c:88
#9  0xb61a69c0 in __gnu_cxx::__verbose_terminate_handler ()
    at /var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/libstdc++-v3/libsupc++/vterminate.cc:97
#10 0xb61a46e5 in __cxxabiv1::__terminate (
    handler=0xb61a6870 <__gnu_cxx::__verbose_terminate_handler()>)
    at /var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/libstdc++-v3/libsupc++/eh_terminate.cc:43
#11 0xb61a4716 in std::terminate ()
    at /var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/libstdc++-v3/libsupc++/eh_terminate.cc:53
#12 0xb61a481a in __cxa_throw (obj=0xb3fe8128, tinfo=0xb61cf3d4, 
    dest=0xb61a4b50 <~bad_alloc>)
    at /var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/libstdc++-v3/libsupc++/eh_throw.cc:77
#13 0xb61a4c30 in operator new (sz=1753324223)
    at /var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/libstdc++-v3/libsupc++/new_op.cc:63
#14 0xb61a4cf9 in operator new[] (sz=1753324223)
    at /var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/libstdc++-v3/libsupc++/new_opv.cc:37
#15 0xb6b40c57 in operator>> (s=@0xbf9a867c, str=@0xb3fe8024)
    at tools/qstring.cpp:6885
#16 0xb56e2827 in Tag::load (this=0xbf9a86b4, stream=@0xbf9a867c) at tag.cpp:97
#17 0xb56e4aec in Catalog::query (this=0x8d34500, args=@0xbf9a8834)
    at catalog.cpp:433
#18 0xb578e05e in CodeInformationRepository::query (this=0x9035028, 
    args=@0xbf9a8834) at codeinformationrepository.cpp:65
#19 0xb581a7fa in CppSupportPart::buildSafeFileSet (this=0x86a7708)
    at cppsupportpart.cpp:3025
#20 0xb582833e in CppSupportPart::qt_invoke (this=0x86a7708, _id=49, 
    _o=0xbf9a8938) at cppsupportpart.moc:395
#21 0xb68817c8 in QObject::activate_signal (this=0x86c5970, clist=0x86c56c8, 
    o=0xbf9a8938) at kernel/qobject.cpp:2356
#22 0xb6882310 in QObject::activate_signal (this=0x86c5970, signal=2)
    at kernel/qobject.cpp:2325
#23 0xb6ba119f in QTimer::timeout (this=0x86c5970)
    at .moc/release-shared-mt/moc_qtimer.cpp:82
#24 0xb68a2b3e in QTimer::event (this=0x86c5970, e=0xbf9a8c30)
    at kernel/qtimer.cpp:219
#25 0xb6825c2b in QApplication::internalNotify (this=0xbf9a8e4c, 
    receiver=0x86c5970, e=0xbf9a8c30) at kernel/qapplication.cpp:2635
#26 0xb68267a6 in QApplication::notify (this=0xbf9a8e4c, receiver=0x86c5970, 
    e=0xbf9a8c30) at kernel/qapplication.cpp:2358
#27 0xb6e4d541 in KApplication::notify (this=0xbf9a8e4c, receiver=0x86c5970, 
    event=0xbf9a8c30) at kapplication.cpp:550
#28 0xb681b7d5 in QEventLoop::activateTimers (this=0x8092f60)
    at kernel/qapplication.h:496
#29 0xb67d83ef in QEventLoop::processEvents (this=0x8092f60, flags=4)
    at kernel/qeventloop_x11.cpp:389
#30 0xb683b8b9 in QEventLoop::enterLoop (this=0x8092f60)
    at kernel/qeventloop.cpp:198
#31 0xb683b75e in QEventLoop::exec (this=0x8092f60)
    at kernel/qeventloop.cpp:145
#32 0xb6825753 in QApplication::exec (this=0xbf9a8e4c)
    at kernel/qapplication.cpp:2758
#33 0x0804e6b2 in main (argc=) at main.cpp:143
#34 0xb5fa9fdc in __libc_start_main (main=0x804db30 <main>, argc=1, 
    ubp_av=0xbf9a9094, init=0x8052410 <__libc_csu_init>, 
    fini=0x8052400 <__libc_csu_fini>, rtld_fini=0xb7f810e0 <_dl_fini>, 
    stack_end=0xbf9a908c) at libc-start.c:229
#35 0x0804dab1 in _start ()
Comment 1 Albert Zeyer 2007-12-29 16:43:01 UTC
Portage 2.1.3.19 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r5 i686)
=================================================================
System uname: 2.6.23-gentoo-r5 i686 Intel(R) Core(TM)2 CPU T7400 @ 2.16GHz
Timestamp of tree: Fri, 28 Dec 2007 12:30:01 +0000
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -pipe -ggdb"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=nocona -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms splitdebug unmerge-orphans userfetch"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp6.uni-erlangen.de/pub/mirrors/gentoo ftp://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/ ftp://mirror.nutsmaas.nl/gentoo/"
LANG="de_DE.UTF-8"
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/private"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip X a52 aac acl acpi alsa amarok amuled apm atm automount bash-completion berkdb bitmap-fonts bluetooth bzip2 cairo cdr cli cracklib crypt cups d dbus dga dhcp divx dri dv dvd dvdread eap-tls enblend encode evo exif extra-algorithms fasttrack ffmpeg firefox flac ftp galago gd gdbm german gif glib glitz gnome gnutella gpm gtk h323 hal haskell hddtemp hfs iconv icu injection ipv6 irda isdnlog isight java javascript jit jpeg jpeg2k lcms lirc lm_sensors lua macbook mad midi mmx mozdevelop mp2 mp3 mp4 mpeg mtp mudflap musicbrainz nautilus ncurses net network njb nls nptl nptlonly nsplugin ntfs ogg opengl openmp oss pam pascal pcre pdf perl pidgin pmu png pnm postscript ps python quicktime rar rc5 rdesktop readline real realmedia reflection reiser4 reiserfs rtc samba screen sdl sdl-image sdl-sound sdlaudio server session sftp sharedmem sift smp speex spl sse sse2 ssl ssse3 subversion svg tcpd theora threads threadsafe tiff timidity trayicon truetype truetype-fonts type1-fonts unicode unzip usb v4l2 vorbis weak-algorithms win32codecs wma wxwindows x264 x86 xanim xattr xcomposite xext xml xmlreader xorg xrandr xscreensaver xv xvid zip zlib zsh-completion" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" LIRC_DEVICES="inputlirc macmini" USERLAND="GNU" VIDEO_CARDS="i810 vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 2 Albert Zeyer 2007-12-29 16:46:26 UTC
I also tried to create a new project by importing the project-directory again (this worked very good in the past; it just added all source files and used the existing Makefile for compiling). But I also get a very similar (perhaps the same) error:

On console:
az@macbook ~ $ kdevelop
QObject::connect: No such slot MakeWidget::slotDocumentOpened(const KURL&)
QObject::connect:  (sender name:   'unnamed')
QObject::connect:  (receiver name: 'make widget')
QLayout "unnamed" added to IndexView "unnamed", which already has a layout
kdecore (KAction): WARNING: KAction::initPrivate(): trying to assign a shortcut (Alt+Ctrl+Shift+N) to an unnamed action.
QObject::connect: No such slot ImportDialog::slotFetchModulesFromRepository()
QObject::connect:  (sender name:   'fetchModuleButton')
QObject::connect:  (receiver name: 'import dialog')
kio (KTrader): WARNING: Parsing ' and [X-KDevelop-Version] == 4' gave syntax error
kio (KTrader): WARNING: Parsing ' and [X-KDevelop-Version] == 4' gave syntax error
QObject::connect: No such signal KListBox::clicked(QListBoxItem*item)
QObject::connect:  (sender name:   'srcDistFileListBox')
QObject::connect:  (receiver name: 'dist_widget')
QObject::connect: No such slot GDBDebugger::GDBBreakpointWidget::slotAddBlankBreakpoint()
QObject::connect:  (sender name:   'gdbBreakpointWidget')
QObject::connect:  (receiver name: 'gdbBreakpointWidget')
kio (KTrader): WARNING: Parsing ' and [X-KDevelop-Version] == 4' gave syntax error
kio (KTrader): WARNING: Parsing ' and [X-KDevelop-Version] == 4' gave syntax error
ASSERT: "part && parent" in partwidget.cpp (41)
kio (KTrader): WARNING: Parsing ' and [X-KDevelop-Version] == 4' gave syntax error
kio (KTrader): WARNING: Parsing ' and [X-KDevelop-Version] == 4' gave syntax error
QObject::connect: No such slot ProblemReporter::configWidget(KDialogBase*)
QObject::connect:  (sender name:   'unnamed')
QObject::connect:  (receiver name: 'problemReporterWidget')
terminate called after throwing an instance of 'std::bad_alloc'
  what():  St9bad_alloc
KCrash: Application 'kdevelop' crashing...

--------------
Backtrace:
[?1034hUsing host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 0xb5f0d6d0 (LWP 6981)]
[New Thread 0xb49b3b90 (LWP 7006)]
[New Thread 0xb54beb90 (LWP 6997)]
[KCrash handler]
#6  0xffffe410 in __kernel_vsyscall ()
#7  0xb5f3b181 in *__GI_raise (sig=6)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#8  0xb5f3c948 in *__GI_abort () at abort.c:88
#9  0xb61249c0 in __gnu_cxx::__verbose_terminate_handler ()
    at /var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/libstdc++-v3/libsupc++/vterminate.cc:97
#10 0xb61226e5 in __cxxabiv1::__terminate (
    handler=0xb6124870 <__gnu_cxx::__verbose_terminate_handler()>)
    at /var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/libstdc++-v3/libsupc++/eh_terminate.cc:43
#11 0xb6122716 in std::terminate ()
    at /var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/libstdc++-v3/libsupc++/eh_terminate.cc:53
#12 0xb612281a in __cxa_throw (obj=0xb3e53d48, tinfo=0xb614d3d4, 
    dest=0xb6122b50 <~bad_alloc>)
    at /var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/libstdc++-v3/libsupc++/eh_throw.cc:77
#13 0xb6122c30 in operator new (sz=1749408447)
    at /var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/libstdc++-v3/libsupc++/new_op.cc:63
#14 0xb6122cf9 in operator new[] (sz=1749408447)
    at /var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/libstdc++-v3/libsupc++/new_opv.cc:37
#15 0xb6abec57 in operator>> (s=@0xbfda4a7c, str=@0xb3e5390c)
    at tools/qstring.cpp:6885
#16 0xb5660827 in Tag::load (this=0xbfda4ab4, stream=@0xbfda4a7c) at tag.cpp:97
#17 0xb5662aec in Catalog::query (this=0x881ebf0, args=@0xbfda4c34)
    at catalog.cpp:433
#18 0xb570c05e in CodeInformationRepository::query (this=0x8cd5e00, 
    args=@0xbfda4c34) at codeinformationrepository.cpp:65
#19 0xb57987fa in CppSupportPart::buildSafeFileSet (this=0x869bc98)
    at cppsupportpart.cpp:3025
#20 0xb57a633e in CppSupportPart::qt_invoke (this=0x869bc98, _id=49, 
    _o=0xbfda4d38) at cppsupportpart.moc:395
#21 0xb67ff7c8 in QObject::activate_signal (this=0x8087f38, clist=0x8695b58, 
    o=0xbfda4d38) at kernel/qobject.cpp:2356
#22 0xb6800310 in QObject::activate_signal (this=0x8087f38, signal=2)
    at kernel/qobject.cpp:2325
#23 0xb6b1f19f in QTimer::timeout (this=0x8087f38)
    at .moc/release-shared-mt/moc_qtimer.cpp:82
#24 0xb6820b3e in QTimer::event (this=0x8087f38, e=0xbfda5030)
    at kernel/qtimer.cpp:219
#25 0xb67a3c2b in QApplication::internalNotify (this=0xbfda524c, 
    receiver=0x8087f38, e=0xbfda5030) at kernel/qapplication.cpp:2635
#26 0xb67a47a6 in QApplication::notify (this=0xbfda524c, receiver=0x8087f38, 
    e=0xbfda5030) at kernel/qapplication.cpp:2358
#27 0xb6dcb541 in KApplication::notify (this=0xbfda524c, receiver=0x8087f38, 
    event=0xbfda5030) at kapplication.cpp:550
#28 0xb67997d5 in QEventLoop::activateTimers (this=0x8092f10)
    at kernel/qapplication.h:496
#29 0xb67563ef in QEventLoop::processEvents (this=0x8092f10, flags=4)
    at kernel/qeventloop_x11.cpp:389
#30 0xb67b98b9 in QEventLoop::enterLoop (this=0x8092f10)
    at kernel/qeventloop.cpp:198
#31 0xb67b975e in QEventLoop::exec (this=0x8092f10)
    at kernel/qeventloop.cpp:145
#32 0xb67a3753 in QApplication::exec (this=0xbfda524c)
    at kernel/qapplication.cpp:2758
#33 0x0804e6b2 in main (argc=) at main.cpp:143
#34 0xb5f27fdc in __libc_start_main (main=0x804db30 <main>, argc=1, 
    ubp_av=0xbfda5494, init=0x8052410 <__libc_csu_init>, 
    fini=0x8052400 <__libc_csu_fini>, rtld_fini=0xb7eff0e0 <_dl_fini>, 
    stack_end=0xbfda548c) at libc-start.c:229
#35 0x0804dab1 in _start ()

Comment 3 Ingmar Vanhassel (RETIRED) gentoo-dev 2007-12-29 17:17:40 UTC
Can you reproduce this with =dev-util/kdevelop-3.5.0 ? There's an open stabilisation bug, bug 203653.

echo '~dev-util/kdevelop-3.5.0 ~x86' >> /etc/portage/package.keywords && emerge -uav kdevelop
Comment 4 Albert Zeyer 2007-12-29 18:53:26 UTC
Of course I already checked this out. But it gaves me realy much the same result (with 3.5.0):

Console output:
...
inWindow::slotDropEvent(QDropEvent *)
QObject::connect: Cannot connect (null)::dropEventPass(QDropEvent *) to SimpleMainWindow::slotDropEvent(QDropEvent *)
QObject::connect: Cannot connect (null)::dropEventPass(QDropEvent *) to SimpleMainWindow::slotDropEvent(QDropEvent *)
QObject::connect: Cannot connect (null)::dropEventPass(QDropEvent *) to SimpleMainWindow::slotDropEvent(QDropEvent *)
QObject::connect: Cannot connect (null)::dropEventPass(QDropEvent *) to SimpleMainWindow::slotDropEvent(QDropEvent *)
QObject::connect: Cannot connect (null)::dropEventPass(QDropEvent *) to SimpleMainWindow::slotDropEvent(QDropEvent *)
ASSERT: "part && parent" in partwidget.cpp (41)
kio (KTrader): WARNING: Parsing ' and [X-KDevelop-Version] == 4' gave syntax error
kio (KTrader): WARNING: Parsing ' and [X-KDevelop-Version] == 4' gave syntax error
kio (KTrader): WARNING: Parsing ' and [X-KDevelop-Version] == 4' gave syntax error
kio (KTrader): WARNING: Parsing ' and [X-KDevelop-Version] == 4' gave syntax error
kio (KTrader): WARNING: Parsing ' and [X-KDevelop-Version] == 4' gave syntax error
kio (KTrader): WARNING: Parsing ' and [X-KDevelop-Version] == 4' gave syntax error
kio (KTrader): WARNING: Parsing ' and [X-KDevelop-Version] == 4' gave syntax error
kio (KTrader): WARNING: Parsing ' and [X-KDevelop-Version] == 4' gave syntax error
kio (KTrader): WARNING: Parsing ' and [X-KDevelop-Version] == 4' gave syntax error
kio (KTrader): WARNING: Parsing ' and [X-KDevelop-Version] == 4' gave syntax error
kio (KTrader): WARNING: Parsing ' and [X-KDevelop-Version] == 4' gave syntax error
QObject::connect: No such slot ProblemReporter::configWidget(KDialogBase*)
QObject::connect:  (sender name:   'unnamed')
QObject::connect:  (receiver name: 'problemReporterWidget')
terminate called after throwing an instance of 'std::bad_alloc'
  what():  St9bad_alloc
KCrash: Application 'kdevelop' crashing...

-----------------------
Backtrace:
[?1034hUsing host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 0xb5fb66d0 (LWP 21898)]
[New Thread 0xb4838b90 (LWP 21936)]
[New Thread 0xb5567b90 (LWP 21926)]
[KCrash handler]
#6  0xffffe410 in __kernel_vsyscall ()
#7  0xb5fe4181 in *__GI_raise (sig=6)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#8  0xb5fe5948 in *__GI_abort () at abort.c:88
#9  0xb61cd9c0 in __gnu_cxx::__verbose_terminate_handler ()
    at /var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/libstdc++-v3/libsupc++/vterminate.cc:97
#10 0xb61cb6e5 in __cxxabiv1::__terminate (
    handler=0xb61cd870 <__gnu_cxx::__verbose_terminate_handler()>)
    at /var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/libstdc++-v3/libsupc++/eh_terminate.cc:43
#11 0xb61cb716 in std::terminate ()
    at /var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/libstdc++-v3/libsupc++/eh_terminate.cc:53
#12 0xb61cb81a in __cxa_throw (obj=0xb3d78d70, tinfo=0xb61f63d4, 
    dest=0xb61cbb50 <~bad_alloc>)
    at /var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/libstdc++-v3/libsupc++/eh_throw.cc:77
#13 0xb61cbc30 in operator new (sz=3221225472)
    at /var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/libstdc++-v3/libsupc++/new_op.cc:63
#14 0xb61cbcf9 in operator new[] (sz=3221225472)
    at /var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/libstdc++-v3/libsupc++/new_opv.cc:37
#15 0xb6b61749 in QString::setLength (this=0xbfaab64c, newLen=1444285956)
    at tools/qstring.cpp:1703
#16 0xb6b67ac6 in operator>> (s=@0xbfaab75c, str=@0xbfaab64c)
    at tools/qstring.cpp:6879
#17 0xb6b75b8f in operator>><QString> (s=@0xbfaab75c, l=@0x91c2cb0)
    at tools/qvaluelist.h:644
#18 0xb6b7505e in operator>> (s=@0xbfaab75c, l=@0x91c2cb0)
    at tools/qstringlist.cpp:438
#19 0xb5709818 in Tag::load (this=0xbfaab794, stream=@0xbfaab75c) at tag.cpp:97
#20 0xb570baec in Catalog::query (this=0x8dcaad8, args=@0xbfaab914)
    at catalog.cpp:433
#21 0xb57b505e in CodeInformationRepository::query (this=0x9034420, 
    args=@0xbfaab914) at codeinformationrepository.cpp:65
#22 0xb583bf6b in CppSupportPart::buildSafeFileSet (this=0x86a7e30)
    at cppsupportpart.cpp:3027
#23 0xb584f2da in CppSupportPart::qt_invoke (this=0x86a7e30, _id=49, 
    _o=0xbfaaba18) at cppsupportpart.moc:395
#24 0xb68a87c8 in QObject::activate_signal (this=0x86c6170, clist=0x86c5ec8, 
    o=0xbfaaba18) at kernel/qobject.cpp:2356
#25 0xb68a9310 in QObject::activate_signal (this=0x86c6170, signal=2)
    at kernel/qobject.cpp:2325
#26 0xb6bc819f in QTimer::timeout (this=0x86c6170)
    at .moc/release-shared-mt/moc_qtimer.cpp:82
#27 0xb68c9b3e in QTimer::event (this=0x86c6170, e=0xbfaabd10)
    at kernel/qtimer.cpp:219
#28 0xb684cc2b in QApplication::internalNotify (this=0xbfaabf2c, 
    receiver=0x86c6170, e=0xbfaabd10) at kernel/qapplication.cpp:2635
#29 0xb684d7a6 in QApplication::notify (this=0xbfaabf2c, receiver=0x86c6170, 
    e=0xbfaabd10) at kernel/qapplication.cpp:2358
#30 0xb6e74541 in KApplication::notify (this=0xbfaabf2c, receiver=0x86c6170, 
    event=0xbfaabd10) at kapplication.cpp:550
#31 0xb68427d5 in QEventLoop::activateTimers (this=0x8092f10)
    at kernel/qapplication.h:496
#32 0xb67ff3ef in QEventLoop::processEvents (this=0x8092f10, flags=4)
    at kernel/qeventloop_x11.cpp:389
#33 0xb68628b9 in QEventLoop::enterLoop (this=0x8092f10)
    at kernel/qeventloop.cpp:198
#34 0xb686275e in QEventLoop::exec (this=0x8092f10)
    at kernel/qeventloop.cpp:145
#35 0xb684c753 in QApplication::exec (this=0xbfaabf2c)
    at kernel/qapplication.cpp:2758
#36 0x0804e6b2 in main (argc=) at main.cpp:143
#37 0xb5fd0fdc in __libc_start_main (main=0x804db30 <main>, argc=1, 
    ubp_av=0xbfaac174, init=0x8052410 <__libc_csu_init>, 
    fini=0x8052400 <__libc_csu_fini>, rtld_fini=0xb7fa80e0 <_dl_fini>, 
    stack_end=0xbfaac16c) at libc-start.c:229
#38 0x0804dab1 in _start ()
Comment 5 Albert Zeyer 2007-12-29 19:03:36 UTC
A sidenode:

KDevelop works also realy stable for me before. I am not exactly sure why I have these problems now. I changed some project settings (for example I enabled the splitted CPP/H view and some advanced code completion things) before so I thought that perhaps that could be the reason. But after I got the crashes, I have deleted all this out of the project-file (with a text-editor) but this doesn't change anything.

I also tried to delete some of the code completion files (I was not sure which exactly I have to delete but I deleted the file "tags" and "project.kdevelop.pcs"). This also doesn't help. I also deleted the file "Doxyfile" which works once but than I get a crash again (while trying to use code completion - pressing ctrl+space) and after this I also get always the crash, also not with removing all the files again.

Perhaps this could be also a hardware problem because I changed the memory a week ago (though the problem start occuring today and I have used KDevelop all the last days).
Comment 6 Markus Lohse 2008-02-26 21:12:04 UTC
I had the very same problem except that I was able to load the project after the 2nd or 3rd time restarting kdevelop.
I reemerged kdevelop 3.4 and 3.5 several times with no compiler optimizations at all - no luck.

My guess is that this has something to do with code completion:
"Project Options" -> "C++ Support" -> "Code Completion" -> "Preprocess and parse included header into a database (experimental)"

Try to delete those databases:
$ rm -r ~/.kde3.5/share/apps/kdevcppsupport/
Comment 7 Carsten Lohrke (RETIRED) gentoo-dev 2008-06-29 23:31:27 UTC
Is this reproducible with 3.5.2-r1?
Comment 8 Markus Lohse 2008-06-30 00:54:53 UTC
I just updatet kdevelop and re-enabled this code-completion thing... so far it did not crash. However, in the first place, it worked fine for several weeks until -I guess- the code completion database corrupted.

So let me try this for some time...
Comment 9 Carsten Lohrke (RETIRED) gentoo-dev 2008-06-30 02:12:54 UTC
Thanks for the quick reply Markus. I've asked for stabilization - bug #230121 - and hopefully this version works better. We're scarce on human ressources, so I'm closing the bug as WORKSFORME, without even trying to reproduce, but that's how it is unfortunately. Please don't hesitate to reopen, if the problem is persistent.