[Bug 1285505] [NEW] [ppa 2.0~git-20140225] SIGABRT with -virtfs

Martin Pitt martin.pitt at ubuntu.com
Thu Feb 27 06:03:02 UTC 2014


Public bug reported:

As requested on u-devel@, I tested QEMU
2.0~git-20140225.aa0d1f4-0ubuntu2 from ppa:ubuntu-virt/candidate. This
has a regression with virtfs.

I created a simple cloud-image based VM with autopkgtest:

  $ sudo apt-get install autopkgtest
  $ adt-buildvm-ubuntu-cloud

This part works fine with the new QEMU (it already boots the cloud-image
in qemu and runs cloud-init). But running it with a shared 9p directory
crashes:

  $ mkdir -p /tmp/shared
  $ qemu-system-x86_64 -enable-kvm -m 1024 -nographic -virtfs local,id=autopkgtest,path=/tmp/shared,security_model=none,mount_tag=myshare -snapshot adt-trusty-amd64-cloud.img
**
ERROR:/build/buildd/qemu-2.0~git-20140225.aa0d1f4/qom/object.c:331:object_initialize_with_type: assertion failed: (type != NULL)
Abgebrochen (Speicherabzug geschrieben)

It should be easy enough to reproduce and the assertion message already
should be clear, but this is the intersting part of the (unretraced)
stack trace:

 #2  0x00007fe3329a9195 in g_assertion_message (domain=domain at entry=0x0, file=file at entry=0x7fe334c5a8e8 "/build/buildd/qemu-2.0~git-20140225.aa0d1f4/qom/object.c", line=line at entry=331, func=func at entry=0x7fe334c5ac40 "object_initialize_with_type", message=message at entry=0x7fe336e06e40 "assertion failed: (type != NULL)") at /build/buildd/glib2.0-2.39.90/./glib/gtestutils.c:2291
         lstr = "331\000\377\177\000\000\320ޠF\377\177\000\000\220\026\321\066\343\177\000\000R\252\305\064\343\177\000"
         s = 0x7fe336e06e70 "pp\340\066\343\177"
 #3  0x00007fe3329a922a in g_assertion_message_expr (domain=0x0, file=0x7fe334c5a8e8 "/build/buildd/qemu-2.0~git-20140225.aa0d1f4/qom/object.c", line=331, func=0x7fe334c5ac40 "object_initialize_with_type", expr=<optimized out>) at /build/buildd/glib2.0-2.39.90/./glib/gtestutils.c:2306
         s = 0x7fe336e06e40 "assertion failed: (type != NULL)"

** Affects: qemu (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  As requested on u-devel@, I tested QEMU
  2.0~git-20140225.aa0d1f4-0ubuntu2 from ppa:ubuntu-virt/candidate. This
  has a regression with virtfs.
  
  I created a simple cloud-image based VM with autopkgtest:
  
-   $ sudo apt-get install autopkgtest
-   $ adt-buildvm-ubuntu-cloud
-   $ mkdir -p /tmp/shared
-   $ qemu-system-x86_64 -enable-kvm -m 1024 -nographic -virtfs local,id=autopkgtest,path=/tmp/shared,security_model=none,mount_tag=myshare -snapshot adt-trusty-amd64-cloud.img
+   $ sudo apt-get install autopkgtest
+   $ adt-buildvm-ubuntu-cloud
+ 
+ This part works fine with the new QEMU (it already boots the cloud-image
+ in qemu and runs cloud-init). But running it with a shared 9p directory
+ crashes:
+ 
+   $ mkdir -p /tmp/shared
+   $ qemu-system-x86_64 -enable-kvm -m 1024 -nographic -virtfs local,id=autopkgtest,path=/tmp/shared,security_model=none,mount_tag=myshare -snapshot adt-trusty-amd64-cloud.img
  **
  ERROR:/build/buildd/qemu-2.0~git-20140225.aa0d1f4/qom/object.c:331:object_initialize_with_type: assertion failed: (type != NULL)
  Abgebrochen (Speicherabzug geschrieben)
  
  It should be easy enough to reproduce and the assertion message already
  should be clear, but this is the intersting part of the (unretraced)
  stack trace:
  
-  #2  0x00007fe3329a9195 in g_assertion_message (domain=domain at entry=0x0, file=file at entry=0x7fe334c5a8e8 "/build/buildd/qemu-2.0~git-20140225.aa0d1f4/qom/object.c", line=line at entry=331, func=func at entry=0x7fe334c5ac40 "object_initialize_with_type", message=message at entry=0x7fe336e06e40 "assertion failed: (type != NULL)") at /build/buildd/glib2.0-2.39.90/./glib/gtestutils.c:2291
-          lstr = "331\000\377\177\000\000\320ޠF\377\177\000\000\220\026\321\066\343\177\000\000R\252\305\064\343\177\000"
-          s = 0x7fe336e06e70 "pp\340\066\343\177"
-  #3  0x00007fe3329a922a in g_assertion_message_expr (domain=0x0, file=0x7fe334c5a8e8 "/build/buildd/qemu-2.0~git-20140225.aa0d1f4/qom/object.c", line=331, func=0x7fe334c5ac40 "object_initialize_with_type", expr=<optimized out>) at /build/buildd/glib2.0-2.39.90/./glib/gtestutils.c:2306
-          s = 0x7fe336e06e40 "assertion failed: (type != NULL)"
+  #2  0x00007fe3329a9195 in g_assertion_message (domain=domain at entry=0x0, file=file at entry=0x7fe334c5a8e8 "/build/buildd/qemu-2.0~git-20140225.aa0d1f4/qom/object.c", line=line at entry=331, func=func at entry=0x7fe334c5ac40 "object_initialize_with_type", message=message at entry=0x7fe336e06e40 "assertion failed: (type != NULL)") at /build/buildd/glib2.0-2.39.90/./glib/gtestutils.c:2291
+          lstr = "331\000\377\177\000\000\320ޠF\377\177\000\000\220\026\321\066\343\177\000\000R\252\305\064\343\177\000"
+          s = 0x7fe336e06e70 "pp\340\066\343\177"
+  #3  0x00007fe3329a922a in g_assertion_message_expr (domain=0x0, file=0x7fe334c5a8e8 "/build/buildd/qemu-2.0~git-20140225.aa0d1f4/qom/object.c", line=331, func=0x7fe334c5ac40 "object_initialize_with_type", expr=<optimized out>) at /build/buildd/glib2.0-2.39.90/./glib/gtestutils.c:2306
+          s = 0x7fe336e06e40 "assertion failed: (type != NULL)"

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu in Ubuntu.
https://bugs.launchpad.net/bugs/1285505

Title:
  [ppa 2.0~git-20140225] SIGABRT with -virtfs

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



More information about the Ubuntu-server-bugs mailing list