Re: [Qemu-devel] Sigsegv error when create JVM, called by bdrv_create in block.c

2013-02-08 Thread Stefan Hajnoczi
On Fri, Feb 8, 2013 at 6:17 AM, harryxiyou harryxi...@gmail.com wrote: On Fri, Feb 8, 2013 at 12:11 AM, Peter Maydell peter.mayd...@linaro.org wrote: On 7 February 2013 16:08, Stefan Hajnoczi stefa...@gmail.com wrote: On Thu, Feb 7, 2013 at 3:12 PM, harryxiyou harryxi...@gmail.com wrote: The

[Qemu-devel] Sigsegv error when create JVM, called by bdrv_create in block.c

2013-02-07 Thread harryxiyou
HI all : I write a new block driver based on hdfs of hadoop, it need to connect to hdfs when create step (called by bdrv_create in block.c) by use libhdfs ( hdfs c++ api) 。 libhdfs use jni api to will create jvm . The problem is —— it will cause sigsegv error when create jvm . #0

Re: [Qemu-devel] Sigsegv error when create JVM, called by bdrv_create in block.c

2013-02-07 Thread Stefan Hajnoczi
On Thu, Feb 7, 2013 at 3:12 PM, harryxiyou harryxi...@gmail.com wrote: The above debug info show jni will be used in coroutine. I do not familay with coroutine, however I guess if coroutine not allow to spawn a new thread? ,or it's stack corrupte with java jvm stack ? , For when I modify

Re: [Qemu-devel] Sigsegv error when create JVM, called by bdrv_create in block.c

2013-02-07 Thread Peter Maydell
On 7 February 2013 16:08, Stefan Hajnoczi stefa...@gmail.com wrote: On Thu, Feb 7, 2013 at 3:12 PM, harryxiyou harryxi...@gmail.com wrote: The above debug info show jni will be used in coroutine. I do not familay with coroutine, however I guess if coroutine not allow to spawn a new thread? ,or

Re: [Qemu-devel] Sigsegv error when create JVM, called by bdrv_create in block.c

2013-02-07 Thread harryxiyou
On Fri, Feb 8, 2013 at 12:11 AM, Peter Maydell peter.mayd...@linaro.org wrote: On 7 February 2013 16:08, Stefan Hajnoczi stefa...@gmail.com wrote: On Thu, Feb 7, 2013 at 3:12 PM, harryxiyou harryxi...@gmail.com wrote: The above debug info show jni will be used in coroutine. I do not familay