Bug#726530: Bug#780401: (gimp: crashes window manager (fvwm) on closing)
Olaf Dietrich (2015-03-19T15:35:40+0100): Olaf Dietrich (2015-03-18T09:45:07+0100): It seems to be 100% reproducible here; so, if you have any suggestions, I should be able to do some more testing to find out what's going wrong. I did some more testing and now I can reproduce the crash without any user-defined config file (i.e. without a .fvwm/config file on the system). And after some more testing, it is also reproducible within a clean VirtualBox installation of Debian testing. There, I found one more important condition to trigger the crash: Apparently, I must run dpkg-reconfigure locales and set the default locale to None! # dpkg-reconfigure locales -- choose e.g. only [*] en_US.UTF-8 UTF-8 -- set default locale to None -- restart fvwm (no crash without logout/restart) From here on, as before, i.e.: The important bit seems to be that gimp is started from a Unicode xterm (uxterm). In contrast to my earlier message, it is NOT relevant in which desktop (in the pager) gimp is started. * after login (on empty fvwm desk) open the left-mouse-button menu * go to: Debian Menu Applications Terminal Emulators XTerm (Unicode) * start gimp by typing gimp in the Unicode xterm * within gimp: File Open (now open e.g. existing tiff file) File Close View File Quit the last action triggers the fvwm crash If I set the default locale to en_US.UTF-8 (and restart fvwm), then I cannot trigger the crash. Any suggestions how to proceed? (And it seems to be fvwm-specific; I couldn't trigger the crash with e.g. xfce on the same (virtual) system.) Regards, Olaf -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#726530: Bug#780401: (gimp: crashes window manager (fvwm) on closing)
Olaf Dietrich (2015-03-18T09:45:07+0100): Vincent W. Chen (2015-03-18T02:02:44+0100): On Mon, Mar 16, 2015 at 2:03 AM, Olaf Dietrich olaf.dietr...@med.uni-muenchen.de wrote: I think I can trigger the crash reproducibly in my setup: [] I am unable to reproduce this on my end, following the instructions you've given. It seems to be 100% reproducible here; so, if you have any suggestions, I should be able to do some more testing to find out what's going wrong. I did some more testing and now I can reproduce the crash without any user-defined config file (i.e. without a .fvwm/config file on the system). The important bit seems to be that gimp is started from a Unicode xterm (uxterm). In contrast to my earlier message, it is NOT relevant in which desktop (in the pager) gimp is started. So, the following procedure triggers the crash (always) in a default-configuration fvwm: * after login (on empty fvwm desk) open the left-mouse-button menu * go to: Debian Menu Applications Terminal Emulators XTerm (Unicode) * start gimp by typing gimp in the Unicode xterm * within gimp: File Open (now open e.g. existing tiff file) File Close View File Quit the last action triggers the fvwm crash Attached below are some more information about the xterm package. Best regards Olaf Package: xterm Version: 312-2 File: /usr/bin/uxterm -- System Information: Debian Release: 8.0 APT prefers testing-updates APT policy: (500, 'testing-updates'), (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores) Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) Versions of packages xterm depends on: ii libc6 2.19-15 ii libfontconfig1 2.11.0-6.3 ii libice6 2:1.0.9-1+b1 ii libtinfo5 5.9+20140913-1+b1 ii libutempter01.1.5-4 ii libx11-62:1.6.2-3 ii libxaw7 2:1.0.12-2+b1 ii libxft2 2.3.2-1 ii libxmu6 2:1.1.2-1 ii libxpm4 1:3.5.11-1+b1 ii libxt6 1:1.1.4-1+b1 ii xbitmaps1.1.1-2 Versions of packages xterm recommends: ii x11-utils 7.7+2 Versions of packages xterm suggests: pn xfonts-cyrillic none -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#726530: Bug#780401: (gimp: crashes window manager (fvwm) on closing)
Thank you for your reply! Vincent W. Chen (2015-03-18T02:02:44+0100): On Mon, Mar 16, 2015 at 2:03 AM, Olaf Dietrich olaf.dietr...@med.uni-muenchen.de wrote: I think I can trigger the crash reproducibly in my setup: [] I am unable to reproduce this on my end, following the instructions you've given. It seems to be 100% reproducible here; so, if you have any suggestions, I should be able to do some more testing to find out what's going wrong. Probably not related are some persistent fvwm charset problems: [fvwm][convert_charsets]: WARNING - Invalid byte sequence during conversion from UTF-8 to ISO-8859-1 What language are you running Fvwm under (check by running 'locale')? $ locale LANG= LANGUAGE=en_US:en LC_CTYPE=POSIX LC_NUMERIC=POSIX LC_TIME=POSIX LC_COLLATE=POSIX LC_MONETARY=POSIX LC_MESSAGES=POSIX LC_PAPER=POSIX LC_NAME=POSIX LC_ADDRESS=POSIX LC_TELEPHONE=POSIX LC_MEASUREMENT=POSIX LC_IDENTIFICATION=POSIX LC_ALL= Some programs are started with modified environment variables (and I haven't tested recently which of these are really still necessary to get the desired behavior): LC_CTYPE=en_US.utf8 uxterm LANG=en_US.utf8 exec uxterm -e mutt LANG=en_US LC_PAPER=de_DE iceweasel LANG=en_US exec xterm -e octave LANG=de_DE.utf8 soffice LANG=en_US LC_PAPER=de_DE xpdf Do you have any UTF-8 locales on your system (check by running 'locale -a')? $ locale -a C C.UTF-8 POSIX de_DE de_DE.iso88591 de_DE.iso885915@euro de_DE.utf8 de_DE@euro deutsch en_US en_US.iso88591 en_US.iso885915 en_US.utf8 german As mentioned before (but not necessarily related), fvwm does not display handles for several dialog windows, e.g., in gimp (File Open) or xpdf. [...] Therefore try putting the following in your config file: Style * DecorateTransient Thanks - that's solving this issue! Olaf Some more config data Package: fvwm Version: 1:2.6.5.ds-3 .fvwm/config: EdgeResistance 400 Style * EdgeMoveDelay 400 Style * EdgeResizeDelay 400 Style * EdgeMoveResistance 200 100 Style * DecorateTransient OpaqueMoveSize 60 WindowFont Xft:Arial:style=Regular:size=10:encoding=utf8 DefaultFont Xft:Arial:style=Semibold:size=9:encoding=utf8 DeskTopSize 8x2 *FvwmPagerGeometry 1200x92+0-0@0 *FvwmPagerFont none *FvwmPagerSmallFont -*-*-*-r-*-*-8-*-*-*-*-*-iso10646-* *RightFvwmPagerGeometry 1200x92+0-0@1 *RightFvwmPagerFont none *RightFvwmPagerSmallFont -*-*-*-r-*-*-8-*-*-*-*-*-iso10646-* Style FvwmPager StaysPut, Sticky, NoTitle, WindowListSkip, Handles Module FvwmPager 0 0 Module FvwmPager RightFvwmPager 0 0 *FvwmBacker: Command (Desk *, Page 0 *) -solid #303030 Module FvwmBacker Style * SloppyFocus Style * MWMBorder, HandleWidth 5 Style xclock NoTitle, Sticky, WindowListSkip Style xloadNoTitle, Sticky, WindowListSkip -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#726530: Bug#780401: (gimp: crashes window manager (fvwm) on closing)
Hi, Thank you for your bug report. On Mon, Mar 16, 2015 at 2:03 AM, Olaf Dietrich olaf.dietr...@med.uni-muenchen.de wrote: It may well be that this bug is specific to fvwm, but here it is ONLY triggered by gimp. I think I can trigger the crash reproducibly in my setup: * I'm using a DesktopSize of 8x2 with two screens (Xinerama on is default). * To trigger the crash, gimp (apparently) must be run on a desktop pretty far to the right (i.e., not on the first desktop (0,0) of the 16 desktops). * So, on this dekstop (e.g. (7,1)), I open an xterm and then: - $ gimp - File Open (an existing tiff or png ... file) - File Close View - File Quit - fvwm crashes (On desktop (0,0): no crash; without File Close View action: no crash; ...) I am unable to reproduce this on my end, following the instructions you've given. Probably not related are some persistent fvwm charset problems: [fvwm][convert_charsets]: WARNING - Invalid byte sequence during conversion from UTF-8 to ISO-8859-1 What language are you running Fvwm under (check by running 'locale')? Do you have any UTF-8 locales on your system (check by running 'locale -a')? As mentioned before (but not necessarily related), fvwm does not display handles for several dialog windows, e.g., in gimp (File Open) or xpdf. From the Fvwm manpage: DecorateTransient causes transient windows, which are normally left undecorated, to be given the usual fvwm decorations (title bar, buttons, etc.). Note that some pop-up windows, such as the xterm menus, are not managed by the window manager and still do not receive decorations. Therefore try putting the following in your config file: Style * DecorateTransient Regards, Vincent Chen -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#726530: Bug#780401: (gimp: crashes window manager (fvwm) on closing)
It may well be that this bug is specific to fvwm, but here it is ONLY triggered by gimp. I think I can trigger the crash reproducibly in my setup: * I'm using a DesktopSize of 8x2 with two screens (Xinerama on is default). * To trigger the crash, gimp (apparently) must be run on a desktop pretty far to the right (i.e., not on the first desktop (0,0) of the 16 desktops). * So, on this dekstop (e.g. (7,1)), I open an xterm and then: - $ gimp - File Open (an existing tiff or png ... file) - File Close View - File Quit - fvwm crashes (On desktop (0,0): no crash; without File Close View action: no crash; ...) Some suspicious lines from .xsession-errors (collected from several different crashes, not every crash writes a message to .xession-errors:) are: *** Error in `x-window-manager': double free or corruption (out): 0x008569a0 *** *** Error in `x-window-manager': free(): invalid pointer: 0x01081ed0 *** *** Error in `x-window-manager': malloc(): memory corruption (fast): 0x0092f480 *** *** Error in `x-window-manager': malloc(): memory corruption (fast): 0x025b54e0 *** *** Error in `x-window-manager': munmap_chunk(): invalid pointer: 0x01ffe0d0 *** *** Error in `x-window-manager': malloc(): memory corruption (fast): 0x00dc8060 *** Following these errors are fatal errors of several open programs: XIO: fatal IO error 11 (Resource temporarily unavailable) on X server :0.0 after 78 requests (76 known processed) with 0 events remaining. XIO: fatal IO error 11 (Resource temporarily unavailable) on X server :0.0 after 133 requests (115 known processed) with 0 events remaining. XIO: fatal IO error 11 (Resource temporarily unavailable) on X server :0.0 after 261 requests (197 known processed) with 0 events remaining. XIO: fatal IO error 11 (Resource temporarily unavailable) on X server :0.0 after 83 requests (81 known processed) with 0 events remaining. xterm: fatal IO error 11 (Resource temporarily unavailable) or KillClient on X server :0.0 ... Probably not related are some persistent fvwm charset problems: [fvwm][convert_charsets]: WARNING - Invalid byte sequence during conversion from UTF-8 to ISO-8859-1 Rarely, errors are also written to syslog/kern.log when fvwm crashes: Mar 16 09:19:57 myname kernel: [146626.224888] x-window-manage[25095]: segfault at 7f7d23cf9570 ip 7f7d21bafb95 sp 7ffc7712d650 error 4 in libc-2.19.so[7f7d21b37000+19f000] Mar 16 09:23:57 myname kernel: [146866.749516] x-window-manage[25548]: segfault at 7f8211f86b30 ip 7f820f593b95 sp 7ffdcbdff6e0 error 4 in libc-2.19.so[7f820f51b000+19f000] As mentioned before (but not necessarily related), fvwm does not display handles for several dialog windows, e.g., in gimp (File Open) or xpdf. These crashes are really annoying; please let me know if I can help you to remove this bug. Olaf -- System Information: Debian Release: 8.0 APT prefers testing-updates APT policy: (500, 'testing-updates'), (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores) Locale: LANG=C, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) Versions of packages fvwm depends on: ii libc6 2.19-15 ii libcairo2 1.14.0-2.1 ii libfontconfig1 2.11.0-6.3 ii libfreetype62.5.2-3 ii libfribidi0 0.19.6-3 ii libgdk-pixbuf2.0-0 2.31.1-2+b1 ii libglib2.0-02.42.1-1 ii libice6 2:1.0.9-1+b1 ii libperl4-corelibs-perl 0.003-1 ii libpng12-0 1.2.50-2+b2 ii libreadline66.3-8+b3 ii librplay3 3.3.2-14 ii librsvg2-2 2.40.5-1 ii libsm6 2:1.2.2-1+b1 ii libstroke0 0.5.1-6.1 ii libtinfo5 5.9+20140913-1+b1 ii libx11-62:1.6.2-3 ii libxcursor1 1:1.1.14-1+b1 ii libxext62:1.3.3-1 ii libxft2 2.3.2-1 ii libxinerama12:1.1.3-1+b1 ii libxpm4 1:3.5.11-1+b1 ii libxrender1 1:0.9.8-1+b1 ii perl5.20.2-2 ii zlib1g 1:1.2.8.dfsg-2+b1 Versions of packages fvwm recommends: ii fvwm-icons20070101-2 ii libx11-protocol-perl 0.56-6 ii perl-tk 1:804.032-3+b3 Versions of packages fvwm suggests: ii cpp 4:4.9.2-2 pn fvwm-themes none pn m4 none ii menu 2.1.47 pn wm-icons none -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#780401: gimp: crashes window manager (fvwm) on closing
Package: gimp Version: 2.8.14-1+b1 Severity: critical Justification: causes serious data loss gimp crashes the window manager (fvwm) on closing (File Quit), i.e., all applications are aborted and the login screen appears. All currently open data are lost. The problems does not occur always, but very frequently; typically after editing an image, exporting the image (e.g. to jpg), closing the image (without saving in xcf format), and then closing gimp. Error message from kern.log/sys.log: Mar 13 11:23:46 sysname kernel: [123140.740473] x-window-manage[2373]: segfault at 7f76a7774ab0 ip 7f76a601ab95 sp 7fff06f883d0 error 4 in libc-2.19.so[7f76a5fa2000+19f000] (One more window manager peculiarity (I do not know if this is related to the wm crashes): gimp dialogs such as the FileOpen dialog appear without window handles, i.e., cannot be easily moved or resized.) Olaf -- System Information: Debian Release: 8.0 APT prefers testing-updates APT policy: (500, 'testing-updates'), (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) Versions of packages gimp depends on: ii gimp-data2.8.14-1 ii libaa1 1.4p5-43 ii libatk1.0-0 2.14.0-1 ii libbabl-0.1-00.1.10-2 ii libbz2-1.0 1.0.6-7+b2 ii libc62.19-15 ii libcairo21.14.0-2.1 ii libdbus-1-3 1.8.16-1 ii libdbus-glib-1-2 0.102-1 ii libexif120.6.21-2 ii libexpat12.1.0-6+b3 ii libfontconfig1 2.11.0-6.3 ii libfreetype6 2.5.2-3 ii libgdk-pixbuf2.0-0 2.31.1-2+b1 ii libgegl-0.2-00.2.0-7+b1 ii libgimp2.0 2.8.14-1+b1 ii libglib2.0-0 2.42.1-1 ii libgs9 9.06~dfsg-2 ii libgtk2.0-0 2.24.25-3 ii libgudev-1.0-0 215-12 ii libice6 2:1.0.9-1+b1 ii libjasper1 1.900.1-debian1-2.4 ii libjpeg62-turbo 1:1.3.1-11+deb7u1 ii liblcms2-2 2.6-3+b3 ii libmng1 1.0.10+dfsg-3.1+b3 ii libpango-1.0-0 1.36.8-3 ii libpangocairo-1.0-0 1.36.8-3 ii libpangoft2-1.0-01.36.8-3 ii libpng12-0 1.2.50-2+b2 ii libpoppler-glib8 0.26.5-2 ii librsvg2-2 2.40.5-1 ii libsm6 2:1.2.2-1+b1 ii libtiff5 4.0.3-12.1 ii libwmf0.2-7 0.2.8.4-10.3+b2 ii libx11-6 2:1.6.2-3 ii libxcursor1 1:1.1.14-1+b1 ii libxext6 2:1.3.3-1 ii libxfixes3 1:5.0.1-2+b2 ii libxmu6 2:1.1.2-1 ii libxpm4 1:3.5.11-1+b1 ii libxt6 1:1.1.4-1+b1 ii python-gtk2 2.24.0-4 ii python2.72.7.9-2 pn python:any none ii zlib1g 1:1.2.8.dfsg-2+b1 Versions of packages gimp recommends: ii ghostscript 9.06~dfsg-2 Versions of packages gimp suggests: pn gimp-data-extras none pn gimp-help-en | gimp-help none pn gvfs-backends none ii libasound21.0.28-1 -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org