Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#12290 - gnome crashes when trying to open an EXE file

Attached to Project: Arch Linux
Opened by Lior David (liorda) - Sunday, 30 November 2008, 18:03 GMT
Last edited by Jan de Groot (JGC) - Sunday, 30 November 2008, 19:39 GMT
Task Type Bug Report
Category System
Status Closed
Assigned To Jan de Groot (JGC)
Architecture i686
Severity Critical
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

On my up-to-date arch gnome desktop, when double-clicking an .EXE file, it opens in file-roller.
File-roller then says it could not find unzip. when closing the unzip-error-msgbox, and then closing the file-roller window, X crashes.

Steps to reproduce:
1. download an exe file from the internet (I can reproduce this bug using the latest putty.exe)
2. firefox will save it to the desktop
3. double-click the newly downloaded exe
4. file-roller (the "Archive Manager" titled window) will complain it couldn't find unzip
5. close file-roller
6. X crashes and you'll need to relogin in the GDM screen
This task depends upon

Closed by  Jan de Groot (JGC)
Sunday, 30 November 2008, 19:39 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in 2.24.2-2.
Comment by Jan de Groot (JGC) - Sunday, 30 November 2008, 18:12 GMT
This is a bug in file-roller. When unzip couldn't execute, it sends a TERM signal to the pid that should have been unzip. The problem is that there's no such thing as an unzip process, and gnome-session receives the TERM signal instead. I guess this bug is present in older 2.24.x versions also.
Comment by Jan de Groot (JGC) - Sunday, 30 November 2008, 18:15 GMT Comment by Lior David (liorda) - Sunday, 30 November 2008, 18:35 GMT
BTW, why should exe files be assosiated with file-roller (and identified as zip archives)? the first bytes of EXE files are not similar to the first bytes of ZIP archives.
Comment by Jan de Groot (JGC) - Sunday, 30 November 2008, 19:32 GMT
Self-extracting ZIP files are executables too and file-roller can read those too. There's no easy way to distinguish between a normal EXE file and an SFX archive.
I'm building a patched file-roller that will only kill processes if their PID is not set to 0. When file-roller can't launch a process, the PID is set to the initial value of 0. Feeding this PID to kill, kill sends SIGTERM to every process in the same process group, which includes gnome-session and all your applications. When running file-roller from a terminal, the killing spree stops at your shell because it ignores SIGTERM.

Loading...