All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [Bug 1423124] [NEW] QEMU crash after sending data on host serial port
@ 2015-02-18 11:29 Ugo
  2015-02-23 10:32 ` Stefan Hajnoczi
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Ugo @ 2015-02-18 11:29 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

Good morning,

I'm using QEMU for Windows last version.
The host system is Windows 7 64bits.
I'm excuting the following statment :

qemu-system-x86_64w.exe -hda debian.img -m 256 -net nic -net
tap,ifname=TAP32 -soundhw all -serial COM9

Qemu starts the emulated Debian and it runs correctly.

If I try to send data from Windows using COM9 to QEMU (both "real" or emulated by the COM0COM driver), QEMU crashes. Windows dump available if required.
If I try to send data to /dev/ttyS0 (that should be the Linux side of COM9) from Debian, again, the wirtual machine crashes.

More details if necessary
Best regards
U.Poddine

** 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/1423124

Title:
  QEMU crash after sending data on host serial port

Status in QEMU:
  New

Bug description:
  Good morning,

  I'm using QEMU for Windows last version.
  The host system is Windows 7 64bits.
  I'm excuting the following statment :

  qemu-system-x86_64w.exe -hda debian.img -m 256 -net nic -net
  tap,ifname=TAP32 -soundhw all -serial COM9

  Qemu starts the emulated Debian and it runs correctly.

  If I try to send data from Windows using COM9 to QEMU (both "real" or emulated by the COM0COM driver), QEMU crashes. Windows dump available if required.
  If I try to send data to /dev/ttyS0 (that should be the Linux side of COM9) from Debian, again, the wirtual machine crashes.

  More details if necessary
  Best regards
  U.Poddine

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1423124/+subscriptions

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Qemu-devel] [Bug 1423124] [NEW] QEMU crash after sending data on host serial port
  2015-02-18 11:29 [Qemu-devel] [Bug 1423124] [NEW] QEMU crash after sending data on host serial port Ugo
@ 2015-02-23 10:32 ` Stefan Hajnoczi
  2015-02-25 17:20 ` [Qemu-devel] R: " Ugo
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Stefan Hajnoczi @ 2015-02-23 10:32 UTC (permalink / raw)
  To: Bug 1423124; +Cc: Stefan Weil, qemu-devel

[-- Attachment #1: Type: text/plain, Size: 806 bytes --]

On Wed, Feb 18, 2015 at 11:29:58AM -0000, Ugo wrote:
> I'm using QEMU for Windows last version.
> The host system is Windows 7 64bits.
> I'm excuting the following statment :
> 
> qemu-system-x86_64w.exe -hda debian.img -m 256 -net nic -net
> tap,ifname=TAP32 -soundhw all -serial COM9
> 
> Qemu starts the emulated Debian and it runs correctly.
> 
> If I try to send data from Windows using COM9 to QEMU (both "real" or emulated by the COM0COM driver), QEMU crashes. Windows dump available if required.
> If I try to send data to /dev/ttyS0 (that should be the Linux side of COM9) from Debian, again, the wirtual machine crashes.

Please post details of the crash including the backtrace.  That might be
enough information for someone to figure out the problem and send a
patch to fix it.

[-- Attachment #2: Type: application/pgp-signature, Size: 473 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Qemu-devel] R: Re: [Bug 1423124] [NEW] QEMU crash after sending data on host serial port
  2015-02-18 11:29 [Qemu-devel] [Bug 1423124] [NEW] QEMU crash after sending data on host serial port Ugo
  2015-02-23 10:32 ` Stefan Hajnoczi
@ 2015-02-25 17:20 ` Ugo
  2015-03-08  6:49 ` [Qemu-devel] [Bug 1423124] " Ugo
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Ugo @ 2015-02-25 17:20 UTC (permalink / raw)
  To: qemu-devel

Hello Stefan,

