[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Segfault when NSTextView is released
From: |
Lundberg, Johannes |
Subject: |
Re: Segfault when NSTextView is released |
Date: |
Thu, 13 Feb 2014 17:16:09 +0900 |
Nope I was wrong..
Using the designated initializer (with textContainer nil or set to created text container object) fixes the release bug but whenever I try to change a property I get crash. Stuck between rock and hard place...
#0 0x0000000800d9e191 in -[NSTextView setTextColor:] (self=<value optimized out>, _cmd=<value optimized out>, color=<value optimized out>) at NSTextView.m:2407
#1 0x000000000041d74f in -[PhotoViewController loadView] (self=0x81df558d0, _cmd=0x8011e7770) at PhotoViewController.m:81
#2 0x0000000800dc5122 in -[NSViewController view] (self=0x81df558d0, _cmd=<value optimized out>) at NSViewController.m:94
#3 0x000000000042b255 in -[AppDelegate applicationDidFinishLaunching:] (self=0x81b091510, _cmd=0x8010fe2a0, notification=0x81d1f1c50) at AppDelegate.m:171
#4 0x00000008015dec4c in -[NSNotificationCenter _postAndRelease:] (self=0x81b2b96b0, _cmd=<value optimized out>, notification=0x81d1f1c50) at NSNotificationCenter.m:1191
#5 0x0000000800c9884e in -[NSApplication _didFinishLaunching] (self=0x81b0a9490, _cmd=<value optimized out>) at NSApplication.m:1186
#6 0x0000000800c995ce in -[NSApplication run] (self=0x81b0a9490, _cmd=<value optimized out>) at NSApplication.m:1539
#7 0x0000000000426935 in main (argc=2, argv=0x7fffffffc798) at main.m:20
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
秘密保持について:この電子メールは、名宛人に送信したものであり、秘匿特権の対象となる情報を含んでいます。
もし、名宛人以外の方が受信された場合、このメールの破棄、およびこのメールに関する一切の開示、
複写、配布、その他の利用、または記載内容に基づくいかなる行動もされないようお願い申し上げます。
---
CONFIDENTIALITY NOTE: The information in this email is confidential
and intended solely for the addressee.
Disclosure, copying, distribution or any other action of use of this
email by person other than intended recipient, is prohibited.
If you are not the intended recipient and have received this email in
error, please destroy the original message.
- Segfault when NSTextView is released, Lundberg, Johannes, 2014/02/12
- Re: Segfault when NSTextView is released, Lundberg, Johannes, 2014/02/13
- Re: Segfault when NSTextView is released,
Lundberg, Johannes <=
- Re: Segfault when NSTextView is released, Fred Kiefer, 2014/02/13
- Re: Segfault when NSTextView is released, Lundberg, Johannes, 2014/02/13
- Re: Segfault when NSTextView is released, Lundberg, Johannes, 2014/02/13
- Re: Segfault when NSTextView is released, Fred Kiefer, 2014/02/14
- Re: Segfault when NSTextView is released, Sebastian Reitenbach, 2014/02/14
- Re: Segfault when NSTextView is released, Lundberg, Johannes, 2014/02/14
- Re: Segfault when NSTextView is released, David Chisnall, 2014/02/15
- Re: Segfault when NSTextView is released, Fred Kiefer, 2014/02/15
- Re: Segfault when NSTextView is released, Lundberg, Johannes, 2014/02/15
- Re: Segfault when NSTextView is released, Matt Rice, 2014/02/16