qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Fiber switching and stack protection


From: Kevin Wolf
Subject: Re: [Qemu-devel] Fiber switching and stack protection
Date: Thu, 12 Apr 2012 12:13:50 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120329 Thunderbird/11.0.1

Am 06.04.2012 12:38, schrieb Pavel Dovgaluk:
> Hello.
> 
>  
> 
> Recently I tried to build qemu-1.0 with MinGW and start it with qcow
> file created with previous version of qemu.
> 
> But after starting guest Windows loading process qemu had closed because
> of an exception.
> 
>  
> 
> I figured out that this exception is “stack smashing” and it happened in
> qemu_coroutine_switch of coroutine-win32.c file.
> 
> But when I remove -fstack-protector-all option from makefile nothing
> changes – an exception occurs again.
> 
>  
> 
> Does anyone have an idea about such behavior?

I guess it's this non-thread-local TLS once again, basically a compiler bug.

Paolo, wasn't there a compiler option that works around the problem?

Kevin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]