From d0c85e36e4de67af628d54e9ab577cc3fad7796a Mon Sep 17 00:00:00 2001 From: Christian Krinitsin Date: Thu, 3 Jul 2025 07:27:52 +0000 Subject: add deepseek and gemma results --- results/classifier/gemma3:12b/hypervisor/1894029 | 40 ++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 results/classifier/gemma3:12b/hypervisor/1894029 (limited to 'results/classifier/gemma3:12b/hypervisor/1894029') diff --git a/results/classifier/gemma3:12b/hypervisor/1894029 b/results/classifier/gemma3:12b/hypervisor/1894029 new file mode 100644 index 00000000..a17150e8 --- /dev/null +++ b/results/classifier/gemma3:12b/hypervisor/1894029 @@ -0,0 +1,40 @@ + +qemu-i386 malloc error + +Hi!I use qemu-i386-static on 64 bit machines.And memory request succeeded, but the pointer is wrong. +This is my test program: + +#include +#include +#include +#include + +int main(int argc, char **argv) +{ + void *pa=0,*pb=0,*pc=0,*pd=0; + pa = malloc(sizeof(uint32_t)); + pb = malloc(sizeof(uint32_t)); + pc = malloc(4); + pd = malloc(4); + printf("pa: 0x%x\n",pa); + printf("pb: 0x%x\n",pb); + printf("pc: 0x%x\n",pc); + printf("pd: 0x%x\n",pd); + printf("uint32_t:%d\n",sizeof(uint32_t)); + free(pa); + free(pb); + free(pc); + free(pd); + return 0; +} + +And it is wrong: + +pa: 0x400051a0 +pb: 0x400051b0 +pc: 0x400051c0 +pd: 0x400051d0 +uint32_t:4 + +Why did I apply for 4 bytes of space, but the pointer only increased by 2 bytes?? +Is it a BUG?? \ No newline at end of file -- cgit 1.4.1