Bug 232270 - ports-mgmt/pkg: Forced install results in segmentation fault
Summary: ports-mgmt/pkg: Forced install results in segmentation fault
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-pkg (Nobody)
URL:
Keywords: crash
Depends on:
Blocks:
 
Reported: 2018-10-15 06:34 UTC by Ali Abdallah
Modified: 2018-11-07 12:29 UTC (History)
3 users (show)

See Also:
koobs: maintainer-feedback? (pkg)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ali Abdallah 2018-10-15 06:34:29 UTC
Running 'pkg install -f package' causes segmentation fault. 

Pkg version 1.10.5
Comment 1 Nathan 2018-10-15 16:51:50 UTC
I had to reinstall from /usr/ports/ports-mgmt/pkg then running pkg ran fine for me
Comment 2 Brad Davis freebsd_committer freebsd_triage 2018-10-17 16:20:03 UTC
What pkg was force installed?  Was it already installed and being reinstalled over the top? Do you have a log or a copy of the database from before the install was done?
Comment 3 Nathan 2018-10-17 16:37:55 UTC
(In reply to Brad Davis from comment #2)
I know with my issue it was after upgrading to alpha9. I don’t have logs but I didn’t have issue before upgrade and the work around was having to reinstall pkg from ports as pkg-static didn’t work for me
Comment 4 Nathan 2018-10-17 16:41:31 UTC
(In reply to Nathan from comment #3)
I am thinking that maybe pkg itself needs to be rebuilt on alpha9 and that may fix this issue for others
Comment 5 Brad Davis freebsd_committer freebsd_triage 2018-10-17 16:45:57 UTC
Oh, that might be due to the openssl change..

In the future you can just delete pkg and the run pkg and the bootstrap code will run again and install the pkg binary for you.  That assumes that that pkg has been rebuilt and published against the openssl upgrade.
Comment 6 Ali Abdallah 2018-10-17 19:26:08 UTC
I did rebuild pkg from ports, same problem.
Comment 7 Brad Davis freebsd_committer freebsd_triage 2018-10-19 23:31:11 UTC
What pkg are you trying to force install?
Comment 8 Ali Abdallah 2018-10-20 07:48:34 UTC
(In reply to Brad Davis from comment #7)

gvfs
Comment 9 Ali Abdallah 2018-11-07 12:29:43 UTC
I longer seem to be able to reproduce the crash on >= 12-BETA-2, for some reason.