Re: Building Unix 3.9-8 Squeak VM On Intel Mac

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: Building Unix 3.9-8 Squeak VM On Intel Mac

Lukas Renggli
 
> Further:
> The trace sample from Activity Monitor below was taken  when
> Squeak3.9-8.app shows 100% cpu, trying to run with squeak-
> dev-beta-107.image. Can anyone shed some light on what is
> happening?

On my machine (Mac Intel) exactly the same happens with any stock
image and Squeak-3.9-8 VM from http://www.squeakvm.org/unix/.

Cheers,
Lukas

> 2007-04-16 10:40:53.063 sample[1457] thread_read_stack: stack appears to be in inconsistent state to trace.  Truncating stack.
> Analysis of sampling pid 1445 every 10.000000 milliseconds
> Call graph:
>     299 Thread_0f07
>       299 -[NSApplication run]
>         299 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
>           299 _DPSNextEvent
>             299 AEProcessAppleEvent
>               299 aeProcessAppleEvent
>                 299 dispatchEventAndSendReply(AEDesc const*, AEDesc*)
>                   299 aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned long, unsigned char*)
>                     299 _NSAppleEventManagerGenericHandler
>                       299 -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:]
>                         299 -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:]
>                           299 -[NSApplication(NSAppleEventHandling) _handleAEOpen:]
>                             299 -[NSApplication _sendFinishLaunchingNotification]
>                               299 -[NSApplication _postDidFinishNotification]
>                                 299 -[NSNotificationCenter postNotificationName:object:]
>                                   299 -[NSNotificationCenter postNotificationName:object:userInfo:]
>                                     299 _CFXNotificationPostNotification
>                                       299 __CFXNotificationPost
>                                         299 setUpWindow
>                                           299 -[SqueakView setFrame:]
>                                             299 -[SqueakView setFrame:]
>     299 Thread_1003
>       299 _pthread_body
>         299 PrivateMPEntryPoint
>           297 kevent
>             297 kevent
>           2 _sigtramp
>             2 _sigtramp
>     299 Thread_1103
>       299 _pthread_body
>         299 PrivateMPEntryPoint
>           299 TNodeSyncTask::SyncTaskProc(void*)
>             299 MPWaitOnQueue
>               299 semaphore_wait_signal_trap
>                 299 semaphore_wait_signal_trap
>     299 Thread_1203
>       299 _pthread_body
>         299 forkThreadForFunction
>           299 -[NSUIHeartBeat _heartBeatThread:]
>             297 syscall_thread_switch
>               297 syscall_thread_switch
>             2 -[NSUIHeartBeat _heartBeatThread:]
>
> Total number in stack (recursive counted multiple, when >=5):
>
> Sort by top of stack, same collapsed (when >= 5):
>         -[SqueakView setFrame:]        299
>         semaphore_wait_signal_trap        299
>         kevent        297
>         syscall_thread_switch        297
> Sample analysis of process 1445 written to file /dev/stdout
> Sampling process 1445 each 10 msecs 300 times
> -------------

--
Lukas Renggli
http://www.lukas-renggli.ch