[kaffe] port 1.1.5 on sxale---I have lost hope

Guilhem Lavaux guilhem at kaffe.org
Sat May 7 06:02:23 PDT 2005


On Thu, 2005-05-05 at 18:47 +0800, huangtonglang wrote:
> Hi,
> Why the sgmentation violation is produced, is that because the linux
> kernel(2.4.18) on my xscale is too low or other course? I have tried
> serval toolchain(3.4.1,3.3.2),but the results is no different.
> If I can't fix it,how can I clear away the message which is very
> boring.

The segv must be produced however it must be hidden by the kernel by
sending a SIGSEGV to kaffe (which looks like doing as kaffe runs after
the message).

The only possibility if you cannot disable the message printed by the
kernel is to disable stack detection and use another heuristic. However
we are not providing heuristic change at configure time.

Also, are you using glibc ? If it's the case we may avoid using the segv
handler to detect stack. 

Be aware that we are also handling some NullPointerException through the
sigsegv catching and so may get some of these for incorrectly written
java program.

Regards,

Guilhem Lavaux.

> Thank you for your help!
> > Hi,
> > 
> > The standard detection of stack boundaries involves the production
> of a
> > segmentation violation by the program. It is caught by kaffe and
> handled
> > correctly. You can safely ignore the message as kaffe seems to work.
> > 
> > Regards,
> > 
> > Guilhem.
> > 
> > On Sun, 2005-05-01 at 17:36 +0800, huangtonglang wrote:
> > > hi all!
> > > I cross-compiled the kaffe 1.1.5 for xscale(linux 2.14.8). But
> when I
> > > ran the Helloworld on the target, I got the follow information:
> > > ////////////////////
> > > [root at Xhyper255-nie bin]$./kaffe -vmdebug INIT HelloWorld
> > > initCollector()
> > > initCollector() done
> > > initNativeThreads(0x10000)
> > > Detected stackSize 1048576
> > > pc : [] lr : [] Not tainted
> > > sp : bffff2a8 ip : 0017fd08 fp : bffff2d4
> > > r10: 001897d0 r9 : 00000001 r8 : bffffbb4
> > > r7 : 00000003 r6 : 00000005 r5 : 00000000 r4 : 00060438
> > > r3 : bffff000 r2 : c0000000 r1 : bffff2b4 r0 : 00001000
> > > Flags: nzCv IRQs on FIQs on Mode USER_32 Segment user
> > > Control: 397F Table: A3D18000 DAC: 00000015
> > > initNativeThreads(0x10000) done
> > > utf8ConstInit()
> > > utf8ConstInit() done
> > > ...............
> > > Hello World
> > > ///////////////////////////
> > > Does it mean that something wrong happened during
> initNativeThreads?
> > > The corsstoolchain is 2.95.3
> > > thank you very much!
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > _______________________________________________
> > > kaffe mailing list
> > > kaffe at kaffe.org
> > > http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
> > 
> > 
> 
> 
> 
> 
> 
> 
> 
>   什么邮箱可以注册长度3位用户名,好记又好用?
> 
> 
> 
> 
> 
> 
> 
>   什么邮箱可以注册长度3位用户名,好记又好用? 
> 
> _______________________________________________
> kaffe mailing list
> kaffe at kaffe.org
> http://kaffe.org/cgi-bin/mailman/listinfo/kaffe





More information about the kaffe mailing list