summary refs log tree commit diff stats
path: root/results/classifier/zero-shot/118/all/1861677
blob: ca2e62b62cabc0ab47d1bbd730de5e16ae835556 (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
permissions: 0.965
virtual: 0.949
register: 0.943
network: 0.943
device: 0.941
performance: 0.941
socket: 0.941
files: 0.940
debug: 0.940
semantic: 0.939
assembly: 0.938
hypervisor: 0.937
architecture: 0.935
arm: 0.934
graphic: 0.933
user-level: 0.932
peripherals: 0.930
PID: 0.928
vnc: 0.923
boot: 0.918
kernel: 0.914
x86: 0.911
i386: 0.907
VMM: 0.905
mistranslation: 0.902
ppc: 0.897
KVM: 0.897
TCG: 0.895
risc-v: 0.871

wavcapture crash with pulseaudio

As of commit 28db64fce55,
using demo from QEMU advent calendar 2018 day 1:
https://www.qemu-advent-calendar.org/2018/download/day01.tar.xz

$ qemu-system-x86_64 -M pc \
  -net none -soundhw pcspk \
  -drive file=day01/fbird.img,format=raw,if=floppy \
  -monitor stdio -S
(qemu) info qtree 
bus: main-system-bus
  type System
  dev: i440FX-pcihost, id ""
    bus: pci.0
      dev: PIIX3, id ""
        bus: isa.0
          dev: isa-pcspk, id ""
            audiodev = "pa"
            iobase = 97 (0x61)
            migrate = true
(qemu) wavcapture out.wav pa
(qemu) cont
(qemu) # Press 'up' key in demo
Segmentation fault (core dumped)

(gdb) bt
#0  0x0000555bfef0dc51 in audio_pcm_sw_write (sw=0x555c01333930, buf=0x0, size=14728) at audio/audio.c:725
#1  0x0000555bfef10a49 in audio_capture_mix_and_clear (hw=0x555c012379b0, rpos=0, samples=3682) at audio/audio.c:1054
#2  0x0000555bfef11059 in audio_run_out (s=0x555c01235550) at audio/audio.c:1186
#3  0x0000555bfef11894 in audio_run (s=0x555c01235550, msg=0x555bff3e37e8 "timer") at audio/audio.c:1355
#4  0x0000555bfef10334 in audio_timer (opaque=0x555c01235550) at audio/audio.c:831
#5  0x0000555bff33f041 in timerlist_run_timers (timer_list=0x555c00377b50) at util/qemu-timer.c:588
#6  0x0000555bff33f0eb in qemu_clock_run_timers (type=QEMU_CLOCK_VIRTUAL) at util/qemu-timer.c:602
#7  0x0000555bff33f3b6 in qemu_clock_run_all_timers () at util/qemu-timer.c:688
#8  0x0000555bff33fb60 in main_loop_wait (nonblocking=0) at util/main-loop.c:525
#9  0x0000555bfef0187c in main_loop () at vl.c:1683
#10 0x0000555bfef090ab in main (argc=12, argv=0x7ffec49184c8, envp=0x7ffec4918530) at vl.c:4438
(gdb) p *sw
$1 = {card = 0x0, s = 0x0, info = {bits = 16, sign = 1, freq = 44100, nchannels = 2, bytes_per_frame = 4, bytes_per_second = 176400, swap_endianness = 0}, conv = 0x555bfef0ced1 <noop_conv>, ratio = 4294967296, buf = 0x555c0123f6f0, 
  rate = 0x555c007c0ec0, total_hw_samples_mixed = 0, active = 1, empty = 1, hw = 0x555c014b12a0, name = 0x0, vol = {mute = 0, r = 4294967296, l = 4294967296}, callback = {opaque = 0x0, fn = 0x0}, entries = {le_next = 0x0, 
    le_prev = 0x555c014b1310}}
(gdb) p *sw->hw
$2 = {s = 0x555c01235550, enabled = 1, poll_mode = 0, pending_disable = 0, info = {bits = 16, sign = 1, freq = 44100, nchannels = 2, bytes_per_frame = 4, bytes_per_second = 176400, swap_endianness = 0}, 
  clip = 0x555bfef16376 <clip_natural_int16_t_from_stereo>, ts_helper = 0, mix_buf = 0x555c0059d680, buf_emul = 0x0, pos_emul = 0, pending_emul = 0, size_emul = 0, samples = 16384, sw_head = {lh_first = 0x555c01333930}, cap_head = {
    lh_first = 0x0}, pcm_ops = 0x0, entries = {le_next = 0x0, le_prev = 0x0}}

sw->hw->pcm_ops is NULL.

The QEMU project is currently considering to move its bug tracking to another system. For this we need to know which bugs are still valid and which could be closed already. Thus we are setting older bugs to "Incomplete" now.
If you still think this bug report here is valid, then please switch the state back to "New" within the next 60 days, otherwise this report will be marked as "Expired". Or mark it as "Fix Released" if the problem has been solved with a newer version of QEMU already. Thank you and sorry for the inconvenience.

Fixed in v5.1.0, commit cbaf25d1f59 ("audio: fix wavcapture segfault").

On 5/1/21 3:01 PM, Volker Rümelin wrote:
>> You received this bug notification because you are a member of qemu-
>> devel-ml, which is subscribed to QEMU.
>>https://bugs.launchpad.net/bugs/1861677
>>
>> Title:
>>  wavcapture crash with pulseaudio
>>
>> Status in QEMU:
>>  New
> 
> Hi Philippe,
> 
> this bug was fixed with commit cbaf25d1f5 "audio: fix wavcapture segfault".

Indeed, thanks!

Phil.