Gnutella Forums

Gnutella Forums (http://www.gnutellaforums.com/)
-   LimeWire Beta Archives (http://www.gnutellaforums.com/limewire-beta-archives/)
-   -   How To Get Stack Traces (http://www.gnutellaforums.com/limewire-beta-archives/41560-how-get-stack-traces.html)

zab July 22nd, 2005 03:29 PM

How To Get Stack Traces
 
Stack Traces are debugging information you can get from LimeWire that is very helpful in tracking various bugs. If you are reporting a problem with the LimeWire beta series, you may be asked at one point or another to help us by providing such Stack Trace. Here are instructions how to get those:


On Windows:

1. Download www.limewire.org/LimeWireDebug.exe and save it in C:\Program Files\LimeWire (or wherever you installed LimeWire)
2. Start LimeWire by opening a dos prompt and typing
Code:

LimeWireDebug.exe >> stdout.txt
3. Whenever you want to get a stack trace, switch to the dos box where you typed the above, and hit Ctrl-Break.
4. Close limewire and send us or post the stdout.txt file.


On Mac:

1) Start Console and press the Clear Button*
2) Start Activity Monitor
2.1) select LimeWire from the list
2.2) select "Send Signal to Process" from the View Menu
2.3) select "Quit (SIGQUIT)" from the Menu and press the Send Button
3) Go back to the Console and select "Save a Copy As..."* from the File Menu.

*alternatively press the Mark Button, select the output between the marked position and the end, select "Save Selection As..." from the File Menu.


On Linux:

1. Start LimeWire by typing "limewire > stdout.txt" in a terminal.
2. Whenever you want to get a stack trace, open another terminal, get the LimeWire process number and issue a kill -QUIT <procNo>.
3. The stack trace will be in the stdout.txt file.

We're going to make some changes to make it easier or even automate the above steps, so stay tuned.

rkapsi July 22nd, 2005 05:34 PM

On Mac:
1) Start LimeWire
2) Start Console and press the Clear Button*
3) Start Activity Monitor
3.1) select LimeWire from the list
3.2) select "Send Signal to Process" from the View Menu
3.3) select "Quit (SIGQUIT)" from the Menu and press the Send Button
4) Go back to the Console and select "Save a Copy As..."* from the File Menu.

*alternatively press the Mark Button, select the output between the marked position and the end, select "Save Selection As..." from the File Menu.

et voilą July 22nd, 2005 06:05 PM

with terminal on mac:
open limewire
open terminal then:
enter "top" then hit return
remember the limewire PID number
enter "kill -quit xxxx" where xxxx is the PID number of LW, then hit return
Do the same as previous method with the console.

Grandpa July 23rd, 2005 01:28 PM

Hey Zab when I go to save the file in C/program files/limewire it says limewire exe already exist do you want to replace it.Am I suposto answer yes or put it in another file

Latter Grandpa

zab July 24th, 2005 12:09 PM

The file should be named LimeWireDebug.exe. If you want to rename it to limewire.exe and overwrite the old one you're welcome to do so, but then you will be stuck running LimeWire with the dos box open until you reinstall.

deacon72 July 25th, 2005 01:13 PM

STACKER
 
My outlook express rejected this.

"DestroyJavaVM" prio=5 tid=0x0a614b10 nid=0xe58 waiting on condition [0x00000000
..0x0012f82c]

"DaapServerThread" daemon prio=5 tid=0x0a613e70 nid=0xce4 runnable [0x0a80f000..
0x0a80fb68]
at sun.nio.ch.WindowsSelectorImpl$SubSelector.poll0(N ative Method)
at sun.nio.ch.WindowsSelectorImpl$SubSelector.poll(Un known Source)
at sun.nio.ch.WindowsSelectorImpl$SubSelector.access$ 400(Unknown Source)

at sun.nio.ch.WindowsSelectorImpl.doSelect(Unknown Source)
at sun.nio.ch.SelectorImpl.lockAndDoSelect(Unknown Source)
- locked <0x23a9a200> (a sun.nio.ch.Util$1)
- locked <0x23a9a1f0> (a java.util.Collections$UnmodifiableSet)
- locked <0x23a98578> (a sun.nio.ch.WindowsSelectorImpl)
at sun.nio.ch.SelectorImpl.select(Unknown Source)
at de.kapsi.net.daap.nio.DaapServerNIO.process(DaapSe rverNIO.java:639)
at de.kapsi.net.daap.nio.DaapServerNIO.run(DaapServer NIO.java:718)
at java.lang.Thread.run(Unknown Source)
at com.limegroup.gnutella.util.ManagedThread.managedR un(ManagedThread.ja
va:60)
at com.limegroup.gnutella.gui.DaapManager$1.managedRu n(DaapManager.java:
190)
at com.limegroup.gnutella.util.ManagedThread.run(Mana gedThread.java:49)

