qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [Bug 1349941] Re: qemu-ppc segfault on simple hello world


From: Serge Hallyn
Subject: [Qemu-devel] [Bug 1349941] Re: qemu-ppc segfault on simple hello world
Date: Tue, 29 Jul 2014 22:56:36 -0000

Hm.  No, I could not reproduce it because regardless how I built the
binary, I get

qemu-ppc-static ./ppc
/lib/ld.so.1: No such file or directory

Hopefully we can get 2.1 into utopic, however to get the fix into trusty
we'll have to narrow it down to a particular cherry-pickable patchset.

** Also affects: qemu
   Importance: Undecided
       Status: New

** Changed in: qemu (Ubuntu)
   Importance: Undecided => Medium

** Changed in: qemu (Ubuntu)
       Status: Incomplete => Confirmed

** No longer affects: qemu

** Tags added: fixed-upstream

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

Title:
  qemu-ppc segfault on simple hello world

Status in “qemu” package in Ubuntu:
  Confirmed

Bug description:
  qemu ppc fails to execute even a simple hello world app.

  address@hidden:~/ppc_qemu_test$ cat test.c
  #include <stdio.h>

  int main(){
  printf("asdf\n");
  return 0;
  }

  
  address@hidden:~/ppc_qemu_test$ powerpc-linux-gnu-gcc --version
  powerpc-linux-gnu-gcc (Ubuntu 4.8.2-16ubuntu3) 4.8.2
  Copyright (C) 2013 Free Software Foundation, Inc.
  This is free software; see the source for copying conditions.  There is NO
  warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

  
  address@hidden:~/ppc_qemu_test$ powerpc-linux-gnu-gcc test.c 

  
  address@hidden:~/ppc_qemu_test$ file a.out 
  a.out: ELF 32-bit MSB  executable, PowerPC or cisco 4500, version 1 (SYSV), 
dynamically linked (uses shared libs), for GNU/Linux 2.6.32, 
BuildID[sha1]=714f9cfad9e06d0478bcd238ccbcbd10468741fc, not stripped

  
  address@hidden:~/ppc_qemu_test$ qemu-ppc -version
  qemu-ppc version 2.0.0 (Debian 2.0.0+dfsg-2ubuntu1.1), Copyright (c) 
2003-2008 Fabrice Bellard

  
  address@hidden:~/ppc_qemu_test$ qemu-ppc ./a.out 
  Invalid data memory access: 0xfa98c008
  NIP f67e2b9c   LR f67e2c40 CTR 00000000 XER 00000000
  MSR 00006040 HID0 00000000  HF 00006000 idx 0
  TB 00000000 00000000
  GPR00 00000000f67e2c1c 00000000f6ffe720 0000000000000000 00000000feb6c010
  GPR04 00000000f67ec784 000000000000000b 0000000000000002 0000000000000000
  GPR08 0000000000000030 00000000083c0010 00000000f67ac00a 0000000080808080
  GPR12 00000000f67dcfc8 0000000000000000 0000000000000000 00000000f67fe8c4
  GPR16 00000000f67fe900 00000000f6ffe998 00000000f6ffe99c 00000000f67feaf0
  GPR20 00000000f67fd6c4 000000000000000a 00000000feb6c010 00000000f67fd320
  GPR24 00000000fa98bff4 00000000f7c5ef8d 00000000100001f9 00000000041dfff4
  GPR28 00000000f67fe900 000000005604ffff 00000000f67fdff4 000000002b027fff
  CR 44284042  [ G  G  E  L  G  -  G  E  ]             RES ffffffff
  FPR00 0000000000000000 0000000000000000 0000000000000000 0000000000000000
  FPR04 0000000000000000 0000000000000000 0000000000000000 0000000000000000
  FPR08 0000000000000000 0000000000000000 0000000000000000 0000000000000000
  FPR12 0000000000000000 0000000000000000 0000000000000000 0000000000000000
  FPR16 0000000000000000 0000000000000000 0000000000000000 0000000000000000
  FPR20 0000000000000000 0000000000000000 0000000000000000 0000000000000000
  FPR24 0000000000000000 0000000000000000 0000000000000000 0000000000000000
  FPR28 0000000000000000 0000000000000000 0000000000000000 0000000000000000
  FPSCR 00000000
  qemu: uncaught target signal 11 (Segmentation fault) - core dumped
  Segmentation fault (core dumped)
  address@hidden:~/ppc_qemu_test$

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: qemu-user 2.0.0+dfsg-2ubuntu1.1
  ProcVersionSignature: Ubuntu 3.13.0-32.57-generic 3.13.11.4
  Uname: Linux 3.13.0-32-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.2
  Architecture: amd64
  CurrentDesktop: GNOME
  Date: Tue Jul 29 12:03:38 2014
  InstallationDate: Installed on 2014-01-16 (193 days ago)
  InstallationMedia: Ubuntu-GNOME 14.04 "Trusty Tahr" - Alpha amd64 (20140116)
  SourcePackage: qemu
  UpgradeStatus: No upgrade log present (probably fresh install)

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



reply via email to

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