| Summary: | graphics/gimp LibGimp-ERROR **: shmat() failed: Invalid argument | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Ludger Bolmerg <lbolmerg> |
| Component: | Individual Port(s) | Assignee: | freebsd-ports-bugs (Nobody) <ports-bugs> |
| Status: | Closed FIXED | ||
| Severity: | Affects Some People | CC: | burke, everytrash, gnome, kwm, rff1917, robroygregg, tobias, tobik |
| Priority: | --- | Keywords: | crash, needs-qa |
| Version: | Latest | ||
| Hardware: | amd64 | ||
| OS: | Any | ||
| See Also: |
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206097 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=53607 |
||
|
Description
Ludger Bolmerg
2015-11-30 17:03:26 UTC
More users with GIMP problems on https://forums.freebsd.org/threads/gimp-failing.54298/ and https://forums.freebsd.org/threads/shmat-failed-invalid-argument.54090/ Compiling Gimp from ports works for me @Ludger Can you try the following workaround, using the binary gimp package and confirm whether it prevents the plugin crash please: gimp --no-shm (In reply to Kubilay Kocak from comment #3) @Kubilay I can confirm that option --no-shm prevents the the plugin from crashing try: kern.ipc.shm_allow_removed=1 (In reply to everytrash from comment #5) setting kern.ipc.shm_allow_removed=1 works OK "sysctl kern.ipc.shm_allow_removed=1" fixed this same symptom for me on two all-package 10.2-RELEASE-p16 amd64 hosts, both with gimp-2.8.16,2. One host was a Fusion VM, and the other a ThinkPad X230. Thank you! I just had the same problem with gimp-app-2.8.18_1,1 on 10.3-RELEASE, when installing from pkg. kern.ipc.shm_allow_removed=1 solved it for me as well. A commit references this bug: Author: kwm Date: Tue May 23 19:36:57 UTC 2017 New revision: 441550 URL: https://svnweb.freebsd.org/changeset/ports/441550 Log: Update gimp to 2.8.22. (1) * Move libsoup to the helpbrowser dependancy (2) * Gimp plugins need kern.ipc.shm_allow_removed=1, which is default for 11.0-R and newer. Add pkg-message for 10.x (3) * Move desktop-file-utils so it only applies to the gimp-app port. PR: 219156 (based on)(1), 214751 (2), 204919 (3), 206097 (3) Submitted by: mi@ (1), Christian Heckendorf <heckendorfc@gmail.com> (2) Changes: head/graphics/gimp/Makefile head/graphics/gimp-app/Makefile head/graphics/gimp-app/distinfo head/graphics/gimp-app/pkg-message head/graphics/gimp-app/pkg-plist I added a pkg-message for 10.3, from 11.0-R kern.ipc.shm_allow_removed=1 is default on. Thanks for the people doing the research! |