Opened 7 years ago

Closed 6 years ago

#55685 closed defect (wontfix)

mas crash on signin

Reported by: jpmelko Owned by: kimuraw (kimura wataru)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: mas

Description (last modified by mf2k (Frank Schima))

Bacchus:~ root# /opt/local/bin/mas   signin jpmelkonian@noos.fr
==> Signing in to Apple ID: jpmelkonian@noos.fr
Password: 
2018-01-12 16:27:32.137 mas[17258:1039829] -[__NSXPCInterfaceProxy_ISAccountService signInWithContext:replyBlock:]: unrecognized selector sent to instance 0x7fc99ae1f210
2018-01-12 16:27:32.138 mas[17258:1039829] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSXPCInterfaceProxy_ISAccountService signInWithContext:replyBlock:]: unrecognized selector sent to instance 0x7fc99ae1f210'
*** First throw call stack:
(
	0   CoreFoundation                      0x00007fff2d63200b __exceptionPreprocess + 171
	1   libobjc.A.dylib                     0x00007fff542bfc76 objc_exception_throw + 48
	2   CoreFoundation                      0x00007fff2d6cacd4 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132
	3   CoreFoundation                      0x00007fff2d5a83f0 ___forwarding___ + 1456
	4   CoreFoundation                      0x00007fff2d5a7db8 _CF_forwarding_prep_0 + 120
	5   mas                                 0x000000010ff3de22 mas + 146978
	6   mas                                 0x000000010ff3d7ee mas + 145390
	7   mas                                 0x000000010ff546b6 mas + 239286
	8   mas                                 0x000000010ff5387e mas + 235646
	9   mas                                 0x000000010ff2e84a mas + 84042
	10  mas                                 0x000000010ff32ff3 mas + 102387
	11  mas                                 0x000000010ff2efcb mas + 85963
	12  mas                                 0x000000010ff31c50 mas + 97360
	13  mas                                 0x000000010ff2f1e3 mas + 86499
	14  mas                                 0x000000010ff3f176 mas + 151926
	15  libdyld.dylib                       0x00007fff54eaf115 start + 1
	16  ???                                 0x0000000000000003 0x0 + 3
)
libc++abi.dylib: terminating with uncaught exception of type NSException
Abort trap: 6

Change History (6)

comment:1 Changed 7 years ago by jpmelko

Done on root account

With an non admin account i have

titi@Bacchus: ~ $ mas signout
iti@Bacchus: ~ $ mas signin jpmelkonian@noos.fr
Error: Already signed in
titi@Bacchus: ~ $ 
Last edited 7 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:2 Changed 7 years ago by mf2k (Frank Schima)

Owner: set to kimuraw
Port: mas added
Status: newassigned

In the future, please use WikiFormatting, fill in the Port field and Cc the port maintainers (port info --maintainers mas), if any.

comment:3 Changed 7 years ago by mf2k (Frank Schima)

Description: modified (diff)

comment:4 Changed 7 years ago by kimuraw (kimura wataru)

Status: assignedaccepted

I reproduced this problem.

But it looks upstream mas-cli does not support High Sierra. The interface of private APIs (StoreFoundation.framework, that mas used) was changed.

If you have a patch, send a pull request to mas project on github.

https://github.com/mas-cli/mas/

comment:5 Changed 7 years ago by kimuraw (kimura wataru)

In 1bbd511658faf2b6b9bb5844a29752dd1b342e0f/macports-ports:

sysutils/mas: update to 1.4.1

Closes: #55861

but #55685 was not solved.
subcommand signin|signout still does not work with v1.4.1.

comment:6 Changed 6 years ago by kimuraw (kimura wataru)

Resolution: wontfix
Status: acceptedclosed

I close this issue as "wontfix".

mas-cli dropped "singin" option for 10.13+ at v1.4.2. see https://github.com/mas-cli/mas/releases/tag/v1.4.2

Note: See TracTickets for help on using tickets.