librpmio memory allocation issue

2011-03-01 Thread Paul Eggleton
Hi there, In Poky we're currently seeing a crash of zypper search in conjunction with rpm 5.4.0 [1]. Using valgrind I tracked the issue down to rpmio/mire.c line 361: mire-preg = xcalloc(1, sizeof(*mire-preg)); If I hack this line to specify 64 as the size (the expected

Re: librpmio memory allocation issue

2011-03-01 Thread Jeff Johnson
On Mar 1, 2011, at 11:04 AM, Paul Eggleton wrote: Hi there, In Poky we're currently seeing a crash of zypper search in conjunction with rpm 5.4.0 [1]. Using valgrind I tracked the issue down to rpmio/mire.c line 361: mire-preg = xcalloc(1, sizeof(*mire-preg)); If I hack this

RE: [CVS] RPM: rpm-5_3: rpm/po/ sl.po sv.po

2011-03-01 Thread pinto.e...@gmail.com
Beware, that if the update is not in the translation project at the next update it is possible that this update will be overwitritten, In fact i have also Some update possible from transiflex, checked today, but i have not idea how to resolve possible conflict, but perhaps i miss something

RE: librpmio memory allocation issue

2011-03-01 Thread pinto.e...@gmail.com
Hi, i have checked mire.c and there is none difference from 5.3 and 5.4. So perhaps a autofu issue is possible, difficult that i can do a MandrivaUpdate without a problem on cokker with a such apparently evident problem with 5.3.6. Can you post your configure invocation, configure log. Regards

Re: librpmio memory allocation issue

2011-03-01 Thread Mark Hatle
On 3/1/11 1:27 PM, Jeff Johnson wrote: On Mar 1, 2011, at 2:20 PM, Mark Hatle wrote: I think jbj might have figured out the problem. Zypper is not using pcre, but is instead causing mire to use the system regex. I made some local changes in an attempt to point the #include of regex.h

Re: librpmio memory allocation issue

2011-03-01 Thread Jeff Johnson
On Mar 1, 2011, at 2:33 PM, Mark Hatle wrote: On 3/1/11 1:27 PM, Jeff Johnson wrote: On Mar 1, 2011, at 2:20 PM, Mark Hatle wrote: I think jbj might have figured out the problem. Zypper is not using pcre, but is instead causing mire to use the system regex. I made some local

Re: librpmio memory allocation issue

2011-03-01 Thread Jeff Johnson
On Mar 1, 2011, at 2:45 PM, Jeff Johnson wrote: On Mar 1, 2011, at 2:33 PM, Mark Hatle wrote: On 3/1/11 1:27 PM, Jeff Johnson wrote: On Mar 1, 2011, at 2:20 PM, Mark Hatle wrote: I think jbj might have figured out the problem. Zypper is not using pcre, but is instead causing mire