* A workaround against Emacs crash when displaying images @ 2019-03-07 0:20 Katsumi Yamaoka 2019-03-07 15:55 ` Ken Brown 0 siblings, 1 reply; 6+ messages in thread From: Katsumi Yamaoka @ 2019-03-07 0:20 UTC (permalink / raw) To: cygwin Hi, I found a workaround for Emacs from crashing that always happens when displaying images in an html article using Gnus. That is: export MAGICK_THREAD_LIMIT=1 According to the Google search someone said the crash arises due to a bug in ImageMagick incorporating OpenMP. I don't know what it means at all, though. ;-) Regards, uname -a CYGWIN_NT-10.0 localhost 3.0.2(0.338/5/3) 2019-03-05 18:57 x86_64 Cygwin -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: A workaround against Emacs crash when displaying images 2019-03-07 0:20 A workaround against Emacs crash when displaying images Katsumi Yamaoka @ 2019-03-07 15:55 ` Ken Brown 2019-03-07 23:36 ` Katsumi Yamaoka 0 siblings, 1 reply; 6+ messages in thread From: Ken Brown @ 2019-03-07 15:55 UTC (permalink / raw) To: cygwin [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain; charset="utf-8", Size: 958 bytes --] On 3/6/2019 7:20 PM, Katsumi Yamaoka wrote: > Hi, > > I found a workaround for Emacs from crashing that always happens > when displaying images in an html article using Gnus. That is: > > export MAGICK_THREAD_LIMIT=1 > > According to the Google search someone said the crash arises due > to a bug in ImageMagick incorporating OpenMP. I don't know what > it means at all, though. ;-) > > Regards, > > uname -a > CYGWIN_NT-10.0 localhost 3.0.2(0.338/5/3) 2019-03-05 18:57 x86_64 Cygwin Is this a new issue with cygwin-3.0.x? If so, it might be related to the memory leak that was recently discovered (and fixed in the latest snapshot): http://www.cygwin.org/ml/cygwin/2019-03/msg00122.html Ken \0ТÒÐÐ¥\a&ö&ÆVÒ\a&W\x06÷'G3¢\x02\x02\x02\x02\x02\x02\x06GG\x03¢òö7wvâæ6öÒ÷\a&ö&ÆV×2æFÖÀФd\x15\x13¢\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x06GG\x03¢òö7wvâæ6öÒöf\x17\x12ðФFö7VÖVçF\x17Föã¢\x02\x02\x02\x02\x02\x02\x02\x02\x06GG\x03¢òö7wvâæ6öÒöFö72æFÖÀÐ¥Vç7V'67&&R\x06æfó¢\x02\x02\x02\x02\x02\x06GG\x03¢òö7wvâæ6öÒöÖÂò7Vç7V'67&&R×6×\x06ÆPÐ Ð ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: A workaround against Emacs crash when displaying images 2019-03-07 15:55 ` Ken Brown @ 2019-03-07 23:36 ` Katsumi Yamaoka 2019-03-08 4:36 ` Katsumi Yamaoka 0 siblings, 1 reply; 6+ messages in thread From: Katsumi Yamaoka @ 2019-03-07 23:36 UTC (permalink / raw) To: cygwin On Thu, 07 Mar 2019 15:55:29 +0000, Ken Brown wrote: > On 3/6/2019 7:20 PM, Katsumi Yamaoka wrote: >> export MAGICK_THREAD_LIMIT=1 > Is this a new issue with cygwin-3.0.x? If so, it might be related > to the memory leak that was recently discovered (and fixed in the > latest snapshot): > http://www.cygwin.org/ml/cygwin/2019-03/msg00122.html I tried the 2019-03-06 snapshot and, oh!, I verified Emacs got not to crash for displaying images without such a spell. It seems Emacs revived as for me as it was before Cygwin 3. Thanks! -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: A workaround against Emacs crash when displaying images 2019-03-07 23:36 ` Katsumi Yamaoka @ 2019-03-08 4:36 ` Katsumi Yamaoka 2019-03-08 12:05 ` Corinna Vinschen 0 siblings, 1 reply; 6+ messages in thread From: Katsumi Yamaoka @ 2019-03-08 4:36 UTC (permalink / raw) To: cygwin On Fri, 08 Mar 2019 08:36:24 +0900, Katsumi Yamaoka wrote: > I tried the 2019-03-06 snapshot and, oh!, I verified Emacs got > not to crash for displaying images without such a spell. > It seems Emacs revived as for me as it was before Cygwin 3. I'm sorry that was a hasty conclusion. Emacs suddenly freezes when I am typing somthing even if it is simply a text that will never change frame or window configuration nor displaying image; happens with Cygwin's Emacs and the ones I built from git; neither C-g nor `kill -9' doesn't help; killing it using the Windows task manager is the only measure to stop it. As it makes me hard to work, I reverted the use of the snapshot to 3.0.2. Regards, -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: A workaround against Emacs crash when displaying images 2019-03-08 4:36 ` Katsumi Yamaoka @ 2019-03-08 12:05 ` Corinna Vinschen 2019-03-10 23:12 ` Katsumi Yamaoka 0 siblings, 1 reply; 6+ messages in thread From: Corinna Vinschen @ 2019-03-08 12:05 UTC (permalink / raw) To: Katsumi Yamaoka; +Cc: cygwin [-- Attachment #1: Type: text/plain, Size: 995 bytes --] On Mar 8 13:36, Katsumi Yamaoka wrote: > On Fri, 08 Mar 2019 08:36:24 +0900, Katsumi Yamaoka wrote: > > I tried the 2019-03-06 snapshot and, oh!, I verified Emacs got > > not to crash for displaying images without such a spell. > > It seems Emacs revived as for me as it was before Cygwin 3. > > I'm sorry that was a hasty conclusion. Emacs suddenly freezes when > I am typing somthing even if it is simply a text that will never > change frame or window configuration nor displaying image; happens > with Cygwin's Emacs and the ones I built from git; neither C-g nor > `kill -9' doesn't help; killing it using the Windows task manager > is the only measure to stop it. As it makes me hard to work, I > reverted the use of the snapshot to 3.0.2. I could reproduce the hang and found a potential deadlock situation. I pushed a fix and uploaded new developer snapshots to https://cygwin.com/snapshots/ Please test. Corinna -- Corinna Vinschen Cygwin Maintainer [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 833 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: A workaround against Emacs crash when displaying images 2019-03-08 12:05 ` Corinna Vinschen @ 2019-03-10 23:12 ` Katsumi Yamaoka 0 siblings, 0 replies; 6+ messages in thread From: Katsumi Yamaoka @ 2019-03-10 23:12 UTC (permalink / raw) To: cygwin On Fri, 08 Mar 2019 13:04:40 +0100, Corinna Vinschen wrote: > I could reproduce the hang and found a potential deadlock situation. > I pushed a fix and uploaded new developer snapshots to > https://cygwin.com/snapshots/ > Please test. All seems to work fine on 3.0.3. Thank you! -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2019-03-10 23:12 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2019-03-07 0:20 A workaround against Emacs crash when displaying images Katsumi Yamaoka 2019-03-07 15:55 ` Ken Brown 2019-03-07 23:36 ` Katsumi Yamaoka 2019-03-08 4:36 ` Katsumi Yamaoka 2019-03-08 12:05 ` Corinna Vinschen 2019-03-10 23:12 ` Katsumi Yamaoka
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).