[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [Bug 1066909] Re: App-level clone emulation for microblaze
From: |
Bugdal |
Subject: |
[Qemu-devel] [Bug 1066909] Re: App-level clone emulation for microblaze is broken |
Date: |
Tue, 16 Oct 2012 01:18:03 -0000 |
Here is a minimal test case showing the problem.
** Attachment added: "minimal test case"
https://bugs.launchpad.net/qemu/+bug/1066909/+attachment/3399581/+files/badclone.s
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1066909
Title:
App-level clone emulation for microblaze is broken
Status in QEMU:
New
Bug description:
When CLONE_THREAD is used, the new process starts with the program
counter pointing to the system call instruction, rather than the
instruction immediately following it. This causes an infinite cascade
(linear growth, not exponential) of thread creation, which quickly
crashes when the threads start running and they're all using the same
stack.
I'm using qemu 1.1.2 packaged with Debian, but I'm not aware of any
fixes since then that would address the problem.
I can provide a test program if needed; a short C program using
syscall() directly or an even-shorter asm program can demonstrate the
issue without need for debugging around pthread library routines.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1066909/+subscriptions
- [Qemu-devel] [PATCH v3 00/12] make CPU child of DeviceState and include qdev core in *-user, Igor Mammedov, 2012/10/15
- [Qemu-devel] [PATCH 02/12] qapi-types.h doesn't really need to include qemu-common.h, Igor Mammedov, 2012/10/15
- [Qemu-devel] [PATCH 01/12] qdev: split up header so it can be used in cpu.h, Igor Mammedov, 2012/10/15
- [Qemu-devel] [PATCH 03/12] qdev: separate core from the code used only by qemu-system-*, Igor Mammedov, 2012/10/15
- [Qemu-devel] [PATCH 05/12] qdev-core: isolate vmstate handling into separate functions, Igor Mammedov, 2012/10/15
- [Qemu-devel] [PATCH 06/12] qdev: move vmstate handling to qdev-system.c, Igor Mammedov, 2012/10/15
- [Qemu-devel] [PATCH 04/12] qdev: rename qdev.c to qdev-core.c, Igor Mammedov, 2012/10/15
- [Qemu-devel] [PATCH 07/12] qdev-core: isolate reset register/unregister code, Igor Mammedov, 2012/10/15
- [Qemu-devel] [PATCH 09/12] move qemu_irq typedef out of cpu-common.h, Igor Mammedov, 2012/10/15
- [Qemu-devel] [PATCH 10/12] qdev: use full qdev.h include path on qdev*.c, Igor Mammedov, 2012/10/15
- [Qemu-devel] [PATCH 08/12] qdev: move reset register/unregister code to qdev-system.c, Igor Mammedov, 2012/10/15