Bug 45933

Summary: KDevelop crashes when loading a Java Project (javasupport enabled)
Product: [Applications] kdevelop Reporter: aragorn
Component: generalAssignee: KDevelop Developers <kdevelop-devel>
Status: RESOLVED FIXED    
Severity: crash    
Priority: NOR    
Version: 0.2.2   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description aragorn 2002-07-30 04:14:03 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           gideon
Version:           0.2_2.x (KDE 3.0.6 (using KDE 3.0.6 )
Severity:          crash
Installed from:    yes
Compiler:          gcc version 3.1
OS:                Linux (i686) release 2.4.17
OS/Compiler notes: 

Kdevelop crashes when loading a java project with javasupport enabled heres the backtrace:

[New Thread 1024 (LWP 1283)]
0x420b4769 in wait4 () from /lib/i686/libc.so.6
#0  0x420b4769 in wait4 () from /lib/i686/libc.so.6
#1  0x4213030c in __DTOR_END__ () from /lib/i686/libc.so.6
#2  0x411f1ca3 in waitpid () from /lib/i686/libpthread.so.0
#3  0x40a02625 in KCrash::defaultCrashHandler(int) ()
   from /usr/local/kde/lib/libkdecore.so.4
#4  0x411eff75 in pthread_sighandler () from /lib/i686/libpthread.so.0
#5  <signal handler called>
#6  0x42029241 in kill () from /lib/i686/libc.so.6
#7  0x411efc4b in raise () from /lib/i686/libpthread.so.0
#8  0x4202a7d2 in abort () from /lib/i686/libc.so.6
#9  0x412d1737 in __cxxabiv1::__terminate(void (*)()) (
    handler=0x4202a664 <abort>)
    at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:47
#10 0x412d1784 in std::terminate() ()
    at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:57
#11 0x412d1926 in __cxa_throw ()
    at ../../../../libstdc++-v3/libsupc++/eh_throw.cc:77
#12 0x419f70a5 in antlr::Parser::match(int) ()
   from /usr/local/kde/lib/kde3/libkdevjavasupport.so
#13 0x4195af58 in JavaRecognizer::variableDeclarator(antlr::ASTRefCount<JavaAST> antlr::ASTRefCount<JavaAST>) ()
   from /usr/local/kde/lib/kde3/libkdevjavasupport.so
#14 0x4193be22 in JavaRecognizer::variableDefinitions(antlr::ASTRefCount<JavaAST> antlr::ASTRefCount<JavaAST>) ()
   from /usr/local/kde/lib/kde3/libkdevjavasupport.so
#15 0x4193a1fb in JavaRecognizer::declaration() ()
   from /usr/local/kde/lib/kde3/libkdevjavasupport.so
#16 0x4196edec in JavaRecognizer::statement() ()
   from /usr/local/kde/lib/kde3/libkdevjavasupport.so
#17 0x4195689f in JavaRecognizer::compoundStatement() ()
   from /usr/local/kde/lib/kde3/libkdevjavasupport.so
#18 0x41967986 in JavaRecognizer::statement() ()
   from /usr/local/kde/lib/kde3/libkdevjavasupport.so
#19 0x41968713 in JavaRecognizer::statement() ()
   from /usr/local/kde/lib/kde3/libkdevjavasupport.so
#20 0x4195689f in JavaRecognizer::compoundStatement() ()
   from /usr/local/kde/lib/kde3/libkdevjavasupport.so
#21 0x419500c3 in JavaRecognizer::field() ()
   from /usr/local/kde/lib/kde3/libkdevjavasupport.so
#22 0x41949638 in JavaRecognizer::classBlock() ()
   from /usr/local/kde/lib/kde3/libkdevjavasupport.so
#23 0x41936726 in JavaRecognizer::classDefinition(antlr::ASTRefCount<JavaAST>)
    () from /usr/local/kde/lib/kde3/libkdevjavasupport.so
#24 0x41931c31 in JavaRecognizer::typeDefinition() ()
   from /usr/local/kde/lib/kde3/libkdevjavasupport.so
#25 0x4192f08d in JavaRecognizer::compilationUnit() ()
   from /usr/local/kde/lib/kde3/libkdevjavasupport.so
#26 0x419111a0 in JavaSupportPart::parse(QString const&) ()
   from /usr/local/kde/lib/kde3/libkdevjavasupport.so
