bug-gnustep
[Top][All Lists]
Advanced

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

[bug #61727] Premature cleanup in NSPopUpButtonCell -dealloc crashes app


From: Sergei Golovin
Subject: [bug #61727] Premature cleanup in NSPopUpButtonCell -dealloc crashes application
Date: Sat, 25 Dec 2021 23:08:17 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0

Follow-up Comment #5, bug #61727 (project gnustep):

It is a "document-based" application. On start it opens an "untitled"
document of a default type. The default type is "XML TAMS Project" for
which the "myProject" is the NSDocumentClass. The only instance of the
"myProject" created from the Nib-file has been already broken when its
window is showed. So closing application/window leads to fault.

I didn't follow the source code deeply and can't say where an extra
release happens.


> A workaround in the app would be to retain self in myProject -init but
that's a memory leak and not really a bug fix.

Not a bad idea. The application is full of memory leaks anyway.



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?61727>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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