bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #49424] [NSMiniWindowView setImage] crashes with nil as image param


From: Benjamin Riefenstahl
Subject: [bug #49424] [NSMiniWindowView setImage] crashes with nil as image parameter
Date: Sun, 23 Oct 2016 19:09:57 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Firefox/45.0

URL:
  <http://savannah.gnu.org/bugs/?49424>

                 Summary: [NSMiniWindowView setImage] crashes with nil as
image parameter
                 Project: GNUstep
            Submitted by: cc_benny
            Submitted on: Sun 23 Oct 2016 07:09:55 PM GMT
                Category: Gui/AppKit
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Current GNUStep builds of Emacs sometimes crash when minimizing, because they
set the miniImage to nil.  According to comments in the Emacs code, nil is
supoosed to trigger some default handling on Mac OS X.  On GNUStep though,
[NSMiniWindowView setImage] calls [imgCopy size] in NSWindow.m line 578, which
crashes if imgCopy is nil.

Please advise if this is should rather be fixed/worked-around in Emacs.  Also,
if this is going to be fixed in GNUStep, can you think of some runtime-test
for this, so that Emacs does not have to disable that feature on GNUStep
generally, while the bug is out there in the OS distributions?




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?49424>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]