[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#80360: seemingly reproducable dpkg segfault

On Sun, Dec 24, 2000 at 12:54:32AM -0700, Jason Gunthorpe wrote:
> On Fri, 22 Dec 2000, Adam Heath wrote:
> > If you add -o Debug::pkgDPkgPM=true, and then run the displayed dpkg commands
> > by hand, it works fine, no segfault.  It's only when run under apt that dpkg
> > has problems.  
> If it can be run from the shell then why can't it be run from APT too?
> > <BenC> aha
> > <BenC> argv is bad, I'm sure
> > <BenC> I bet there's a string that apt isn't writing a NULL byte at the end
> > of one of the argv params
> Can't be.. particularly if the patch below fixes it.. After that if argv
> is bad then maybe it is glibc?

Either that or apt/dpkg is doing something to corrupt the arguments.
Some one who understands how to debug the arg list needs to check into
this. I might have time after the holidays.

/  Ben Collins  --  ...on that fantastic voyage...  --  Debian GNU/Linux   \
`  bcollins@debian.org  --  bcollins@openldap.org  --  bcollins@linux.com  '

Reply to: