Bug 167692 - First time task scanning takes forever
First time task scanning takes forever
Status: NEW
Product: python
Classification: Unclassified
Component: Code
6.x
Macintosh (x86) Mac OS X
: P1 (vote)
: TBD
Assigned To: ardavis26
nbpythonqa
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-06-26 10:19 UTC by Michal Zlamal
Modified: 2010-02-25 09:16 UTC (History)
0 users

See Also:
Issue Type: DEFECT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Zlamal 2009-06-26 10:19:04 UTC
I started NetBeans 6.7 with python EA2 for a first time and did import of old settings, it imported my 1.0 Turbo Gears
project and do "task scanning" forever. I had to kill.

Here is stack trace (there is nothing suspicious in messages.log):

2009-06-26 11:10:24
Full thread dump Java HotSpot(TM) 64-Bit Server VM (11.3-b02-83 mixed mode):

"Parsing & Indexing Loop (200906212001)" daemon prio=1 tid=0x0000000101e0a800 nid=0x14e2bd000 waiting on condition
[0x000000014e2bc000..0x000000014e2bca50]
   java.lang.Thread.State: WAITING (parking)
	at sun.misc.Unsafe.park(Native Method)
	- parking to wait for  <0x00000001099dba20> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
	at java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)
	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1925)
	at java.util.concurrent.PriorityBlockingQueue.take(PriorityBlockingQueue.java:220)
	at org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:577)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:637)

"Inactive RequestProcessor thread [Was:Folder recognizer/org.openide.loaders.FolderList$ListTask]" daemon prio=1
tid=0x0000000101c74800 nid=0x154186000 in Object.wait() [0x0000000154185000..0x0000000154185a50]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on <0x0000000108fa5b48> (a java.lang.Object)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:983)
	- locked <0x0000000108fa5b48> (a java.lang.Object)

