[Bug 1349941] [NEW] qemu-ppc segfault on simple hello world

2014-07-29 Thread jrr
Public bug reported:

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

jruble@jruble-linux:~/ppc_qemu_test$ cat test.c
#include stdio.h

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


jruble@jruble-linux:~/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.


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


jruble@jruble-linux:~/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


jruble@jruble-linux:~/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


jruble@jruble-linux:~/ppc_qemu_test$ qemu-ppc ./a.out 
Invalid data memory access: 0xfa98c008
NIP f67e2b9c   LR f67e2c40 CTR  XER 
MSR 6040 HID0   HF 6000 idx 0
TB  
GPR00 f67e2c1c f6ffe720  feb6c010
GPR04 f67ec784 000b 0002 
GPR08 0030 083c0010 f67ac00a 80808080
GPR12 f67dcfc8   f67fe8c4
GPR16 f67fe900 f6ffe998 f6ffe99c f67feaf0
GPR20 f67fd6c4 000a feb6c010 f67fd320
GPR24 fa98bff4 f7c5ef8d 11f9 041dfff4
GPR28 f67fe900 5604 f67fdff4 2b027fff
CR 44284042  [ G  G  E  L  G  -  G  E  ] RES 
FPR00    
FPR04    
FPR08    
FPR12    
FPR16    
FPR20    
FPR24    
FPR28    
FPSCR 
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
Segmentation fault (core dumped)
jruble@jruble-linux:~/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)

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


** Tags: amd64 apport-bug trusty

-- 
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/1349941

Title:
  qemu-ppc segfault on simple hello world

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


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

2014-07-29 Thread Serge Hallyn
Does installing the qemu-slof package solve the problem?

 status: incomplete


** Changed in: qemu (Ubuntu)
   Status: New = Incomplete

-- 
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/1349941

Title:
  qemu-ppc segfault on simple hello world

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs