bugGnash - The GNU Flash player - Bugs: bug #21442, attempt to dereference a...

 
 

bug #21442: attempt to dereference a past-the-end iterator

Submitted by:  Sandro Santilli <strk>
Submitted on:  Fri 26 Oct 2007 08:29:01 PM UTC  
 
Category: videoSeverity: 5 - Blocker
Release: NoneStatus: Fixed
Privacy: PublicAssigned to: Tomas Groth <tgc>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 27 Oct 2007 12:14:59 AM UTC, comment #3:

confirmed

Sandro Santilli <strk>
Project Member
Fri 26 Oct 2007 11:31:07 PM UTC, comment #2:

I've committed a fix, please test.

Tomas Groth <tgc>In charge of this item.
Fri 26 Oct 2007 09:11:53 PM UTC, comment #1:

Tested both GST and FFMPEG, same bogus behaviour.

Sandro Santilli <strk>
Project Member
Fri 26 Oct 2007 08:29:01 PM UTC, original submission:

Built with -D_GLIBCXX_DEBUG
running Video-EmbedSquareTestRunner:

/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/debug/safe_iterator.h:196:
error: attempt to dereference a past-the-end iterator.

Objects involved in the operation:
iterator "this" @ 0x0xbfcc87f0 {
type = N11__gnu_debug14_Safe_iteratorISt17_Rb_tree_iteratorISt4pairIKjN5boost10shared_ptrIN5gnash9VideoDataEEEEEN15__gnu_debug_def3mapIjS8_St4lessIjESaIS9_EEEE
E (mutable iterator);
state = past-the-end;
references sequence with type `N15__gnu_debug_def3mapIjN5boost10shared_ptrIN5gnash9VideoDataEEESt4lessIjESaISt4pairIKjS5_EEEE' @ 0x0xbfcc87f0
}
Aborted (core dumped)

Commit introducing this:

http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.4720&r2=1.4721
http://cvs.savannah.gnu.org/viewcvs/gnash/libmedia/FLVParser.h?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/libmedia/MediaParser.h?cvsroot=gnash&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/gnash/libmedia/VideoDecoder.h?cvsroot=gnash&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/gnash/libmedia/gst/VideoDecoderGst.cpp?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/libmedia/gst/VideoDecoderGst.h?cvsroot=gnash&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/gnash/libmedia/sdl/VideoDecoderFfmpeg.cpp?cvsroot=gnash&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/gnash/libmedia/sdl/VideoDecoderFfmpeg.h?cvsroot=gnash&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/gnash/server/video_stream_instance.cpp?cvsroot=gnash&r1=1.41&r2=1.42
http://cvs.savannah.gnu.org/viewcvs/gnash/server/parser/video_stream_def.cpp?cvsroot=gnash&r1=1.23&r2=1.24
http://cvs.savannah.gnu.org/viewcvs/gnash/server/parser/video_stream_def.h?cvsroot=gnash&r1=1.15&r2=1.16

Backtrace:

#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb779fdf0 in raise () from /lib/tls/i686/cmov/libc.so.6
#2 0xb77a1641 in abort () from /lib/tls/i686/cmov/libc.so.6
#3 0xb7936bb1 in __gnu_debug::_Error_formatter::_M_error () from /usr/lib/libstdc++.so.6
#4 0xb7e82235 in __gnu_debug::_Safe_iterator<std::_Rb_tree_iterator<std::pair<unsigned int const, boost::shared_ptr<gnash::VideoData> > >, __gnu_debug_def::ma
p<unsigned int, boost::shared_ptr<gnash::VideoData>, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, boost::shared_ptr<gnash::VideoData>

> > > >::operator-> (this=0xbf909bb0) at /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/debug/safe_iterator.h:194

#5 0xb7e7f524 in gnash::video_stream_definition::get_frame_data (this=0x813e4c8, frameNum=10)
at /home/strk/src/gnash/gnash-head/server/parser/video_stream_def.cpp:172
#6 0xb7c813d9 in gnash::video_stream_instance::display (this=0x821e188) at /home/strk/src/gnash/gnash-head/server/video_stream_instance.cpp:212

Sandro Santilli <strk>
Project Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by tgc (Posted a comment)
  • -unavailable- added by strk (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 27 Oct 2007 12:14:59 AM UTCstrkStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Fri 26 Oct 2007 11:31:07 PM UTCtgcStatusNone=>Ready For Test

    Back to the top


    Powered by Savane 3.1-cleanup1