"JmDNS.RecordReaper" prio=5 tid=0x00929e50 nid=0x454 in Object.wait() [0x09d0f00
0..0x09d0f9e8]
at java.lang.Object.wait(Native Method)
- waiting on <0x239a2750> (a javax.jmdns.JmDNS)
at javax.jmdns.JmDNS$RecordReaper.run(Unknown Source)
- locked <0x239a2750> (a javax.jmdns.JmDNS)
at java.lang.Thread.run(Unknown Source)

"JmDNS.SocketListener" prio=5 tid=0x009280c0 nid=0xaf8 runnable [0x09c0f000..0x0
9c0fa68]
at java.net.PlainDatagramSocketImpl.receive0(Native Method)
- locked <0x2399cf08> (a java.net.PlainDatagramSocketImpl)
at java.net.PlainDatagramSocketImpl.receive(Unknown Source)
- locked <0x2399cf08> (a java.net.PlainDatagramSocketImpl)
at java.net.DatagramSocket.receive(Unknown Source)
- locked <0x23a595b8> (a java.net.DatagramPacket)
- locked <0x23987528> (a java.net.MulticastSocket)
at javax.jmdns.JmDNS$SocketListener.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

"HTTPAcceptor" daemon prio=5 tid=0x00921940 nid=0x19c runnable [0x0a40f000..0x0a
40fae8]
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(Unknown Source)
- locked <0x237be2d0> (a java.net.SocksSocketImpl)
at java.net.ServerSocket.implAccept(Unknown Source)
at java.net.ServerSocket.accept(Unknown Source)
at com.limegroup.gnutella.browser.HTTPAcceptor.run(HT TPAcceptor.java:174
)
- locked <0x237b6d20> (a java.lang.Object)
at java.lang.Thread.run(Unknown Source)
at com.limegroup.gnutella.util.ManagedThread.managedR un(ManagedThread.ja
va:60)
at com.limegroup.gnutella.util.ManagedThread.run(Mana gedThread.java:49)

"QueryUnicaster" daemon prio=5 tid=0x009220b0 nid=0xe40 in Object.wait() [0x0a30
f000..0x0a30fb68]
at java.lang.Object.wait(Native Method)
- waiting on <0x2325e7e0> (a java.util.Hashtable)
at java.lang.Object.wait(Unknown Source)
at com.limegroup.gnutella.QueryUnicaster.waitForQueri es(QueryUnicaster.j
ava:308)
- locked <0x2325e7e0> (a java.util.Hashtable)
at com.limegroup.gnutella.QueryUnicaster.queryLoop(Qu eryUnicaster.java:2
28)
at com.limegroup.gnutella.QueryUnicaster.access$000(Q ueryUnicaster.java:
37)
at com.limegroup.gnutella.QueryUnicaster$1.managedRun (QueryUnicaster.jav
a:192)
at com.limegroup.gnutella.util.ManagedThread.run(Mana gedThread.java:49)

"ManagedDownload" daemon prio=5 tid=0x00920470 nid=0x5bc in Object.wait() [0x0a0
0f000..0x0a00fce8]
at java.lang.Object.wait(Native Method)
- waiting on <0x237b4650> (a com.limegroup.gnutella.downloader.ManagedDo
wnloader)
at com.limegroup.gnutella.downloader.ManagedDownloade r.fireDownloadWorke
rs(ManagedDownloader.java:2459)
- locked <0x237b4650> (a com.limegroup.gnutella.downloader.ManagedDownlo
ader)
at com.limegroup.gnutella.downloader.ManagedDownloade r.performDownload(M
anagedDownloader.java:1953)
at com.limegroup.gnutella.downloader.ManagedDownloade r$1.run(ManagedDown
loader.java:734)
at java.lang.Thread.run(Unknown Source)
at com.limegroup.gnutella.util.ManagedThread.managedR un(ManagedThread.ja
va:60)
at com.limegroup.gnutella.util.ManagedThread.run(Mana gedThread.java:49)

