linuxmint / linuxmint/xreader

Big PDF throw drawing failure for widget 'EvWindow': out of memory

Open
#245 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

BUG BUG REPRODUCED
Dominant language
C
Stars
283
Forks
82
PR merge metrics
No merged PRs in 30d

Description

 * Xreader version (xreader --version)
xreader 1.8.5
 * Distribution - (Mint 17.2, Arch, Fedora 25, etc...)
Mint 19
Intel Core i7 , 8GB RAM , 
# glxinfo | egrep -i 'device|memory'
    Device: Mesa DRI Intel(R) Haswell Mobile  (0xa16)
    Video memory: 1536MB
    Unified memory: yes

Issue
Search on big pdfs will eventually blank the pdf and buttons and throw

(xreader:18956): Gtk-WARNING **: 21:13:26.870: drawing failure for widget 'EvView': out of memory

(xreader:18956): Gtk-WARNING **: 21:13:26.870: drawing failure for widget 'GtkScrolledWindow': out of memory

(xreader:18956): Gtk-WARNING **: 21:13:26.870: drawing failure for widget 'GtkBox': out of memory

(xreader:18956): Gtk-WARNING **: 21:13:26.870: drawing failure for widget 'GtkPaned': out of memory

(xreader:18956): Gtk-WARNING **: 21:13:26.871: drawing failure for widget 'GtkBox': out of memory

(xreader:18956): Gtk-WARNING **: 21:13:26.871: drawing failure for widget 'EvWindow': out of memory

in the console.

Steps to reproduce
Download for example this PDF (https://access.redhat.com/documentation/en-us/openshift_container_platform/3.5/pdf/developer_guide/OpenShift_Container_Platform-3.5-Developer_Guide-en-US.pdf), open it and search for "oc volume". Try to iterate over the matches. The screen will get blank and the buttons on the app will disapear.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running xreader 1.8.5 with the linked OpenShift PDF and searching for "oc volume", then iterate through the matches while observing the console warnings. Trace the EvView and EvWindow drawing failure until the memory growth is understood; done means the PDF and application controls remain visible during repeated match navigation.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
desktop, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.