[Bug 132] New: Runtime.getRuntime().exec doesn`t work on xscale (armv5l, linux-2.6.10, glibc-2.2.6)
[email protected] Tue, 19 Apr 2005 13:59:32 -0400
| Newsgroups | gmane.comp.java.vm.sablevm.bugs |
|---|---|
| Message-ID | <[email protected]> |
http://sablevm.org/bugs/show_bug.cgi?id=132
Summary: Runtime.getRuntime().exec doesn`t work on xscale
(armv5l, linux-2.6.10, glibc-2.2.6)
Product: SableVM
Version: 1.11[.x]
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: default
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]
I`ve try to launch example on sablevm-1.11.3 and trunk+3922.
On both vm`s main sablevm thread disappears, /sbin/route doesn`t executed and
and other two remain in background.
Playing with interpreters/GC/objlayout doesn`t help.
But example works on glibc-2.3.3. So i think this is sablevm +
glibc-2.2.6/pthreads-0.9 issue.
This is the end of debugged strace output:
write(2, "pthread_create try to exec 1\n", 29pthread_create try to exec 1
) = 29
pipe([5, 6]) = 0
clone(child_stack=0x7caf8, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND) = 1908
write(6, "\240\\\1\0\5\0\0\0\1\0\0\0\24\0\0\0\204\377\3B\254\366"..., 148) = 148
rt_sigprocmask(SIG_SETMASK, NULL, [PIPE RTMIN], 8) = 0
write(6, "\300\361(@\0\0\0\0\0\0\0\0\2746\2@\230\221\6\0\0\20\0\200"...,
148_svmf_thread_start: 1
_svmh_invoke_static_virtualmachine_runthread: 1
_svmh_invoke_static_virtualmachine_runthread: 2
_svmh_invoke_static_virtualmachine_runthread: 3
_svmh_invoke_static_virtualmachine_runthread: 4
_svmh_invoke_static_virtualmachine_runthread: 5
_svmh_invoke_static_virtualmachine_runthread: 6
) = 148
rt_sigprocmask(SIG_SETMASK, NULL, [PIPE RTMIN], 8) = 0
rt_sigsuspend([PIPE] <unfinished ...>
--- SIGRTMIN (Real-time signal 0) @ 0 (0) ---
<... rt_sigsuspend resumed> ) = 32
sigreturn() = ? (mask now [PIPE RTMIN])
write(2, "pthread_create executed\n", 24pthread_create executed
) = 24
kill(1909, SIGRTMIN) = 0
kill(1909, SIGRTMIN) = 0
rt_sigprocmask(SIG_SETMASK, NULL, [PIPE RTMIN], 8) = 0
rt_sigsuspend([PIPE] <unfinished ...>
--- SIGRT_1 (Real-time signal 1) @ 0 (0) ---
<... rt_sigsuspend resumed> ) = 33
--- SIGRTMIN (Real-time signal 0) @ 0 (0) ---
sigreturn() = ? (mask now [PIPE])
wait4(1908, NULL, __WCLONE, NULL) = 1908
_exit(0) = ?
part of ps:
1853 ttyS0 S 0:00 /sbin/agetty -L ttyS0 115200 vt100
1909 pts/0 S 0:00 sablevm DaemonTest
1910 pts/0 S 0:00 \_ sablevm DaemonTest
if attach gdb to 1910:
This GDB was configured as "armv5l-alt-linux"...
Attaching to program: /usr/bin/sablevm, process 1910
Reading symbols from /usr/lib/libsablevm-trunk+3922.so...done.
Loaded symbols for /usr/lib/libsablevm-trunk+3922.so
Reading symbols from /lib/libpopt.so.0...done.
Loaded symbols for /lib/libpopt.so.0
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/libm.so.6...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /usr/lib/libffi.so.4...done.
Loaded symbols for /usr/lib/libffi.so.4
Reading symbols from /usr/lib/libltdl.so.3...done.
Loaded symbols for /usr/lib/libltdl.so.3
Reading symbols from /lib/libz.so.1...done.
Loaded symbols for /lib/libz.so.1
Reading symbols from /lib/libpthread.so.0...done.
[New Thread 1024 (LWP 1907)]
Error while reading shared library symbols:
Can't attach LWP 1907: No such process
Reading symbols from /lib/libgcc_s.so.1...done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /usr/lib/sablevm-classpath/libjavanio-trunk+3922.so...done.
Loaded symbols for /usr/lib/sablevm-classpath/libjavanio-trunk+3922.so
Reading symbols from /usr/lib/sablevm-classpath/libjavalang-trunk+3922.so...done.
Loaded symbols for /usr/lib/sablevm-classpath/libjavalang-trunk+3922.so
Reading symbols from /usr/lib/sablevm-classpath/libjavaio-trunk+3922.so...done.
Loaded symbols for /usr/lib/sablevm-classpath/libjavaio-trunk+3922.so
0x400b348c in sigsuspend () from /lib/libc.so.6
(gdb) bt
#0 0x400b348c in sigsuspend () from /lib/libc.so.6
#1 0x4027be3c in __pthread_wait_for_restart_signal () from /lib/libpthread.so.0
if attach gdb to 1909:
(gdb) bt
#0 0x401d2424 in nanosleep () from /lib/libc.so.6
#1 0x40337f64 in __pthread_timedsuspend_new () from /lib/libpthread.so.0
#2 0x403344ec in pthread_cond_timedwait_relative () from /lib/libpthread.so.0
#3 0x400fe658 in Java_java_lang_VMObject_wait (_env=0x6f000, class=0x6d180,
o=0x6e4b8, ms=1000, ns=0) at java_lang_VMObject.c:302
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.