[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RE: Re: Re: vic usability improvements



Hi, Wei Tsang Ooi:


>	Since Mash is a single threaded-app, I doubt that 
>	dual CPU or no semaphore is the cause of the problem
>	(unless I am missing something..).
>	
>	Do you know exactly where the access error occurred?
>	Is it due to a invalid renderer pointer?

In decoder.cpp:
In void Decoder::render_frame(const u_char* frm)

	for (Renderer* p = engines_; p != 0; p = p->next_)
		if ((p->ft() & FT_HW) == 0)
			p->consume(&f);

p will point to some invalid pointer, when adding TclDoOneEvent.
>
>	Thanks for reporting the problem!  I am sure we will
>	get to the bottom of this.
>
>
>	I agree that renderer may not be the best place to do this.
>	But I cannot think of any better place to poll Tcl UI event
>	queue.  Any ideas?

Maybe winsock message handler will be a good place.
>
>regards,
>Wei Tsang

= = = = = = = = = = = = = = = = = = = =

  Best Wishes to u.

==================================================
	Jin Tian(½ðÌì)
	PhD. Student
	Advance Network Technologies Group (Admire Group)
	http://www.nlsde.buaa.edu.cn/projects/admire/
	National Lab of Software Development Environment
	Beijing University of Aeronautics and Astronautics
	P.B.: 2-83# 37 Xueyuan Road  Beijing 100083  P.R.China
	E.B.: jintian@nlsde.buaa.edu.cn
	P.N.: (86)(10)82317603(O)
==================================================