the crash can be described better as a neverending loop started after having 
received data on serial ports, infact for going out I'm forced to kill the QEMU 
session from Windows. As result there is unfortunately  no system dump in the 
Windows dump folder.
I've tried to generate the backtrace with Windbg (attached), it shows 
something before sending data to COM and after having killed the neverednding 
loop, this in both cases : sending data from Windows to COM port (first 
backtrace) and sending data from linux to /dev/pty port.
I'm afraid that the dumps are not so rich, due to the neverending loop problem 
: I'm not able to debug better the situation.
Let me know if I can help more

Regards
UP


>----Messaggio originale---- 
>Da: 1423124@bugs.launchpad.net
>Data: 23-feb-2015 11.32
>A: <ugop@libero.it>
>Ogg: Re: [Qemu-devel] [Bug 1423124] [NEW] QEMU crash after sending data on 
host serial port
>
>On Wed, Feb 18, 2015 at 11:29:58AM -0000, Ugo wrote:
>> I'm using QEMU for Windows last version.
>> The host system is Windows 7 64bits.
>> I'm excuting the following statment :
>> 
>> qemu-system-x86_64w.exe -hda debian.img -m 256 -net nic -net
>> tap,ifname=TAP32 -soundhw all -serial COM9
>> 
>> Qemu starts the emulated Debian and it runs correctly.
>> 
>> If I try to send data from Windows using COM9 to QEMU (both "real" or 
emulated by the COM0COM driver), QEMU crashes. Windows dump available if 
required.
>> If I try to send data to /dev/ttyS0 (that should be the Linux side of COM9) 
from Debian, again, the wirtual machine crashes.
>
>Please post details of the crash including the backtrace.  That might be
>enough information for someone to figure out the problem and send a
>patch to fix it.
>
>-- 
>You received this bug notification because you are subscribed to the bug
>report.
>https://bugs.launchpad.net/bugs/1423124
>
>Title:
>  QEMU crash after sending data on host serial port
>
>Status in QEMU:
>  New
>
>Bug description:
>  Good morning,
>
>  I'm using QEMU for Windows last version.
>  The host system is Windows 7 64bits.
>  I'm excuting the following statment :
>
>  qemu-system-x86_64w.exe -hda debian.img -m 256 -net nic -net
>  tap,ifname=TAP32 -soundhw all -serial COM9
>
>  Qemu starts the emulated Debian and it runs correctly.
>
>  If I try to send data from Windows using COM9 to QEMU (both "real" or 
emulated by the COM0COM driver), QEMU crashes. Windows dump available if 
required.
>  If I try to send data to /dev/ttyS0 (that should be the Linux side of COM9) 
from Debian, again, the wirtual machine crashes.
>
>  More details if necessary
>  Best regards
>  U.Poddine
>
>To manage notifications about this bug go to:
>https://bugs.launchpad.net/qemu/+bug/1423124/+subscriptions
>


** Attachment added: "Debug_1.txt"
   https://bugs.launchpad.net/bugs/1423124/+attachment/4327303/+files/Debug_1.txt

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1423124

Title:
  QEMU crash after sending data on host serial port

Status in QEMU:
  New

Bug description:
  Good morning,

  I'm using QEMU for Windows last version.
  The host system is Windows 7 64bits.
  I'm excuting the following statment :

  qemu-system-x86_64w.exe -hda debian.img -m 256 -net nic -net
  tap,ifname=TAP32 -soundhw all -serial COM9

  Qemu starts the emulated Debian and it runs correctly.

  If I try to send data from Windows using COM9 to QEMU (both "real" or emulated by the COM0COM driver), QEMU crashes. Windows dump available if required.
  If I try to send data to /dev/ttyS0 (that should be the Linux side of COM9) from Debian, again, the wirtual machine crashes.

  More details if necessary
  Best regards
  U.Poddine

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1423124/+subscriptions

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Qemu-devel] [Bug 1423124] Re: QEMU crash after sending data on host serial port
  2015-02-18 11:29 [Qemu-devel] [Bug 1423124] [NEW] QEMU crash after sending data on host serial port Ugo
  2015-02-23 10:32 ` Stefan Hajnoczi
  2015-02-25 17:20 ` [Qemu-devel] R: " Ugo