"GSF Source Worker Thread" daemon prio=1 tid=0x0000000101bd0800 nid=0x152285000 runnable
[0x0000000152282000..0x0000000152284a50]
   java.lang.Thread.State: RUNNABLE
	at org.python.antlr.PythonParser.xor_expr(PythonParser.java:9019)
	at org.python.antlr.PythonParser.expr(PythonParser.java:8870)
	at org.python.antlr.PythonParser.comparison(PythonParser.java:8444)
	at org.python.antlr.PythonParser.not_test(PythonParser.java:8385)
	at org.python.antlr.PythonParser.and_test(PythonParser.java:8169)
	at org.python.antlr.PythonParser.or_test(PythonParser.java:8014)
	at org.python.antlr.PythonParser.test(PythonParser.java:7864)
	at org.python.antlr.PythonParser.argument(PythonParser.java:13738)
	at org.python.antlr.PythonParser.arglist(PythonParser.java:13431)
	at org.python.antlr.PythonParser.trailer(PythonParser.java:11849)
	at org.python.antlr.PythonParser.power(PythonParser.java:10365)
	at org.python.antlr.PythonParser.factor(PythonParser.java:10276)
	at org.python.antlr.PythonParser.term(PythonParser.java:9854)
	at org.python.antlr.PythonParser.arith_expr(PythonParser.java:9596)
	at org.python.antlr.PythonParser.shift_expr(PythonParser.java:9339)
	at org.python.antlr.PythonParser.and_expr(PythonParser.java:9181)
	at org.python.antlr.PythonParser.xor_expr(PythonParser.java:9026)
	at org.python.antlr.PythonParser.expr(PythonParser.java:8870)
	at org.python.antlr.PythonParser.comparison(PythonParser.java:8444)
	at org.python.antlr.PythonParser.not_test(PythonParser.java:8385)
	at org.python.antlr.PythonParser.and_test(PythonParser.java:8169)
	at org.python.antlr.PythonParser.or_test(PythonParser.java:8014)
	at org.python.antlr.PythonParser.test(PythonParser.java:7864)
	at org.python.antlr.PythonParser.testlist(PythonParser.java:12937)
	at org.python.antlr.PythonParser.expr_stmt(PythonParser.java:3093)
	at org.python.antlr.PythonParser.small_stmt(PythonParser.java:2612)
	at org.python.antlr.PythonParser.simple_stmt(PythonParser.java:2461)
	at org.python.antlr.PythonParser.stmt(PythonParser.java:2376)
	at org.python.antlr.PythonParser.suite(PythonParser.java:7754)
	at org.python.antlr.PythonParser.funcdef(PythonParser.java:1409)
	at org.python.antlr.PythonParser.compound_stmt(PythonParser.java:6312)
	at org.python.antlr.PythonParser.stmt(PythonParser.java:2395)
	at org.python.antlr.PythonParser.suite(PythonParser.java:7754)
	at org.python.antlr.PythonParser.classdef(PythonParser.java:13250)
	at org.python.antlr.PythonParser.compound_stmt(PythonParser.java:6326)
	at org.python.antlr.PythonParser.stmt(PythonParser.java:2395)
	at org.python.antlr.PythonParser.file_input(PythonParser.java:637)
	at org.python.antlr.ModuleParser.file_input(ModuleParser.java:31)
	at org.netbeans.modules.python.editor.PythonParser.parse(PythonParser.java:221)
	at org.netbeans.modules.python.editor.PythonParser.sanitize(PythonParser.java:346)
	at org.netbeans.modules.python.editor.PythonParser.parse(PythonParser.java:93)
	at org.netbeans.modules.python.editor.PythonParser.parseFiles(PythonParser.java:315)
	at org.netbeans.napi.gsfret.source.ParserTaskImpl.parse(ParserTaskImpl.java:170)
	at org.netbeans.modules.gsfret.source.usages.RepositoryUpdater.batchCompile(RepositoryUpdater.java:2028)
	at org.netbeans.modules.gsfret.source.usages.RepositoryUpdater$CompileWorker.updateFolder(RepositoryUpdater.java:1404)
	at org.netbeans.modules.gsfret.source.usages.RepositoryUpdater$CompileWorker.scanRoots(RepositoryUpdater.java:1129)
	at org.netbeans.modules.gsfret.source.usages.RepositoryUpdater$CompileWorker.access$1900(RepositoryUpdater.java:651)
	at org.netbeans.modules.gsfret.source.usages.RepositoryUpdater$CompileWorker$1.run(RepositoryUpdater.java:789)
	at org.netbeans.modules.gsfret.source.usages.RepositoryUpdater$CompileWorker$1.run(RepositoryUpdater.java:676)
	at org.netbeans.modules.gsfret.source.usages.ClassIndexManager.writeLock(ClassIndexManager.java:107)
	at org.netbeans.modules.gsfret.source.usages.RepositoryUpdater$CompileWorker.run(RepositoryUpdater.java:676)
	at org.netbeans.modules.gsfret.source.usages.RepositoryUpdater$CompileWorker.run(RepositoryUpdater.java:651)
	at org.netbeans.napi.gsfret.source.Source$CompilationJob.run(Source.java:1355)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:637)

"org.netbeans.modules.gsfret.source.usages.RepositoryUpdater" daemon prio=1 tid=0x0000000101bb9000 nid=0x15363b000 in
Object.wait() [0x000000015363a000..0x000000015363aa50]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on <0x0000000108ce32f8> (a java.util.TaskQueue)
	at java.lang.Object.wait(Object.java:485)
	at java.util.TimerThread.mainLoop(Timer.java:483)
	- locked <0x0000000108ce32f8> (a java.util.TaskQueue)
	at java.util.TimerThread.run(Timer.java:462)

"DestroyJavaVM" prio=5 tid=0x0000000101803000 nid=0x101301000 waiting on condition [0x0000000000000000..0x0000000101300a40]
   java.lang.Thread.State: RUNNABLE

"AWT-EventQueue-1" prio=6 tid=0x00000001018fc800 nid=0x148cc1000 in Object.wait() [0x0000000148cc0000..0x0000000148cc0a50]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on <0x000000010892ed38> (a org.netbeans.core.TimableEventQueue)
	at java.lang.Object.wait(Object.java:485)
	at java.awt.EventQueue.getNextEvent(EventQueue.java:515)
	- locked <0x000000010892ed38> (a org.netbeans.core.TimableEventQueue)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:263)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

"*** JFluid Separate Command Execution Thread" daemon prio=5 tid=0x0000000101a3b800 nid=0x14cb78000 in Object.wait()
[0x000000014cb77000..0x000000014cb77a50]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on <0x0000000108a6bfd0> (a java.lang.Object)
	at java.lang.Object.wait(Object.java:485)
	at org.netbeans.lib.profiler.ProfilerClient$SeparateCmdExecutionThread.run(ProfilerClient.java:102)
	- locked <0x0000000108a6bfd0> (a java.lang.Object)

