Created attachment 527662 [details] emerge info qcache -s and qcache -a show memory corruption errors after running q -r (to rebuild cache): # qcache -s *** Error in `qcache': malloc(): memory corruption: 0x0000560e77153d40 *** ======= Backtrace: ========= /lib64/libc.so.6(+0x305dc77cdc)[0x7f5bb9076cdc] /lib64/libc.so.6(+0x305dc7f91b)[0x7f5bb907e91b] /lib64/libc.so.6(+0x305dc82599)[0x7f5bb9081599] /lib64/libc.so.6(__libc_malloc+0x88)[0x7f5bb9082fb8] /lib64/libc.so.6(+0x305dcbfca8)[0x7f5bb90beca8] /lib64/libc.so.6(+0x305dcbfddd)[0x7f5bb90beddd] /lib64/libc.so.6(scandir+0x26)[0x7f5bb90bf536] qcache(+0xfff0)[0x560e76cc9ff0] qcache(+0x10bac)[0x560e76ccabac] qcache(+0x7750)[0x560e76cc1750] /lib64/libc.so.6(__libc_start_main+0xea)[0x7f5bb901f44a] qcache(+0x797a)[0x560e76cc197a] ======= Memory map: ======== 560e76cba000-560e76cee000 r-xp 00000000 fd:00 2892841 /usr/bin/q 560e76eee000-560e76ef1000 r--p 00034000 fd:00 2892841 /usr/bin/q 560e76ef1000-560e76ef2000 rw-p 00037000 fd:00 2892841 /usr/bin/q 560e76ef2000-560e76ff8000 rw-p 00000000 00:00 0 560e7714a000-560e7716b000 rw-p 00000000 00:00 0 [heap] 7f5bb4000000-7f5bb4021000 rw-p 00000000 00:00 0 7f5bb4021000-7f5bb8000000 ---p 00000000 00:00 0 7f5bb8c07000-7f5bb8c1d000 r-xp 00000000 fd:00 3766000 /usr/lib64/gcc/x86_64-pc-linux-gnu/7.3.0/libgcc_s.so.1 7f5bb8c1d000-7f5bb8e1c000 ---p 00016000 fd:00 3766000 /usr/lib64/gcc/x86_64-pc-linux-gnu/7.3.0/libgcc_s.so.1 7f5bb8e1c000-7f5bb8e1d000 r--p 00015000 fd:00 3766000 /usr/lib64/gcc/x86_64-pc-linux-gnu/7.3.0/libgcc_s.so.1 7f5bb8e1d000-7f5bb8e1e000 rw-p 00016000 fd:00 3766000 /usr/lib64/gcc/x86_64-pc-linux-gnu/7.3.0/libgcc_s.so.1 7f5bb8e1e000-7f5bb8fff000 r--p 00000000 fd:00 401706 /usr/lib64/locale/locale-archive 7f5bb8fff000-7f5bb91a6000 r-xp 00000000 fd:00 1838790 /lib64/libc-2.25.so 7f5bb91a6000-7f5bb93a5000 ---p 001a7000 fd:00 1838790 /lib64/libc-2.25.so 7f5bb93a5000-7f5bb93a9000 r--p 001a6000 fd:00 1838790 /lib64/libc-2.25.so 7f5bb93a9000-7f5bb93ab000 rw-p 001aa000 fd:00 1838790 /lib64/libc-2.25.so 7f5bb93ab000-7f5bb93af000 rw-p 00000000 00:00 0 7f5bb93af000-7f5bb93b3000 r-xp 00000000 fd:00 4458619 /usr/lib64/libiniparser.so.0.0.0 7f5bb93b3000-7f5bb95b2000 ---p 00004000 fd:00 4458619 /usr/lib64/libiniparser.so.0.0.0 7f5bb95b2000-7f5bb95b3000 r--p 00003000 fd:00 4458619 /usr/lib64/libiniparser.so.0.0.0 7f5bb95b3000-7f5bb95b4000 rw-p 00004000 fd:00 4458619 /usr/lib64/libiniparser.so.0.0.0 7f5bb95b4000-7f5bb95d7000 r-xp 00000000 fd:00 1838789 /lib64/ld-2.25.so 7f5bb9777000-7f5bb977a000 rw-p 00000000 00:00 0 7f5bb97d3000-7f5bb97d6000 rw-p 00000000 00:00 0 7f5bb97d6000-7f5bb97d7000 r--p 00022000 fd:00 1838789 /lib64/ld-2.25.so 7f5bb97d7000-7f5bb97d8000 rw-p 00023000 fd:00 1838789 /lib64/ld-2.25.so 7f5bb97d8000-7f5bb97d9000 rw-p 00000000 00:00 0 7fff9c17a000-7fff9c19c000 rw-p 00000000 00:00 0 [stack] 7fff9c19f000-7fff9c1a2000 r--p 00000000 00:00 0 [vvar] 7fff9c1a2000-7fff9c1a4000 r-xp 00000000 00:00 0 [vdso] Aborted
did you run egencache to populate /var/cache/edb/dep/....?
Yes, I ran egencache --repo=gentoo --update, also for every layman repo I have.
I also run q -r after every sync.
I'll release v0.71, that one contains a couple of changes that may affect this. If you can, please compile portage-utils, with debug symbols and produce the crash within gdb.
please test with 0.71, if it crashes, please consider making a crashdump.
I can't get this to reproduce