Segfault in artist vram_bit_write
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Invalid
|
Undecided
|
Helge Deller |
Bug Description
Hello,
Reproducer:
cat << EOF | ./hppa-
-qtest stdio -accel qtest
writeq 0xf810049f 0xffffffffffffffff
writew 0xf8118001 0xff7c
writew 0xf8118000 0x8300
writeq 0xf81005fb 0x5c18006400189e
EOF
SUMMARY: UndefinedBehavi
AddressSanitize
=======
==23157==ERROR: AddressSanitizer: SEGV on unknown address 0x7f17563fffff (pc 0x560ce3ad742c bp 0x7ffe310c62e0 sp 0x7ffe310c5a60 T0)
==23157==The signal is caused by a WRITE memory access.
#0 0x560ce3ad742c in vram_bit_write /hw/display/
#1 0x560ce3acf2ab in artist_reg_write /hw/display/
#2 0x560ce31c37a3 in memory_
#3 0x560ce31c2adc in access_
#4 0x560ce31c0873 in memory_
#5 0x560ce286e056 in flatview_
#6 0x560ce2856866 in flatview_write /exec.c:3216:14
#7 0x560ce2856387 in address_space_write /exec.c:3308:18
#8 0x560ce326a604 in qtest_process_
#9 0x560ce3261c08 in qtest_process_inbuf /softmmu/
#10 0x560ce3260895 in qtest_read /softmmu/
#11 0x560ce571d343 in qemu_chr_
#12 0x560ce571d4c7 in qemu_chr_be_write /chardev/
#13 0x560ce57317b3 in fd_chr_read /chardev/
#14 0x560ce5885b74 in qio_channel_
#15 0x7f1665259897 in g_main_
#16 0x560ce5c7da7b in glib_pollfds_poll /util/main-
#17 0x560ce5c7b1ab in os_host_
#18 0x560ce5c7ab44 in main_loop_wait /util/main-
#19 0x560ce3282d00 in qemu_main_loop /softmmu/
#20 0x560ce58bd961 in main /softmmu/
#21 0x7f1663ddfe0a in __libc_start_main /build/
#22 0x560ce2761729 in _start (/home/
With -trace artist\*
[I 1596601002.853158] OPENED
[R +0.047035] writeq 0xf810049f 0xffffffffffffffff
24590@159660100
24590@159660100
24590@159660100
24590@159660100
OK
[S +0.047130] OK
[R +0.047159] writew 0xf8118001 0xff7c
24590@159660100
24590@159660100
OK
[S +0.047194] OK
[R +0.047213] writew 0xf8118000 0x8300
24590@159660100
OK
[S +0.047231] OK
[R +0.047243] writeq 0xf81005fb 0x5c18006400189e
24590@159660100
24590@159660100
24590@159660100
/home/alxndr/
0x7fd01d3fffff: note: pointer points here
<memory cannot be printed>
SUMMARY: UndefinedBehavi
AddressSanitize
-Alex
Changed in qemu: | |
status: | New → Invalid |
Changed in qemu: | |
assignee: | nobody → Helge Deller (hdeller) |