Justin Pryzby wrote:

Can you provide a GDB backtrace as well?

  $ gdb $(which azureus)
    > r
    ...
    bt

$ file $(which azureus)
/usr/bin/azureus: Bourne shell script text executable

How can I run shell script under gdb ?

It would be ideal if you could locally compile the package with
debugging symbols for use with GDB:

  $ DEB_BUILD_OPTIONS=nostrip apt-get -b source azureus

There is a number of problems with that.

First of all, I got

javac -source 1.4 -target 1.4.2 -encoding ISO-8859-1 -nowarn -classpath 
/usr/share/java/commons-cli-1.0.jar:/usr/share/java/log4j-1.2.jar:/usr/share/java/seda.jar:/usr/share/java/swt-gtk-3.1.jar
 `find . -name *.java`
The system is out of resources.
Consult the following stack trace for details.
java.lang.OutOfMemoryError

and that was funny since I have 4GB of physical memory plus 2GB of swap.
I've managed to overcome this problem by manual adding option "-J-Xmx1024m" to 
javac commandline in Makefile and then running
DEB_BUILD_OPTIONS=nostrip debuild
But it immediately gave another error:

javac -J-Xmx1024m -source 1.4 -target 1.4.2 -encoding ISO-8859-1 -nowarn 
-classpath 
/usr/share/java/commons-cli-1.0.jar:/usr/share/java/log4j-1.2.jar:/usr/share/java/seda.jar:/usr/share/java/swt-gtk-3.1.jar
 `find . -name *.java`
./org/gudy/azureus2/ui/web2/http/parser/HttpBodyDone.java:30: cannot access 
seda.sandStorm.lib.aSocket.ATcpConnection
bad class file: 
/usr/share/java/seda.jar(seda/sandStorm/lib/aSocket/ATcpConnection.class)
class file has wrong version 49.0, should be 48.0
Please remove or make sure it appears in the correct subdirectory of the 
classpath.
import seda.sandStorm.lib.aSocket.ATcpConnection;
                                  ^
1 error

This one I do not know how to handle. Please advise.

Thanks,
Max




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to