#27 0x41910ab4 in JavaSupportPart::maybeParse(QString const&) ()
   from /usr/local/kde/lib/kde3/libkdevjavasupport.so
#28 0x419105fe in JavaSupportPart::initialParse() ()
   from /usr/local/kde/lib/kde3/libkdevjavasupport.so
#29 0x4191291c in JavaSupportPart::qt_invoke(int QUObject*) ()
   from /usr/local/kde/lib/kde3/libkdevjavasupport.so
#30 0x40cfdffb in QObject::activate_signal(QConnectionList* QUObject*) ()
   from /inn/incoming/KDE-3/qt-copy//lib/libqt-mt.so.3
#31 0x40fbe412 in QSignal::signal(QVariant const&) ()
   from /inn/incoming/KDE-3/qt-copy//lib/libqt-mt.so.3
#32 0x40d175f8 in QSignal::activate() ()
   from /inn/incoming/KDE-3/qt-copy//lib/libqt-mt.so.3
#33 0x40d1ebf3 in QSingleShotTimer::event(QEvent*) ()
   from /inn/incoming/KDE-3/qt-copy//lib/libqt-mt.so.3
#34 0x40caa4b9 in QApplication::internalNotify(QObject* QEvent*) ()
   from /inn/incoming/KDE-3/qt-copy//lib/libqt-mt.so.3
#35 0x40ca9d89 in QApplication::notify(QObject* QEvent*) ()
   from /inn/incoming/KDE-3/qt-copy//lib/libqt-mt.so.3
#36 0x40985a26 in KApplication::notify(QObject* QEvent*) ()
   from /usr/local/kde/lib/libkdecore.so.4
#37 0x40c4ca13 in qt_activate_timers() ()
   from /inn/incoming/KDE-3/qt-copy//lib/libqt-mt.so.3
#38 0x40c4a271 in QApplication::processNextEvent(bool) ()
   from /inn/incoming/KDE-3/qt-copy//lib/libqt-mt.so.3
#39 0x40cabac0 in QApplication::enter_loop() ()
   from /inn/incoming/KDE-3/qt-copy//lib/libqt-mt.so.3
#40 0x40c49f2d in QApplication::exec() ()
   from /inn/incoming/KDE-3/qt-copy//lib/libqt-mt.so.3
#41 0x080615e2 in main ()
#42 0x42017499 in __libc_start_main () from /lib/i686/libc.so.6

BTW why not add a template for a Hello Word Java Application ?? that would be a wish i know....hehehe.....

keep up the great work !!!
cheers....



(Submitted via bugs.kde.org)
(Called from KBugReport dialog)
Comment 1 Harald Fernengel 2002-09-22 14:23:47 UTC
works for me :) Can you please try again with the latest CVS sources? 
Comment 2 aragorn 2002-09-22 20:18:45 UTC
Subject: Re:  KDevelop crashes when loading a Java Project (javasupport enabled)

On Sunday 22 September 2002 07:23 am, you wrote:
HF> ------- You are receiving this mail because: -------
HF> You reported the bug, or are watching the reporter.
HF>
HF> http://bugs.kde.org/show_bug.cgi?id=45933
HF>
HF>
HF>
HF>
HF> ------- Additional Comments From harry@kdevelop.org  2002-09-22 14:23
 ------- HF> works for me :) Can you please try again with the latest CVS
 sources? HF>

	Ive compiled it.....gonna try it out...thanks...:)....


Comment 3 Eray Ozkural 2003-02-11 15:38:13 UTC
reporter, could you please try again? harald says it works for him. 
 
Comment 4 aragorn 2003-02-12 07:52:50 UTC
Subject: Re:  KDevelop crashes when loading a Java Project (javasupport enabled)

On Tuesday 11 February 2003 08:38 am, you wrote:
EO> ------- You are receiving this mail because: -------
EO> You reported the bug, or are watching the reporter.
EO>
EO> http://bugs.kde.org/show_bug.cgi?id=45933
EO>
EO>
EO>
EO>
EO> ------- Additional Comments From erayo@bilkent.edu.tr  2003-02-11 15:38
 ------- EO> reporter, could you please try again? harald says it works for
 him. EO>


	this one has a long time.....it seems its fixed....:)

	Thanks....


Comment 5 Eray Ozkural 2003-02-12 11:57:50 UTC
closing this bug, nice work java hackers :) 
 
please report "hello world java app" as a wishlist. we should in general 
support non-KDE Java projects....