Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: debugging hangs



Title: Re: debugging hangs
If your application is hung, there are several ways to find out what's going on:

   1) From a Terminal window, get the pid of the process (from 'ps -ax') and then run:
            sample 'pid' 10 10
      This will write a file in /tmp with a trace of what the process was doing for the last
       10 seconds.  See 'man sample'.

   2) Use tools in /Developer/Applications/Performance Tools (eg, Sampler, Spin Control, Thread Viewer)

   3) Run gdb and attach to the process ('attach pid' - get its pid from ps or try attaching by
        exectuable name with tab-completion).  You can use 't a a bt' to get a stack trace of all the
        threads.

If you determine that your app is hung inside of QuickTime, and you've convinced yourself that your use of the QT APIs was valid, then file a bug with your sample code, media, and instructions on how to reproduce.

Daniel Steinberg
QuickTime Engineering


At 11:30 AM +0800 5/24/06, jasonlau wrote:
We're trying to export a MOV file to MP4 using the ConvertMovieToFile() API but it seems to hang unpredictably.
 
My colleague, Ashok posted this issue to QT API mailing list before Š sorry for repeating
 
Is there any suggestions on:
1, how to debug this API hanging issue ? what logs/info to collect or look at ?
2, any ideas why the API would hang ?
3, any alternative APIs to use (instead of ConvertMovieToFile()) ?
 
We're really blocked here Š would appreciate any help.
 
Thanks !
 
Regards,
            Jason Lau
 
Jason Lau
Accounts Delivery Manager (Program Management)

+65 6822 8689 tel
+65 6822 8693 fax

muvee Technologies Pte Ltd 
Instant Personal Video
- transform your video and pictures
into great-looking "muvees" in hundreds of styles...
                                                  completely automatically.
Visit us at
www.muvee.com                       
---------------------------------------------------------------------------
180 Bencoolen Street, #02-21, The Bencoolen, Singapore 189646
All information in this message should be treated as confidential
unless otherwise indicated
 
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-API mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-api/email@hidden

This email sent to email@hidden

References: 
 >(no subject) (From: "jasonlau" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.