Skip to content

Crash when compiling large file #4490

Description

@Niklas123Niklas

Crash during build / bibliography command in larger LaTeX project

texstudio_backtrace1.txt

Environment

  • TeXstudio: 4.9.4 R
  • Qt: Qt Version 6.11.0
  • OS: Windows 11
  • TeX distribution: TeXLive 2025
  • Compiler: LuaLaTeX
  • Bibliography tool: Biber
  • Build command / profile: Default compliler (txs:///lualatex) with repeat contained build command turned on
    • Check and update bibliography before compiling marked
  • Project structure: larger LaTeX document, multiple files

Expected behavior

TeXstudio should complete the build command.

Actual behavior

TeXstudio crashed while I was working on and compiling the document. After the crash, TeXstudio generated the attached crash backtrace file. In the messages, I briefly saw some bibliography compiling related output. This happened third time now, with 4.9.4. Never happened before. The recover message also crashed, so no possibility to recover from that crash.

How to reproduce

At the moment, I am not sure whether the crash is reproducible.

What I did before the crash:

  1. Opened a larger LaTeX project in TeXstudio with multiple subfiles.
  2. Edited the document normally.
  3. Started the usual build / compile command.
  4. TeXstudio crashed during or shortly after the build process.

I have not yet been able to reduce this to a minimal example.

Additional information

The crash may be related to the build sequence or the automatic bibliography step, because the backtrace includes Texstudio::runBibliographyIfNecessary(...).

I attached the crash-generated backtrace file.

texstudio_backtrace1.txt

I can provide further information project structure or settings if needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions