Skip to content

FB2: Maximum call stack size exceeded #935

@pok49

Description

@pok49

I've installed Foliate and tried some ebooks. Some of them opened as expected, but quite a few failed with the error message screen:

:-(
Could not open file
Maximum call stack size exceeded.
[Open Another File]

A small fb2 book of this sort is available here.

I've reduced it to a smaller test (1214 bytes; I'll try to attach it). The problem seems to be due to hyperlinks in the text.

I am not alone in experiencing this problem; there are similar complaints in the Net, e.g. in this post:

Ответ на: комментарий от AP 07.04.22 23:18:41
Спасибо за наводку. Выглядит симпатично, правда некоторые fb2 книги не открывает, валится с «Maximum call stack size exceeded». Кто-нибудь сталкивался с таким?

My testing environment:
% uname -a
Linux Eee901 4.9.0-279-antix.1-486-smp #1 SMP Sun Aug 8 20:59:37 EEST 2021 i686 GNU/Linux
%
% dpkg-query -l 'foliate'
||/ Name Version Architecture Description
+++-===============================-============-============-================>
ii com.github.johnfactotum.foliate 2.6.4 all Simple and modern
fail17.fb2.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions