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 wrote: > On Fri, Feb 8, 2013 at 12:11 AM, Peter Maydell > wrote: >> On 7 February 2013 16:08, Stefan Hajnoczi wrote: >>> On Thu, Feb 7, 2013 at 3:12 PM, harryxiyou wrote: The above debug info show jni will be used in coroutine. I do not fami

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 wrote: > On 7 February 2013 16:08, Stefan Hajnoczi wrote: >> On Thu, Feb 7, 2013 at 3:12 PM, harryxiyou 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 t

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 wrote: > On Thu, Feb 7, 2013 at 3:12 PM, harryxiyou 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 j

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 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 bdrv_create out of cor

[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 0x000