bug-gnustep
[Top][All Lists]
Advanced

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

[bug #25698] crash after accessing [NSPasteboard generalPasteboard]


From: Doug Simons
Subject: [bug #25698] crash after accessing [NSPasteboard generalPasteboard]
Date: Tue, 24 Feb 2009 22:31:04 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_4_11; en) AppleWebKit/525.27.1 (KHTML, like Gecko) Version/3.2.1 Safari/525.27.1

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

                 Summary: crash after accessing [NSPasteboard
generalPasteboard]
                 Project: GNUstep
            Submitted by: theeggcamefirst
            Submitted on: Tue 24 Feb 2009 10:31:02 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:

When I call [NSPasteboard generalPasteboard] I get back different instances
each time (or nearly every time). I believe this may be related to the fact
that I'm accessing the pasteboard from multiple threads. When I receive a new
instance, the previously returned instance is no longer valid, and sending a
message to it causes a crash (segmentation fault).

If necessary, I could consider rewriting parts of my application to try to
access the pasteboard only in the main thread, but I'd really rather not. It
works fine as it is in OS X.






    _______________________________________________________

Reply to this item at:

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

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





reply via email to

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