"ManagedDownload" daemon prio=5 tid=0x0091f090 nid=0xe34 in Object.wait() [0x09f
0f000..0x09f0fd68]
at java.lang.Object.wait(Native Method)
- waiting on <0x237b4770> (a com.limegroup.gnutella.downloader.ManagedDo
wnloader)
at com.limegroup.gnutella.downloader.ManagedDownloade r.fireDownloadWorke
rs(ManagedDownloader.java:2459)
- locked <0x237b4770> (a com.limegroup.gnutella.downloader.ManagedDownlo
ader)
at com.limegroup.gnutella.downloader.ManagedDownloade r.performDownload(M
anagedDownloader.java:1953)
at com.limegroup.gnutella.downloader.ManagedDownloade r$1.run(ManagedDown
loader.java:734)
at java.lang.Thread.run(Unknown Source)
at com.limegroup.gnutella.util.ManagedThread.managedR un(ManagedThread.ja
va:60)
at com.limegroup.gnutella.util.ManagedThread.run(Mana gedThread.java:49)

"ManagedDownload" daemon prio=5 tid=0x0091e050 nid=0xc6c in Object.wait() [0x09e
0f000..0x09e0f9e8]
at java.lang.Object.wait(Native Method)
- waiting on <0x236b7240> (a com.limegroup.gnutella.downloader.ManagedDo
wnloader)
at com.limegroup.gnutella.downloader.ManagedDownloade r.fireDownloadWorke
rs(ManagedDownloader.java:2459)
- locked <0x236b7240> (a com.limegroup.gnutella.downloader.ManagedDownlo
ader)
at com.limegroup.gnutella.downloader.ManagedDownloade r.performDownload(M
anagedDownloader.java:1953)
at com.limegroup.gnutella.downloader.ManagedDownloade r$1.run(ManagedDown
loader.java:734)
at java.lang.Thread.run(Unknown Source)
at com.limegroup.gnutella.util.ManagedThread.managedR un(ManagedThread.ja
va:60)
at com.limegroup.gnutella.util.ManagedThread.run(Mana gedThread.java:49)

"MessageDispatch" daemon prio=5 tid=0x009124f0 nid=0xca0 in Object.wait() [0x08e
0f000..0x08e0fb68]
at java.lang.Object.wait(Native Method)
- waiting on <0x23646d88> (a com.limegroup.gnutella.util.ProcessingQueue
)
at com.limegroup.gnutella.util.ProcessingQueue$Proces sor.run(ProcessingQ
ueue.java:137)
- locked <0x23646d88> (a com.limegroup.gnutella.util.ProcessingQueue)
at java.lang.Thread.run(Unknown Source)
at com.limegroup.gnutella.util.ManagedThread.managedR un(ManagedThread.ja
va:60)
at com.limegroup.gnutella.util.ManagedThread.run(Mana gedThread.java:49)

"UDPHostRanker" daemon prio=5 tid=0x008f4010 nid=0xfe8 in Object.wait() [0x08f0f
000..0x08f0f9e8]
at java.lang.Object.wait(Native Method)
- waiting on <0x2325ab40> (a com.limegroup.gnutella.util.ProcessingQueue
)
at com.limegroup.gnutella.util.ProcessingQueue$Proces sor.run(ProcessingQ
ueue.java:137)
- locked <0x2325ab40> (a com.limegroup.gnutella.util.ProcessingQueue)
at java.lang.Thread.run(Unknown Source)
at com.limegroup.gnutella.util.ManagedThread.managedR un(ManagedThread.ja
va:60)
at com.limegroup.gnutella.util.ManagedThread.run(Mana gedThread.java:49)

"Acceptor" daemon prio=5 tid=0x008f3e80 nid=0x3a0 in Object.wait() [0x08d0f000..
0x08d0fa68]
at java.lang.Object.wait(Native Method)
- waiting on <0x2328e620> (a java.lang.Object)
at com.limegroup.gnutella.io.NIOServerSocket.accept(N IOServerSocket.java
:99)
- locked <0x2328e620> (a java.lang.Object)
at com.limegroup.gnutella.Acceptor.run(Acceptor.java: 535)
- locked <0x23241410> (a java.lang.Object)
at java.lang.Thread.run(Unknown Source)
at com.limegroup.gnutella.util.ManagedThread.managedR un(ManagedThread.ja
va:60)
at com.limegroup.gnutella.util.ManagedThread.run(Mana gedThread.java:49)

