Re: librpmio memory allocation issue

2011-03-03 Thread Qing He
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

Re: librpmio memory allocation issue

2011-03-03 Thread Jeff Johnson
On Mar 3, 2011, at 7:09 AM, Qing He wrote: The only way that backtrace can happen (that I can see) is if RPM, not zypper, is mis-compiled using an unfixed (to redefine colliding symbols) system: PCRE with #include pcreposix.h which leaves you two choices: 1) fix you system

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: 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