Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash on Sonoma citing a specific item #36

Closed
dstillman opened this issue Jul 1, 2023 · 6 comments
Closed

Crash on Sonoma citing a specific item #36

dstillman opened this issue Jul 1, 2023 · 6 comments
Assignees

Comments

@dstillman
Copy link
Member

dstillman commented Jul 1, 2023

https://forums.zotero.org/discussion/comment/437790/#Comment_437790
https://forums.zotero.org/discussion/comment/437870/#Comment_437870

Thread 54 Crashed:: DOM Worker
0   libsystem_c.dylib             	    0x7ff8164b9aff flockfile + 18
1   libsystem_c.dylib             	    0x7ff8164be661 rewind + 45
2   libZoteroWordIntegration.dylib	       0x141ed3293 getTemporaryFile + 387
3   libZoteroWordIntegration.dylib	       0x141ed06b6 setTextRaw + 566
4   libZoteroWordIntegration.dylib	       0x141ed03a5 setText + 133
5   XUL                           	       0x11a52900d 0x11a3fd000 + 1228813
@adomasven
Copy link
Member

Hm. Crashing in https://github.com/zotero/zotero-word-for-mac-integration/blob/main/build/src/utilities.m#L35-L62 . I wonder if it's not the permission system issue, some change in a new OS beta, that crashes access to temporary directory without full disk access or something? Could you trigger full-disk access for Zotero, allow it and see if the crash still occurs?

@dstillman
Copy link
Member Author

Same crash with Full Disk Access

@adomasven
Copy link
Member

What if you try to write a temporary file from applescript or terminal at $TMPDIR?

@dstillman
Copy link
Member Author

dstillman commented Jul 3, 2023

I can certainly do echo foo > $TMPDIR/foo from Terminal.

@adomasven
Copy link
Member

I can certainly do echo foo > $TMPDIR/foo from Terminal.

How about from Zotero?

@dstillman
Copy link
Member Author

dstillman commented Jul 3, 2023

Works (i.e., getting $TMPDIR from the terminal and then await Zotero.File.putContentsAsync('/var/folders/ss/t0gqh6q08xj2l3001s7k10gh0000gp/T/foo', 'foo'))

adomasven added a commit that referenced this issue Jul 5, 2023
Sonoma beta 2 changed the temp location for sandboxed apps from the global
temp folder to a folder in the sandbox (/Users/adomas/Library/Containers) so we
create our temp rtf files in
/Users/adomas/Library/Group Containers/UBF8T346G9.Office/org.zotero.zotero
now
adomasven added a commit that referenced this issue Jul 5, 2023
Sonoma beta 2 changed the temp location for sandboxed apps from the global
temp folder to a folder in the sandbox (/Users/adomas/Library/Containers) so we
create our temp rtf files in
/Users/adomas/Library/Group Containers/UBF8T346G9.Office/org.zotero.zotero
now
bblackham pushed a commit to bblackham/jurism-word-for-mac-integration that referenced this issue Mar 9, 2024
…o#36

Sonoma beta 2 changed the temp location for sandboxed apps from the global
temp folder to a folder in the sandbox (/Users/adomas/Library/Containers) so we
create our temp rtf files in
/Users/adomas/Library/Group Containers/UBF8T346G9.Office/org.zotero.zotero
now
bblackham pushed a commit to bblackham/jurism-word-for-mac-integration that referenced this issue Mar 9, 2024
…o#36

Sonoma beta 2 changed the temp location for sandboxed apps from the global
temp folder to a folder in the sandbox (/Users/adomas/Library/Containers) so we
create our temp rtf files in
/Users/adomas/Library/Group Containers/UBF8T346G9.Office/org.zotero.zotero
now
bblackham pushed a commit to bblackham/jurism-word-for-mac-integration that referenced this issue Mar 9, 2024
…o#36

Sonoma beta 2 changed the temp location for sandboxed apps from the global
temp folder to a folder in the sandbox (/Users/adomas/Library/Containers) so we
create our temp rtf files in
/Users/adomas/Library/Group Containers/UBF8T346G9.Office/org.zotero.zotero
now
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants