SplashBuddy icon indicating copy to clipboard operation
SplashBuddy copied to clipboard

macOS needs to repair library while running SB - 10.13.4

Open ssnak3 opened this issue 6 years ago • 16 comments

Hi Team,

While trying to use SplashBuddy on macOS High Sierra 10.13.4 we are getting prompt to repair the library and SB won't start. screen shot 2018-04-19 at 15 28 09

If we repair the library it just shows icon on dock and then exists saying SB crashed. screen shot 2018-04-19 at 15 29 26

Crash log: SB_CrashLog.txt

We are building the package from "build_pkg.sh" and did not modify it so it is by standards. Also tried downloading latest version from gitub and packaging that without any changes, same issue. The issue was acting sporadically and we could not locate the cause. SB is running via User Initated Enrollment but the issue is happening even if we create SB package and try to run it on freshly build machine.

We tried to re-build the package with older version of SB but with no success.

Testing was done on VM and on Physical machines.

Please let us know if you require more detail or need additional testing.

Thanks.

ssnak3 avatar Apr 20 '18 10:04 ssnak3

In system.log there is this line:

com.apple.xpc.launchd[1] (io.fti.SplashBuddy.2152[3699]): Service exited due to signal: Illegal instruction: 4 sent by exc handler[0]

ssnak3 avatar Apr 20 '18 11:04 ssnak3

Hi @ssnak3,

Thanks for the feedback. Have you been able to reproduce the issue with v1.1 ?

Regarding the logs, it's not clear what seems to be the issue. Can you check that it's not related to a missing WRITE / READ right on the ~/Library/Application Support/SplashBuddy folder ?

Thanks for checking.

damien-rivet avatar Apr 20 '18 12:04 damien-rivet

Hi,

Didn't try with 1.1, tried with 1.2.0 and 1.2.1.

This are permissions on folder: drwxr-xr-x 18 root wheel 576 Apr 20 14:42 SplashBuddy

ssnak3 avatar Apr 20 '18 13:04 ssnak3

@ssnak3 can you give a try with the 1.1 version? Thanks.

damien-rivet avatar Apr 20 '18 14:04 damien-rivet

@Ethenyl Will do, don't have time now, will update next week.

Thanks.

ssnak3 avatar Apr 20 '18 14:04 ssnak3

@Ethenyl Found some time, ran the defautl SB 1.1 that is downloaded from github (with no customization) and SB opens without issues. This was tested on VM, I can try next week with physical machine

ssnak3 avatar Apr 20 '18 14:04 ssnak3

@ssnak3 thanks a lot for the update.

It seems that the big migration that I made wasn't that successful, I'll need to perform a new release.

Would you be available for some additional testing?

damien-rivet avatar Apr 23 '18 08:04 damien-rivet

@Ethenyl Hi,

As I said in Slack, I had errors on both 1.1 and latest SB. It is sporadic and I can't locate the issue, VM and physical machine are both built from the same installer.

ssnak3 avatar Apr 23 '18 10:04 ssnak3

@ssnak3 Can you please share a copy of your installer with us ? I have run the same tests as Ethenyl and cannot reproduce the behavior you are reporting. I'd like to take a look at your copy and see if it causes the problem on my test machine.

HowardGMac avatar Apr 24 '18 22:04 HowardGMac

@HowardGMac Sent via #Slack. Let me know if you need me to troubleshoot further.

ssnak3 avatar Apr 26 '18 14:04 ssnak3

Hi Team,

We paused our SplashBuddy for some time now, so I was inactive on testing out.

It seems that still the issue is present, tried with 1.1 and 1.2 installer. Didn't add any customization, just downloaded from github and run the .pkg file.

macOS version is 10.13.6 and it is freshly installed from Apple internet recovery so no custom image used. Attached are the two pkg's I have tried .... maybe there is something wrong with installers that I create :(

SB_PKGs.zip

Kind regards, Thanks

ssnak3 avatar Aug 31 '18 14:08 ssnak3

Update! @HowardGMac

I noticed that the error keeps poping out because there is no permission to write to the folder: /Users/username/Library/Containers/io.fti.SplashBuddy/.

After setting permissions on that folder manually it worked. Can you please let me know why does it write files there and why sometimes the installer does not have permissions?

Attached is the folder with files created. io.fti.SplashBuddy.zip

ssnak3 avatar Sep 23 '18 16:09 ssnak3

@ssnak3 It specifically writes to /Users/username/Library/Containers/io.fti.SplashBuddy/Data/Library/ to write the user input data, along with plop the .SplashBuddyDone file when it completes.

The installer should have permission, however we have seen an increase in these types of issues within my company's environment. Not 100% sure what is the root cause of it.

cybertunnel avatar Sep 24 '18 12:09 cybertunnel

@cybertunnel

Well, for now we fixed the issue adding following code to enrollment script before SB installs:

if [ -e "/Users/${loggedInUser}/Library/Containers/io.fti.SplashBuddy" ] then sudo rm -rf "/Users/${loggedInUser}/Library/Containers/io.fti.SplashBuddy" mkdir -p "/Users/${loggedInUser}/Library/Containers/io.fti.SplashBuddy" sudo chown $loggedInUser "/Users/${loggedInUser}/Library/Containers/io.fti.SplashBuddy" else mkdir -p "/Users/${loggedInUser}/Library/Containers/io.fti.SplashBuddy" sudo chown $loggedInUser "/Users/${loggedInUser} /Library/Containers/io.fti.SplashBuddy" fi

It will delete the folder if it is already created (old SB installers) and create it again with user's permission, after then it will install SplashBuddy.pkg.

ssnak3 avatar Sep 24 '18 12:09 ssnak3

That is strange. This is also occurring to multiple of our Macs that are being deployed. Even without SB launching. It isn't specific to SB, rather Setup Assistant might have a bug.

cybertunnel avatar Sep 27 '18 17:09 cybertunnel

@ssnak3 are you still having this issue? Is it okay for me to close this issue?

cybertunnel avatar Feb 01 '19 22:02 cybertunnel