"MulticastService" daemon prio=5 tid=0x008f2110 nid=0x678 runnable [0x04a9f000..
0x04a9fae8]
at java.net.PlainDatagramSocketImpl.receive0(Native Method)
- locked <0x2328e3e0> (a java.net.PlainDatagramSocketImpl)
at java.net.PlainDatagramSocketImpl.receive(Unknown Source)
- locked <0x2328e3e0> (a java.net.PlainDatagramSocketImpl)
at java.net.DatagramSocket.receive(Unknown Source)
- locked <0x23575188> (a java.net.DatagramPacket)
- locked <0x2328d8b8> (a java.net.MulticastSocket)
at com.limegroup.gnutella.MulticastService.run(Multic astService.java:190
)
- locked <0x2328d8e8> (a java.lang.Object)
at java.lang.Thread.run(Unknown Source)
at com.limegroup.gnutella.util.ManagedThread.managedR un(ManagedThread.ja
va:60)
at com.limegroup.gnutella.util.ManagedThread.run(Mana gedThread.java:49)

"QRPPropagator" daemon prio=5 tid=0x008f2920 nid=0x488 waiting on condition [0x0
441f000..0x0441fb68]
at java.lang.Thread.sleep(Native Method)
at com.limegroup.gnutella.MessageRouter$QRPPropagator .managedRun(Message
Router.java:2429)
at com.limegroup.gnutella.util.ManagedThread.run(Mana gedThread.java:49)

"Thread-8" prio=5 tid=0x0086b500 nid=0x84c runnable [0x00000000..0x0431fd94]

"Timer-0" daemon prio=5 tid=0x0088a190 nid=0xfd4 in Object.wait() [0x0498f000..0
x0498fa68]
at java.lang.Object.wait(Native Method)
- waiting on <0x23240e00> (a java.util.TaskQueue)
at java.util.TimerThread.mainLoop(Unknown Source)
- locked <0x23240e00> (a java.util.TaskQueue)
at java.util.TimerThread.run(Unknown Source)

"TimerQueue" daemon prio=5 tid=0x00873790 nid=0x1ec in Object.wait() [0x0453f000
..0x0453fbe8]
at java.lang.Object.wait(Native Method)
- waiting on <0x23189cd0> (a javax.swing.TimerQueue)
at javax.swing.TimerQueue.run(Unknown Source)
- locked <0x23189cd0> (a javax.swing.TimerQueue)
at java.lang.Thread.run(Unknown Source)

"NIODispatcher" prio=5 tid=0x0085e610 nid=0xd50 runnable [0x03cff000..0x03cffd68
]
at sun.nio.ch.WindowsSelectorImpl$SubSelector.poll0(N ative Method)
at sun.nio.ch.WindowsSelectorImpl$SubSelector.poll(Un known Source)
at sun.nio.ch.WindowsSelectorImpl$SubSelector.access$ 400(Unknown Source)

at sun.nio.ch.WindowsSelectorImpl.doSelect(Unknown Source)
at sun.nio.ch.SelectorImpl.lockAndDoSelect(Unknown Source)
- locked <0x230b7048> (a sun.nio.ch.Util$1)
- locked <0x230b7058> (a java.util.Collections$UnmodifiableSet)
- locked <0x230b6fd0> (a sun.nio.ch.WindowsSelectorImpl)
at sun.nio.ch.SelectorImpl.select(Unknown Source)
at com.limegroup.gnutella.io.NIODispatcher.process(NI ODispatcher.java:36
0)
at com.limegroup.gnutella.io.NIODispatcher.run(NIODis patcher.java:433)
at java.lang.Thread.run(Unknown Source)
at com.limegroup.gnutella.util.ManagedThread.managedR un(ManagedThread.ja
va:60)
at com.limegroup.gnutella.util.ManagedThread.run(Mana gedThread.java:49)

