Yeah, tried that. Didn't see anything suspicious.
-----Original Message----- From: Joshua Hintze [mailto:[EMAIL PROTECTED] Sent: Thursday, January 31, 2008 12:40 PM To: Sam Hague (shague); [email protected] Subject: RE: Codec Engine hangs when tracing is enabled Have you tried setting the environment variable TRACEUTIL_VERBOSE=2, and then run your application and see if there is anything fishy before your application hangs? Josh -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sam Hague (shague) Sent: Thursday, January 31, 2008 9:45 AM To: [email protected] Subject: Codec Engine hangs when tracing is enabled Hi all, does anyone have insight into why the DSP/ARM would hang when the tracing collection thread is enabled? I have a codec engine algorithm developed by someone else. I have modified the decode demo to call this new algorithm after an h264 decode of a frame has been completed. The decodeCombo server has been modified to include this new algorithm Everything works fine if I do not call "TraceUtil_start(ENGINE_NAME)" to start the trace collection thread. In the decode.cfg file it does not matter what "TraceUtil.attrs = TraceUtil.SOCRATES_TRACING" is set to. Either SOCRATES_TRACING or FULL_TRACING. If "TraceUtil_start(ENGINE_NAME)" is called, then the decode demo app hangs when the VIDDEC_process(newAlg) all is made. The VIDDEC_process(h264) call works fine and then the decoded frame is passed into the VIDDEC_process(newAlg) call where it hangs. The VIDDEC_create(newAlg) also returns successfully. If "TraceUtil_start(ENGINE_NAME)" is not called then everything works fine. Also if the TraceUtil.attrs = TraceUtil.FULL_TRACING, the newAlg works fine and dumps the tracing messages to stdout. My thinking is there is probably something in the new algorithm that has not been implemented for supporting the trace collection. Or maybe some build option for the server. So, I am looking for ideas to poke the codec developer. Thanks, Sam _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
