Thanks for your advice.
But I don't know why and how I update the my libraries.

-------------------------------------------------------------------------------------
My OS: linux 2.4.1-rmk2-np1
My libraries:
        sh-2.04# ldconfig -v
        ldconfig: Path `/lib' given more than once
        ldconfig: Path `/usr/lib' given more than once
        /lib:
                libnsl.so.1 -> libnsl-2.2.3.so
                libBrokenLocale.so.1 -> libBrokenLocale-2.2.3.so
                libpthread.so.0 -> libpthread-0.9.so
                libdl.so.2 -> libdl-2.2.3.so
                libm.so.6 -> libm-2.2.3.so
                libncurses.so.5 -> libncurses.so.5.2
                libutil.so.1 -> libutil-2.2.3.so
                libnss_files.so.2 -> libnss_files-2.2.3.so
                libcrypt.so.1 -> libcrypt-2.2.3.so
                ld-linux.so.2 -> ld-2.2.3.so
                        libc.so.6 -> libc-2.2.3.so
        /usr/lib:
                        libz.so.1 -> libz.so.1.1.3
-------------------------------------------------------------------------------------------------

Hope your advices..
-----Original Message-----
From: Hong Zhou [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 18, 2001 2:31 AM
To: A6<10G
Subject: Re: [blackdown1.3.1] segmentation fault using green threads


To me, green thread has less problems on Linux.  I
suspect that your computer does not support green
thread.  You could test it by simply doing:

java -green

If you get segmentation fault by executing this
command, then your OS does not support green thread. 
In such a case, you need to update your libraries.



--- A6<10G <[EMAIL PROTECTED]> wrote:
> 
>  It is first to post the message to this newsgroups.
> 
> I ported the blackdown jvm to my boards.
> 
> The system spec for my board is
> CPU:StrongArm sa1110
> Flash memory: 32 M
> RAM:32M
> 
> When I use the native thread, My java application
> works well.
> 
> shell) java -native -jar Myjar.jar 
>  
> But When I use the green thread, segmentation
> faults.
> 
> shell) java -green -jar Myjar.jar
> segmentation fault.
> 
> I heard that this problem may happen because of
> stack size.
> So according to the advice, limit the stack size to
> 2048(2M)
> That is , in linux
> 
> shell)ulimit -s 2048
> 
> but I didn't solve my problme.
> 
> I hope your advice.
>                    
>
=========================================================
>    
>                                        SunGun, Cho 
>                                  Team Of Media Tech
>                                  My Duties :
> Edispenser
>                                  TEL:82-2-3461-4976
> #232
>                                  
> H.P:82-017-763-1201
>                                  - AIM SYSTEMS, INC
> -
>                     
>
=========================================================
> 
>  
> N
I@R
>
i
[h
+Z)nF7*9k-
+ZnVZ0
`B+ajK
g-!{'2flr8y:h99^
>       miKdj9['$v'"8


__________________________________________________
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.comN
I@R       
隊[hږ)Ʒ-nV0+aj˛-ry:蹹^
idj[$v'


Reply via email to