qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [Bug 939995] Re: v1.0-1172-g235fe3b crashes (opts=0x0)


From: Roy Tam
Subject: [Qemu-devel] [Bug 939995] Re: v1.0-1172-g235fe3b crashes (opts=0x0)
Date: Fri, 24 Feb 2012 01:54:42 -0000

qemu_opt_find() doesn't check if opts is NULL or not before use.
The patch fixes that issue.

** Patch added: "optfind_fixsegfault.patch"
   
https://bugs.launchpad.net/qemu/+bug/939995/+attachment/2777432/+files/optfind_fixsegfault.patch

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

Title:
  v1.0-1172-g235fe3b crashes (opts=0x0)

Status in QEMU:
  New

Bug description:
  C:\msys\home\User\qemu\i386-softmmu>gdb --args qemu-system-i386.exe -L 
..\pc-bios
  GNU gdb (GDB) 7.3
  Copyright (C) 2011 Free Software Foundation, Inc.
  License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
  This is free software: you are free to change and redistribute it.
  There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
  and "show warranty" for details.
  This GDB was configured as "mingw32".
  For bug reporting instructions, please see:
  <http://www.gnu.org/software/gdb/bugs/>...
  Reading symbols from 
C:\msys\home\User\qemu\i386-softmmu/qemu-system-i386.exe...
  done.
  (gdb) r
  Starting program: C:\msys\home\User\qemu\i386-softmmu/qemu-system-i386.exe -L 
..\\pc-bios
  [New Thread 4724.0x1224]

  Program received signal SIGSEGV, Segmentation fault.
  0x004eeda6 in qemu_opt_get (opts=0x0, name=0x68a7c3 "kernel")
      at qemu-option.c:545
  545         QemuOpt *opt = qemu_opt_find(opts, name);
  (gdb) bt
  #0  0x004eeda6 in qemu_opt_get (opts=0x0, name=0x68a7c3 "kernel")
      at qemu-option.c:545
  #1  0x004c7166 in qemu_main (argc=3, argv=0x3e5200, envp=0x0)
      at C:/msys/home/User/qemu/vl.c:3250
  #2  0x004c906a in SDL_main (argc=3, argv=0x3e5200)
      at C:/msys/home/User/qemu/vl.c:102
  #3  0x0061dcf4 in console_main ()
  #4  0x0061ddb4 in address@hidden ()
  #5  0x006329fb in main ()
  (gdb)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]