evince suicides in 20.04 but not in 18.04

Bug #1897281 reported by buggycub
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
evince (Ubuntu)
Expired
Low
Unassigned

Bug Description

Description: Ubuntu 20.04.1 LTS
Release: 20.04

Evince does a suicide trip after unsuccessfully trying to open a CBR file. After a while it is killed. Here is my terminal output:

$ evince TheCartoons.cbr
Killed
$

And between the line "$ evince TheCartoons.cbr" and the final "Killed", are passing many minutes.

Please note that I started my report in
https://bugs.launchpad.net/ubuntu/+source/evince/+bug/1785060
not knowing exactly what "expired" there means. I did "apport-collect 1785060" there, too.

Please note also that my error message (see above) is quite different from seb128 in bug 1785060. In fact, there is no error message just the statement "Killed".

What gets me is that in 18.04 it is working so smooth and fast and that in 20.04 it is such a mess!

P.S. I do not know whether this helps, but with Debian 11 Xfce (Buster sid, testing), evince loads and opens this CBR file correctly, albeit slowly, but okular (installed in Buster sid) yields a similar error message like that of seb128 with evince in bug 1785060:
"Could not open file TheCartoons.cbr. The version of unrar on your system is not suitable for opening comicbooks"
Inverted world ;-)

Revision history for this message
buggycub (smusnmr) wrote :

Addendum:
Using Ubuntu Focal's unrar-free, I can unzip from this CPR file 144 GIF files in a blink, sizing from 425 KB to 2 MB.

Revision history for this message
buggycub (smusnmr) wrote :

> Sebastien Bacher (seb128):
> Could you also maybe include an example to the bug?

Please go to https://b-ok.cc/book/2611763/45278d
"The Cartoons of Cobean"
then hit the blue button [Download (cbr, 113.07 MB)]

Thanks, siggi2

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please try to obtain a backtrace following the instructions at http://wiki.ubuntu.com/DebuggingProgramCrash and upload the backtrace (as an attachment) to the bug report. This will greatly help us in tracking down your problem.

Changed in evince (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
buggycub (smusnmr) wrote :

Following the http://wiki.ubuntu.com/DebuggingProgramCrash, I had teh usual total computer freeze after starting evince and trying to open the CBR file. Everything stood still, even the digital clock stopped. Waited 7 minutes. Since <Ctrl>+<C> did not help, I had to hard-switch off the computer. Here is my gdb-evince.txt report:
?field.comment=Following the http://wiki.ubuntu.com/DebuggingProgramCrash, I had teh usual total computer freeze after starting evince and trying to open the CBR file. Everything stood still, even the digital clock stopped. Waited 7 minutes. Since <Ctrl>+<C> did not help, I had to hard-switch off the computer. Here is my gdb-evince.txt report:

Revision history for this message
buggycub (smusnmr) wrote :

Would it not be easier for you, if you downloaded this CBR file and tried to open it in Ubuntu 20.04 yourself? After all, Ubuntu 20.04 and Debian Buster Xfce pose no problems with this file.

Revision history for this message
buggycub (smusnmr) wrote :

Sorry, mistake, of course it should read "After all, Evince in Ubuntu 18.04 and Debian Buster Xfce pose no problems with this file."
If it helps: another CBR file (131 MB) poses no problems, it is packed JPGs, while the CBR file in question is packed GIFs.

Revision history for this message
Sebastien Bacher (seb128) wrote :

> Would it not be easier for you, if you downloaded this CBR file and tried to open it in Ubuntu 20.04 yourself?

I did and it works fine, maybe the issue is the resource usage, how much free memory do you have avaible? could you check with top if maybe that's the issue and that opening it exhause the available resources for you?

Revision history for this message
buggycub (smusnmr) wrote :

> top >: there appear many, many lines when I key in this command. Are you interested in all lines?

Sorry, I am no "top" expert :-(

Revision history for this message
buggycub (smusnmr) wrote :

Addendum: sorry, forgot this: if I install Kubuntu's okular in Ubuntu 20.04, there is nor problem for okular to read this TheCartoons.cbr. Should this not exclude a memory problem?

Revision history for this message
buggycub (smusnmr) wrote :

@Sebastien Bacher

> ...how much free memory do you have avaible?

Evince in Ubuntu 20.04 uses about 35 times more memory than Ubuntu 18.04 in my hands when opening this CBR-file! How can I mend this, please?

Here are excerpts from "top" when trying to open (20.04) and opening, respectively (18.04):

From top -b, Ubuntu2004
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
14807 <user> 20 0 4440432 2.9g 4136 S 6.1 81.3 0:06.17 evince

From top -b, Ubuntu 1804
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
 3013 <user> 20 0 1008424 85852 35568 S 63.9 2.3 0:02.50 evince

Revision history for this message
buggycub (smusnmr) wrote :

Solved: With my data above and with the help of an other forum, I see that evince just updated into a memory glutton, eating up more than my 4 GB RAM can provide :-(
Workaround: uninstall evince, install okular which is modest in memory usage.

Revision history for this message
Sebastien Bacher (seb128) wrote :

the excessive memory usage seems worth reporting upstream on https://gitlab.gnome.org/GNOME/evince/-/issues

Revision history for this message
buggycub (smusnmr) wrote :

@Sebastien Bacher:
> ...worth reporting upstream ...
I would, but I am not allowed to:
https://gitlab.gnome.org/users/sign_in
"Please note that due to spam, new user registrations are disabled. Please use 3rd party logins for logging in if you don't have an existing account."

Where would I find a 3rd party who would be willing to sign in for me?

Revision history for this message
buggycub (smusnmr) wrote :

Since "I ain't got no" third party yet, I quit and switched to Kubuntu 20.04.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for evince (Ubuntu) because there has been no activity for 60 days.]

Changed in evince (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.