[Tex/LaTex] Latex Error: Command crashed: biber.exe

biberbiblatexmiktextexstudio

I am getting an error when running Bibliography on Windows 10, using MikTex 2.9 and TexStudio 2.10, running biblatex 3.1 and biber 2.2, all 64 bit.

Process started: biber.exe "MWE"
Error: Command crashed: biber.exe "MWE"
Process exited with error(s)

In the log file are the following errors:

Package biblatex Info: Trying to load bibliographic data...
Package biblatex Info: ... file 'MWE.bbl' not found.
No file MWE.bbl.
Package biblatex Info: Reference section=0 on input line 10.
Package biblatex Info: Reference segment=0 on input line 10.
LaTeX Warning: Citation 'john' on page 1 undefined on input line 11.
LaTeX Warning: Empty bibliography on input line 12. 

I am running the following code:

\documentclass{article}
\begin{filecontents*}{bibliography.bib}
    @book{john,
        author  = {John Johnson},
        title   = {Booktitle},
        year    = {2016}
        }
    \end{filecontents*}
\usepackage[backend=biber]{biblatex}
\addbibresource{bibliography.bib}
\begin{document}
    Hello\cite{john}.
\printbibliography
\end{document}

I also tried running from the command line:

biber --tool MWE.bib

Which gives me the following error:

The procedure entry point Perl_gv_fetchpv could not be located in the dynamic link library
C:\Users\Username\AppData\Local\Temp\par-726f676965\cache-19a661c7206c3f168e864t6as864\biber.exe

Removing the par-726f676965 folder doesn't help either.

Any ideas?

Best Answer

Just change the used filename for your bib file from \bibliography.bib to bibliography.bib. The \ starts a command \bibliography causing your error.

The following MWE compiles with no errors with my current miktex:

\documentclass{article}
\begin{filecontents*}{bibliography.bib} % <================================
    @book{john,
        author  = {John Johnson},
        title   = {Booktitle},
        year    = {2016}
        }
    \end{filecontents*}

\usepackage[backend=biber]{biblatex}
\addbibresource{bibliography.bib}  % <================================

\begin{document}
    Hello \cite{john}.
\printbibliography
\end{document}
Related Question