* [Qemu-devel] [Bug 1336123] [NEW] bad switch, segfault in hw/pci-host/bonito.c bonito_readl
@ 2014-07-01 2:36 Robin Lee
2017-10-28 13:09 ` [Qemu-devel] [Bug 1336123] " Thomas Huth
2017-12-28 4:17 ` Launchpad Bug Tracker
0 siblings, 2 replies; 3+ messages in thread
From: Robin Lee @ 2014-07-01 2:36 UTC (permalink / raw)
To: qemu-devel
Public bug reported:
http://git.qemu.org/?p=qemu.git;a=blob;f=hw/pci-
host/bonito.c;h=56292adb03cd1a9873c2c9e5a0b2978fd0572214;hb=master#l301
The switch statement is error-prone, since two branches return the same
result.
Segfault reproducing steps:
1. make a Linux kernel(for example 3.16.0-rc2) with fuloong2e_defconfig
2. use 'qemu-system-mips64el -machine fulong2e' to boot the vmlinux
qemu versions tried: 2.0.0, 1.6.2
** 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/1336123
Title:
bad switch, segfault in hw/pci-host/bonito.c bonito_readl
Status in QEMU:
New
Bug description:
http://git.qemu.org/?p=qemu.git;a=blob;f=hw/pci-
host/bonito.c;h=56292adb03cd1a9873c2c9e5a0b2978fd0572214;hb=master#l301
The switch statement is error-prone, since two branches return the
same result.
Segfault reproducing steps:
1. make a Linux kernel(for example 3.16.0-rc2) with fuloong2e_defconfig
2. use 'qemu-system-mips64el -machine fulong2e' to boot the vmlinux
qemu versions tried: 2.0.0, 1.6.2
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1336123/+subscriptions
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Qemu-devel] [Bug 1336123] Re: bad switch, segfault in hw/pci-host/bonito.c bonito_readl
2014-07-01 2:36 [Qemu-devel] [Bug 1336123] [NEW] bad switch, segfault in hw/pci-host/bonito.c bonito_readl Robin Lee
@ 2017-10-28 13:09 ` Thomas Huth
2017-12-28 4:17 ` Launchpad Bug Tracker
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Huth @ 2017-10-28 13:09 UTC (permalink / raw)
To: qemu-devel
I think this might have been fixed with this commit here:
https://git.qemu.org/?p=qemu.git;a=commitdiff;h=0ca4f94195cce77b624ed
Or can you still reproduce it with the current version of QEMU?
** Changed in: qemu
Status: New => Incomplete
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1336123
Title:
bad switch, segfault in hw/pci-host/bonito.c bonito_readl
Status in QEMU:
Incomplete
Bug description:
http://git.qemu.org/?p=qemu.git;a=blob;f=hw/pci-
host/bonito.c;h=56292adb03cd1a9873c2c9e5a0b2978fd0572214;hb=master#l301
The switch statement is error-prone, since two branches return the
same result.
Segfault reproducing steps:
1. make a Linux kernel(for example 3.16.0-rc2) with fuloong2e_defconfig
2. use 'qemu-system-mips64el -machine fulong2e' to boot the vmlinux
qemu versions tried: 2.0.0, 1.6.2
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1336123/+subscriptions
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Qemu-devel] [Bug 1336123] Re: bad switch, segfault in hw/pci-host/bonito.c bonito_readl
2014-07-01 2:36 [Qemu-devel] [Bug 1336123] [NEW] bad switch, segfault in hw/pci-host/bonito.c bonito_readl Robin Lee
2017-10-28 13:09 ` [Qemu-devel] [Bug 1336123] " Thomas Huth
@ 2017-12-28 4:17 ` Launchpad Bug Tracker
1 sibling, 0 replies; 3+ messages in thread
From: Launchpad Bug Tracker @ 2017-12-28 4:17 UTC (permalink / raw)
To: qemu-devel
[Expired for QEMU because there has been no activity for 60 days.]
** Changed in: qemu
Status: Incomplete => Expired
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1336123
Title:
bad switch, segfault in hw/pci-host/bonito.c bonito_readl
Status in QEMU:
Expired
Bug description:
http://git.qemu.org/?p=qemu.git;a=blob;f=hw/pci-
host/bonito.c;h=56292adb03cd1a9873c2c9e5a0b2978fd0572214;hb=master#l301
The switch statement is error-prone, since two branches return the
same result.
Segfault reproducing steps:
1. make a Linux kernel(for example 3.16.0-rc2) with fuloong2e_defconfig
2. use 'qemu-system-mips64el -machine fulong2e' to boot the vmlinux
qemu versions tried: 2.0.0, 1.6.2
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1336123/+subscriptions
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-12-28 4:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-01 2:36 [Qemu-devel] [Bug 1336123] [NEW] bad switch, segfault in hw/pci-host/bonito.c bonito_readl Robin Lee
2017-10-28 13:09 ` [Qemu-devel] [Bug 1336123] " Thomas Huth
2017-12-28 4:17 ` Launchpad Bug Tracker
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.