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

Cocia Lin lejiang at gmail.com
Mon Jul 5 03:42:13 CEST 2010


I get the ambulant 2.2 release version and try test the same smil.
The problem is same as the 2.2 beta version.
I think it has not fixed yet.


On Wed, Jun 9, 2010 at 9:02 AM, Lin Lejiang <lejiang at gmail.com> wrote:
> Jack,
>
> I have report a new bug on sf.net for smiltext problem with smil files.
>
> How can I do for the problem of "dx player getsize"?
> Need I report a another bug on sf.net or let you evaluate first.
>
>
>
> On Wed, Jun 9, 2010 at 6:27 AM, Jack Jansen <Jack.Jansen at cwi.nl> wrote:
>> Cocia,
>> could you post a bug report for this one, please? Preferably with the document you used (or, if you can't share it, with an indication of especially the type of SMILtext you used). It looks like some sort of a refcounting problem with the smiltext renderer, but it would probably help if we knoew things like whether the smiltext used crawling/scrolling, etc.
>>
>> On 7 jun 2010, at 16:54, Lin Lejiang wrote:
>>
>>> Hi,
>>> I run the same test for starting and stopping repeatedly.Another crash
>>> error will occors sometimes.
>>>
>>> Any suggestions?
>>>
>>> The Stack Trace:
>>> msvcr90.dll!_invalid_parameter_noinfo()  Line125 + 0xc Byte   C++
>>> msvcr90.dll!_invalid_parameter_noinfo()  Line125 + 0xc Byte   C++
>>>       libambulant_shwin32.dll!std::_Vector_const_iterator<ambulant::smil2::smiltext_layout_word,std::allocator<ambulant::smil2::smiltext_layout_word>
>>>> ::operator+=(int _Off=0)  Line164    C++
>>>       libambulant_shwin32.dll!std::_Vector_iterator<ambulant::smil2::smiltext_layout_word,std::allocator<ambulant::smil2::smiltext_layout_word>
>>>> ::operator+=(int _Off=0)  Line376    C++
>>>       libambulant_shwin32.dll!std::_Vector_iterator<ambulant::smil2::smiltext_layout_word,std::allocator<ambulant::smil2::smiltext_layout_word>
>>>> ::operator+(int _Off=0)  Line382 + 0xc Byte  C++
>>>       libambulant_shwin32.dll!std::vector<ambulant::smil2::smiltext_layout_word,std::allocator<ambulant::smil2::smiltext_layout_word>
>>>> ::insert(std::_Vector_const_iterator<ambulant::smil2::smiltext_layout_word,std::allocator<ambulant::smil2::smiltext_layout_word>
>>>> _Where={m_run={...} m_leading_newlines=??? m_metrics={...} ...},
>>> const ambulant::smil2::smiltext_layout_word & _Val={...})  Line878 +
>>> 0x1b Byte     C++
>>>       libambulant_shwin32.dll!std::vector<ambulant::smil2::smiltext_layout_word,std::allocator<ambulant::smil2::smiltext_layout_word>
>>>> ::push_back(const ambulant::smil2::smiltext_layout_word & _Val={...})
>>> Line824       C++
>>>>      libambulant_shwin32.dll!ambulant::smil2::smiltext_layout_engine::smiltext_changed()  Line838    C++
>>>       libambulant_shwin32.dll!ambulant::gui::dx::dx_smiltext_renderer::smiltext_changed()
>>> Line177       C++
>>>       libambulant_shwin32.dll!ambulant::smil2::smiltext_engine::_update()
>>> Line392       C++
>>>       libambulant_shwin32.dll!ambulant::lib::no_arg_callback<ambulant::smil2::smiltext_engine>::fire()
>>> Line236       C++
>>>       libambulant_shwin32.dll!ambulant::lib::event_processor_impl::_serve_event(ambulant::lib::delta_timer
>>> & dt={...}, std::queue<ambulant::lib::event
>>> *,std::deque<ambulant::lib::event
>>> *,std::allocator<ambulant::lib::event *> > > * qp=[...](...,...))
>>> Line247       C++
>>>       libambulant_shwin32.dll!ambulant::lib::event_processor_impl::_serve_events()
>>> Line188 + 0x1c Byte   C++
>>>       libambulant_shwin32.dll!ambulant::lib::event_processor_impl::run()  Line91      C++
>>>       libambulant_shwin32.dll!ambulant::lib::win32::thread::threadproc(void
>>> * pParam=0x00fb8bb4)  Line118 + 0xd Byte      C++
>>>       kernel32.dll!7c80b729()         Asm
>>>
>>>
>>> On Sat, May 29, 2010 at 10:49 PM, Lin Lejiang <lejiang at gmail.com> wrote:
>>>> The dump file record:
>>>> The dx video_player is NULL,maybe had been destoried by the other
>>>> thread want to call the instance.
>>>>
>>>>
>>>> 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
>>>>
>>>
>>>
>>>
>>> --
>>> Cocia
>>> _______________________________________________
>>> Ambulant-users mailing list
>>> Ambulant-users at ambulantplayer.org
>>> http://www.ambulantplayer.org/mailman/listinfo/ambulant-users
>>
>> --
>> Jack Jansen, <Jack.Jansen at cwi.nl>, http://www.cwi.nl/~jack
>> If I can't dance I don't want to be part of your revolution -- Emma Goldman
>>
>>
>>
>>
>
>
>
> --
> Cocia
>



-- 
Cocia Lin


More information about the Ambulant-users mailing list