• 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: Hang during pkgExtractor
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hang during pkgExtractor


  • Subject: Re: Hang during pkgExtractor
  • From: Fosse <email@hidden>
  • Date: Thu, 21 May 2009 11:24:34 +0800

Following is sampling result of installer. Any comments would be much appreciated!!  


Sampling process 70131 for 3 seconds with 1 millisecond of run time between samples

Sampling completed, processing symbols...

Analysis of sampling installer (pid 70131) every 1 millisecond

Call graph:

    2170 Thread_2503

      2170 0x2646

        2170 0x7252

          2170 0x71be

            2170 -[NSRunLoop(NSRunLoop) run]

              2170 -[NSRunLoop(NSRunLoop) runMode:beforeDate:]

                2170 CFRunLoopRunInMode

                  2170 CFRunLoopRunSpecific

                    2170 mach_msg

                      2170 mach_msg_trap

                        2170 mach_msg_trap

    2170 Thread_2603

      2170 thread_start

        2170 _pthread_start

          2170 kevent

            2170 kevent

    2170 Thread_2703

      2170 thread_start

        2170 _pthread_start

          2170 __NSThread__main__

            2170 -[NSThread main]

              2170 +[IFDTargetController(WorkerThread) _handleTargetRequests]

                2170 -[NSConditionLock lockWhenCondition:]

                  2170 -[NSConditionLock lockWhenCondition:beforeDate:]

                    2170 -[NSCondition waitUntilDate:]

                      2170 pthread_cond_timedwait_relative_np

                        2170 _pthread_cond_wait

                          2170 semaphore_timedwait_signal_trap

                            2170 semaphore_timedwait_signal_trap

    2170 Thread_2803

      2170 thread_start

        2170 _pthread_start

          2170 kevent

            2170 kevent

    2170 Thread_2903

      2170 thread_start

        2170 _pthread_start

          2170 __NSThread__main__

            2170 -[NSThread main]

              2170 -[IFSession(Jobs) _runMetaQueueEngine]

                2170 -[IFInstallElement run]

                  2170 -[IFExtractionElement run]

                    2169 -[IFTaskElement run]

                      2164 -[NSRunLoop(NSRunLoop) runUntilDate:]

                        2161 -[NSRunLoop(NSRunLoop) runMode:beforeDate:]

                          2156 CFRunLoopRunInMode

                            2156 CFRunLoopRunSpecific

                              2125 mach_msg

                                2125 mach_msg_trap

                                  2125 mach_msg_trap

                              11 mach_port_insert_member

                                10 mach_msg

                                  10 mach_msg_trap

                                    10 mach_msg_trap

                                1 mach_port_insert_member

                              7 mach_port_extract_member

                                5 mach_msg

                                  4 mach_msg_trap

                                    4 mach_msg_trap

                                  1 mach_msg

                                1 mach_port_extract_member

                                1 mig_get_reply_port

                                  1 mig_get_reply_port

                              4 mk_timer_arm

                                4 mk_timer_arm

                              3 mk_timer_destroy

                                3 mk_timer_destroy

                              2 mk_timer_create

                                2 mk_timer_create

                              1 CFAllocatorDeallocate

                                1 CFAllocatorDeallocate

                              1 CFSetApplyFunction

                                1 CFSetApplyFunction

                              1 __bzero

                                1 __bzero

                              1 szone_free

                                1 szone_free

                          3 _CFRunLoopFinished

                            3 __CFRunLoopFindMode

                              3 CFSetGetValue

                                2 __CFSetFindBuckets1b

                                  1 CFEqual

                                    1 CFEqual

                                  1 CFHash

                                    1 CFHash

                                1 CFSetGetValue

                          1 NSPopAutoreleasePool

                            1 NSPopAutoreleasePool

                          1 _CFRunLoop0

                            1 CFDictionaryGetValue

                              1 __CFDictionaryFindBuckets1a

                                1 __CFDictionaryFindBuckets1a

                        3 CFDateGetAbsoluteTime

                          3 CFDateGetAbsoluteTime

                      1 -[NSDate initWithTimeIntervalSinceNow:]

                        1 -[NSDate initWithTimeIntervalSinceNow:]

                      1 CFRelease

                        1 CFRelease

                      1 OSAtomicCompareAndSwapIntBarrier

                        1 __compare_and_swap32

                          1 __compare_and_swap32

                      1 _CFRelease

                        1 szone_free

                          1 szone_free

                      1 objc_msgSend_fpret

                        1 objc_msgSend_fpret

                    1 objc_msgSend

                      1 objc_msgSend

    2170 Thread_2a03

      2170 thread_start

        2170 _pthread_start

          2170 __NSThread__main__

            2170 -[NSThread main]

              2170 -[IFDInstallController(Private) _install]

                2170 -[NSRunLoop(NSRunLoop) runUntilDate:]

                  2170 -[NSRunLoop(NSRunLoop) runMode:beforeDate:]

                    2170 CFRunLoopRunInMode

                      2170 CFRunLoopRunSpecific

                        2170 mach_msg

                          2170 mach_msg_trap

                            2170 mach_msg_trap


Total number in stack (recursive counted multiple, when >=5):

        5       _pthread_start

        5       mach_msg

        5       mach_msg_trap

        5       thread_start


Sort by top of stack, same collapsed (when >= 5):

        mach_msg_trap        6479

        kevent        4340

        semaphore_timedwait_signal_trap        2170

Sample analysis of process 70131 written to file /dev/stdout









On Thu, May 21, 2009 at 10:35 AM, Fosse <email@hidden> wrote:
Hi,

I call "installer" to install one .mpkg in my code, but I found that installer hangs when extract the install kit after extract and delete the receipt files. 

The install.log is like:

May 21 10:10:57 mac-pro-2 installer[55031]:  Creating destination path
May 21 10:10:57 mac-pro-2 installer[55031]:  Validating package payload
May 21 10:10:57 mac-pro-2 installer[55031]:  Starting file extraction

But when I call the command in the terminal or install by double clicking the .mpkg, the problem won't happen.

Do you know what possible reason is?

Thanks!!

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Hang during pkgExtractor (From: Fosse <email@hidden>)

  • Prev by Date: Hang during pkgExtractor
  • Next by Date: Re: about package maker
  • Previous by thread: Hang during pkgExtractor
  • Next by thread: Looking for beta testers
  • Index(es):
    • Date
    • Thread