mas: segmentation fault: mas list
Hi there,
all mas commands run fine with the exception of mas list, which is seg faulting.
Any way to help debugging without compiling from source? 😊
❯❯❯ mas version
1.3.1
❯❯❯ mas account
-stripped-
❯❯❯ mas list
[1] 5424 segmentation fault mas list
Resetting or signin/signout does not fix it.
Thanks!
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Reactions: 4
- Comments: 20 (4 by maintainers)
For the folks that have this, do you have a macOS installer downloaded? I think that was my problem. When I attempted to run
mas list, this is what I got:When I compiled from source and ran it, I got this (notice what’s below Pastebot):
So my guess is that the macOS installers (or possibly other apps?) don’t have a
product.itemIdentifierand we get a segmentation fault.I could use “mas list” again on High Sierra 10.13.1 after explicitely uninstalling mas via “brew uninstall mas” followed by a “brew install mas” and deleting the “Install macOS High Sierra” App from Applications. Prior to that, I also got a segmentation violation. I hope that this can help you as well bridging the gap until someone takes care of an update of this (beloved and still very useful) project…
Bam! I had this very same issue
Segmentation fault: 11and after I uninstalled my macOS Sierra installer the segmentation fault error was resolved. Hat tip to @wesbaker for the easy fix.Sure enough, when I delete the installer,
mas listworks like before.