• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Changing contentView of NSPanel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Changing contentView of NSPanel


  • Subject: Re: Changing contentView of NSPanel
  • From: Christian Schneider <email@hidden>
  • Date: Wed, 9 Mar 2005 10:23:05 +0100

Daniel,

thank you for your answer

On Wed, 9 Mar 2005 00:10:40 -0800, daniel <email@hidden> wrote:
> Have you tried replacing this line of code with a line of code that
> instantiates an NSView subclass that you aren't the author of?  If so,
> does it still crash?  If not, then you should probably be looking at,
> and if necessary, posting excerpts of your custom view's code, not the
> code that manages it.
>

I've just replaced my custom view with an NSBox and the same thing
happens: most subviews are missing and after loading a bundle the app
crashes though I am pretty sure that the crash is caused by the
bundle's accessing interface elements that aren't there than by its
loading.

> In either case, it will probably help if you at least post a few lines
> of your crash log so others who have had similar experience can chime
> in if something looks fishy.
>

see below.

Host Name:      Develook.local
Date/Time:      2005-03-09 10:15:08 +0100
OS Version:     10.3.8 (Build 7U16)
Report Version: 2

Command: Look
Path:    /Users/chris/Desktop/Projekte/clipmaster2000/CMClient/branches/bindings/build/Look.app/Contents/MacOS/Look
Version: ??? (1.0)
PID:     5729
Thread:  0

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_INVALID_ADDRESS (0x0001) at 0x64657243

Thread 0 Crashed:
0   libobjc.A.dylib                	0x908311f4 objc_msgSend + 0x14
1   GFFMovieController.ob          	0x017f10d4 -[GFFMovieController
resetInterface] + 0x4c (GFFMovieController.m:76)
2   GFFMovieController.ob          	0x017f175c -[GFFMovieController
removeMovie] + 0x44 (GFFMovieController.m:159)
3   GFFMovieController.ob          	0x017f2fb8 -[GFFMovieController
loadSession:] + 0xa4 (GFFMovieController.m:456)
4   ...gmbh.cm2000.GFFEditorBundle 	0x0178ade0
-[GFFLookEditorController show] + 0x218
(GFFLookEditorController.m:151)
5   GFFLookController.ob           	0x007bf714 -[GFFLookController
loadComponent:] + 0x170 (GFFLookController.m:345)
6   com.apple.AppKit               	0x92e78224 -[NSApplication
sendAction:to:from:] + 0x6c
7   com.apple.AppKit               	0x92eada44 -[NSMenu
performActionForItemAtIndex:] + 0x188
8   com.apple.AppKit               	0x92ef22e4 -[NSCarbonMenuImpl
performActionWithHighlightingForItemAtIndex:] + 0x68
9   com.apple.AppKit               	0x92ef8c14 -[NSMenu
performKeyEquivalent:] + 0x104
10  com.apple.AppKit               	0x92ed7ccc -[NSApplication
_handleKeyEquivalent:] + 0x124
11  com.apple.AppKit               	0x92df53dc -[NSApplication
sendEvent:] + 0xa5c
12  com.apple.AppKit               	0x92dfdc54 -[NSApplication run] + 0x240
13  com.apple.AppKit               	0x92eba2b8 NSApplicationMain + 0x1d0
14  main.ob                        	0x000a9f74 main + 0x38 (main.m:13)
15  net.gff-gmbh.look              	0x00001fe8 start + 0x1c8
16  dyld                           	0x8fe1a558 _dyld_start + 0x64

Thread 1:
0   libSystem.B.dylib              	0x90018be8
semaphore_timedwait_signal_trap + 0x8
1   libSystem.B.dylib              	0x9000e788 _pthread_cond_wait + 0x268
2   ...ple.CoreServices.CarbonCore 	0x902aa798 TSWaitOnSemaphoreCommon + 0xb0
3   ...ickTimeComponents.component 	0x8b0d1b20
ReadSchedulerThreadEntryPoint + 0x1b4
4   libSystem.B.dylib              	0x900246e8 _pthread_body + 0x28

Thread 2:
0   libSystem.B.dylib              	0x90018be8
semaphore_timedwait_signal_trap + 0x8
1   libSystem.B.dylib              	0x9000e788 _pthread_cond_wait + 0x268
2   ...ple.CoreServices.CarbonCore 	0x902aa798 TSWaitOnSemaphoreCommon + 0xb0
3   ...ple.CoreServices.CarbonCore 	0x902aa61c AsyncFileThread(void*) + 0x38
4   libSystem.B.dylib              	0x900246e8 _pthread_body + 0x28

PPC Thread State:
  srr0: 0x908311f4 srr1: 0x0000f030                vrsave: 0x00000000
    cr: 0x44002244  xer: 0x00000004   lr: 0x017f10d4  ctr: 0x908311e0
    r0: 0x017f10d4   r1: 0xbfffe920   r2: 0x017f5120   r3: 0x00362220
    r4: 0x908926d8   r5: 0x00000000   r6: 0x00000004   r7: 0x00000008
    r8: 0x0040362c   r9: 0x0035eed0  r10: 0x00401628  r11: 0x017f4010
   r12: 0x64657243  r13: 0x00000000  r14: 0x00000000  r15: 0x00000000
   r16: 0x00000000  r17: 0x00000000  r18: 0x00000000  r19: 0x00000000
   r20: 0x00000000  r21: 0x00000000  r22: 0x00000000  r23: 0x00000000
   r24: 0x007c08c8  r25: 0x003343a0  r26: 0x0039c080  r27: 0xa2df7764
   r28: 0x0035c180  r29: 0x003b4af0  r30: 0xbfffe920  r31: 0x017f1088
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Changing contentView of NSPanel (From: Christian Schneider <email@hidden>)
 >Re: Changing contentView of NSPanel (From: daniel <email@hidden>)

  • Prev by Date: Re: Changing contentView of NSPanel
  • Next by Date: Re: objective-c / cocoa efficiency
  • Previous by thread: Re: Changing contentView of NSPanel
  • Next by thread: FW: WebKit not there
  • Index(es):
    • Date
    • Thread