diff options
| author | Christian Krinitsin <mail@krinitsin.com> | 2025-07-03 19:39:53 +0200 |
|---|---|---|
| committer | Christian Krinitsin <mail@krinitsin.com> | 2025-07-03 19:39:53 +0200 |
| commit | dee4dcba78baf712cab403d47d9db319ab7f95d6 (patch) | |
| tree | 418478faf06786701a56268672f73d6b0b4eb239 /results/classifier/105/instruction/1768 | |
| parent | 4d9e26c0333abd39bdbd039dcdb30ed429c475ba (diff) | |
| download | emulator-bug-study-dee4dcba78baf712cab403d47d9db319ab7f95d6.tar.gz emulator-bug-study-dee4dcba78baf712cab403d47d9db319ab7f95d6.zip | |
restructure results
Diffstat (limited to 'results/classifier/105/instruction/1768')
| -rw-r--r-- | results/classifier/105/instruction/1768 | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/results/classifier/105/instruction/1768 b/results/classifier/105/instruction/1768 deleted file mode 100644 index 49df8f75..00000000 --- a/results/classifier/105/instruction/1768 +++ /dev/null @@ -1,45 +0,0 @@ -instruction: 0.897 -mistranslation: 0.839 -graphic: 0.794 -device: 0.756 -assembly: 0.541 -vnc: 0.511 -semantic: 0.438 -network: 0.338 -socket: 0.336 -other: 0.318 -boot: 0.307 -KVM: 0.084 - -Could not allocate more than ~2GB with qemu-user -Description of problem: -On qemu-user, failed to allocate more than about 2GB on 32bit platform supporting up to 4GB (arm, ppc, etc.) -Steps to reproduce: -1. Try to allocate more than 2GB [e.g. for(i=0;i<64;i++) if(malloc(64*1024*1024)==NULL) perror("Failed to allocate 64MB");] -2. Only 1 64MB chunck is allocated in the upper 2GB memory space -3. Failed to allocate after about 2GB. -Additional information: -The problem is in **pageflags_find** and **pageflags_next** functions (found in _accel/tcg/user-exec.c_) 3rd parameters, that should be **target_ulong** instead of incorrect _target_long_ (the parameter will be converted signed extended to uint64_t). -The testing program is the following: -``` -#include <stdio.h> -#include <stdlib.h> - -int main(int argc,char *argv[]) { - unsigned int a; - unsigned int i; - char *al; - unsigned int sss=1U*1024*1024*64; - for(a=0;a<128;a++) { - al=malloc(sss); - if(al!=NULL) { - printf("ALLOC OK %u (%08lX)!\n",sss*(a+1),al); - } - else { - printf("Cannot alloc %d\n",(a+1)*sss); - perror("Cannot alloc"); - exit(1); - } - } -} -``` |
