bugGnash - The GNU Flash player - Bugs: bug #20667, Attempt to copy-construct an...

 
 

bug #20667: Attempt to copy-construct an iterator from a singular iterator

Submitted by:  Sandro Santilli <strk>
Submitted on:  Thu 02 Aug 2007 10:45:07 PM UTC  
 
Category: ActionScriptSeverity: 6 - Security
Release: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Thu 02 Aug 2007 10:48:55 PM UTC, comment #2:

Backtrace:

(gdb) bt
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb758fdf0 in raise () from /lib/tls/i686/cmov/libc.so.6
#2 0xb7591641 in abort () from /lib/tls/i686/cmov/libc.so.6
#3 0xb7726bb1 in __gnu_debug::_Error_formatter::_M_error () from /usr/lib/libstdc++.so.6
#4 0x082a2cc8 in _Safe_iterator (this=0xbfd95e84, __x=@0xbfd96024) at /usr/include/c++/3.4/debug/formatter.h:312
#5 0x082a31e4 in as_value_multiprop (this=0xbfd95e40, _ctor_arg=@0xbfd95fe0) at /home/strk/src/gnash/gnash-head/server/array.cpp:996
#6 0x082979a4 in array_sortOn (fn=@0xbfd95fc0) at /home/strk/src/gnash/gnash-head/server/array.h:186

Sandro Santilli <strk>
Project Member
Thu 02 Aug 2007 10:46:27 PM UTC, comment #1:

Can be reproduced by adding -D_GLIBCXX_DEBUG to CXXFLAGS and running any of the array-v*.swf tests.

Sandro Santilli <strk>
Project Member
Thu 02 Aug 2007 10:45:07 PM UTC, original submission:

7647] 18:43:46: TRACE: PASSED: tostr(a) == "Zuse Z3,1941,false | ENIAC,1944,true | Colossus,1943,true" [/home/strk/src/gnash/gnash-head/testsuite/actionscript.all/array.as:696]
7647] 18:43:46: TRACE: sortOn multiple properties
/usr/include/c++/3.4/debug/safe_iterator.h:127:error: attempt to copy-
construct an iterator from a singular iterator.

Objects involved in the operation:
iterator "this" @ 0x0xbfefc844 {
type = N11__gnu_debug14_Safe_iteratorIN10__gnu_norm15_Deque_iteratorISsRKSsPS3_EEN15__gnu_debug_def5dequeISsSaISsEEEEE (constant iterator);
state = singular;
}
iterator "other" @ 0x0xbfefc9e4 {
type = N11__gnu_debug14_Safe_iteratorIN10__gnu_norm15_Deque_iteratorISsRKSsPS3_EEN15__gnu_debug_def5dequeISsSaISsEEEEE (constant iterator);
state = singular;
}
Aborted (core dumped)

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:
   

Attached Files
file #13572:  array_bugfix2.patch added by None (2KiB - text/x-patch - new patch that should apply cleanly)
file #13571:  array_bugfix.patch added by None (3KiB - text/x-patch - patch to fix this bug.)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -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 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 03 Aug 2007 06:04:23 PM UTCstrkStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Fri 03 Aug 2007 05:37:04 PM UTCNoneAttached File-=>Added array_bugfix2.patch, #13572
    Fri 03 Aug 2007 05:30:45 PM UTCNoneAttached File-=>Added array_bugfix.patch, #13571
    Thu 02 Aug 2007 10:49:46 PM UTCstrkCarbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1