Skip to main content

Signal 11 on Linux arm

3 replies [Last post]
tellmemore
Offline
Joined: 2008-03-05

I am trying to use winstone on arm (i use Qemu virtual machine . The one i got from fedora-arm project wiki page). But i when i give
bin/cvm -jar /path/to/winstone/jar --webroot=/tmp
I get signal 11 recvd . And then it is suspended. Even if i forecfully give SIGCONT it does not work. I tried CVM_JIT=false. But it also behave in same way.

I can see similar thread at http://forums.java.net/jive/thread.jspa?threadID=22285&tstart=0 but could not figure out how to patch my sources if i need to for my arm setup.

I also tried this with jetty but it gave same error.
But my test apps and one from testclasses.zip are runnign fine wth 411 test passing and 0 failure.

any idea what is wrong ?? Can somebody give me the patch about which
bobvandette is talking at above link ??

--Rohit

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Hinkmond Wong

phonemeadvanced@mobileandembedded.org wrote:
> I am trying to use winstone on arm (i use Qemu virtual machine . The one i got from fedora-arm project wiki page). But i when i give
> bin/cvm -jar /path/to/winstone/jar --webroot=/tmp
> I get signal 11 recvd . And then it is suspended. Even if i forecfully give SIGCONT it does not work. I tried CVM_JIT=false. But it also behave in same way.
>
> I can see similar thread at http://forums.java.net/jive/thread.jspa?threadID=22285&tstart=0 but could not figure out how to patch my sources if i need to for my arm setup.
>
> I also tried this with jetty but it gave same error.
> But my test apps and one from testclasses.zip are runnign fine wth 411 test passing and 0 failure.
>
> any idea what is wrong ?? Can somebody give me the patch about which
> bobvandette is talking at above link ??
>

Hi Rohit,

First, what is the exact core dump message you see when you either
attach gdb to the hanging process or when you disable the kill(pid,
SIGSTOP) in src/linux-mips/javavm/runtime/segvhandler_arch.c and
src/linux/javavm/runtime/sync_md.c (as Chris points out you must do to
see the core dump)?

This will help in determining what is wrong.

Hinkmond

---------------------------------------------------------------------
To unsubscribe, e-mail: advanced-unsubscribe@phoneme.dev.java.net
For additional commands, e-mail: advanced-help@phoneme.dev.java.net

tellmemore
Offline
Joined: 2008-03-05

sorry for late reply i have been busy with some other tasks.

I tried commenting kill(SIGSSTOP) line from 1 files.
src/linux/javavm/runtime/sync_md.c
src/linux-arm/javavm/runtime/segvhandler_arch.c

But i do not get any core dump as such. If i attach gdb i do not see anything looks like some issue with deug symbols are missing.
If i do strace for cvm process i get
open(/path/to/cvm/lib/zi/posixrules) fails with -ENOENT . and immediately after this
i see segmentation fault @0 message.

I am not able to find out how could i find the exact line in the code where this segfault is happening ?? what else do i need to reach to that point. Does not anybody else get this error message when using qemu arm setup ??

--Rohit

cjplummer
Offline
Joined: 2006-10-16

Have you tried building with CVM_DEBUG=true? Also, have you tried running from within GDB rather than trying to attach after the crash?

Chris