[Qemu-devel] [Bug 932539] Re: qemu exits with -11 when connecting to a port redirect before the service starts listening

2012-03-16 Thread Launchpad Bug Tracker
This bug was fixed in the package qemu-kvm - 1.0+noroms-0ubuntu8 --- qemu-kvm (1.0+noroms-0ubuntu8) precise; urgency=low * debian/patches/slirp-*: fix bad exit with -11 when connecting to a port redirect before the service starts listening. (LP: #932539) -- Serge HallynFri

[Qemu-devel] [Bug 932539] Re: qemu exits with -11 when connecting to a port redirect before the service starts listening

2012-03-16 Thread Serge Hallyn
This appears to be fixed upstream. ** Changed in: qemu Status: Confirmed => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/932539 Title: qemu exits with -11 when connecting to a

[Qemu-devel] [Bug 932539] Re: qemu exits with -11 when connecting to a port redirect before the service starts listening

2012-03-16 Thread Serge Hallyn
(cherrypicked the slirp/if.c patches from upstream, which fixed the problem for me. Pushing the resulting package) -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/932539 Title: qemu exits with -11 w

[Qemu-devel] [Bug 932539] Re: qemu exits with -11 when connecting to a port redirect before the service starts listening

2012-03-15 Thread Serge Hallyn
** Changed in: qemu Status: New => Confirmed -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/932539 Title: qemu exits with -11 when connecting to a port redirect before the service starts li

[Qemu-devel] [Bug 932539] Re: qemu exits with -11 when connecting to a port redirect before the service starts listening

2012-02-15 Thread Serge Hallyn
Oddly, a bisect suggests this was introduced by commit e3a110b527f749a2acec079c261f4481aadd3edc: slirp: Only start packet expiration for delayed ones which seems rather innocent. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. h

[Qemu-devel] [Bug 932539] Re: qemu exits with -11 when connecting to a port redirect before the service starts listening

2012-02-15 Thread Serge Hallyn
I was thinking 1ab74cea060d776b19857c3babc64d729bbdba5c might have introduced it, but at that commit it doesn't happen. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/932539 Title: qemu exits with -

[Qemu-devel] [Bug 932539] Re: qemu exits with -11 when connecting to a port redirect before the service starts listening

2012-02-14 Thread Serge Hallyn
Reproduced with uptodate qemu.git: ./x86_64-softmmu/qemu-system-x86_64 --enable-kvm -drive file=../../delme.img -m 512 -vnc :1 -net nic,model=virtio -net user,hostfwd=tcp::-:22 [... immediately ssh -p localhost in another terminal, then wait while VM starts to boot ...] Segmentation fa

[Qemu-devel] [Bug 932539] Re: qemu exits with -11 when connecting to a port redirect before the service starts listening

2012-02-14 Thread Serge Hallyn
inline void insque(void *a, void *b) { register struct quehead *element = (struct quehead *) a; register struct quehead *head = (struct quehead *) b; element->qh_link = head->qh_link; (line 27 is the last line) (gdb) p *element Cannot access memory at address 0x0 (gdb) p a