@ 2015-03-08  6:49 ` Ugo
  2016-02-21 20:14 ` Sugar
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Ugo @ 2015-03-08  6:49 UTC (permalink / raw)
  To: qemu-devel

Hello,

after having upgraded QEMU to the end-of-February release, the problem (still there) evolved.
Now there is no more a "nevereding loop", but QEMU crashes on stratup with the above described startup command :

qemu-system-x86_64w.exe -hda debian.img -m 256 -net nic -net
> tap,ifname=TAP32 -soundhw all -serial COM9

Now it's easy to give you the Windows dump, attached.

Regards
Ugo

** Attachment added: "Windows- 64bits dumps for COM emulator problem"
   https://bugs.launchpad.net/qemu/+bug/1423124/+attachment/4337624/+files/CrashDumps%20-%20QEMU%20serial%20port.zip

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1423124

Title:
  QEMU crash after sending data on host serial port

Status in QEMU:
  New

Bug description:
  Good morning,

  I'm using QEMU for Windows last version.
  The host system is Windows 7 64bits.
  I'm excuting the following statment :

  qemu-system-x86_64w.exe -hda debian.img -m 256 -net nic -net
  tap,ifname=TAP32 -soundhw all -serial COM9

  Qemu starts the emulated Debian and it runs correctly.

  If I try to send data from Windows using COM9 to QEMU (both "real" or emulated by the COM0COM driver), QEMU crashes. Windows dump available if required.
  If I try to send data to /dev/ttyS0 (that should be the Linux side of COM9) from Debian, again, the wirtual machine crashes.

  More details if necessary
  Best regards
  U.Poddine

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1423124/+subscriptions

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Qemu-devel] [Bug 1423124] Re: QEMU crash after sending data on host serial port
  2015-02-18 11:29 [Qemu-devel] [Bug 1423124] [NEW] QEMU crash after sending data on host serial port Ugo
                   ` (2 preceding siblings ...)
  2015-03-08  6:49 ` [Qemu-devel] [Bug 1423124] " Ugo
