[Top][All Lists]

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

Re: [Gnash-commit] gnash/server/vm ASHandlers.cpp ASHandlers.h

From: strk
Subject: Re: [Gnash-commit] gnash/server/vm ASHandlers.cpp ASHandlers.h
Date: Tue, 27 Nov 2007 17:32:58 +0100

On Mon, Aug 20, 2007 at 03:25:10AM +0000, Chad Musick wrote:
> CVSROOT:      /sources/gnash
> Module name:  gnash
> Changes by:   Chad Musick <cmusick>   07/08/20 03:25:10
> Modified files:
>       server/vm      : ASHandlers.cpp ASHandlers.h 
> Log message:
>       Adding the multibyte string operators.  This behavior currently has
>       no testcases. There may be a more efficient way to know rather than
>       discover encoding, but I have not found it. These operators are
>       deprected since SWF 5.
> CVSWeb URLs:

Found a testcase triggering this:

  /usr/include/c++/4.1.3/debug/vector:192:error: attempt to subscript
      container with out-of-bounds index 0, but container only holds 0
  Objects involved in the operation:
  sequence "this" @ 0x0xbf90cce8 {
    type = N15__gnu_debug_def6vectorIiSaIiEEE;
  Program received signal SIGABRT, Aborted.
  [Switching to Thread -1238735168 (LWP 25433)]
  0xffffe410 in __kernel_vsyscall ()
  (gdb) bt
  #0  0xffffe410 in __kernel_vsyscall ()
  #1  0xb7133875 in raise () from /lib/tls/i686/cmov/
  #2  0xb7135201 in abort () from /lib/tls/i686/cmov/
  #3  0xb72d09e6 in __gnu_debug::_Error_formatter::_M_error () from 
  #4  0xb7df8362 in gnash::SWF::SWFHandlers::GuessEncoding (address@hidden, 
address@hidden, address@hidden) at /usr/include/c++/4.1.3/debug/vector:192

You need a build with -D_GLIBCXX_DEBUG .

The testcase:

Go to the forset, pick the diamond, then go to the vulcan and you should get 
the abort.

The reason seems pretty clear, as the GuessEncoding function is accessing 
of the 'offsets' vector which is passed in as empty...


reply via email to

[Prev in Thread] Current Thread [Next in Thread]