Greetings!
Today, phex started to eating my CPU... it's on 100%!
Code:
[me@laptop:~]$ top
top - 21:35:18 up 2:16, 0 users, load average: 10.28, 9.61, 8.25
Tasks: 90 total, 3 running, 86 sleeping, 0 stopped, 1 zombie
Cpu(s): 82.7%us, 10.0%sy, 0.0%ni, 0.0%id, 5.3%wa, 1.0%hi, 1.0%si, 0.0%st
Mem: 1035568k total, 1018552k used, 17016k free, 83060k buffers
Swap: 522072k total, 0k used, 522072k free, 444792k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
17270 me 18 0 333m 148m 15m S 73.7 14.7 15:30.91 java
4881 root 15 0 317m 40m 17m S 17.2 4.0 6:21.38 X
....
[me@laptop:~]$ ps xua
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
.....
me 10109 0.0 1.4 65472 14500 ? Ssl 19:52 0:06 thunar /home/me
me 14880 0.3 2.3 41592 24112 ? Ss 20:03 0:17 gaim
me 16553 0.1 0.0 0 0 ? Z 20:49 0:03 [file-roller] <defunct>
me 17269 0.0 0.1 4464 1332 ? Ss 21:16 0:00 /bin/sh /usr/bin/phex
me 17270 82.1 14.7 342864 152696 ? Sl 21:16 16:42 java -jar /usr/share/java/phex/phex.jar
me 17836 0.1 1.2 23152 12964 ? S 21:23 0:01 terminal
me 17837 0.0 0.0 2576 532 ? S 21:23 0:00 gnome-pty-helper
me 17838 0.0 0.1 4812 1760 pts/0 Ss 21:23 0:00 bash
me 18365 0.0 0.1 4816 1692 pts/1 Ss 21:36 0:00 bash
me 18370 0.0 0.0 3848 956 pts/1 R+ 21:36 0:00 ps xua
[me@laptop:~]$ java -version
java version "1.6.0"
Java(TM) SE Runtime Environment (build 1.6.0-b105)
Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode, sharing)
[me@laptop:~]$ cat phex.log
070315 20:05:20,0309(100) Error/GLOBAL:: Uncaught exception: null in Thread: AWT-EventQueue-0 - Exception: java.lang.NullPointerException
at phex.query.BrowseHostResults.getProgress(Unknown Source)
at phex.query.Search.getProgressObj(Unknown Source)
at phex.gui.tabs.search.SearchListTableModel.getValueAt(Unknown Source)
at phex.gui.common.table.FWSortedTableModel.getValueAt(Unknown Source)
at javax.swing.JTable.getValueAt(JTable.java:2652)
at javax.swing.JTable.prepareRenderer(JTable.java:5666)
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2067)
at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:1969)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1765)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:143)
at javax.swing.JComponent.paintComponent(JComponent.java:758)
at javax.swing.JComponent.paint(JComponent.java:1022)
at javax.swing.JComponent.paintChildren(JComponent.java:859)
at javax.swing.JComponent.paint(JComponent.java:1031)
at javax.swing.JViewport.paint(JViewport.java:747)
at javax.swing.JComponent.paintChildren(JComponent.java:859)
at javax.swing.JComponent.paint(JComponent.java:1031)
at javax.swing.JComponent.paintChildren(JComponent.java:859)
at javax.swing.JComponent.paint(JComponent.java:1031)
at javax.swing.JComponent.paintChildren(JComponent.java:859)
at javax.swing.JSplitPane.paintChildren(JSplitPane.java:1026)
at javax.swing.JComponent.paint(JComponent.java:1031)
at javax.swing.JComponent.paintChildren(JComponent.java:859)
at javax.swing.JComponent.paint(JComponent.java:1031)
at javax.swing.JComponent.paintChildren(JComponent.java:859)
at javax.swing.JComponent.paint(JComponent.java:1031)
at javax.swing.JComponent.paintChildren(JComponent.java:859)
at javax.swing.JComponent.paint(JComponent.java:1031)
at javax.swing.JComponent.paintChildren(JComponent.java:859)
at javax.swing.JComponent.paint(JComponent.java:1031)
at javax.swing.JComponent.paintChildren(JComponent.java:859)
at javax.swing.JComponent.paint(JComponent.java:1031)
at javax.swing.JComponent.paintChildren(JComponent.java:859)
at javax.swing.JComponent.paint(JComponent.java:1031)
at javax.swing.JLayeredPane.paint(JLayeredPane.java:564)
at javax.swing.JComponent.paintChildren(JComponent.java:859)
at javax.swing.JComponent.paint(JComponent.java:1031)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5104)
at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:285)
at javax.swing.RepaintManager.paint(RepaintManager.java:1132)
at javax.swing.JComponent._paintImmediately(JComponent.java:5052)
at javax.swing.JComponent.paintImmediately(JComponent.java:4862)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:727)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:683)
at javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:663)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:128)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
070315 20:05:28,0590(100) Error/GLOBAL:: Uncaught exception: null in Thread: AWT-EventQueue-0 - Exception: java.lang.NullPointerException
at phex.gui.tabs.search.SearchVisualizer.visualizeSearchStatus(Unknown Source)
at phex.gui.tabs.search.cp.SearchInfoBox.updateDisplay(Unknown Source)
at phex.gui.tabs.search.cp.SearchInfoBox.setDisplayedSearch(Unknown Source)
at phex.gui.tabs.search.cp.SearchControlPanel.setDisplayedSearch(Unknown Source)
at phex.gui.tabs.search.SearchTab.setDisplayedSearch(Unknown Source)
at phex.gui.actions.GUIActionPerformer.browseHost(Unknown Source)
at phex.gui.tabs.network.NetworkTab$BrowseHostAction.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1170)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1211)
at java.awt.Component.processMouseEvent(Component.java:6038)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3260)
at java.awt.Component.processEvent(Component.java:5803)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4410)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
at java.awt.Container.dispatchEventImpl(Container.java:2102)
at java.awt.Window.dispatchEventImpl(Window.java:2429)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
070315 20:05:37,0643(100) Error/GLOBAL:: Uncaught exception: null in Thread: AWT-EventQueue-0 - Exception: java.lang.NullPointerException
at phex.gui.tabs.search.SearchVisualizer.visualizeSearchStatus(Unknown Source)
at phex.gui.tabs.search.cp.SearchInfoBox.updateDisplay(Unknown Source)
at phex.gui.tabs.search.cp.SearchInfoBox.setDisplayedSearch(Unknown Source)
at phex.gui.tabs.search.cp.SearchControlPanel.setDisplayedSearch(Unknown Source)
at phex.gui.tabs.search.SearchTab.setDisplayedSearch(Unknown Source)
at phex.gui.actions.GUIActionPerformer.browseHost(Unknown Source)
at phex.gui.tabs.network.NetworkTab$BrowseHostAction.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1170)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1211)
at java.awt.Component.processMouseEvent(Component.java:6038)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3260)
at java.awt.Component.processEvent(Component.java:5803)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4410)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
at java.awt.Container.dispatchEventImpl(Container.java:2102)
at java.awt.Window.dispatchEventImpl(Window.java:2429)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
070315 20:08:19,0578(100) Error/OUT_CONNECTION:: java.lang.OutOfMemoryError: Java heap space - Exception: java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Arrays.java:2786)
at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:94)
at phex.utils.IOUtil.inflate(Unknown Source)
at phex.common.QueryRoutingTable.updateRouteTable(Unknown Source)
at phex.msg.MessageDispatcher.handleRouteTableUpdate(Unknown Source)
at phex.connection.ConnectionEngine.processIncomingData(Unknown Source)
at phex.connection.OutgoingConnectionDispatcher.connectToNextCaughtHost(Unknown Source)
at phex.connection.OutgoingConnectionDispatcher.run(Unknown Source)
at phex.common.ThreadPool$Worker.run(Unknown Source)
070315 20:08:30,0246(100) Error/GLOBAL:: java.lang.OutOfMemoryError: Java heap space - Exception: java.lang.OutOfMemoryError: Java heap space
at java.lang.AbstractStringBuilder.<init>(AbstractStringBuilder.java:45)
at java.lang.StringBuffer.<init>(StringBuffer.java:91)
at phex.download.RemoteFile.buildDisplayName(Unknown Source)
at phex.download.RemoteFile.<init>(Unknown Source)
at phex.query.BrowseHostResults.processResponse(Unknown Source)
at phex.connection.BrowseHostConnection.sendBrowseHostRequest(Unknown Source)
at phex.query.BrowseHostResults*****run(Unknown Source)
at phex.common.ThreadPool$Worker.run(Unknown Source)
070315 20:08:34,0962(100) Error/GLOBAL:: Uncaught exception: Java heap space in Thread: BrowseHostConnection-571cc4-Wdd7404 - Exception: java.lang.OutOfMemoryError: Java heap space
070315 20:08:32,0979(100) Error/OUT_CONNECTION:: java.lang.OutOfMemoryError: Java heap space - Exception: java.lang.OutOfMemoryError: Java heap space
at phex.share.SharedFilesService.getSharedFiles(Unknown Source)
at phex.share.ShareManager.handleQuery(Unknown Source)
at phex.msg.MessageDispatcher.handleQuery(Unknown Source)
at phex.connection.ConnectionEngine.processIncomingData(Unknown Source)
at phex.connection.OutgoingConnectionDispatcher.connectToNextCaughtHost(Unknown Source)
at phex.connection.OutgoingConnectionDispatcher.run(Unknown Source)
at phex.common.ThreadPool$Worker.run(Unknown Source)
070315 20:08:38,0824(100) Error/GLOBAL:: java.lang.OutOfMemoryError: Java heap space - Exception: java.lang.OutOfMemoryError: Java heap space
070315 20:08:40,0787(100) Error/GLOBAL:: Uncaught exception: Java heap space in Thread: OutgoingConnectionDispatcher-12a66ea-W5ead9d - Exception: java.lang.OutOfMemoryError: Java heap space
070315 20:08:30,0889(100) Error/GLOBAL:: java.lang.OutOfMemoryError: Java heap space - Exception: java.lang.OutOfMemoryError: Java heap space
at java.nio.HeapByteBuffer.<init>(HeapByteBuffer.java:39)
at java.nio.ByteBuffer.allocate(ByteBuffer.java:312)
at sun.nio.cs.StreamEncoder.<init>(StreamEncoder.java:176)
at sun.nio.cs.StreamEncoder.<init>(StreamEncoder.java:156)
at sun.nio.cs.StreamEncoder.forOutputStreamWriter(StreamEncoder.java:40)
at java.io.OutputStreamWriter.<init>(OutputStreamWriter.java:94)
at java.io.FileWriter.<init>(FileWriter.java:61)
at phex.utils.PhexLogger.writeLogMessage(Unknown Source)
at phex.utils.PhexLogger.error(Unknown Source)
at phex.utils.NLogger.error(Unknown Source)
at phex.connection.OutgoingConnectionDispatcher.run(Unknown Source)
at phex.common.ThreadPool$Worker.run(Unknown Source)
070315 20:09:12,0724(100) Error/GLOBAL:: java.lang.OutOfMemoryError: Java heap space - Exception: java.lang.OutOfMemoryError: Java heap space
070315 20:12:23,0425(100) Error/GLOBAL:: java.lang.OutOfMemoryError: Java heap space - Exception: java.lang.OutOfMemoryError: Java heap space
070315 20:13:05,0382(100) Error/GLOBAL:: java.lang.OutOfMemoryError: Java heap space - Exception: java.lang.OutOfMemoryError: Java heap space
070315 20:13:50,0731(100) Error/GLOBAL:: java.lang.OutOfMemoryError: Java heap space - Exception: java.lang.OutOfMemoryError: Java heap space
070315 20:14:21,0261(100) Error/GLOBAL:: java.lang.OutOfMemoryError: Java heap space - Exception: java.lang.OutOfMemoryError: Java heap space
070315 20:14:55,0208(100) Error/GLOBAL:: java.lang.OutOfMemoryError: Java heap space - Exception: java.lang.OutOfMemoryError: Java heap space
070315 20:15:25,0009(100) Error/GLOBAL:: java.lang.OutOfMemoryError: Java heap space - Exception: java.lang.OutOfMemoryError: Java heap space
070315 20:15:50,0959(100) Error/GLOBAL:: Uncaught exception: null in Thread: PingWorker-1ad77a7 - Exception: java.lang.NullPointerException
at phex.msg.MsgManager.broadcastPingHosts(Unknown Source)
at phex.connection.PingWorker.run(Unknown Source)
at java.lang.Thread.run(Thread.java:619)
070315 20:15:50,0960(100) Error/GLOBAL:: Uncaught exception: null in Thread: PingWorker-1ad77a7 - Exception: java.lang.NullPointerException
at phex.msg.MsgManager.broadcastPingHosts(Unknown Source)
at phex.connection.PingWorker.run(Unknown Source)
at java.lang.Thread.run(Thread.java:619)
070315 20:17:28,0374(100) Error/GLOBAL:: Uncaught exception: null in Thread: AWT-EventQueue-0 - Exception: java.lang.NullPointerException
at phex.gui.tabs.search.SearchVisualizer.visualizeSearchStatus(Unknown Source)
at phex.gui.tabs.search.cp.SearchInfoBox.updateDisplay(Unknown Source)
at phex.gui.tabs.search.cp.SearchInfoBox.setDisplayedSearch(Unknown Source)
at phex.gui.tabs.search.cp.SearchControlPanel.setDisplayedSearch(Unknown Source)
at phex.gui.tabs.search.SearchTab.setDisplayedSearch(Unknown Source)
at phex.gui.actions.GUIActionPerformer.browseHost(Unknown Source)
at phex.gui.tabs.network.NetworkTab$BrowseHostAction.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1170)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1211)
at java.awt.Component.processMouseEvent(Component.java:6038)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3260)
at java.awt.Component.processEvent(Component.java:5803)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4410)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
at java.awt.Container.dispatchEventImpl(Container.java:2102)
at java.awt.Window.dispatchEventImpl(Window.java:2429)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
070315 21:11:00,0841(100) Error/GLOBAL:: java.lang.OutOfMemoryError: Java heap space - Exception: java.lang.OutOfMemoryError: Java heap space
at java.util.HashMap.resize(HashMap.java:462)
at java.util.HashMap.addEntry(HashMap.java:755)
at java.util.HashMap.put(HashMap.java:385)
at java.util.HashSet.add(HashSet.java:200)
at phex.common.QueryRoutingTable.createLocalQueryRoutingTable(Unknown Source)
at phex.msg.MsgManager.updateLocalQueryRoutingTable(Unknown Source)
at phex.msg.MsgManager$QRPUpdateTimer.sendQueryRoutingTable(Unknown Source)
at phex.msg.MsgManager$QRPUpdateTimer.run(Unknown Source)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
070315 21:52:33,0121(100) Error/GLOBAL:: Uncaught exception: null in Thread: PingWorker-1ad77a7 - Exception: java.lang.NullPointerException
at phex.msg.MsgManager.broadcastPingHosts(Unknown Source)
at phex.connection.PingWorker.run(Unknown Source)
at java.lang.Thread.run(Thread.java:619)
070315 21:52:33,0122(100) Error/GLOBAL:: Uncaught exception: null in Thread: PingWorker-1ad77a7 - Exception: java.lang.NullPointerException
at phex.msg.MsgManager.broadcastPingHosts(Unknown Source)
at phex.connection.PingWorker.run(Unknown Source)
at java.lang.Thread.run(Thread.java:619)
And Finally:
[me@laptop:~]$ cat phex.error.log
070315 21:52:33,0121(100) Error/GLOBAL:: Uncaught exception: null in Thread: PingWorker-1ad77a7 - Exception: java.lang.NullPointerException
at phex.msg.MsgManager.broadcastPingHosts(Unknown Source)
at phex.connection.PingWorker.run(Unknown Source)
at java.lang.Thread.run(Thread.java:619)
070315 21:52:33,0122(100) Error/GLOBAL:: Uncaught exception: null in Thread: PingWorker-1ad77a7 - Exception: java.lang.NullPointerException
at phex.msg.MsgManager.broadcastPingHosts(Unknown Source)
at phex.connection.PingWorker.run(Unknown Source)
at java.lang.Thread.run(Thread.java:619)
Sorry about the long post...
Best regards,
Manifest0