bugranger - Bugs: bug #40265, ranger crashed while attempting to...

 
 

bug #40265: ranger crashed while attempting to view image

Submitted by:  None
Submitted on:  Mon 14 Oct 2013 02:25:23 PM UTC  
 
Severity: 3 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 29 Jan 2014 09:30:38 AM UTC, comment #1:

This is probably because of incorrectly set `W3MIMGDISPLAY_PATH' variable (for example, one refering to a non-existent path). Then `Popen' from img_display.py tries to setup a process from the non-existent file and fails, but the exception is intercepted and (mistakenly) ignored. Later reference to the process will cause the crash.

Attached is the patch.

(file #30408)

Casper Ti. Vector <caspervector>
Mon 14 Oct 2013 02:25:23 PM UTC, original submission:

ranger version: 1.6.1, executed with python 2.7.3
Locale: en_GB.UTF-8
Current file: /home/shit-twins/images/used wallpapers/goodfon 285959.jpg
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/ranger/core/main.py", line 133, in main
fm.loop()
File "/usr/local/lib/python2.7/dist-packages/ranger/core/fm.py", line 336, in loop
self.image_displayer.quit()
File "/usr/local/lib/python2.7/dist-packages/ranger/ext/img_display.py", line 109, in quit
self.process.kill()
AttributeError: 'ImageDisplayer' object has no attribute 'process'

ranger crashed. Please report this traceback at:
http://savannah.nongnu.org/bugs/?group=ranger&func=additem

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by caspervector (Updated the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 29 Jan 2014 09:30:38 AM UTCcaspervectorAttached File-=>Added ranger-9999-img_display-process.patch, #30408

    Back to the top


    Powered by Savane 3.1-cleanup1