diff options
Diffstat (limited to 'results/classifier/gemma3:27b/runtime/1245703')
| -rw-r--r-- | results/classifier/gemma3:27b/runtime/1245703 | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/results/classifier/gemma3:27b/runtime/1245703 b/results/classifier/gemma3:27b/runtime/1245703 new file mode 100644 index 000000000..29fde6870 --- /dev/null +++ b/results/classifier/gemma3:27b/runtime/1245703 @@ -0,0 +1,12 @@ + + + +LD_PREFIX option reads directories recursively in an endless loop + +If I run qemu user emulation with -L /path/to/my/sysroot/ in which also the proc and dev filesystem is mounted QEMU eats my memory until it gets killed by the kernel. + +According to the strace output it follows the symbolic links in the proc filesystem running forever in a recursive loop. + +The easiest solution would be to add in the function "add_dir_maybe" in the file util/path.c an additional check for symbolic links that it don't follow them. + +Also I don't really understand the need of doing this. A lot of ressources are wasted everytime QEMU-user is started just by having the directory structure in memory. In my case this are more than 20000 entries which QEMU is loading every time. \ No newline at end of file |