[Ambulant-users] VC9/libambulant 2.2 error occurs when stop the current playing.

Cocia Lin lejiang at gmail.com
Mon Jul 5 15:21:21 CEST 2010


I also test the sample video list without smilText tag,with
ambulantplayer 2.2 release,the crash dump record the same as 2.2 beta:
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
 	libambulant_shwin32.dll!ambulant::gui::dx::video_player::get_size()
line89 + 0x3 byte	C++
 	libambulant_shwin32.dll!ambulant::gui::dx::dx_video_renderer::redraw(const
ambulant::lib::basic_rect<int,unsigned int> & dirty={...},
ambulant::common::gui_window * window=0x00eefaf0)  line224 + 0x23
byte	C++
 	libambulant_shwin32.dll!ambulant::common::surface_impl::redraw(const
ambulant::lib::basic_rect<int,unsigned int> & r={...},
ambulant::common::gui_window * window=0x00eefaf0)  line259	C++
 	libambulant_shwin32.dll!ambulant::gui::dx::dx_window::_need_redraw(const
ambulant::lib::basic_rect<int,unsigned int> & r={...})  line72	C++
 	libambulant_shwin32.dll!ambulant::gui::dx::dx_window::unlock_redraw()
 line112	C++
 	libambulant_shwin32.dll!ambulant::gui::dx::dx_player::unlock_redraw()
 line431 + 0x13 byte	C++
 	libambulant_shwin32.dll!ambulant::lib::event_processor_impl::_serve_events()
 line218	C++
 	libambulant_shwin32.dll!ambulant::lib::event_processor_impl::run()  line91	C++
 	libambulant_shwin32.dll!ambulant::lib::win32::thread::threadproc(void
* pParam=0x0126200c)  line118 + 0xd byte	C++
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Please help.

On Sat, May 29, 2010 at 9:41 PM, Lin Lejiang <lejiang at gmail.com> wrote:
> Hi,
>
> WinXP/libambulant_shwin32 2.2(lastest code in sf cvs)/VC9.
>
> I use the libambulant_shwin32 release with my application for playing smil .
>
> Some times,when I stop playing the smil,ambulant error occurs .
> Some times,it works no problem.
>
> See the code,like the m_rcsurf has wrong pointer.
>
> Any suggestion?
> If you want more detail,please let me know. Thanks.
>
>
> Detail such as bellow:
>
> Code:
> ambulant.gui.dx.video_player.get_size
>        lib::size get_size() const {
>                return lib::size(m_rcsurf.right, m_rcsurf.bottom);    //This Line.
>        }
>
> Error Stacktrace.
>>       libambulant_shwin32.dll!ambulant::gui::dx::video_player::get_size()  line 91 + 0x3 byte C++
>        libambulant_shwin32.dll!ambulant::gui::dx::dx_video_renderer::redraw(const
> ambulant::lib::basic_rect<int,unsigned int> & dirty={...},
> ambulant::common::gui_window * window=0x00c1f728)  line224 + 0x23
> byte    C++
>        libambulant_shwin32.dll!ambulant::common::surface_impl::redraw(const
> ambulant::lib::basic_rect<int,unsigned int> & r={...},
> ambulant::common::gui_window * window=0x00c1f728)  line260      C++
>        libambulant_shwin32.dll!ambulant::gui::dx::dx_window::_need_redraw(const
> ambulant::lib::basic_rect<int,unsigned int> & r={...})  line72  C++
>        libambulant_shwin32.dll!ambulant::gui::dx::dx_window::unlock_redraw()
>  line112        C++
>        libambulant_shwin32.dll!ambulant::gui::dx::dx_player::unlock_redraw()
>  line440 + 0x13 byte    C++
>        libambulant_shwin32.dll!ambulant::lib::event_processor_impl::_serve_events()
>  line218        C++
>        libambulant_shwin32.dll!ambulant::lib::event_processor_impl::run()  line91      C++
>        libambulant_shwin32.dll!ambulant::lib::win32::thread::threadproc(void
> * pParam=0x00fb0724)  line118 + 0xd byte        C++
>        kernel32.dll!7c80b729()
>
>
> --
> Cocia
>



-- 
Cocia Lin


More information about the Ambulant-users mailing list