Bug 23563 - Stack overflow in search engine
Summary: Stack overflow in search engine
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 critical (vote)
Target Milestone: 2.1 M4   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-13 10:29 EDT by Dani Megert CLA
Modified: 2002-11-21 12:19 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dani Megert CLA 2002-09-13 10:29:39 EDT
Build 20020911

Can't reproduce happened when I started search directly after startup:
I saw in the dialog that the indexer was indexing (from 93x to 0) and then
restarted the indexing. I then got an internal error dialog.

...  
org/eclipse/jdt/internal/core/index/impl/Util.quickSort([Lorg/eclipse/jdt/internal/core/index/impl/IndexedFile;II)V
org/eclipse/jdt/internal/core/index/impl/Util.quickSort([Lorg/eclipse/jdt/internal/core/index/impl/IndexedFile;II)V
org/eclipse/jdt/internal/core/index/impl/Util.quickSort([Lorg/eclipse/jdt/internal/core/index/impl/IndexedFile;II)V
org/eclipse/jdt/internal/core/index/impl/Util.quickSort([Lorg/eclipse/jdt/internal/core/index/impl/IndexedFile;II)V
org/eclipse/jdt/internal/core/index/impl/Util.quickSort([Lorg/eclipse/jdt/internal/core/index/impl/IndexedFile;II)V
org/eclipse/jdt/internal/core/index/impl/Util.quickSort([Lorg/eclipse/jdt/internal/core/index/impl/IndexedFile;II)V
org/eclipse/jdt/internal/core/index/impl/Util.sort([Lorg/eclipse/jdt/internal/core/index/impl/IndexedFile;)V
org/eclipse/jdt/internal/core/index/impl/InMemoryIndex.getSortedFiles()[Lorg/eclipse/jdt/internal/core/index/impl/IndexedFile;
   org/eclipse/jdt/internal/core/index/impl/SimpleIndexInput.open()V
   org/eclipse/jdt/internal/core/index/impl/MergeFactory.merge()V
   org/eclipse/jdt/internal/core/index/impl/Index.merge()V
   org/eclipse/jdt/internal/core/index/impl/Index.save()V
  
org/eclipse/jdt/internal/core/search/PatternSearchJob.search(Lorg/eclipse/jdt/internal/core/index/IIndex;Lorg/eclipse/core/runtime/IProgressMonitor;)Z
  
org/eclipse/jdt/internal/core/search/PatternSearchJob.execute(Lorg/eclipse/core/runtime/IProgressMonitor;)Z
  
org/eclipse/jdt/internal/core/search/processing/JobManager.performConcurrentJob(Lorg/eclipse/jdt/internal/core/search/processing/IJob;ILorg/eclipse/core/runtime/IProgressMonitor;)Z
  
org/eclipse/jdt/core/search/SearchEngine.search(Lorg/eclipse/core/resources/IWorkspace;Lorg/eclipse/jdt/core/search/ISearchPattern;Lorg/eclipse/jdt/core/search/IJavaSearchScope;Lorg/eclipse/jdt/core/search/IJavaSearchResultCollector;)V
  
org/eclipse/jdt/core/search/SearchEngine.search(Lorg/eclipse/core/resources/IWorkspace;Lorg/eclipse/jdt/core/IJavaElement;ILorg/eclipse/jdt/core/search/IJavaSearchScope;Lorg/eclipse/jdt/core/search/IJavaSearchResultCollector;)V
  
org/eclipse/jdt/internal/ui/search/JavaSearchOperation.execute(Lorg/eclipse/core/runtime/IProgressMonitor;)V
  
org/eclipse/ui/actions/WorkspaceModifyOperation$1.run(Lorg/eclipse/core/runtime/IProgressMonitor;)V
  
org/eclipse/core/internal/resources/Workspace.run(Lorg/eclipse/core/resources/IWorkspaceRunnable;Lorg/eclipse/core/runtime/IProgressMonitor;)V
  
org/eclipse/ui/actions/WorkspaceModifyOperation.run(Lorg/eclipse/core/runtime/IProgressMonitor;)V
   org/eclipse/jface/operation/ModalContext$ModalContextThread.run()V
Comment 1 Philipe Mulet CLA 2002-09-13 11:28:55 EDT
Jerome - you should look at the latest quicksort implementation tweak we made 
on CompilationResult.
Comment 2 Jerome Lanneluc CLA 2002-10-03 09:38:53 EDT
The 2 algorithms are identical.
Comment 3 Jerome Lanneluc CLA 2002-11-14 10:22:24 EST
Have you seen this happen again since you reported the bug.
Comment 4 Dani Megert CLA 2002-11-14 10:31:16 EST
No I haven't
Comment 5 Jerome Lanneluc CLA 2002-11-21 12:19:32 EST
I will close then. Please reopen if you see it again.