Segfault in cpu_physical_memory_set_dirty_range on hppa + artist
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Fix Released
|
Undecided
|
Helge Deller |
Bug Description
Hello,
Reproducer:
cat << EOF | ./hppa-
-qtest stdio -accel qtest
writeq 0xf810049f 0x85000000000000
writew 0xf8118001 0x14
writeq 0xf81005fb 0x5c00006418001832
EOF
AddressSanitize
=======
==10793==ERROR: AddressSanitizer: SEGV on unknown address 0x7f93dbb40000 (pc 0x5577f5523078 bp 0x7ffd41ad6360 sp 0x7ffd41ad5fd0 T0)
==10793==The signal is caused by a READ memory access.
#0 0x5577f5523078 in block_move /hw/display/
#1 0x5577f5515fbc in artist_reg_write /hw/display/
#2 0x5577f4c077a3 in memory_
#3 0x5577f4c06adc in access_
#4 0x5577f4c04873 in memory_
#5 0x5577f42b2056 in flatview_
#6 0x5577f429a866 in flatview_write /exec.c:3216:14
#7 0x5577f429a387 in address_space_write /exec.c:3308:18
#8 0x5577f4cae604 in qtest_process_
#9 0x5577f4ca5c08 in qtest_process_inbuf /softmmu/
#10 0x5577f4ca4895 in qtest_read /softmmu/
#11 0x5577f7160c43 in qemu_chr_
#12 0x5577f7160dc7 in qemu_chr_be_write /chardev/
#13 0x5577f71750b3 in fd_chr_read /chardev/
#14 0x5577f72c9474 in qio_channel_
#15 0x7f93ea531897 in g_main_
#16 0x5577f76c137b in glib_pollfds_poll /util/main-
#17 0x5577f76beaab in os_host_
#18 0x5577f76be444 in main_loop_wait /util/main-
#19 0x5577f4cc6d00 in qemu_main_loop /softmmu/
#20 0x5577f7301261 in main /softmmu/
#21 0x7f93e90b7e0a in __libc_start_main /build/
#22 0x5577f41a5729 in _start (/home/
AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV /hw/display/
==10793==ABORTING
The error occurs even with Message-Id: <email address hidden> applied (I collected the above trace with the patch-set applied)
Thanks
-Alex
Changed in qemu: | |
assignee: | nobody → Helge Deller (hdeller) |
Fixed in commit a501bfc91763d46 42390090dd4e603 9d67b63702