[vlc-devel] Re: CVS Commit (massiot)

Derk-Jan Hartman d.hartman at student.utwente.nl
Tue Mar 4 02:01:45 CET 2003


Some observations.
- though this does indeed seem to be better considering lockups, it 
does not seem to adress the core issue.
- i now have stuttering sound quite quickly again when i do other 
things, not to mention the video. (a logical result)
- Almost all the threads have priority 16 now.
- an exception:
> #0  0x9003eaa8 in semaphore_wait_signal_trap ()
> #1  0x9003e8c4 in _pthread_cond_wait ()
> #2  0x90824180 in -[NSConditionLock lockWhenCondition:] ()
> #3  0x93081388 in -[NSUIHeartBeat _heartBeatThread:] ()
> #4  0x9081cd38 in forkThreadForFunction ()
> #5  0x90020d48 in _pthread_body ()
this tread has priority 46 as i believe it had before your 'fix' Might 
this be our culprit?

- another exception:
> #0  0x90073c48 in mach_msg_trap ()
> #1  0x90005f90 in mach_msg ()
> #2  0x90148b10 in __CFRunLoopRun ()
> #3  0x90180fe4 in CFRunLoopRunSpecific ()
> #4  0x94d9c1c0 in HALRunLoop::OwnThread(void*) ()
> #5  0x94d911b0 in CAPThread::Entry(CAPThread*) ()
> #6  0x90020d48 in _pthread_body ()
This thread has prio 63 (iTunes has this at 62)

- last exception:
> #0  0x90042688 in semaphore_timedwait_signal_trap ()
> #1  0x9003e8b4 in _pthread_cond_wait ()
> #2  0x94d83ac4 in CAGuard::WaitFor(unsigned long long) ()
> #3  0x94d832b0 in CAGuard::WaitUntil(unsigned long long) ()
> #4  0x94d822e0 in XThreadedDevice::IOThread() ()
> #5  0x94d95a24 in XThreadedDevice::IOThreadEntry(void*) ()
> #6  0x94d911b0 in CAPThread::Entry(CAPThread*) ()
> #7  0x90020d48 in _pthread_body ()
this thread has priority 96 (iTunes has this as well)

- something that occurred to me. what if this problem isn't related to 
priorities at all, but is rather due to a design flaw in our interface 
management code. something like the NSView doing the actual displaying 
of the video, being run in the same thread that listens to our Events 
??? Just thinking out loud here.

DJ

On dinsdag, maa 4, 2003, at 00:48 Europe/Amsterdam, cvs at videolan.org 
wrote:
> * Another desperate attempt at fixing OS X lock-ups.

------------------------------------------------------------------------
Videolan - VLC media player
------------------------------------------------------------------------
Derk-Jan 'The DJ' Hartman
Co-Developer of the MacOS X port of vlc
Mail: mailto:thedj at users.sourceforge.net
WWW: http://home.student.utwente.nl/d.hartman/
Goto: http://www.videolan.org/vlc

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc-devel mailing list