"AWT-EventQueue-0" prio=7 tid=0x00853a40 nid=0xad0 in Object.wait() [0x03b1f000.
.0x03b1f9e8]
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Unknown Source)
at java.awt.EventQueue.getNextEvent(Unknown Source)
- locked <0x230a9238> (a java.awt.EventQueue)
at java.awt.EventDispatchThread.pumpOneEventForHierar chy(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarch y(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

"Java2D Disposer" daemon prio=10 tid=0x0084f330 nid=0xd14 in Object.wait() [0x03
91f000..0x0391fae8]
at java.lang.Object.wait(Native Method)
at java.lang.ref.ReferenceQueue.remove(Unknown Source)
- locked <0x230a92f8> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(Unknown Source)
at sun.java2d.Disposer.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

"AWT-Windows" daemon prio=7 tid=0x0084eb40 nid=0xd74 runnable [0x0380f000..0x038
0fb68]
at sun.awt.windows.WToolkit.eventLoop(Native Method)
at sun.awt.windows.WToolkit.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

"AWT-Shutdown" prio=5 tid=0x0084b0e0 nid=0xc50 in Object.wait() [0x0370f000..0x0
370fbe8]
at java.lang.Object.wait(Native Method)
- waiting on <0x2308ef88> (a java.lang.Object)
at java.lang.Object.wait(Unknown Source)
at sun.awt.AWTAutoShutdown.run(Unknown Source)
- locked <0x2308ef88> (a java.lang.Object)
at java.lang.Thread.run(Unknown Source)

"Low Memory Detector" daemon prio=5 tid=0x0083f7d0 nid=0xc28 runnable [0x0000000
0..0x00000000]

"CompilerThread0" daemon prio=10 tid=0x0083ebe0 nid=0xe2c waiting on condition [
0x00000000..0x0317f6cc]

"Signal Dispatcher" daemon prio=10 tid=0x0083da50 nid=0x268 waiting on condition
[0x00000000..0x00000000]

"Finalizer" daemon prio=9 tid=0x0083cd40 nid=0x6ec in Object.wait() [0x02f7f000.
.0x02f7fa68]
at java.lang.Object.wait(Native Method)
at java.lang.ref.ReferenceQueue.remove(Unknown Source)
- locked <0x2308f130> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(Unknown Source)
at java.lang.ref.Finalizer$FinalizerThread.run(Unknow n Source)

"Reference Handler" daemon prio=10 tid=0x0083ba50 nid=0xf88 in Object.wait() [0x
02e7f000..0x02e7fae8]
at java.lang.Object.wait(Native Method)
- waiting on <0x2308f1b0> (a java.lang.ref.Reference$Lock)
at java.lang.Object.wait(Unknown Source)
at java.lang.ref.Reference$ReferenceHandler.run(Unkno wn Source)
- locked <0x2308f1b0> (a java.lang.ref.Reference$Lock)

"VM Thread" prio=10 tid=0x0083aca0 nid=0xa38 runnable

"VM Periodic Task Thread" prio=10 tid=0x00841f50 nid=0xb64 waiting on condition

deacon72 August 4th, 2005 08:01 AM

UH, I need a 101 Windows for Dummies lesson. How do I post results from the DOS window if not by the copy/paste method. My reports are losing something and my DOS window only allows me to go back so far. I use the limewiredebug.exe stdout.txt so if it is going somewheres, where?? :confused:

zab August 4th, 2005 08:19 AM

If you run "LimeWireDebug.exe stdout.txt" the trace will go in the dos window. That's why you want to run "LimeWireDebug.exe >> stdout.txt" and then the trace will go in a file called "stdout.txt" which you can open with notepad or just upload here.

Grandpa August 6th, 2005 11:02 AM

Hey Zab I am going to join the dummies club. Now if I get the instructions right through this thick scull of mine, with Windows XP Pro I need to start LimeWireDebug.exe >> stdout.txt by going to start/run/command and type in the above is this correct.
When I do the above it comes back saying LIMEWIREDEBUG.exe is not recognized as an internal or external command operable program or batch file. So far the only way I have found to run it is to go to go into the LimeWire File and click on the LimeWireDebug icon and the security warning pops up then click on run. Which apparently isn't right,
When started the dos window pops up but I cannot enter any text in this window. If I hit Ctrl+Break the report will be written to this window, When it is in this window the only thing I can do is click on the top of the window and right click on it. I then click on properties/select all/copy which apparently isn't right due to lines missing. Please spell it out for a DUMMIES on how to properly use it. Because it isn't doing you guys a damm bit of good for me to be sending you something you cant use.

zab August 6th, 2005 12:45 PM

After opening the dos box, you need to go to the place where you installed limewire. Something like

cd c:\Program Files\LimeWire

should do it.


All times are GMT -7. The time now is 07:07 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright © 2015 Gnutella Forums.
All Rights Reserved.