[Qemu-devel] [Bug 1785670] Re: Guest(ubuntu 18.04) crashes when trying uploading file

2018-08-15 Thread Thomas Huth
Fix has been included here: https://git.qemu.org/?p=qemu.git;a=commitdiff;h=09b94ac0f29db3b022a77 ** 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.

[Qemu-devel] [Bug 1785670] Re: Guest(ubuntu 18.04) crashes when trying uploading file

2018-08-07 Thread Zihan Yang
Glad to see such a quick fix, and ASAN looks like a great tool :) -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1785670 Title: Guest(ubuntu 18.04) crashes when trying uploading file Status in

[Qemu-devel] [Bug 1785670] Re: Guest(ubuntu 18.04) crashes when trying uploading file

2018-08-07 Thread Peter Maydell
http://patchwork.ozlabs.org/patch/954491/ is a patch which should fix this crash. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1785670 Title: Guest(ubuntu 18.04) crashes when trying uploading

[Qemu-devel] [Bug 1785670] Re: Guest(ubuntu 18.04) crashes when trying uploading file

2018-08-07 Thread Dr. David Alan Gilbert
For me: c22098c74a fails 864036e251 fails 3835c310bd doesn't crash, but sometimes the outbound connection hangs. So perhaps the crash is 864036e251f54c99d31df124aad7f34f01f5344c -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU.

[Qemu-devel] [Bug 1785670] Re: Guest(ubuntu 18.04) crashes when trying uploading file

2018-08-07 Thread Li Qiang
Hi, I have find the overflow point using ASAN. void m_cat(struct mbuf *m, struct mbuf *n) { /* * If there's no room, realloc */ if (M_FREEROOM(m) < n->m_len) m_inc(m, m->m_len + n->m_len); memcpy(m->m_data+m->m_len, n->m_data, n->m_len); m->m_len += n->m_len; m_free(n); } /*

Re: [Qemu-devel] [Bug 1785670] Re: Guest(ubuntu 18.04) crashes when trying uploading file

2018-08-07 Thread liqsub1
372e0 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x202e0) 2018-08-07 liqsub1 发件人:Zihan Yang <1785...@bugs.launchpad.net> 发送时间:2018-08-07 09:06 主题:[Qemu-devel] [Bug 1785670] Re: Guest(ubuntu 18.04) crashes when trying uploading file 收件人:"qemu-devel" 抄送: It's indeed

[Qemu-devel] [Bug 1785670] Re: Guest(ubuntu 18.04) crashes when trying uploading file

2018-08-06 Thread Zihan Yang
It's indeed e1000e specific, when I change e1000e to e1000, I can upload file freely. Looks like there is an overflow somewhere in e1000e that corrupted the heap chunk header. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU.

[Qemu-devel] [Bug 1785670] Re: Guest(ubuntu 18.04) crashes when trying uploading file

2018-08-06 Thread Dr. David Alan Gilbert
Looks like it might be e1000e specific? I can recreate it with either q35 with no extra options (it has e1000e by default), pc or q35 specifying e1000e, but plain pc works fine. Simple test; scp bigfile from guest to user@10.0.2.2: (i.e. host) Dave -- You received this bug notification

[Qemu-devel] [Bug 1785670] Re: Guest(ubuntu 18.04) crashes when trying uploading file

2018-08-06 Thread Dr. David Alan Gilbert
#0 0x7fffec275feb in raise () at /lib64/libc.so.6 #1 0x7fffec2605c1 in abort () at /lib64/libc.so.6 #2 0x7fffec2b89d7 in __libc_message () at /lib64/libc.so.6 #3 0x7fffec2beeac in () at /lib64/libc.so.6 #4 0x7fffec2c091c in _int_free () at /lib64/libc.so.6 #5

[Qemu-devel] [Bug 1785670] Re: Guest(ubuntu 18.04) crashes when trying uploading file

2018-08-06 Thread Dr. David Alan Gilbert
I can recreate this here. ** 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/1785670 Title: Guest(ubuntu 18.04) crashes when trying uploading file