A Mennucc wrote: >> P.S. No one answered on my investigation message before :( > > BTW, I am not part of the APT team. I tried to address this bug after I read > http://lists.debian.org/debian-devel-announce/2008/10/msg00000.html No problem, this was mainly for APT team...
>> I totally disagree with tag 'unreproducible'. I can reproduce it 100% on my >> machine with small amount of apt cache. >> Try to do any valuable (with updates) >> update with '-o APT::Cache-Limit=20000' and see "dynamic MMap ran out of >> room...". > > I finally managed to trigger a bug. By changing /etc/apt/sources a lot > of times, and by using > apt-get -o APT::Cache-Limit=100 update > I got a segfault. This is too small amount of cache :) I can trigger exactly "ran out of room" with 10000-64000 at least. [segfault info snip] > Note that, to trigger it, you have to force a rebuild of APT caches; > to this end, I changed the mirrors in /etc/apt/sources list. (If I > run 'apt-get update' succesfully once, then > apt-get -o 'APT::Cache-Limit=100' update > will not crash, unless I change /etc/apt/sources list again). This bug was triggered in 'normal' situation for at least two users above in this thread. > I tried to give a look into the source code, but unfortunately I don't > know it enough to understand what is going on. I tried before, and I have an explanation (though I am not related to APT development team), I've just did some investigation before (see my first message in bug thread). > All this said, the bug I am triggering is somewhat artificial. If I > run 'apt-get update' simply, it all works fine in my case. So please > provide some more info. Do you have an example situation where > /etc/apt/sources.list does not work with 'apt-get update' (with no > options - and also please check what you have in /etc/apt/apt.conf ) ? I know a real situation which was happened several weeks ago - user had experienced this problem in 'etch-to-sid' upgrade, without anything artificial. -- Eugene V. Lyubimkin aka JackYF
signature.asc
Description: OpenPGP digital signature