[pacman-dev] Segmentation fault during db or package download
Hi! I've been inactive for the past year, so I don't know if this is already fixed. Sometimes I get segmentation fault during downloading db or package. This is the latest output from today. As you may see this is with --debug, but it doesn't really helps to get idea on what may cause the segfault. Targets (3): audacious-plugins-2.1-1 audacious-2.1-1 python-2.6.2-4 Total Download Size: 18.47 MB Total Installed Size: 73.52 MB Proceed with installation? [Y/n] debug: using cachedir: /var/cache/pacman/pkg/ :: Retrieving packages from extra... debug: using 'audacious-plugins-2.1-1-x86_64.pkg.tar.gz' for download progress debug: HTTP_PROXY: (null) debug: http_proxy: (null) debug: FTP_PROXY: (null) debug: ftp_proxy: (null) debug: connected to dev.archlinux.org successfully downloading audacious-plugins-2.1-1-x86_64.pkg.tar.gz... error: segmentation fault Internal pacman error: Segmentation fault. Please submit a full bug report with --debug if appropriate. At the time of this segfault I was connected to a wireless network with quite unstable connection (disconnects are rare, but I think packet loss might have place). Seems like libfetch related issue. Is this known? Or if it's alpm/pacman-related - was something like this fixed in git? P.S.: looks like --debug is not even mentioned in the man page, is this intentional or just forgotten? -- Roman Kyrylych (Роман Кирилич)
Roman Kyrylych wrote:
Hi!
I've been inactive for the past year, so I don't know if this is already fixed. Sometimes I get segmentation fault during downloading db or package. This is the latest output from today. As you may see this is with --debug, but it doesn't really helps to get idea on what may cause the segfault.
Targets (3): audacious-plugins-2.1-1 audacious-2.1-1 python-2.6.2-4
Total Download Size: 18.47 MB Total Installed Size: 73.52 MB
Proceed with installation? [Y/n] debug: using cachedir: /var/cache/pacman/pkg/ :: Retrieving packages from extra... debug: using 'audacious-plugins-2.1-1-x86_64.pkg.tar.gz' for download progress debug: HTTP_PROXY: (null) debug: http_proxy: (null) debug: FTP_PROXY: (null) debug: ftp_proxy: (null) debug: connected to dev.archlinux.org successfully downloading audacious-plugins-2.1-1-x86_64.pkg.tar.gz... error: segmentation fault Internal pacman error: Segmentation fault. Please submit a full bug report with --debug if appropriate.
At the time of this segfault I was connected to a wireless network with quite unstable connection (disconnects are rare, but I think packet loss might have place).
Seems like libfetch related issue. Is this known? Or if it's alpm/pacman-related - was something like this fixed in git?
P.S.: looks like --debug is not even mentioned in the man page, is this intentional or just forgotten?
I'm sure there is a bug report still open about this. It does seem releated to unstable networks. From memory, there has been no-one who can replicate consistently so that we can debug to source of the crash. Allan
On Mon, Jul 13, 2009 at 6:46 PM, Roman Kyrylych<roman.kyrylych@gmail.com> wrote:
Seems like libfetch related issue. Is this known? Or if it's alpm/pacman-related - was something like this fixed in git?
Don't you use libdownload rather than libfetch? We would like to know if this issue still happens with pacman-git + libfetch from testing.
On Wed, Jul 15, 2009 at 12:03, Xavier<shiningxc@gmail.com> wrote:
On Mon, Jul 13, 2009 at 6:46 PM, Roman Kyrylych<roman.kyrylych@gmail.com> wrote:
Seems like libfetch related issue. Is this known? Or if it's alpm/pacman-related - was something like this fixed in git?
Don't you use libdownload rather than libfetch?
We would like to know if this issue still happens with pacman-git + libfetch from testing.
I use libdownload. Is there some premade pacman-git package or should I build it myself? -- Roman Kyrylych (Роман Кирилич)
On Wed, Jul 15, 2009 at 10:32 PM, Roman Kyrylych<roman.kyrylych@gmail.com> wrote:
I use libdownload. Is there some premade pacman-git package or should I build it myself?
Dan repo is quite outdated, but the package there was already using libfetch : http://dev.archlinux.org/~dan/pacman-git/ Though it is probably better to build one yourself, as quite a few changes happened since then, and the current git will be closer to 3.3 release.
On Wed, Jul 15, 2009 at 4:31 PM, Xavier<shiningxc@gmail.com> wrote:
On Wed, Jul 15, 2009 at 10:32 PM, Roman Kyrylych<roman.kyrylych@gmail.com> wrote:
I use libdownload. Is there some premade pacman-git package or should I build it myself?
Dan repo is quite outdated, but the package there was already using libfetch : http://dev.archlinux.org/~dan/pacman-git/
Though it is probably better to build one yourself, as quite a few changes happened since then, and the current git will be closer to 3.3 release.
Haha, you guilt-tripped me into rebuilding these- it has been a loooong time. You can find the newest versions there in the repo, and I also threw up my latest PKGBUILD at http://dev.archlinux.org/~dan/pacman-git/pacman-git/ which uses a build() and package() function. Have fun -Syu-ing! I swear it won't break. :) -Dan
On Wed, Jul 15, 2009 at 9:18 PM, Dan McGee<dpmcgee@gmail.com> wrote:
On Wed, Jul 15, 2009 at 4:31 PM, Xavier<shiningxc@gmail.com> wrote:
On Wed, Jul 15, 2009 at 10:32 PM, Roman Kyrylych<roman.kyrylych@gmail.com> wrote:
I use libdownload. Is there some premade pacman-git package or should I build it myself?
Dan repo is quite outdated, but the package there was already using libfetch : http://dev.archlinux.org/~dan/pacman-git/
Though it is probably better to build one yourself, as quite a few changes happened since then, and the current git will be closer to 3.3 release.
Haha, you guilt-tripped me into rebuilding these- it has been a loooong time. You can find the newest versions there in the repo, and I also threw up my latest PKGBUILD at http://dev.archlinux.org/~dan/pacman-git/pacman-git/ which uses a build() and package() function.
Have fun -Syu-ing! I swear it won't break. :)
And FYI I rebuilt for both architectures. -Dan
On Thu, Jul 16, 2009 at 05:19, Dan McGee<dpmcgee@gmail.com> wrote:
On Wed, Jul 15, 2009 at 9:18 PM, Dan McGee<dpmcgee@gmail.com> wrote:
On Wed, Jul 15, 2009 at 4:31 PM, Xavier<shiningxc@gmail.com> wrote:
On Wed, Jul 15, 2009 at 10:32 PM, Roman Kyrylych<roman.kyrylych@gmail.com> wrote:
I use libdownload. Is there some premade pacman-git package or should I build it myself?
Dan repo is quite outdated, but the package there was already using libfetch : http://dev.archlinux.org/~dan/pacman-git/
Though it is probably better to build one yourself, as quite a few changes happened since then, and the current git will be closer to 3.3 release.
Haha, you guilt-tripped me into rebuilding these- it has been a loooong time. You can find the newest versions there in the repo, and I also threw up my latest PKGBUILD at http://dev.archlinux.org/~dan/pacman-git/pacman-git/ which uses a build() and package() function.
Have fun -Syu-ing! I swear it won't break. :)
And FYI I rebuilt for both architectures.
FYI makepkg.conf on x86_64 has i686 everywhere. -- Roman Kyrylych (Роман Кирилич)
On Thu, Jul 16, 2009 at 20:47, Roman Kyrylych<roman.kyrylych@gmail.com> wrote:
On Thu, Jul 16, 2009 at 05:19, Dan McGee<dpmcgee@gmail.com> wrote:
On Wed, Jul 15, 2009 at 9:18 PM, Dan McGee<dpmcgee@gmail.com> wrote:
On Wed, Jul 15, 2009 at 4:31 PM, Xavier<shiningxc@gmail.com> wrote:
On Wed, Jul 15, 2009 at 10:32 PM, Roman Kyrylych<roman.kyrylych@gmail.com> wrote:
I use libdownload. Is there some premade pacman-git package or should I build it myself?
Dan repo is quite outdated, but the package there was already using libfetch : http://dev.archlinux.org/~dan/pacman-git/
Though it is probably better to build one yourself, as quite a few changes happened since then, and the current git will be closer to 3.3 release.
Haha, you guilt-tripped me into rebuilding these- it has been a loooong time. You can find the newest versions there in the repo, and I also threw up my latest PKGBUILD at http://dev.archlinux.org/~dan/pacman-git/pacman-git/ which uses a build() and package() function.
Have fun -Syu-ing! I swear it won't break. :)
And FYI I rebuilt for both architectures.
FYI makepkg.conf on x86_64 has i686 everywhere.
Ouch! That's because i686 version was installed on my x86_64 system, because named repo as [pacman-git] instead of [pacman-git-64] Have to recover my pacman installation now. :-P -- Roman Kyrylych (Роман Кирилич)
On Thu, Jul 16, 2009 at 12:57 PM, Roman Kyrylych<roman.kyrylych@gmail.com> wrote:
On Thu, Jul 16, 2009 at 20:47, Roman Kyrylych<roman.kyrylych@gmail.com> wrote:
On Thu, Jul 16, 2009 at 05:19, Dan McGee<dpmcgee@gmail.com> wrote:
On Wed, Jul 15, 2009 at 9:18 PM, Dan McGee<dpmcgee@gmail.com> wrote:
On Wed, Jul 15, 2009 at 4:31 PM, Xavier<shiningxc@gmail.com> wrote:
On Wed, Jul 15, 2009 at 10:32 PM, Roman Kyrylych<roman.kyrylych@gmail.com> wrote:
I use libdownload. Is there some premade pacman-git package or should I build it myself?
Dan repo is quite outdated, but the package there was already using libfetch : http://dev.archlinux.org/~dan/pacman-git/
Though it is probably better to build one yourself, as quite a few changes happened since then, and the current git will be closer to 3.3 release.
Haha, you guilt-tripped me into rebuilding these- it has been a loooong time. You can find the newest versions there in the repo, and I also threw up my latest PKGBUILD at http://dev.archlinux.org/~dan/pacman-git/pacman-git/ which uses a build() and package() function.
Have fun -Syu-ing! I swear it won't break. :)
And FYI I rebuilt for both architectures.
FYI makepkg.conf on x86_64 has i686 everywhere.
Ouch! That's because i686 version was installed on my x86_64 system, because named repo as [pacman-git] instead of [pacman-git-64] Have to recover my pacman installation now. :-P
Just untar the package, remove the .PKGINFO and whatnot, and cp -r everything Then, just to be sure, pacman -S pacman again :)
On Thu, Jul 16, 2009 at 21:29, Aaron Griffin<aaronmgriffin@gmail.com> wrote:
On Thu, Jul 16, 2009 at 12:57 PM, Roman Kyrylych<roman.kyrylych@gmail.com> wrote:
On Thu, Jul 16, 2009 at 20:47, Roman Kyrylych<roman.kyrylych@gmail.com> wrote:
On Thu, Jul 16, 2009 at 05:19, Dan McGee<dpmcgee@gmail.com> wrote:
On Wed, Jul 15, 2009 at 9:18 PM, Dan McGee<dpmcgee@gmail.com> wrote:
On Wed, Jul 15, 2009 at 4:31 PM, Xavier<shiningxc@gmail.com> wrote:
On Wed, Jul 15, 2009 at 10:32 PM, Roman Kyrylych<roman.kyrylych@gmail.com> wrote: > > I use libdownload. > Is there some premade pacman-git package or should I build it myself? >
Dan repo is quite outdated, but the package there was already using libfetch : http://dev.archlinux.org/~dan/pacman-git/
Though it is probably better to build one yourself, as quite a few changes happened since then, and the current git will be closer to 3.3 release.
Haha, you guilt-tripped me into rebuilding these- it has been a loooong time. You can find the newest versions there in the repo, and I also threw up my latest PKGBUILD at http://dev.archlinux.org/~dan/pacman-git/pacman-git/ which uses a build() and package() function.
Have fun -Syu-ing! I swear it won't break. :)
And FYI I rebuilt for both architectures.
FYI makepkg.conf on x86_64 has i686 everywhere.
Ouch! That's because i686 version was installed on my x86_64 system, because named repo as [pacman-git] instead of [pacman-git-64] Have to recover my pacman installation now. :-P
Have not seen segfaults with pacman-git + libfetch yet, but probably I was not "lucky" enough. Will keep an eye on it, if I won't get a segfault during next week - consider the problem fixed. -- Roman Kyrylych (Роман Кирилич)
participants (5)
-
Aaron Griffin
-
Allan McRae
-
Dan McGee
-
Roman Kyrylych
-
Xavier