* [Qemu-devel] [Bug 891002] [NEW] windows mingw compiled qemu-system-x86_64 crash on startup
@ 2011-11-16 7:01 humeafo
2011-11-16 7:04 ` [Qemu-devel] [Bug 891002] " humeafo
` (4 more replies)
0 siblings, 5 replies; 7+ messages in thread
From: humeafo @ 2011-11-16 7:01 UTC (permalink / raw)
To: qemu-devel
Public bug reported:
qemu-1.0-rc2/cpu-exec.c:37 longjmp(env->jmp_env, 1); it seems that env->jmp_env destroyed, (gdb) p env->jmp_env
$3 = {0, 0, 0, 36249608, 41418280, 5303318, 41418664, 0, 0, 0, 0, 0, 0, 0, 0, 0}
** Affects: qemu
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/891002
Title:
windows mingw compiled qemu-system-x86_64 crash on startup
Status in QEMU:
New
Bug description:
qemu-1.0-rc2/cpu-exec.c:37 longjmp(env->jmp_env, 1); it seems that env->jmp_env destroyed, (gdb) p env->jmp_env
$3 = {0, 0, 0, 36249608, 41418280, 5303318, 41418664, 0, 0, 0, 0, 0, 0, 0, 0, 0}
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/891002/+subscriptions
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Qemu-devel] [Bug 891002] Re: windows mingw compiled qemu-system-x86_64 crash on startup
2011-11-16 7:01 [Qemu-devel] [Bug 891002] [NEW] windows mingw compiled qemu-system-x86_64 crash on startup humeafo
@ 2011-11-16 7:04 ` humeafo
2011-11-16 10:35 ` [Qemu-devel] [Bug 891002] [NEW] " Stefan Hajnoczi
` (3 subsequent siblings)
4 siblings, 0 replies; 7+ messages in thread
From: humeafo @ 2011-11-16 7:04 UTC (permalink / raw)
To: qemu-devel
it's compiled on windows 2003 and using mingw gcc version 4.6.1
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/891002
Title:
windows mingw compiled qemu-system-x86_64 crash on startup
Status in QEMU:
New
Bug description:
qemu-1.0-rc2/cpu-exec.c:37 longjmp(env->jmp_env, 1); it seems that env->jmp_env destroyed, (gdb) p env->jmp_env
$3 = {0, 0, 0, 36249608, 41418280, 5303318, 41418664, 0, 0, 0, 0, 0, 0, 0, 0, 0}
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/891002/+subscriptions
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Qemu-devel] [Bug 891002] [NEW] windows mingw compiled qemu-system-x86_64 crash on startup
2011-11-16 7:01 [Qemu-devel] [Bug 891002] [NEW] windows mingw compiled qemu-system-x86_64 crash on startup humeafo
2011-11-16 7:04 ` [Qemu-devel] [Bug 891002] " humeafo
@ 2011-11-16 10:35 ` Stefan Hajnoczi
2011-11-16 11:00 ` Kevin Wolf
2011-11-17 3:08 ` [Qemu-devel] [Bug 891002] " humeafo
` (2 subsequent siblings)
4 siblings, 1 reply; 7+ messages in thread
From: Stefan Hajnoczi @ 2011-11-16 10:35 UTC (permalink / raw)
To: Kevin Wolf; +Cc: Bug 891002, qemu-devel
On Wed, Nov 16, 2011 at 7:01 AM, humeafo <891002@bugs.launchpad.net> wrote:
> Public bug reported:
>
> qemu-1.0-rc2/cpu-exec.c:37 longjmp(env->jmp_env, 1); it seems that env->jmp_env destroyed, (gdb) p env->jmp_env
> $3 = {0, 0, 0, 36249608, 41418280, 5303318, 41418664, 0, 0, 0, 0, 0, 0, 0, 0, 0}
Kevin: Is this similar to the issue you found with your mingw cross-compiler?
Stefan
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Qemu-devel] [Bug 891002] [NEW] windows mingw compiled qemu-system-x86_64 crash on startup
2011-11-16 10:35 ` [Qemu-devel] [Bug 891002] [NEW] " Stefan Hajnoczi
@ 2011-11-16 11:00 ` Kevin Wolf
0 siblings, 0 replies; 7+ messages in thread
From: Kevin Wolf @ 2011-11-16 11:00 UTC (permalink / raw)
To: Stefan Hajnoczi; +Cc: Bug 891002, qemu-devel
Am 16.11.2011 11:35, schrieb Stefan Hajnoczi:
> On Wed, Nov 16, 2011 at 7:01 AM, humeafo <891002@bugs.launchpad.net> wrote:
>> Public bug reported:
>>
>> qemu-1.0-rc2/cpu-exec.c:37 longjmp(env->jmp_env, 1); it seems that env->jmp_env destroyed, (gdb) p env->jmp_env
>> $3 = {0, 0, 0, 36249608, 41418280, 5303318, 41418664, 0, 0, 0, 0, 0, 0, 0, 0, 0}
>
> Kevin: Is this similar to the issue you found with your mingw cross-compiler?
The symptoms were different. I didn't get a broken TCG state but some
internals of the Fiber used for coroutines must have been corrupted
(SwitchFiber() crashed when dereferencing a null pointer, but the
externally visible pointer that qemu passed to it was still ok).
Maybe both could be symptoms of the same kind of memory corruption.
Kevin
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Qemu-devel] [Bug 891002] Re: windows mingw compiled qemu-system-x86_64 crash on startup
2011-11-16 7:01 [Qemu-devel] [Bug 891002] [NEW] windows mingw compiled qemu-system-x86_64 crash on startup humeafo
2011-11-16 7:04 ` [Qemu-devel] [Bug 891002] " humeafo
2011-11-16 10:35 ` [Qemu-devel] [Bug 891002] [NEW] " Stefan Hajnoczi
@ 2011-11-17 3:08 ` humeafo
2011-11-24 10:29 ` humeafo
2016-11-08 10:20 ` Thomas Huth
4 siblings, 0 replies; 7+ messages in thread
From: humeafo @ 2011-11-17 3:08 UTC (permalink / raw)
To: qemu-devel
maybe it's caused by mingw/gcc? the same binary runs well on win7-x64,
but not on win2003-32 bit I'll do more test, if I've time, i'd debug it
and try to find the reason
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/891002
Title:
windows mingw compiled qemu-system-x86_64 crash on startup
Status in QEMU:
New
Bug description:
qemu-1.0-rc2/cpu-exec.c:37 longjmp(env->jmp_env, 1); it seems that env->jmp_env destroyed, (gdb) p env->jmp_env
$3 = {0, 0, 0, 36249608, 41418280, 5303318, 41418664, 0, 0, 0, 0, 0, 0, 0, 0, 0}
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/891002/+subscriptions
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Qemu-devel] [Bug 891002] Re: windows mingw compiled qemu-system-x86_64 crash on startup
2011-11-16 7:01 [Qemu-devel] [Bug 891002] [NEW] windows mingw compiled qemu-system-x86_64 crash on startup humeafo
` (2 preceding siblings ...)
2011-11-17 3:08 ` [Qemu-devel] [Bug 891002] " humeafo
@ 2011-11-24 10:29 ` humeafo
2016-11-08 10:20 ` Thomas Huth
4 siblings, 0 replies; 7+ messages in thread
From: humeafo @ 2011-11-24 10:29 UTC (permalink / raw)
To: qemu-devel
after some debugging I confirmed that this is caused by a mingw gcc
4.6.1-2 optiomization bug, gcc generated optimized code that used ebp to
store some results , while later ebp is used in setjmp and longjmp, so
a beiju occurred. mingw gcc 4.5.2works well. the bug should be closed.
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/891002
Title:
windows mingw compiled qemu-system-x86_64 crash on startup
Status in QEMU:
New
Bug description:
qemu-1.0-rc2/cpu-exec.c:37 longjmp(env->jmp_env, 1); it seems that env->jmp_env destroyed, (gdb) p env->jmp_env
$3 = {0, 0, 0, 36249608, 41418280, 5303318, 41418664, 0, 0, 0, 0, 0, 0, 0, 0, 0}
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/891002/+subscriptions
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Qemu-devel] [Bug 891002] Re: windows mingw compiled qemu-system-x86_64 crash on startup
2011-11-16 7:01 [Qemu-devel] [Bug 891002] [NEW] windows mingw compiled qemu-system-x86_64 crash on startup humeafo
` (3 preceding siblings ...)
2011-11-24 10:29 ` humeafo
@ 2016-11-08 10:20 ` Thomas Huth
4 siblings, 0 replies; 7+ messages in thread
From: Thomas Huth @ 2016-11-08 10:20 UTC (permalink / raw)
To: qemu-devel
Closing according to comment #5.
** Changed in: qemu
Status: New => Invalid
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/891002
Title:
windows mingw compiled qemu-system-x86_64 crash on startup
Status in QEMU:
Invalid
Bug description:
qemu-1.0-rc2/cpu-exec.c:37 longjmp(env->jmp_env, 1); it seems that env->jmp_env destroyed, (gdb) p env->jmp_env
$3 = {0, 0, 0, 36249608, 41418280, 5303318, 41418664, 0, 0, 0, 0, 0, 0, 0, 0, 0}
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/891002/+subscriptions
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2016-11-08 10:35 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-16 7:01 [Qemu-devel] [Bug 891002] [NEW] windows mingw compiled qemu-system-x86_64 crash on startup humeafo
2011-11-16 7:04 ` [Qemu-devel] [Bug 891002] " humeafo
2011-11-16 10:35 ` [Qemu-devel] [Bug 891002] [NEW] " Stefan Hajnoczi
2011-11-16 11:00 ` Kevin Wolf
2011-11-17 3:08 ` [Qemu-devel] [Bug 891002] " humeafo
2011-11-24 10:29 ` humeafo
2016-11-08 10:20 ` Thomas Huth
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).