Skip navigation
yoyoWeng
Currently Being Moderated

why are there some questions with my project when I user the swc file which is coverted from c/c++ by Alchemy?

Oct 15, 2009 2:58 AM

      Anybody can help me? I don't know why there  some questions with my flex projectwhen I user the swc file which is downloaded from the web,the swc file is uered to Compress jpg picture,when I compress one picture,there is no any question,but when I compress a lot of pictures ,the question is show,and the question is :

                        RangeError: Error #1506: 指定的范围无效。
                        at cmodule.jpegencoder::FSM_imalloc$/start()
                        at cmodule.jpegencoder::FSM_pubrealloc/work()
                        at cmodule.jpegencoder::CRunner/work()
                        at <anonymous>()
                        at flash.utils::Timer/_timerDispatch()
                        at flash.utils::Timer/tick()

      and I Reference the web :http://segfaultlabs.com/blog/post/alchemy-loading-large-jpeg-images/

 
Replies
  • Currently Being Moderated
    Oct 15, 2009 10:44 AM   in reply to yoyoWeng

    It looks like either you have exhausted the memory available to Flash, or the code you are using is somehow passing an invalid pointer to realloc().

     
    |
    Mark as:
  • Currently Being Moderated
    Oct 27, 2009 4:52 PM   in reply to yoyoWeng

    It is either a bug with your code or with the library, which may be aggravated by a bug in alchemy where it fails to report exhausted memory properly.  The library you are using is just a demonstration and may likely have bugs.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points