-
Notifications
You must be signed in to change notification settings - Fork 363
Texstudio crashes on startup #4078
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
Comments
That should let texstudio open without any documents Then the question is, what document causes the crash and why. |
Here is the full report: Translated Report (Full Report Below)Process: texstudio [2105] Date/Time: 2025-05-23 14:15:02.0042 +0300 Sleep/Wake UUID: 2F62E0E1-806D-4771-B97A-5C21B6B3F879 Time Awake Since Boot: 2800 seconds System Integrity Protection: enabled Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_BAD_ACCESS (SIGSEGV) Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11 VM Region Info: 0 is not in any region. Bytes before following region: 4372152320 Thread 0 Crashed:: Dispatch queue: com.apple.main-thread Thread 1: Thread 2: Thread 3: Thread 4:: com.apple.CFSocket.private Thread 5:: Thread (pooled) Thread 6:: Thread (pooled) Thread 7:: com.apple.NSEventThread Thread 8:: Thread (pooled) Thread 9:: Thread (pooled) Thread 10:: SafeThread Thread 11:: QFileInfoGatherer Thread 12:: Thread (pooled) Thread 13:: Thread (pooled) Thread 14:: Thread (pooled) Thread 15:: Thread (pooled) Thread 16:: Thread (pooled) Thread 17:: Thread (pooled) Thread 18:: Thread (pooled) Thread 19:: Thread (pooled) Thread 20:: LatexStyleParser Thread 21:: SyntaxCheck Thread 22:: SyntaxCheck Thread 23:: SyntaxCheck Thread 24:: PDFRenderEngine Thread 25:: PDFRenderEngine Thread 26:: PDFRenderEngine Thread 27:: PDFRenderEngine Thread 28:: PDFRenderEngine Thread 29:: PDFRenderEngine Thread 30:: PDFRenderEngine Thread 31:: PDFRenderEngine Thread 0 crashed with ARM Thread State (64-bit): Binary Images: External Modification Summary: VM Region Summary:
REGION TYPE SIZE COUNT (non-coalesced) Full Report{"app_name":"texstudio","timestamp":"2025-05-23 14:15:02.00 +0300","app_version":"4.8.7","slice_uuid":"70e35df1-344e-36c3-9f1c-2c2a4a3aefcc","build_version":"","platform":1,"bundleID":"texstudio","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 15.4.1 (24E263)","roots_installed":0,"name":"texstudio","incident_id":"4CD46FDB-4484-4604-BF62-6A6BD8573CFC"}
], Model: MacBookAir10,1, BootROM 11881.101.1, proc 8:4:4 processors, 16 GB, SMC |
I was able to find ~/.config/texstudio/lastSession.txss Edit. After removing this and ~/.config/texstudio/lastSession2.txss the application launched again. It seems to be working ok now. |
It crashes in the pdf viewer. I will check the coming days. |
I have added one potential fix. |
Thank you. Unfortunately I'm not sure how to reproduce this crash. I was editing a .tex file from VS code while the same file was open in texstudio. I believe this was the start of all my problems even though usually it works fine if I edit a file from somewhere else at the same time. I was resolving merge issues with VS code, so perhaps VS code did something strange to the file. But I think the real problem began when the .synctex.gz file started to automatically disappear after compiling and texstudio started to complain that synctex is out of sync. I'm not sure what caused that to happen. |
my guess is that the synctex file was corrupted and txs wanted to jump to a page that does not exist. So, I close this. Please come back with a new report if you have a reproducible test case. |
Uh oh!
There was an error while loading. Please reload this page.
Environment
Expected behavior
Texstudio should launch
Actual behavior
How to reproduce
Unknown
Whenever I try to open texstudio I get the above error message. I am completely unable to open texstudio.
Some background: Recently, I resolved a merge issue with git on a latex project I was working on. After the merge there were issues with synctex where the .synctex would automatically be removed after compiling. Few minutes later texstudio crashed and never opened again. I deleted the entire application and downloaded the latest version from the texstudio website but now the application crashes immediately after trying to launch.
The text was updated successfully, but these errors were encountered: