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

Bug#137765: dpkg: Assertion `fixbyrm->clientdata->istobe == itb_normal' failed



On Sun, 10 Mar 2002, Stephen Zander wrote:

> I can consistently produce the following in an up-to-date chroot'd
> testing environment with jdk1.1-native-dev and all it's dependencies
> installed
>
> pooh# dpkg -Bi /tmp/jdk1.1_1.1.8v3-1_i386.deb /tmp/jre1.1_1.1.8v3-1_i386.deb
> dpkg: considering removing jdk1.1-dev in favour of jdk1.1 ...
> dpkg: yes, will remove jdk1.1-dev in favour of jdk1.1.
> dpkg: /mount/md0/home/adam/debian/mine/dpkg/v1_9/dpkg-1.9.19/main/archives.c:695: check_conflict: Assertion `fixbyrm->clientdata->istobe == itb_normal' failed.
> zsh: abort dpkg -Bi /tmp/jdk1.1_1.1.8v3-1_i386.deb /tmp/jre1.1_1.1.8v3-1_i386.deb
>
> See <URL:http://www.fire-swamp.org/dpkg/> for copies of the two packages
> mentioned above and a tarball of /varlib/dpkg/ made immediiately after
> the command failed for the third time.

Thanks, duplicated.  I like repeatable bugs.

Ok, I have this fixed locally.  The solution was just adding another check to
the assertion for itb_deconfigure.

However, this made another bug surface, that was created when Ben Collins
switched dpkg to using obstacks.  There was a free() being called on an object
that was part of an obstack.  This caused a segfault.  Removing the free loop
fixed that.





Reply to: