1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
|
device: 0.750
files: 0.664
other: 0.596
permissions: 0.566
performance: 0.557
PID: 0.543
socket: 0.538
network: 0.523
vnc: 0.465
debug: 0.399
boot: 0.387
graphic: 0.328
semantic: 0.286
KVM: 0.087
qemu-mips64 Segmentation fault
When I ran qemu-mips64 for any mips 64 executable , I got this error:
$ ./qemu-mips64 ../lang
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
Segmentation fault (core dumped)
Is this a known issue?
Could you please provide backtrace and give more details to reproduce the issue?
This is a error in user mode, I think it should be very easy to reproduce.
On Thu, Sep 11, 2014 at 4:55 AM, Leon Alrae <email address hidden> wrote:
> Could you please provide backtrace and give more details to reproduce
> the issue?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1361912
>
> Title:
> qemu-mips64 Segmentation fault
>
> Status in QEMU:
> New
>
> Bug description:
> When I ran qemu-mips64 for any mips 64 executable , I got this error:
>
> $ ./qemu-mips64 ../lang
> qemu: uncaught target signal 11 (Segmentation fault) - core dumped
> Segmentation fault (core dumped)
>
> Is this a known issue?
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/qemu/+bug/1361912/+subscriptions
>
I forgot to add that qemu-mips64 works for me, that's why I asked for the details to reproduce the issue (i.e. what is "lang", what tools you used to build it, command line etc.)
I can see the problem with any simple program:
1. cat t.c
#include <stdio.h>
int main()
{
printf("Hello QEMU.\n");
}
2. mips64-gcc -static t.c -o t
3. qemu-mips64 t
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
Segmentation fault (core dumped)
I built QEMU on Ubuntu 12.04 with the system GCC compiler, and the commands are:
./configure --enable-linux-user
make
I've just checked with current head-of-git QEMU and we can execute the attached mips executable OK, so we've clearly fixed this bug at some point in the last three years. Closing as fix-committed, since the fix will definitely be in 2.11, though it's quite likely that 2.10 would also work.
|