"Thread-4" daemon prio=5 tid=0x0000000101ac9800 nid=0x14c5bb000 in Object.wait() [0x000000014c5ba000..0x000000014c5baa50]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on <0x000000010887f130> (a java.util.LinkedList)
	at java.lang.Object.wait(Object.java:485)
	at java.util.prefs.AbstractPreferences$EventDispatchThread.run(AbstractPreferences.java:1461)
	- locked <0x000000010887f130> (a java.util.LinkedList)

"TimerQueue" daemon prio=5 tid=0x0000000101940000 nid=0x149001000 in Object.wait() [0x0000000149000000..0x0000000149000a50]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on <0x0000000107c1a120> (a javax.swing.TimerQueue)
	at javax.swing.TimerQueue.run(TimerQueue.java:236)
	- locked <0x0000000107c1a120> (a javax.swing.TimerQueue)
	at java.lang.Thread.run(Thread.java:637)

"Java2D Disposer" daemon prio=10 tid=0x00000001018ed000 nid=0x148abe000 in Object.wait()
[0x0000000148abd000..0x0000000148abda50]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on <0x0000000107c7b740> (a java.lang.ref.ReferenceQueue$Lock)
	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
	- locked <0x0000000107c7b740> (a java.lang.ref.ReferenceQueue$Lock)
	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
	at sun.java2d.Disposer.run(Disposer.java:125)
	at java.lang.Thread.run(Thread.java:637)

"AWT-Shutdown" prio=5 tid=0x00000001018dc800 nid=0x1464f2000 in Object.wait() [0x00000001464f1000..0x00000001464f1a50]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on <0x0000000107cd83b8> (a java.lang.Object)
	at java.lang.Object.wait(Object.java:485)
	at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:259)
	- locked <0x0000000107cd83b8> (a java.lang.Object)
	at java.lang.Thread.run(Thread.java:637)

"AWT-AppKit" daemon prio=5 tid=0x00000001018dc000 nid=0x7fff7058b700 runnable [0x0000000000000000..0x00007fff5fbfba60]
   java.lang.Thread.State: RUNNABLE

"GSF Task Provider" daemon prio=1 tid=0x0000000101899800 nid=0x135e14000 waiting on condition
[0x0000000135e13000..0x0000000135e13a50]
   java.lang.Thread.State: WAITING (parking)
	at sun.misc.Unsafe.park(Native Method)
	- parking to wait for  <0x0000000108daafb0> (a java.util.concurrent.locks.ReentrantLock$FairSync)
	at java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)
	at java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:747)
	at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireQueued(AbstractQueuedSynchronizer.java:778)
	at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire(AbstractQueuedSynchronizer.java:1114)
	at java.util.concurrent.locks.ReentrantLock$FairSync.lock(ReentrantLock.java:201)
	at java.util.concurrent.locks.ReentrantLock.lock(ReentrantLock.java:262)
	at org.netbeans.napi.gsfret.source.Source.runUserActionTask(Source.java:458)
	at org.netbeans.modules.gsf.GsfTaskProvider$Work.refreshFile(GsfTaskProvider.java:389)
	at org.netbeans.modules.gsf.GsfTaskProvider$Work.refreshFile(GsfTaskProvider.java:267)
	at org.netbeans.modules.gsf.GsfTaskProvider$Work.run(GsfTaskProvider.java:247)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:577)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1030)

"Timer-0" daemon prio=5 tid=0x0000000101898800 nid=0x135c11000 runnable [0x0000000135c10000..0x0000000135c10a50]
   java.lang.Thread.State: RUNNABLE
	at java.lang.Object.wait(Native Method)
	- waiting on <0x0000000107cbeeb0> (a java.util.TaskQueue)
	at java.util.TimerThread.mainLoop(Timer.java:509)
	- locked <0x0000000107cbeeb0> (a java.util.TaskQueue)
	at java.util.TimerThread.run(Timer.java:462)

"CLI Requests Server" daemon prio=5 tid=0x0000000101897800 nid=0x135a0e000 runnable [0x0000000135a0d000..0x0000000135a0da50]
   java.lang.Thread.State: RUNNABLE
	at java.net.PlainSocketImpl.socketAccept(Native Method)
	at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
	- locked <0x0000000107cadac8> (a java.net.SocksSocketImpl)
	at java.net.ServerSocket.implAccept(ServerSocket.java:453)
	at java.net.ServerSocket.accept(ServerSocket.java:421)
	at org.netbeans.CLIHandler$Server.run(CLIHandler.java:1005)

"Active Reference Queue Daemon" daemon prio=1 tid=0x000000010188e000 nid=0x1357e1000 in Object.wait()
[0x00000001357e0000..0x00000001357e0a50]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on <0x0000000107cb2118> (a java.lang.ref.ReferenceQueue$Lock)
	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
	- locked <0x0000000107cb2118> (a java.lang.ref.ReferenceQueue$Lock)
	at org.netbeans.modules.openide.util.ActiveQueue.run(ActiveQueue.java:53)
	at java.lang.Thread.run(Thread.java:637)

"Low Memory Detector" daemon prio=5 tid=0x0000000101847800 nid=0x134d55000 runnable [0x0000000000000000..0x0000000134d54a00]
   java.lang.Thread.State: RUNNABLE

"CompilerThread1" daemon prio=9 tid=0x0000000101846000 nid=0x134b52000 waiting on condition
[0x0000000000000000..0x0000000134b50290]
   java.lang.Thread.State: RUNNABLE

"CompilerThread0" daemon prio=9 tid=0x0000000101844800 nid=0x13494f000 waiting on condition
[0x0000000000000000..0x000000013494d290]
   java.lang.Thread.State: RUNNABLE

"Signal Dispatcher" daemon prio=9 tid=0x0000000101843000 nid=0x13474c000 runnable [0x0000000000000000..0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

"Surrogate Locker Thread (CMS)" daemon prio=5 tid=0x0000000101842800 nid=0x134549000 waiting on condition
[0x0000000000000000..0x0000000134548d70]
   java.lang.Thread.State: RUNNABLE

"Finalizer" daemon prio=8 tid=0x000000010182b000 nid=0x13396a000 in Object.wait() [0x0000000133969000..0x0000000133969a50]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on <0x0000000107cd8670> (a java.lang.ref.ReferenceQueue$Lock)
	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
	- locked <0x0000000107cd8670> (a java.lang.ref.ReferenceQueue$Lock)
	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
	at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)

"Reference Handler" daemon prio=10 tid=0x000000010182a000 nid=0x133759000 in Object.wait()
[0x0000000133758000..0x0000000133758a50]
   java.lang.Thread.State: BLOCKED (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on <0x0000000107c3bbe0> (a java.lang.ref.Reference$Lock)
	at java.lang.Object.wait(Object.java:485)
	at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
	- locked <0x0000000107c3bbe0> (a java.lang.ref.Reference$Lock)

"VM Thread" prio=9 tid=0x0000000101822800 nid=0x133556000 runnable 

"Gang worker#0 (Parallel GC Threads)" prio=9 tid=0x0000000101805000 nid=0x1017c7000 runnable 

"Gang worker#1 (Parallel GC Threads)" prio=9 tid=0x0000000101806000 nid=0x105202000 runnable 

"Concurrent Mark-Sweep GC Thread" prio=9 tid=0x0000000101808800 nid=0x1331cb000 runnable 
"VM Periodic Task Thread" prio=10 tid=0x0000000101848800 nid=0x134f58000 waiting on condition 

"Exception Catcher Thread" prio=10 tid=0x0000000101801800 nid=0x101504000 runnable 
JNI global references: 6515

Heap
 par new generation   total 37248K, used 32470K [0x0000000105210000, 0x0000000107ba0000, 0x0000000107ba0000)
  eden space 31936K, 100% used [0x0000000105210000, 0x0000000107140000, 0x0000000107140000)
  from space 5312K,  10% used [0x0000000107140000, 0x00000001071c5888, 0x0000000107670000)
  to   space 5312K,   0% used [0x0000000107670000, 0x0000000107670000, 0x0000000107ba0000)
 concurrent mark-sweep generation total 481728K, used 481728K [0x0000000107ba0000, 0x0000000125210000, 0x0000000125210000)
 concurrent-mark-sweep perm gen total 140512K, used 83979K [0x0000000125210000, 0x000000012db48000, 0x0000000131a10000)
Comment 1 crishoj 2010-02-25 09:16:59 UTC
I have the same problem with the Ruby pack on Mac.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo