Nov 28, 2008 7:16 AM
Range Error 1506 when CLibInit.init()
-
Like (0)
Hi, I am getting still this problem. I am using the Shine MP3 Encoder library http://code.google.com/p/flash-kikko/
I am getting the same error, but right away, depending on the state on of the program. I am not initializing the CLibInit twice
of the library that's crashing.
In my project I use another library that is using Alchemy (standing wave 3) http://github.com/maxl0rd/standingwave3 It could be that the conflict occurs because of that. I am loading both of these SWC libraries as RSLs. All the rest of swc's that I use in my project (like Mate framework) are loaded as "merge into code". I couldn't figure out how to make just "External" linking work.
I'm not sure how to go about debugging this. Any suggestions ?
How can I trace (perhaps with printf()) what the C code is doing ? Where does standard error and output from Alchemy C source go ?
How can I send log from Alchemy C to Flash's trace() ?
Her's the error I'm getting:
RangeError: Error #1506: The specified range is invalid. at cmodule.shine::FSM_imalloc$/start() at cmodule.shine::FSM_pubrealloc/work() at Function/<anonymous>() at Function/<anonymous>() at fr.kikko.lab::ShineMP3Encoder/start()[/Users/kikko/work/tests/shineMP 3_alchemy/src/fr/kikko/lab/ShineMP3Encoder.as:41] at encoder/encodeClicked()[E:\dev2\playmytone\editor\src\encoder.mxml:12 3] at encoder/__encodeButton_click()[E:\dev2\playmytone\editor\src\encoder. mxml:170]
Thank you,
Boris Reitman
Dont init CLibInit twice. Insted use static value to hold it for reuse and refer to it. Worked for me.
Copyright © 2011 Adobe Systems Incorporated. All rights reserved.
Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy (updated 07-14-2009).