@ 2016-02-21 20:14 ` Sugar
  2016-02-22  3:26 ` Sugar
  2019-04-16 11:47 ` Jörg Vehlow
  5 siblings, 0 replies; 7+ messages in thread
From: Sugar @ 2016-02-21 20:14 UTC (permalink / raw)
  To: qemu-devel

Hi All

I also meet this issue.
 I have two computer, one is Win7 32 another is Win7 64, Both computer meet this issue.
My QEMU version is qemu-w32-setup-20160215

I want used EDK2 OVMF with Intel UDK Debugger tools to do source level debug
I had install com0com Virtual Com Port, and set COM3 connect to COM4

Intel UDK Debugger tools used COM3
QEMU run OVMF used COM4

First execute Intel UDK Debugger tools, then launch QEMU
C:\Program Files\qemu\qemu-system-x86_64.exe -bios "C:\EDK2\Build\OvmfX64\DEBUG_VS2010\FV\OVMF.fd" -serial COM4
Then QEMU crashes on stratup

I have do some experiment
Execute terminal tool Tera Term and used COM3
launch QEMU and used COM4
C:\Program Files\qemu\qemu-system-x86_64.exe -bios "C:\EDK2\Build\OvmfX64\DEBUG_VS2010\FV\OVMF.fd" -serial COM4
This is fine and i can see OVMF trace log on terminal 
But if i press "Down" key on terminal, then QEMU crashe
It's caused by terminal send data("Down" key) to QEMU

Have somebody can share some information about this?

Thanks a lot.
Sugar

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1423124

Title:
  QEMU crash after sending data on host serial port

Status in QEMU:
  New

Bug description:
  Good morning,

  I'm using QEMU for Windows last version.
  The host system is Windows 7 64bits.
  I'm excuting the following statment :

  qemu-system-x86_64w.exe -hda debian.img -m 256 -net nic -net
  tap,ifname=TAP32 -soundhw all -serial COM9

  Qemu starts the emulated Debian and it runs correctly.

  If I try to send data from Windows using COM9 to QEMU (both "real" or emulated by the COM0COM driver), QEMU crashes. Windows dump available if required.
  If I try to send data to /dev/ttyS0 (that should be the Linux side of COM9) from Debian, again, the wirtual machine crashes.

  More details if necessary
  Best regards
  U.Poddine

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1423124/+subscriptions

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Qemu-devel] [Bug 1423124] Re: QEMU crash after sending data on host serial port
  2015-02-18 11:29 [Qemu-devel] [Bug 1423124] [NEW] QEMU crash after sending data on host serial port Ugo
                   ` (3 preceding siblings ...)
  2016-02-21 20:14 ` Sugar
@ 2016-02-22  3:26 ` Sugar
  2019-04-16 11:47 ` Jörg Vehlow
  5 siblings, 0 replies; 7+ messages in thread
From: Sugar @ 2016-02-22  3:26 UTC (permalink / raw)
  To: qemu-devel

** Changed in: qemu
       Status: New => 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/1423124

Title:
  QEMU crash after sending data on host serial port

Status in QEMU:
  Fix Released

Bug description:
  Good morning,

  I'm using QEMU for Windows last version.
  The host system is Windows 7 64bits.
  I'm excuting the following statment :

  qemu-system-x86_64w.exe -hda debian.img -m 256 -net nic -net
  tap,ifname=TAP32 -soundhw all -serial COM9

  Qemu starts the emulated Debian and it runs correctly.

  If I try to send data from Windows using COM9 to QEMU (both "real" or emulated by the COM0COM driver), QEMU crashes. Windows dump available if required.
  If I try to send data to /dev/ttyS0 (that should be the Linux side of COM9) from Debian, again, the wirtual machine crashes.

  More details if necessary
  Best regards
  U.Poddine

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1423124/+subscriptions

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Qemu-devel] [Bug 1423124] Re: QEMU crash after sending data on host serial port
  2015-02-18 11:29 [Qemu-devel] [Bug 1423124] [NEW] QEMU crash after sending data on host serial port Ugo
                   ` (4 preceding siblings ...)
  2016-02-22  3:26 ` Sugar
@ 2019-04-16 11:47 ` Jörg Vehlow
  5 siblings, 0 replies; 7+ messages in thread
From: Jörg Vehlow @ 2019-04-16 11:47 UTC (permalink / raw)
  To: qemu-devel

Looks like the bug still exists. Sending eg "CTRL+D" or Arrow up/down
makes qemu hang indefinitely

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1423124

Title:
  QEMU crash after sending data on host serial port

Status in QEMU:
  Fix Released

Bug description:
  Good morning,

  I'm using QEMU for Windows last version.
  The host system is Windows 7 64bits.
  I'm excuting the following statment :

  qemu-system-x86_64w.exe -hda debian.img -m 256 -net nic -net
  tap,ifname=TAP32 -soundhw all -serial COM9

  Qemu starts the emulated Debian and it runs correctly.

  If I try to send data from Windows using COM9 to QEMU (both "real" or emulated by the COM0COM driver), QEMU crashes. Windows dump available if required.
  If I try to send data to /dev/ttyS0 (that should be the Linux side of COM9) from Debian, again, the wirtual machine crashes.

  More details if necessary
  Best regards
  U.Poddine

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1423124/+subscriptions

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-04-16 12:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-18 11:29 [Qemu-devel] [Bug 1423124] [NEW] QEMU crash after sending data on host serial port Ugo
2015-02-23 10:32 ` Stefan Hajnoczi
2015-02-25 17:20 ` [Qemu-devel] R: " Ugo
2015-03-08  6:49 ` [Qemu-devel] [Bug 1423124] " Ugo
2016-02-21 20:14 ` Sugar
2016-02-22  3:26 ` Sugar
2019-04-16 11:47 ` Jörg Vehlow

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.