summary refs log tree commit diff stats
path: root/results/classifier/zero-shot/118/all/1450881
blob: 26afee1b5e6770e4986046b59fc9f90f973df091 (plain) (blame)
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
assembly: 0.971
architecture: 0.970
socket: 0.965
register: 0.964
risc-v: 0.961
boot: 0.957
user-level: 0.955
debug: 0.955
device: 0.955
peripherals: 0.947
permissions: 0.946
arm: 0.945
network: 0.940
PID: 0.936
TCG: 0.936
performance: 0.930
graphic: 0.930
kernel: 0.927
hypervisor: 0.925
semantic: 0.925
files: 0.922
ppc: 0.915
VMM: 0.911
vnc: 0.908
virtual: 0.902
KVM: 0.893
mistranslation: 0.880
x86: 0.859
i386: 0.745

qemu-system-sparc MUTEX_HELD assert and libC lock errors

Here I am cross-posting a comment I made on Artyom's blog.  Atar responded that he "fixed these issues for some customers".  I hoped that opening a bug to the opensource project might help develop the solution for the public domain.

I now have a mostly-working Solaris 6 emulation, with great thanks to the valuable information in Artyom's blog, brezular.com, and the QEMU/Solaris 4.14 wikibook.

setup detail;
QEMU (present git snapshot, reports --version 2.2.92)
-M SS-20, openboot/proprietary prom

# uname -a
SunOS emu0 5.6 Generic_105181-33 sun4m sparc SUNW,SPARCstation-20

I continue to have a problem, which I have found others posted in blog comments, but have not seen a resolution yet.

# /etc/init.d/init.dmi start
Run-time error, libC:
Trying to release a lock that was not acquired in this thread
(repeat above 1x)
Abort - core dumped

as well as:
Assertion failed: MUTEX_HELD(&svc_mutex), file rpc/svc_run.c, line 766

which prints to the console periodically when "dmispd" is running.

Yes, this is a known issue which I can reproduce using a Solaris installation. I still have a few outstanding bugs on my list to do before I can start looking into this one, but I will keep this bug up to date as/when I can start work on it - apologies for not being able to be more specific than this at the moment.


Hi all,
I also have this issue with my sparcstation installation :

Emulated OS				: 	SunOS 5.5.1
Emulated Processor			: 	sparc
Host machine OS			:	Linux RED HAT

Do you manage to fix it ?

Not yet - things have been made much harder now as my original test image tends to hang for long periods of time instead of giving the MUTEX_HELD error. If you have an image that you would be willing to share for debugging, please get in touch via email and I'll try and take a look.

Proposed patch posted to mailing list: https://lists.nongnu.org/archive/html/qemu-devel/2016-04/msg01645.html - please test and report back.


re:
diff --git a/target-sparc/translate.c b/target-sparc/translate.c
index 58572c3..7998ff5 100644
...
-                        tcg_gen_qemu_ld8s(cpu_val, cpu_addr, dc->mem_idx);
+                        tcg_gen_qemu_ld8u(cpu_val, cpu_addr, dc->mem_idx);

I confirmed this patch resolves MUTEX_HELD errors on a minimal testcase
solaris 6 image.
Thank you!

On Mon, Apr 11, 2016 at 7:03 AM, Mark Cave-Ayland <
<email address hidden>> wrote:

> Proposed patch posted to mailing list:
> https://lists.nongnu.org/archive/html/qemu-devel/2016-04/msg01645.html -
> please test and report back.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1450881
>
> Title:
>   qemu-system-sparc MUTEX_HELD assert and libC lock errors
>
> Status in QEMU:
>   New
>
> Bug description:
>   Here I am cross-posting a comment I made on Artyom's blog.  Atar
>   responded that he "fixed these issues for some customers".  I hoped
>   that opening a bug to the opensource project might help develop the
>   solution for the public domain.
>
>   I now have a mostly-working Solaris 6 emulation, with great thanks to
>   the valuable information in Artyom's blog, brezular.com, and the
>   QEMU/Solaris 4.14 wikibook.
>
>   setup detail;
>   QEMU (present git snapshot, reports --version 2.2.92)
>   -M SS-20, openboot/proprietary prom
>
>   # uname -a
>   SunOS emu0 5.6 Generic_105181-33 sun4m sparc SUNW,SPARCstation-20
>
>   I continue to have a problem, which I have found others posted in blog
>   comments, but have not seen a resolution yet.
>
>   # /etc/init.d/init.dmi start
>   Run-time error, libC:
>   Trying to release a lock that was not acquired in this thread
>   (repeat above 1x)
>   Abort - core dumped
>
>   as well as:
>   Assertion failed: MUTEX_HELD(&svc_mutex), file rpc/svc_run.c, line 766
>
>   which prints to the console periodically when "dmispd" is running.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/qemu/+bug/1450881/+subscriptions
>


Excellent - thanks once again for all your help!

Fix is included in the 2.6.0-rc2 release.