From: Enache Adrian <3n4ch3@gmail.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] crash when run with the -nographic switch
Date: Mon, 19 Mar 2007 00:08:58 +0200 [thread overview]
Message-ID: <45fdb87c.2e06aeb5.45cb.ffffc202@mx.google.com> (raw)
ahq$ ./qemu -nographic -snapshot -fda serflp.fs
Segmentation fault (core dumped)
[...]
(gdb) bt
#0 console_putchar (s=0x8ae43000, ch=112)
at /scrap/ahq/build/qemu/console.c:809
#1 0x1c01258a in console_puts (chr=0x0,
buf=0xcfbd1e20 "parallel0 console\r\n", len=19)
at /scrap/ahq/build/qemu/console.c:1014
[...]
Obviously, since it's running -nographic, the graphic console (vc)
where it's trying to write that stuff is not initialized.
Adi
--- /home/src/qemu/vl.c Sun Mar 18 02:51:54 2007
+++ ./vl.c Sun Mar 18 23:27:34 2007
@@ -7073,6 +7075,7 @@ int main(int argc, char **argv)
break;
case QEMU_OPTION_nographic:
pstrcpy(serial_devices[0], sizeof(serial_devices[0]), "stdio");
+ pstrcpy(parallel_devices[0], sizeof(parallel_devices[0]), "null");
pstrcpy(monitor_device, sizeof(monitor_device), "stdio");
nographic = 1;
break;
reply other threads:[~2007-03-18 22:10 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=45fdb87c.2e06aeb5.45cb.ffffc202@mx.google.com \
--to=3n4ch3@gmail.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.