Community Packages

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#49240 - [paxd] seamonkey segfaults

Attached to Project: Community Packages
Opened by Sijie Bu (butangmucat) - Friday, 06 May 2016, 21:41 GMT
Last edited by Daniel Micay (thestinger) - Monday, 12 December 2016, 05:30 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Daniel Micay (thestinger)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

Description: despite paxd had applied exceptions on seamonkey binary, it still segfaults.

(currently working in linux-zen, will post full log later)

Additional info:
* linux-grsec 4.5.2.201604290633-2
* seamonkey 2.40-1
* paxd 32-1
* firefox 46.0.1-1 seems to be fine
* tried both "em" and "pem" on seamonkey binary


Steps to reproduce:
* Install grsec packages according to ArchWiki
* Boot into grsec kernel
* Run seamonkey
This task depends upon

Closed by  Daniel Micay (thestinger)
Monday, 12 December 2016, 05:30 GMT
Reason for closing:  Upstream
Additional comments about closing:  These are going to be tracked upstream.
Comment by Sijie Bu (butangmucat) - Friday, 06 May 2016, 21:51 GMT
Terminal output for seamonkey:

$ seamonkey
out of memory
out of memory
[1] 1788 segmentation fault (core dumped) seamonkey

Other information
* TPE disabled
* PaX soft mode enabled

Attachment: one of the core dumps of seamonkey binary
Comment by Daniel Micay (thestinger) - Saturday, 07 May 2016, 03:31 GMT
Is there any relevant output in journalctl -k (or dmesg)?
Comment by Sijie Bu (butangmucat) - Saturday, 07 May 2016, 05:19 GMT
Found something, well it seems not only SeaMonkey is affacted, but also pacaur.

[ 123.036613] grsec: denied RWX mmap of <anonymous mapping> by /usr/bin/grep[grep:10017] uid/euid:1000/1000 gid/egid:100/100, parent /usr/bin/pacaur[pacaur:10013] uid/euid:1000/1000 gid/egid:100/100
[ 123.048680] grsec: denied RWX mmap of <anonymous mapping> by /usr/bin/grep[grep:10024] uid/euid:1000/1000 gid/egid:100/100, parent /usr/bin/pacaur[pacaur:10020] uid/euid:1000/1000 gid/egid:100/100
[ 168.101541] grsec: denied RWX mmap of <anonymous mapping> by /usr/lib/seamonkey-2.40/seamonkey[seamonkey:21406] uid/euid:1000/1000 gid/egid:100/100, parent /usr/bin/zsh[zsh:20236] uid/euid:1000/1000 gid/egid:100/100
Comment by Daniel Micay (thestinger) - Saturday, 07 May 2016, 06:03 GMT
Do you have a pem exception on /usr/lib/seamonkey-2.40/seamonkey?
Comment by Sijie Bu (butangmucat) - Saturday, 07 May 2016, 06:44 GMT
Thank you, problem solved. The default paxd.conf only comes with:
em /usr/lib/seamonkey/seamonkey
em /usr/lib/seamonkey/plugin-container

Change the paths to /usr/lib/seamonkey-2.40/ works like a charm. Probably I should go and update ArchWiki about this?

Loading...