FS#14031 - [emelfm2] 0.5.x crashes when deleting files as root

Attached to Project: Arch Linux
Opened by Douglas McFadzean (ninian) - Monday, 30 March 2009, 16:30 GMT
Last edited by Roman Kyrylych (Romashka) - Tuesday, 21 July 2009, 21:55 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Kevin Piche (kpiche)
Architecture i686
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

EmelFM2 0.5.1 and 0.5.0 crashes often when using the right-click context menu choice on several files as root: Actions/Delete

Output seen:

# v0.5.1: Executed from within emelFM2 running as user
>gksudo emelfm2 (16795)
Xlib: extension "Generic Event Extension" missing on display ":0.0".
Xlib: extension "Generic Event Extension" missing on display ":0.0".
Xlib: extension "Generic Event Extension" missing on display ":0.0".
Xlib: extension "Generic Event Extension" missing on display ":0.0".
Xlib: extension "Generic Event Extension" missing on display ":0.0".
Xlib: extension "Generic Event Extension" missing on display ":0.0".
The program 'emelfm2' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
(Details: serial 119157 error_code 3 request_code 10 minor_code 0)

# v0.5.0: Executed from console as root
# emelfm2
Xlib: extension "Generic Event Extension" missing on display ":0.0".
Xlib: extension "Generic Event Extension" missing on display ":0.0".
Xlib: extension "Generic Event Extension" missing on display ":0.0".
Xlib: extension "Generic Event Extension" missing on display ":0.0".
Xlib: extension "Generic Event Extension" missing on display ":0.0".
Xlib: extension "Generic Event Extension" missing on display ":0.0".
The program 'emelfm2' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
(Details: serial 25747 error_code 3 request_code 4 minor_code 0)


Additional info:
* package version(s): At least versions 0.5.0 and 0.5.1 (have also tried recompiling 0.5.1 myself, producing same problem)


Steps to reproduce:
As above, try and delete (directly - not to Trash) several files when running emelFM2 as root.
This task depends upon

Closed by  Roman Kyrylych (Romashka)
Tuesday, 21 July 2009, 21:55 GMT
Reason for closing:  None
Additional comments about closing:  No responses in +3 months. Please reopen if necessary.
Comment by Roman Kyrylych (Romashka) - Sunday, 31 May 2009, 13:28 GMT
FTR, GTK devs say that running GTK apps as root is _bad_ idea: http://www.gtk.org/setuid.html and it is _not_ supported.

Loading...