FS#24307 - Pacman Seg fault and local db NULL
Attached to Project:
Pacman
Opened by carlos sosa (csosa) - Monday, 16 May 2011, 16:16 GMT
Last edited by Dan McGee (toofishes) - Thursday, 02 June 2011, 12:55 GMT
Opened by carlos sosa (csosa) - Monday, 16 May 2011, 16:16 GMT
Last edited by Dan McGee (toofishes) - Thursday, 02 June 2011, 12:55 GMT
|
Details
Summary and Info:
Pacman segmentation fault. (Trimmed) output of "sudo pacman -S pacman --debug": debug: config: finished parsing /etc/pacman.d/mirrorlist debug: config: finished parsing /etc/pacman.conf debug: loading package cache for repository 'local' error: database path is undefined debug: returning error 11 from _alpm_db_path : could not open database debug: returning error 11 from local_db_populate : could not open database debug: failed to load package cache for repository 'local' debug: warning: pkgcache is NULL for db 'local' debug: warning: failed to get 'pacman' from NULL pkgcache error: segmentation fault Internal pacman error: Segmentation fault. Please submit a full bug report with --debug if appropriate. Steps to Reproduce: sudo pacman -S pacman --debug |
This task depends upon
Closed by Dan McGee (toofishes)
Thursday, 02 June 2011, 12:55 GMT
Reason for closing: Won't fix
Additional comments about closing: Might already be fixed with FS#24292 , but otherwise no reproducible platform
Thursday, 02 June 2011, 12:55 GMT
Reason for closing: Won't fix
Additional comments about closing: Might already be fixed with
If it helps, this happened after my laptop battery fell out and my /var partition began to be mounted in /media/usbhd, and I couldn't boot. I fixed that by deleting that folder with the arch live cd.
Can you post the above type output again but using --verbose as well?
I deleted /media/usbhd-1. This was where my /var partition was being mounted, incorrectly and randomly. The partition was reported as unmounted before I deleted that folder but apparently it was still mounted because I lost the whole cache, pacman log, everything. I had to install Arch again. I don't think this was a bug in pacman, just a unique case where random /var files got deleted.
This isn't even the first time something like this happens (unrelated to pacman):
https://bbs.archlinux.org/viewtopic.php?id=115407
https://bbs.archlinux.org/viewtopic.php?pid=699732#p699732
Regards
FS#24292, but I can't be certain. Once thing I do know is that we likely aren't going to make further progress here as the original system it was reproducible on no longer exists.