Segmentation fault while trying to install package "puredata"

Bug #46110 reported by Daniel Robitaille
12
Affects Status Importance Assigned to Milestone
dpkg (Ubuntu)
Invalid
Medium
Ian Jackson

Bug Description

Binary package hint: dpkg

bug initially reported using reportbug

---------- Forwarded message ----------
From: Kees Leune <email address hidden>
To: Ubuntu Bug Tracking System <email address hidden>
Date: Fri, 05 May 2006 15:54:08 +0200
Subject: dpkg: Segmentation fault while trying to install package "puredata"
Package: dpkg
Severity: normal

Dpkg crashes with a segmentation fault why trying to install the package
"puredata".

root@eternity:cache/apt/archives# dpkg -i puredata_0.38.4+amidi-3_i386.deb
zsh: segmentation fault dpkg -i puredata_0.38.4+amidi-3_i386.deb

-Kees

-- System Information:
Debian Release: testing/unstable
 APT prefers breezy-updates
 APT policy: (500, 'breezy-updates'), (500, 'breezy-security'), (500, 'breezy')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-9-386
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
(ignored: LC_ALL set to en_US.UTF-8)

Revision history for this message
Ian Jackson (ijackson) wrote :

This works fine for me. Do you have a corrupted puredata_0.38.4+amidi-3_i386.deb ?

root@anarres:/work/dpkg-crash # dpkg -i puredata_0.38.4+amidi-3_i386.deb
Selecting previously deselected package puredata.
(Reading database ... 122873 files and directories currently installed.)
Unpacking puredata (from puredata_0.38.4+amidi-3_i386.deb) ...
dpkg: dependency problems prevent configuration of puredata:
 puredata depends on libjack0.80.0-0 (>= 0.99.0); however:
  Package libjack0.80.0-0 is not installed.
dpkg: error processing puredata (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 puredata
root@anarres:/work/dpkg-crash # md5sum puredata_0.38.4+amidi-3_i386.deb
f734b1c450a9fe423fdb2aee49085787 puredata_0.38.4+amidi-3_i386.deb
root@anarres:/work/dpkg-crash #

Is your system otherwise usually reliable ?

Changed in dpkg:
assignee: nobody → ijackson
Revision history for this message
Kees Leune (kees-leune) wrote : Re: [Bug 46110] Re: Segmentation fault while trying to install package "puredata"

Hello Ian,

On 5/23/06, Ian Jackson <email address hidden> wrote:
>
> This works fine for me. Do you have a corrupted puredata_0.38.4+amidi-
> 3_i386.deb ?
>
> root@anarres:/work/dpkg-crash # dpkg -i puredata_0.38.4+amidi-3_i386.deb
> Selecting previously deselected package puredata.
> (Reading database ... 122873 files and directories currently installed.)
> Unpacking puredata (from puredata_0.38.4+amidi-3_i386.deb) ...
> dpkg: dependency problems prevent configuration of puredata:
> puredata depends on libjack0.80.0-0 (>= 0.99.0); however:
> Package libjack0.80.0-0 is not installed.
> dpkg: error processing puredata (--install):
> dependency problems - leaving unconfigured
> Errors were encountered while processing:
> puredata
> root@anarres:/work/dpkg-crash # md5sum puredata_0.38.4+amidi-3_i386.deb
> f734b1c450a9fe423fdb2aee49085787 puredata_0.38.4+amidi-3_i386.deb
> root@anarres:/work/dpkg-crash #
>
> Is your system otherwise usually reliable ?

I actually just figured out what was wrong the other day. For some reason,
/var/lib/dpkg/available had gotten damaged, which caused dpkg to segfault. A
quick 'dselect update' fixed that problem.

Of course, that doesn't take away from the fact that dpkg really shouldn't
segfault on a corrupt database, but that's another issue.

Thank you for your efforts!

-Kees

--
Kees Leune <email address hidden>

Revision history for this message
Ian Jackson (ijackson) wrote : Re: [Bug 46110] Re: [Bug 46110] Re: Segmentation fault while trying to install package "puredata"

Kees Leune writes ("[Bug 46110] Re: [Bug 46110] Re: Segmentation fault while trying to install package "puredata""):
> Of course, that doesn't take away from the fact that dpkg really shouldn't
> segfault on a corrupt database, but that's another issue.

If you can provide a copy of the corrupt database then the we can fix
the bug.

Ian.

Revision history for this message
Kees Leune (kees-leune) wrote : Re: [Bug 46110] Re: [Bug 46110] Re: [Bug 46110] Re: Segmentation fault while trying to install package "puredata"

Hi,

On 5/23/06, Ian Jackson <email address hidden> wrote:
>
> Kees Leune writes ("[Bug 46110] Re: [Bug 46110] Re: Segmentation fault
> while trying to install package "puredata""):
> > Of course, that doesn't take away from the fact that dpkg really
> shouldn't
> > segfault on a corrupt database, but that's another issue.
>
> If you can provide a copy of the corrupt database then the we can fix
> the bug.

dd if=/dev/zero of=/var/lib/dpg/available bs=1k count=16792

I was running on an XFS filesystem, and with unclean shutdowns, it has the
tendency to overwrite the contents of files with 0x0. Hardly seen it since
I've switched to Ubuntu, btw!

-kees

--
Kees Leune <email address hidden>

Revision history for this message
Vassilis Pandis (pandisv) wrote :

Confirmed. I've opened bug #47042 for this. Thanks.

Revision history for this message
Vassilis Pandis (pandisv) wrote :

status rejected

Changed in dpkg:
status: Unconfirmed → Rejected
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.