summary refs log tree commit diff stats
path: root/results/classifier/gemma3:12b/debug/160
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--results/classifier/gemma3:12b/debug/1602
-rw-r--r--results/classifier/gemma3:12b/debug/160224761
-rw-r--r--results/classifier/gemma3:12b/debug/160358035
-rw-r--r--results/classifier/gemma3:12b/debug/160920
4 files changed, 118 insertions, 0 deletions
diff --git a/results/classifier/gemma3:12b/debug/160 b/results/classifier/gemma3:12b/debug/160
new file mode 100644
index 00000000..f48841a6
--- /dev/null
+++ b/results/classifier/gemma3:12b/debug/160
@@ -0,0 +1,2 @@
+
+Record/replay example does not work
diff --git a/results/classifier/gemma3:12b/debug/1602247 b/results/classifier/gemma3:12b/debug/1602247
new file mode 100644
index 00000000..d29b308b
--- /dev/null
+++ b/results/classifier/gemma3:12b/debug/1602247
@@ -0,0 +1,61 @@
+
+SIGSEGV when reading ARM GIC registers through GDB stub
+
+When trying to access ARM GIC CPU registers through a target GDB connected to QEMU, QEMU crashes with a SIGSEGV.
+
+Reproducible on last master revision (74e1b78 at the time of writing):
+
+$ ./configure --target-list=arm-softmmu --python=python2 --enable-debug
+$ make
+$ gdb --args ./arm-softmmu/qemu-system-arm -M vexpress-a15 -smp 2 -s -S
+
+
+Connect a gdb on the other side:
+$ arm-none-eabi-gdb
+(gdb) tar rem :1234
+Remote debugging using :1234
+0x00000000 in ?? ()
+(gdb) x /x 0x2c002000
+
+
+QEMU crashes as it tries to access current_cpu->cpu_index while current_cpu is NULL:
+
+Thread 1 "qemu-system-arm" received signal SIGSEGV, Segmentation fault.
+0x0000555555a372cf in gic_get_current_cpu (s=0x555556a34f10) at hw/intc/arm_gic.c:53
+53	        return current_cpu->cpu_index;
+(gdb) p current_cpu
+$1 = (CPUState *) 0x0
+
+Backtrace:
+(gdb) bt
+#0  0x0000555555a372cf in gic_get_current_cpu (s=0x555556a34f10) at hw/intc/arm_gic.c:53
+#1  0x0000555555a3b0e3 in gic_thiscpu_read (opaque=0x555556a34f10, addr=0, data=0x7fffffffa0a8, size=4, attrs=...) at hw/intc/arm_gic.c:1340
+#2  0x00005555557ae2bb in memory_region_read_with_attrs_accessor (mr=0x555556a37a70, addr=0, value=0x7fffffffa208, size=4, shift=0, mask=4294967295, attrs=...) at /home/sekoia/devel/src/qemu/memory.c:461
+#3  0x00005555557ae7ac in access_with_adjusted_size (addr=0, value=0x7fffffffa208, size=4, access_size_min=1, access_size_max=4, access=0x5555557ae25f <memory_region_read_with_attrs_accessor>, mr=0x555556a37a70, attrs=...)
+    at /home/sekoia/devel/src/qemu/memory.c:591
+#4  0x00005555557b0de7 in memory_region_dispatch_read1 (mr=0x555556a37a70, addr=0, pval=0x7fffffffa208, size=4, attrs=...) at /home/sekoia/devel/src/qemu/memory.c:1187
+#5  0x00005555557b0e9d in memory_region_dispatch_read (mr=0x555556a37a70, addr=0, pval=0x7fffffffa208, size=4, attrs=...) at /home/sekoia/devel/src/qemu/memory.c:1212
+#6  0x000055555576775b in address_space_read_continue (as=0x5555569c70b0, addr=738205696, attrs=..., buf=0x7fffffffb440 "", len=4, addr1=0, l=4, mr=0x555556a37a70) at /home/sekoia/devel/src/qemu/exec.c:2668
+#7  0x0000555555767929 in address_space_read_full (as=0x5555569c70b0, addr=738205696, attrs=..., buf=0x7fffffffb440 "", len=4) at /home/sekoia/devel/src/qemu/exec.c:2725
+#8  0x00005555557679eb in address_space_read (len=4, buf=0x7fffffffb440 "", attrs=..., addr=738205696, as=0x5555569c70b0) at /home/sekoia/devel/src/qemu/include/exec/memory.h:1476
+#9  address_space_rw (as=0x5555569c70b0, addr=738205696, attrs=..., buf=0x7fffffffb440 "", len=4, is_write=false) at /home/sekoia/devel/src/qemu/exec.c:2739
+#10 0x000055555576988f in cpu_memory_rw_debug (cpu=0x5555568a3d00, addr=738205696, buf=0x7fffffffb440 "", len=4, is_write=0) at /home/sekoia/devel/src/qemu/exec.c:3653
+#11 0x00005555557a3db3 in target_memory_rw_debug (cpu=0x5555568a3d00, addr=738205696, buf=0x7fffffffb440 "", len=4, is_write=false) at /home/sekoia/devel/src/qemu/gdbstub.c:54
+#12 0x00005555557a53f5 in gdb_handle_packet (s=0x55555722c530, line_buf=0x55555722c54c "m2c002000,4") at /home/sekoia/devel/src/qemu/gdbstub.c:968
+#13 0x00005555557a6b84 in gdb_read_byte (s=0x55555722c530, ch=52) at /home/sekoia/devel/src/qemu/gdbstub.c:1458
+#14 0x00005555557a6ca4 in gdb_chr_receive (opaque=0x0, buf=0x7fffffffc590 "$m2c002000,4#84c8ead:arm-neon.xml:7fd,802#4c;qRelocInsn+;fork-events+;vfork-events+;exec-events+;vContSupported+;QThreadEvents+;no-resumed+#df", size=15)
+    at /home/sekoia/devel/src/qemu/gdbstub.c:1666
+#15 0x000055555591c562 in qemu_chr_be_write_impl (s=0x555557226e20, buf=0x7fffffffc590 "$m2c002000,4#84c8ead:arm-neon.xml:7fd,802#4c;qRelocInsn+;fork-events+;vfork-events+;exec-events+;vContSupported+;QThreadEvents+;no-resumed+#df", 
+    len=15) at qemu-char.c:387
+#16 0x000055555591c5c0 in qemu_chr_be_write (s=0x555557226e20, buf=0x7fffffffc590 "$m2c002000,4#84c8ead:arm-neon.xml:7fd,802#4c;qRelocInsn+;fork-events+;vfork-events+;exec-events+;vContSupported+;QThreadEvents+;no-resumed+#df", len=15)
+    at qemu-char.c:399
+#17 0x00005555559207f3 in tcp_chr_read (chan=0x555556e52ff0, cond=G_IO_IN, opaque=0x555557226e20) at qemu-char.c:2893
+#18 0x0000555555c4a9b7 in qio_channel_fd_source_dispatch (source=0x555557226ca0, callback=0x55555592069d <tcp_chr_read>, user_data=0x555557226e20) at io/channel-watch.c:84
+#19 0x00007fffed977c8a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
+#20 0x0000555555bbf711 in glib_pollfds_poll () at main-loop.c:213
+#21 0x0000555555bbf7ec in os_host_main_loop_wait (timeout=29744918) at main-loop.c:258
+#22 0x0000555555bbf899 in main_loop_wait (nonblocking=0) at main-loop.c:506
+#23 0x0000555555929cd2 in main_loop () at vl.c:1908
+#24 0x00005555559315b7 in main (argc=8, argv=0x7fffffffdae8, envp=0x7fffffffdb30) at vl.c:4604
+
+Note that this bug is triggered only when the number of simulated CPUs is greater than 1.
\ No newline at end of file
diff --git a/results/classifier/gemma3:12b/debug/1603580 b/results/classifier/gemma3:12b/debug/1603580
new file mode 100644
index 00000000..da766934
--- /dev/null
+++ b/results/classifier/gemma3:12b/debug/1603580
@@ -0,0 +1,35 @@
+
+[gdbstub] qemu is killed when using remote debugger with qemu -S -s
+
+Hello,
+
+REPRODUCE
+
+$ qemu-system-x86_64 -s -S -nographic
+<wait>
+QEMU: Terminated via GDBStub
+
+$ gdb
+(gdb) target remote :1234
+(gdb) load /bin/ls
+(gdb) target exec
+A program is being debugged already. Kill it? (y or no) y
+No executable file now.
+
+EXPECTED
+
+Enable program to be executed without terminating QEMU.
+
+DISCUSSION
+
+This was already discussed in [1], reverted in [2], however, no solution is provided.
+
+It worked perfectly in the past, I guess because of [1] and before [3].
+
+Opening bug for this as discussion in mailing list did not attract anyone and functionality is required. If there is other gdb sequence to achieve same result it would be great to get it documented.
+
+Thanks,
+
+[1] http://git.qemu.org/?p=qemu.git;a=commitdiff;h=00e94dbc7fd0110b0555d59592b004333adfb4b8
+[2] http://git.qemu.org/?p=qemu.git;a=commitdiff;h=ce0274f730eacbd24c706523ddbbabb6b95d0659
+[3] http://git.qemu.org/?p=qemu.git;a=commitdiff;h=7d03f82f81e0e6c106ca0d2445a0fc49dc9ddc7b
\ No newline at end of file
diff --git a/results/classifier/gemma3:12b/debug/1609 b/results/classifier/gemma3:12b/debug/1609
new file mode 100644
index 00000000..695a9022
--- /dev/null
+++ b/results/classifier/gemma3:12b/debug/1609
@@ -0,0 +1,20 @@
+
+SPARC emulation: userspace program run from gdb crashes OS running in emulator
+Description of problem:
+SPARC emulation: userspace program run from gdb crashes OS running in emulator
+Steps to reproduce:
+As a user (not root!):
+1. as -Q n -K PIC -b -L mandelbrot.s
+2. ld -m a.out -o test
+3. gdb ./test
+4. run
+
+`as' is from gnu binutils (binutils-2.20.1-sol26-sparc-local.gz).
+Additional information:
+[mandelbrot.s](/uploads/edfe6f1fd01fa39ecce9ba4201454ae3/mandelbrot.s)
+
+screenshot: https://imgur.com/a/JD51DJA
+
+It could very well be a bug in my assembly code, but it is still strange that it crashes the whole system.
+
+~"kind::Bug"[in_asm.dat.xz](/uploads/6bb43ce2b7d6973da4751d236fb44e12/in_asm.dat.xz)