Bug#543959: icedtea-6-jre-cacao: JNI_CreateJavaVM does not find jre directories

2010-07-13 Thread Matthias Klose

tag 543959 + moreinfo
thanks

 27852 readlink(/proc/self/exe, /home/qscope/qscope7500..., 4095) = 23
 27852 access(/home/jre/lib/mips/server/libjvm.so, F_OK) = -1 ENOENT (No 
such file or directory)


what does this have to do with the debian package? 
/home/jre/lib/mips/server/libjvm.so is not a file shipped by Debian.




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#543959: icedtea-6-jre-cacao: JNI_CreateJavaVM does not find jre directories

2010-07-13 Thread Joseph H. Buehler
Matthias Klose wrote:
 tag 543959 + moreinfo
 thanks
 
 27852 readlink(/proc/self/exe, /home/qscope/qscope7500..., 4095) = 23
 27852 access(/home/jre/lib/mips/server/libjvm.so, F_OK) = -1 ENOENT
 (No such file or directory)
 
 what does this have to do with the debian package?
 /home/jre/lib/mips/server/libjvm.so is not a file shipped by Debian.
 

It has nothing to do with the package, it was just a convenient place to
put the libjvm.so file without contaminating my Debian install.

Joe Buehler




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#543959: icedtea-6-jre-cacao: JNI_CreateJavaVM does not find jre directories

2009-08-27 Thread Joe Buehler
Package: icedtea-6-jre-cacao
Version: 6b16-4
Severity: important


When creating a virtual machine using JNI_CreateJavaVM
cacao cannot find its jar files etc.  Looking at the startup
in the source code, I believe this is because it is looking at the
name of the current executable via /proc/self/exe.  The name
of the current executable of course has nothing to do with
the location of the JRE files.

Here is a trace showing startup processing (note that I made
a /home/lib symlink to work around this problem, so the trace
shows rt.jar being found at /home/lib but that of course is
not where it is installed):

27852 restart_syscall(... resuming interrupted call ...) = 0
27852 gettimeofday({1251387848, 152977}, NULL) = 0
27852 readlink(/proc/self/exe, /home/qscope/qscope7500..., 4095) = 23
27852 access(/home/jre/lib/mips/server/libjvm.so, F_OK) = -1 ENOENT (No such 
file or directory)
27852 open(/proc/self/stat, O_RDONLY) = 7
27852 read(7, 27852 (qscope7500) R 27845 27845 27845 0 -1 4202560 374 0 0 0 0 
0 0 0 15 0 1 0 668080 31617024 750 18446744073709551615 4194304 5498048 
2145381808 2145374480 716708464 0 0 0 136320 0 0 0 18 0 0 0 0\n..., 4096) = 198
27852 close(7)  = 0
27852 brk(0x69f000) = 0x69f000
27852 brk(0x6af000) = 0x6af000
27852 brk(0x6bf000) = 0x6bf000
27852 brk(0x6cf000) = 0x6cf000
27852 brk(0x6df000) = 0x6df000
27852 rt_sigaction(SIGPWR, {0x1008, ~[HUP RT_33], 
SA_STACK|SA_INTERRUPT|SA_SIGINFO|SA_NOCLDWAIT|0x2bcf1e4}, NULL, 16) = 0
27852 rt_sigaction(SIGXCPU, {0x1000, ~[HUP RT_33], 
SA_STACK|SA_INTERRUPT|SA_NOCLDWAIT|0x2bce5a0}, NULL, 16) = 0
27852 open(/proc/stat, O_RDONLY)  = 7
27852 read(7, cpu  575448 0 65404 7309147 71178 2270 29314 0\ncpu0 292335 0 
44553 278302 25642 966 29018 0\ncpu1 36013 0 4594 626974 3304 117 97 0\ncpu2 
17343 0 1530 650344 1778 82 22 0\ncpu3 27736 0 1299 641744 234 73 11 0\ncpu4 
41297 0 2162 621101 6382 126 29 0\ncpu5 10059 0 656 642376 17829 130 26 0\ncpu6 
60499 0 4934 595527 9980 94 43 0\ncpu7 13930 0 935 655366 690 132 22 0\ncpu8 
7380 0 376 662802 311 200 6 0\ncpu9 33088 0 1705 634842 1290 137 13 0\ncpu10 
9874 0 730 659569 790 107 4 0\ncpu11 25888 0 1927 640194 2944 102 20 0\nintr 
30773797 0 0 0 0 0 0 0 20131908 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 
0 0 0 0 0 0 0 0 5959614 0 147 0 0 0 0 0 2335439 0 0 0 0 3 1 0 0 0 0 0 0 0 0 0 0 
0 0 2 0 0 0 0 937 937 937 937 937 937 937 937 937 937 937 937 0 0 0 0 0 0 0 0 0 
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2335439 0 0 0 0 0 0 0 0 0 
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 
 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0\nctxt 
6083620\nbtime 1251381137\nprocesses 27842\nprocs_running 2\nprocs_blocked 
0\n..., 4096) = 1100
27852 close(7)  = 0
27852 brk(0x26cf000)= 0x26cf000
27852 rt_sigprocmask(SIG_BLOCK, [QUIT], NULL, 16) = 0
27852 rt_sigaction(SIGSEGV, {0x4008, [], 
SA_STACK|SA_INTERRUPT|SA_SIGINFO|0x2c4c610}, NULL, 16) = 0
27852 rt_sigaction(SIGBUS, {0x4008, [], 
SA_STACK|SA_INTERRUPT|SA_SIGINFO|0x2c4c610}, NULL, 16) = 0
27852 rt_sigaction(SIGRT_93, {SIG_DFL}, NULL, 16) = 0
27852 open(/home/lib/endorsed, 
O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such 
file or directory)
27852 open(/home/lib/resources.jar, O_RDONLY) = 7
27852 read(7, PK\3\4..., 4)   = 4
27852 lseek(7, 0, SEEK_END) = 1061516
27852 old_mmap(NULL, 1061516, PROT_READ, MAP_PRIVATE, 7, 0) = 0x2c649000
27852 brk(0x26f)= 0x26f
27852 brk(0x26f1000)= 0x26f1000
27852 fstat64(1, {st_dev=makedev(0, 17), st_ino=1088, st_mode=S_IFCHR|0666, 
st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=0, 
st_rdev=makedev(1, 3), st_atime=1999/12/31-19:00:13, 
st_mtime=1999/12/31-19:00:13, st_ctime=1999/12/31-19:00:14}) = 0
27852 ioctl(1, TIOCNXCL, 0x7fdfd9c0)= -1 ENOTTY (Inappropriate ioctl for 
device)
27852 old_mmap(NULL, 65536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 
-1, 0) = 0x2c74d000
27852 open(/home/lib/rt.jar, O_RDONLY) = 8

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: mips (mips64)

Kernel: Linux 2.6.21.7-Cavium-Octeon (SMP w/12 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages icedtea-6-jre-cacao depends on:
ii  dpkg   1.15.3.1  Debian package management system
ii  libc6  2.9-23GNU C Library: Shared libraries
ii  openjdk-6-jre-headless 6b16-4OpenJDK Java runtime, using Hotspo
ii  zlib1g 1:1.2.3.3.dfsg-13 compression library - runtime

icedtea-6-jre-cacao recommends no packages.

icedtea-6-jre-cacao suggests no packages.