Compiling LittleCMS2, "Variable F_pow is not defined" at runtime.
I'm putting together a library for AS3 for decoding JPEGs with ICC-profiles, for this I use libjpeg and littlecms2. Libjpeg compiles and runs without problems, but with littlecms2 everything compiles, but I get runtime errors. First I got "Variable F_time is not defined", so I thought that time() simply wasn't implemented for some reason so I went in and removed that code since it wasn't necessary anyway, but now I get "Variable F_pow is not defined" instead, I know pow() works in my own library, but for some reason not in littlecms2. I tried adding "-lm" to LIBS in configure for littlecms2, but that didn't help either.
Anyone that could shed some light on what's going on?
Full error for completeness:
ReferenceError: Error #1065: Variable F_pow is not defined.
at global/sample.MurmurHash__3A__5C_flascc_5C_c5lib_5C_lcms2_2D_2_2E_4_5C_src_5C_cmsgamma_2E _o_3A_e3db6ace_2D_857d_2D_49af_2D_8fd8_2D_b59908881915::F_DefaultEvalParametricFn()
at global/sample.MurmurHash__3A__5C_flascc_5C_c5lib_5C_lcms2_2D_2_2E_4_5C_src_5C_cmsgamma_2E _o_3A_e3db6ace_2D_857d_2D_49af_2D_8fd8_2D_b59908881915::F_EvalSegmentedFn()
at global/sample.MurmurHash::F_cmsBuildSegmentedToneCurve()
at global/sample.MurmurHash::F_cmsBuildParametricToneCurve()
at global/sample.MurmurHash::F_cmsCreate_sRGBProfileTHR()
at global/sample.MurmurHash::F_cmsCreate_sRGBProfile()
at global/sample.MurmurHash::JpegTest()
at swcdemo/initCode()
I just figured out that this is due to me using that exports-flag, and I obviously didn't export those functions (math is dynamically linked for some reason). So yeah it compiles and runs now, but it is incredibly slow, decoding a 5000x4000 2MB progressive JPEG takes 1s, but somehow, "applying the color profile" using littlecms2 takes 9s which doesn't seem quite right to me (also given my testing with proper binaries). So I would assume this is simply due to the math library being dynamically linked and I assume the math calls then become expensive.
I fiddled around a bit trying to link it statically, but nothing seemed to help really.
Similar Messages
-
Variable png is not defined.
Hi,
I am migrating project from AS2. I have removed most of the
compiler and run time errors, but I have no clue about this error.
I can't track it.
ReferenceError: Error #1065: Variable png is not defined.
Any ideas what might be causing it?
Any replies would be greatly apriciated. ThanxI'm with kglad, there must be something somewhere. Are you
loading any images dynamically that would need a .png file
extension? How many different scripts do you have? Is it one long
one or is it spread out over a few classes? Did you create the
original code or are you modifying someone elses?
- B -
After upgrading the AIR SDK to 3.0 in Flash Professional CS5.5 I've found some problems.
First, the JSON class in the as3corelib.swc library now throws a couple of compile errors:
1061: Call to a possibly undefined method decode through a reference with static type Class.
1172: Definition com.adobe.serialization.json:JSON could not be found.
At first I was completely puzzled, since I had the proper "import com.adobe.serialization.json.JSON;" reference,
and I had the "as3corelib.swc" referenced in my ActionScript Properties, so how could that not be found?
Then, I found out that's because it conflicts with the new internal JSON class included with AIR 3.0
(maybe it should have been called something else, to avoid conflicts with Adobe's own as3corelib library).
The new native JSON class doesn't have the decode() method. Now it's called parse()
Ok, so I've tried using the new JSON class, but after changing decode() with parse() and removing
the "import com.adobe.serialization.json.JSON;" reference, Flash tells me that "Variable JSON is not defined".
Really? The JSON class is showing in the Flash Builder code completion popup,
complete with its all-new parse() and stringify() methods! So why does it say it's not defined?
Also, my SWF file gets compiled with no errors at all, so that verifies that the new 3.0 libraries are in place.
I only get the "JSON is not defined" error at runtime in ADL, not at compile time. Why?
In order to upgrade to the AIR 3.0 SDK, I've followed this guide:
http://kb2.adobe.com/cps/908/cpsid_90810.html
I know that's about upgrading to AIR 2.7, but I suppose the steps to upgrade to AIR 3.0 would be very similar,
only with the AIR3.0 SDK package, instead of 2.7.
I also took care to type version="13" in all the XMLs, instead of version="12" as stated in that guide, which is meant for 2.7.
Also, I followed this advice about adding -swf-version=13 in the Project Properties window in Flash Builder:
http://blogs.adobe.com/cantrell/archives/2011/08/how-to-use-the-air-3-beta-sdk.html
But that doesn't seem to make a difference, since, even though I use Flash Builder for code editing (which is usually used for Flex),
my project is a Flash Professional project, not a Flex one, and when testing the project, Flash Builder runs Flash Professional
to compile and then runs adl.exe (it's the same as if you click the option "Control / Test movie / in AIR Debug Launcher (Mobile)" inside Flash Pro).
In the "ActionScript Settings" window in Flash Professional, I also have the proper airglobal.swc referenced (from the AIR 3.0 SDK),
and the same airglobal.swc is referenced in Flash Builder as well (in "Referenced Libraries"), to get proper code completion.
I've tried all sorts of things to try to get it to work, but no luck. Still get the "JSON is not defined" error at runtime.
I'm starting to get desperate about this. I'm going to have to revert back to AIR 2.7.1, to stop wasting time on this issue.
BTW, I'm also having another unrelated problem (though maybe it happens because of the same reason as the other problem).
Now Flash Builder underlines the getTime() method in my code, as if it no longer were a method of a Date class instance.
I have a line where I ask for the timestamp like this:
ts = new Date().getTime();
That has worked perfectly fine up until now with AIR 3.0.
Now, when hovering the mouse cursor over the orange "(?)" icon that appears at the left, Flash Builder tells me
"Access of undefined property getTime". Why?
The AS3 documentation doesn't say anything about getTime() getting deprecated of anything of the sort:
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/Date.html
In fact, in the code completion popup that Flash Builder shows, now there isn't any mention
of get or set methods, as you can see here:
I suppose I can use the .time property instead of .getTime() but I don't know why I'm not getting all the methods I had available before.
Any ideas why all this is happenning? Specially the dreaded "JSON is not defined" error.Well, after much tinkering, I think I've finally found a way to finally make it work!.
I've created some modified XML files with the profiles needed for AIR 3.0 and after a lot of tries, it finally works!
I've uploaded them here: http://www.mediafire.com/?d5e761frl5px4
These are the steps needed to get AIR 3.0 running properly:
Put all three files into the folder "c:\Program Files (x86)\Adobe\Adobe Flash CS5.5\Common\Configuration\Players"
Then, make sure you've unzipped the AIR 3.0 SDK into the folder "c:\Program Files (x86)\Adobe\Adobe Flash CS5.5\AIR3.0" Do not overwrite the contents of the "AIR2.6" folder, as suggested by the "Overlay AIR SDK" article (linked in the above post). It gave me problems. It's best to use a different separate folder. My XML files point to that new "AIR3.0" folder.
Inside the folder "c:\Program Files (x86)\Adobe\Adobe Flash CS5.5\Common\Configuration\ActionScript 3.0" create a new folder named "AIR3.0". Inside that folder, copy the file "airglobal.swc" located at "c:\Program Files (x86)\Adobe\Adobe Flash CS5.5\AIR3.0\frameworks\libs\air".
Finally, you will have to keep the file "descriptor-sample.xml" in the "c:\Program Files (x86)\Adobe\Adobe Flash CS5.5\AIR2.6\samples" folder, but change the xmlns attribute to "http://ns.adobe.com/air/application/3.0"
Yes, you have to change that inside the AIR2.6 folder even if the SDK has been put into AIR3.0. That's because of how the publish settings work in Adobe Flash. It's hardcoded into a DLL, so that can't be changed. Not very intuitive.
I think AIR SDK installations should be a lot more straightforward than this! I know Adobe AIR is meant for developers, not for final users, but still, all these not very well documented upgrade procedures are a pain in the ***. I've wasted A LOT of hours in this (more than half a day), with what should have been a straightforward upgrade!
Adobe should make a SDK installer so we do not have to be tinkering with all these error-prone procedures each time a new update is released!
Well, I hope those XML files are useful to somebody and avoids further frustration.
Regards,
OMA2k
PD: BTW, I still have the .getTime() issue described in my above post, but it's not very important,
since I can still use the .time property. Still, it puzzles me why this is happening. -
A few days ago I decided to give Matrix3D a try, so I changed my publish setting to target flash player 10, and just to be safe, I hit the test movie magic combo (ctrl-enter) and got the dreaded Error #1065 all over the screen, so, ok, I thought I'll pass on Matrix3D for now, flipped the publish setting back to flash player 9 and I was a happy camper again.
Just now, publishing for flash player 9 fails with the same result. This happens _right after_ a successful build, I moved a few movie clips around on the stage, re-test, and got myself an Error #1065 wall of text in the output window.
Funny fact: this only happens with "test movie" (ctrl-enter). If I "debug" (ctrl-shift-enter) the movie, it compiles and runs just fine with no problem whatsoever.
All the class has been tested to work just before the incident.
Has anyone got this problem before?Just an update here:
I copied the entire library of my fla and put it in a fresh
fla file. My original fla has nothing on the main timeline so I
figured I'd just rebuild the thing.
So, upon compiling the first time in it's new fresh file, I
get this compiler error:
, Line 1: 5005: Unknown error optimizing byte code.
Good. No longer do my symbols cause Reference Errors, I
thought to myself. After pursuing this error on the forums, I
gathered I just need to restart the flash ide. I did so, and went
to rebuild the fresh fla...
One single line in the output window:
ReferenceError: Error #1065: Variable ComponentShim is not
defined.
After wiping the tears from my eyes, I've come to post here
again in hopes someone can help me.
Here is my directory structure and names of files:
/public_html/
/webdev/
/game/
/MarbleMaze2/
/Game.as
/marblemaze.fla
/Maze.as
/MazeConstants.as
/Boards.as
marblemaze.fla has no document class specified in the
Document Class field, just a few lines of actionscript that creates
a new Game() on frame 1. -
ReferenceError: Error #1065: Variable {ClassName} is not defined
Hi,
I am getting the following error for each of around 520
symbols in my library when I run my .fla file in Flash CS4:
ReferenceError: Error #1065: Variable {ClassName} is not
defined.
My .fla does not use a document class nor are any of my
classes using the same name. Any ideas on what the problem could
be?Just an update here:
I copied the entire library of my fla and put it in a fresh
fla file. My original fla has nothing on the main timeline so I
figured I'd just rebuild the thing.
So, upon compiling the first time in it's new fresh file, I
get this compiler error:
, Line 1: 5005: Unknown error optimizing byte code.
Good. No longer do my symbols cause Reference Errors, I
thought to myself. After pursuing this error on the forums, I
gathered I just need to restart the flash ide. I did so, and went
to rebuild the fresh fla...
One single line in the output window:
ReferenceError: Error #1065: Variable ComponentShim is not
defined.
After wiping the tears from my eyes, I've come to post here
again in hopes someone can help me.
Here is my directory structure and names of files:
/public_html/
/webdev/
/game/
/MarbleMaze2/
/Game.as
/marblemaze.fla
/Maze.as
/MazeConstants.as
/Boards.as
marblemaze.fla has no document class specified in the
Document Class field, just a few lines of actionscript that creates
a new Game() on frame 1. -
Hi,
We did deploying AccountDistribution composite to soa server hosted in our test environment but We could not succeed as the following error was thrown on compilation itself in Jdeveloper.
<snip>
Error(124): XML element "{http://xmlns.oracle.com/InvoiceSynchronization/AccountDistribution/AccountDistribution}userComments" of variable "UserComments" is not defined
<snip>
We have had 4 variables defined with element attribute in our AccountDistribution bpel
<variable name="UserComments" element="client:userComments"/>
and for every variable we are coming up with this error on composite deployment.
We have tried multiple workarounds like deleting SCA-INF of AccountDistribution that is auto generated by Jdeveloper etc but but no luck, we are still coming up with same error.
We back traced for the element's definition i.e userComments definition and we could find the definition in xsd stored in MDS as per configuration.
Please provide your advise on how to proceed further on this issue.
Thanks,
SatheeshHi Nicolas,
adf-config.xml is for all the composites present in the project, but we are getting this error in only 1 composite, our other composites are working fine without any error.
We tried creating a new variable with type element and getting same error.
Thanks
Satheesh -
Profiling Error (Variable ContextMenuClipboardItems is not defined) on Flash Player 10
Hi Team
When i start the profiler i get the below error
1.I am using FB 3.
and flash player 10.
Any pointers are highly appreciated.
ReferenceError: Error #1065: Variable ContextMenuClipboardItems is not
defined.
at flash.ui::ContextMenu/initLinkAndClipboardProperties()
at flash.ui::ContextMenu()
at
mx.core::Application/initContextMenu()[C:\autobuild\3.2.0\frameworks\pro\
jects\framework\src\mx\core\Application.as:1154]
at
mx.core::Application/initialize()[C:\autobuild\3.2.0\frameworks\projects\
\framework\src\mx\core\Application.as:844]
at
grip/initialize()[D:\eclipse\grip-app-client\grip\src\grip.mxml:0]
at
mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::c\
hildAdded()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\mana\
gers\SystemManager.as:2009]
at
mx.managers::SystemManager/initializeTopLevelWindow()[C:\autobuild\3.2.0\
\frameworks\projects\framework\src\mx\managers\SystemManager.as:3234]
at
mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::d\
ocFrameHandler()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\
\managers\SystemManager.as:3064]
at
mx.managers::SystemManager/docFrameListener()[C:\autobuild\3.2.0\framewo\
rks\projects\framework\src\mx\managers\SystemManager.as:2916]
Thanks
ilikeflexYou have to use FB4 to profile on FP10
Alex Harui
Flex SDK Developer
Adobe Systems Inc.
Blog: http://blogs.adobe.com/aharui -
Variable ByteArray is not defined in generated introspection file
I am getting this error, Variable ByteArray is not defined. This worked fine against Flex SDK 4.0 and is now throwing a runtime error once it is built against the 4.5 SDK. Is this related to updates to the introspection in Flash Builder?
Keith H.
ReferenceError: Error #1065: Variable ByteArray is not defined.
at global/flash.utils::getDefinitionByName()
at com.adobe.serializers.utility::TypeUtility$/assignProperty()[C:\depot \flex\ide_trunk\ide_builder\com.adobe.flexbuilder.dcrad\serializers\sr c\com\adobe\serializers\utility\TypeUtility.as:593]
at com.adobe.serializers.utility::TypeUtility$/convertToStrongType()[C:\ depot\flex\ide_trunk\ide_builder\com.adobe.flexbuilder.dcrad\serialize rs\src\com\adobe\serializers\utility\TypeUtility.as:562]
at com.adobe.serializers.utility::TypeUtility$/convertListToStrongType() [C:\depot\flex\ide_trunk\ide_builder\com.adobe.flexbuilder.dcrad\seria lizers\src\com\adobe\serializers\utility\TypeUtility.as:518]
at com.adobe.serializers.utility::TypeUtility$/assignProperty()[C:\depot \flex\ide_trunk\ide_builder\com.adobe.flexbuilder.dcrad\serializers\sr c\com\adobe\serializers\utility\TypeUtility.as:623]
at com.adobe.serializers.utility::TypeUtility$/convertToStrongType()[C:\ depot\flex\ide_trunk\ide_builder\com.adobe.flexbuilder.dcrad\serialize rs\src\com\adobe\serializers\utility\TypeUtility.as:562]
at com.adobe.serializers.utility::TypeUtility$/convertListToStrongType() [C:\depot\flex\ide_trunk\ide_builder\com.adobe.flexbuilder.dcrad\seria lizers\src\com\adobe\serializers\utility\TypeUtility.as:518]
at com.adobe.serializers.utility::TypeUtility$/assignProperty()[C:\depot \flex\ide_trunk\ide_builder\com.adobe.flexbuilder.dcrad\serializers\sr c\com\adobe\serializers\utility\TypeUtility.as:623]
at com.adobe.serializers.utility::TypeUtility$/convertToStrongType()[C:\ depot\flex\ide_trunk\ide_builder\com.adobe.flexbuilder.dcrad\serialize rs\src\com\adobe\serializers\utility\TypeUtility.as:562]
at com.adobe.serializers.utility::TypeUtility$/convertResultHandler()[C: \depot\flex\ide_trunk\ide_builder\com.adobe.flexbuilder.dcrad\serializ ers\src\com\adobe\serializers\utility\TypeUtility.as:436]
at mx.rpc.soap::Operation/http://www.adobe.com/2006/flex/mx/internal::processResult()[E:\dev\hero_private\frameworks\projects\rpc\src\mx\rpc\soap\Operati on.as:953]
at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::resultHandler()[E:\dev\hero_private\frameworks\projects\rpc\src\mx\rpc\AbstractInvo ker.as:313]
at mx.rpc::Responder/result()[E:\dev\hero_private\frameworks\projects\rp c\src\mx\rpc\Responder.as:56]
at mx.rpc::AsyncRequest/acknowledge()[E:\dev\hero_private\frameworks\pro jects\rpc\src\mx\rpc\AsyncRequest.as:84]
at DirectHTTPMessageResponder/completeHandler()[E:\dev\hero_private\fram eworks\projects\rpc\src\mx\messaging\channels\DirectHTTPChannel.as:451 ]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/onComplete()I am facing similar error. Please let me know the links where you find solution for this problem.
I have many files generated upon introspection of a web service which contains similar line as follows:
model_internal::propertyTypeMap["uid"] = "ByteArray";
ReferenceError: Error #1065: Variable ByteArray is not defined.
at global/flash.utils::getDefinitionByName()
at com.adobe.serializers.utility::TypeUtility$/assignProperty()[C:\depot\flex\ide_trunk\ide_ builder\com.adobe.flexbuilder.dcrad\serializers\src\com\adobe\serializers\utility\TypeUtil ity.as:593]
at com.adobe.serializers.utility::TypeUtility$/convertToStrongType()[C:\depot\flex\ide_trunk \ide_builder\com.adobe.flexbuilder.dcrad\serializers\src\com\adobe\serializers\utility\Typ eUtility.as:562]
at com.adobe.serializers.utility::TypeUtility$/convertResultHandler()[C:\depot\flex\ide_trun k\ide_builder\com.adobe.flexbuilder.dcrad\serializers\src\com\adobe\serializers\utility\Ty peUtility.as:436]
at mx.rpc.soap::Operation/http://www.adobe.com/2006/flex/mx/internal::processResult()[E:\dev\hero_private\frameworks \projects\rpc\src\mx\rpc\soap\Operation.as:953]
at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::resultHandler()[E:\dev\hero_private\frameworks \projects\rpc\src\mx\rpc\AbstractInvoker.as:313]
at mx.rpc::Responder/result()[E:\dev\hero_private\frameworks\projects\rpc\src\mx\rpc\Respond er.as:56]
at mx.rpc::AsyncRequest/acknowledge()[E:\dev\hero_private\frameworks\projects\rpc\src\mx\rpc \AsyncRequest.as:84]
at DirectHTTPMessageResponder/completeHandler()[E:\dev\hero_private\frameworks\projects\rpc\ src\mx\messaging\channels\DirectHTTPChannel.as:451]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/onComplete()
Thanks,
Deepa -
I've been using playerglobal.swc of flash player 11 and SDK 3.6.
ReferenceError: Error #1065: Variable JSON is not defined
can be solved by setting -swf-version to 13. (http://forums.adobe.com/message/3933620#3933620)
However, swf-version is not available in SDK 3.6.
Can native JSON be used?
Otherwise, can com.adobe.serialization.json.JSON be used without name conflict?
JSON (from ...\flex_sdk_3.6\frameworks\libs\player\11\playerglobal.swc(JSON))
com.adobe.serialization.json:JSON (from ...\as3corelib.swc(com/adobe/serialization/json/JSON))anyone know the answer to this?
how are we supposed to use the new player features with using the 3.x SDK? -
HELP! flash error code #1065 variable TCMText is not defined
Hi,
Im doing a project for uni and trying to create a search bar throughout the flash document for people to find what they are looking for.
Followed a tutorial online step by step and then i get this error. #1065 variable TCMText is not defined.
I'm really a beginner, any help would be so greatly appreciated!
stop();
var i:int = 0;
var names:Array = new Array("Annual Report","annual report");
var frames:Array = new Array("2","2");
text_in = "..."; /*what is wrong with you */
searchbutton.addEventListener(MouseEvent.CLICK, fl_MouseClickHandler);
function fl_MouseClickHandler(event:MouseEvent):void
findInArray(text_in.text);
gotoAndStop(frames[i]);
function findInArray(str:String):int
for(i = 0; i < names.length; i++)
if(names[i] == str)
return i;
return 0;
it says the issue is on line 7 where i have commented out "what is wrong with you"!
Ive read a lot of things online and i have got it as classic text, which everyone is telling them to do. So quite confused.
If you can, please help me.
Thanks!!!Sorry for a delay in reply.
Here is what the error says...
ReferenceError: Error #1065: Variable TCMText is not defined.
Scene 1, Layer 'Actions', Frame 1, Line 7
1067: Implicit coercion of a value of type String to an unrelated type flash.text:TextField.
If you could help in away that would be great cheers! -
Hi guys im tearing my hair out over this, sorry if its an extreme noob question but i know its quite a common problem and im sure someone on here must be able to help.
After debugging my project here is the error message -
ReferenceError: Error #1065: Variable tracker is not defined.
at CustomsConnect/buttonClick()[C:\Users\LiamT\Desktop\plz\CustomsConnect\CustomsConnect.as: 443]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at shell::Button/buttonClick()[C:\Users\LiamT\Desktop\plz\CustomsConnect\shell\Button.as:47]
Please let me know if you can point me in the right direction here - the problem has come about as I have inherited a .fla that has been set up on another machine. If you need me to post any of the code that its referring to above let me know.
Thanks in advance for any help that you can offer me.CustomsConnect is the designated document class. Tracker is relating to my google analytics tracker as far as I can see it is already defined and perhaps this line of code could be something to do with the problem
Line 77: private var tracker: GATracker;
Do you want me to post up the rest of the code?
thankyou so much Ned for taking the time out to help me with this.
Many thanks
Liam -
Hi! I'm stuck with debugging our AIR Application since it does crash very hard. After days of tracking down at least one point where the app crashes on AIR 3.5, 3.7 and AIR 3.8 beta (you see - I tried...).
AIR 3.5 finally reports this console output:
ScrollerTouch.onTargetMouseDown()-F true // A
ScrollerTouch.onTargetMouseDown()-I // B
targetV [object ScrollPane] // C
CRASH! // D
Exception fault: ReferenceError: Error #1065: Variable ::_fileSystemType is not defined.
at global/trace()[int:49]
at de.superclass.control::ScrollerTouch/onTargetMouseDown()[/path/to/.../ScrollerTouch.as:381]
at de.superclass.control::ScrollerTouch/onTargetMouseDown()
The code snipped:
trace("ScrollerTouch.onTargetMouseDown()-F", _scrollHorizontal ); // A
switch ( _scrollPolicyVertical )
case ScrollPolicy.ON:
trace("ScrollerTouch.onTargetMouseDown()-G");
_scrollVertical = true;
break;
case ScrollPolicy.OFF:
trace("ScrollerTouch.onTargetMouseDown()-H");
_scrollVertical = false;
break;
case ScrollPolicy.AUTO:
trace("ScrollerTouch.onTargetMouseDown()-I"); // B
default:
trace( "targetV", targetV ); // C
try
trace( "targetV.height", targetV.height );
catch( e: Error )
trace( "CRASH!" ); // D
_scrollVertical = Boolean( targetV.height < targetV.contentHeight ); // line 381
trace( "targetV.xxx" );
trace( "targetV.contentHeight", targetV.contentHeight );
return;
So accessing targetV.height somehow crashes very hard (app quits) but I have no clue at all. Actually, this code worked for a long time...
So please, what is ::_fileSystemType ?I changed the code again but the app keeps crashing. This is what XCode-Console says:
Jul 4 21:25:48 iRad-3 ReportCrash[1206] <Notice>: Formulating crash report for process APP_NAME[1191]
Jul 4 21:25:48 iRad-3 backboardd[26] <Warning>: BKSendGSEvent ERROR sending event type 3001: (ipc/send) invalid destination port (0x10000003)
Jul 4 21:25:48 iRad-3 backboardd[26] <Warning>: BKSendGSEvent ERROR sending event type 3001: (ipc/send) invalid destination port (0x10000003)
Jul 4 21:25:48 iRad-3 backboardd[26] <Warning>: BKSendGSEvent ERROR sending event type 3001: (ipc/send) invalid destination port (0x10000003)
Jul 4 21:25:48 iRad-3 ReportCrash[1206] <Error>: libMobileGestalt copySystemVersionDictionaryValue: Could not lookup ReleaseType from system version dictionary
Jul 4 21:25:48 iRad-3 com.apple.launchd[1] (UIKitApplication:APP_NAME_SPACE[0x469][1191]) <Warning>: (UIKitApplication:APP_NAME_SPACE[0x469]) Job appears to have crashed: Segmentation fault: 11
Jul 4 21:25:48 iRad-3 backboardd[26] <Warning>: Application 'UIKitApplication:APP_NAME_SPACE[0x469]' exited abnormally with signal 11: Segmentation fault: 11
Jul 4 21:25:48 iRad-3 ReportCrash[1206] <Notice>: Saved crashreport to /var/mobile/Library/Logs/CrashReporter/APP_NAME_2013-07-04-212547_iRad-3.plist using uid: 0 gid: 0, synthetic_euid: 501 egid: 0
Jul 4 21:25:55 iRad-3 kernel[0] <Debug>: launchd[1207] Builtin profile: container (sandbox)
Jul 4 21:25:55 iRad-3 kernel[0] <Debug>: launchd[1207] Container: /private/var/mobile/Applications/CDA04278-5D34-4609-BE71-D66FB16794C1 (sandbox)
Jul 4 21:25:56 iRad-3 kernel[0] <Debug>: launchd[1208] Builtin profile: PasteBoard (sandbox)
Jul 4 21:25:56 iRad-3 backboardd[26] <Warning>: CoreAnimation: updates deferred for too long
Jul 4 21:25:56 iRad-3 backboardd[26] <Warning>: CoreAnimation: timed out fence 2685b
And here's the Crash Log:
Jul 4 21:25:48 iRad-3 ReportCrash[1206] <Notice>: Formulating crash report for process APP_NAME[1191]
Jul 4 21:25:48 iRad-3 backboardd[26] <Warning>: BKSendGSEvent ERROR sending event type 3001: (ipc/send) invalid destination port (0x10000003)
Jul 4 21:25:48 iRad-3 backboardd[26] <Warning>: BKSendGSEvent ERROR sending event type 3001: (ipc/send) invalid destination port (0x10000003)
Jul 4 21:25:48 iRad-3 backboardd[26] <Warning>: BKSendGSEvent ERROR sending event type 3001: (ipc/send) invalid destination port (0x10000003)
Jul 4 21:25:48 iRad-3 ReportCrash[1206] <Error>: libMobileGestalt copySystemVersionDictionaryValue: Could not lookup ReleaseType from system version dictionary
Jul 4 21:25:48 iRad-3 com.apple.launchd[1] (UIKitApplication:APP_NAME_SPACE[0x469][1191]) <Warning>: (UIKitApplication:APP_NAME_SPACE[0x469]) Job appears to have crashed: Segmentation fault: 11
Jul 4 21:25:48 iRad-3 backboardd[26] <Warning>: Application 'UIKitApplication:APP_NAME_SPACE[0x469]' exited abnormally with signal 11: Segmentation fault: 11
Jul 4 21:25:48 iRad-3 ReportCrash[1206] <Notice>: Saved crashreport to /var/mobile/Library/Logs/CrashReporter/APP_NAME_2013-07-04-212547_iRad-3.plist using uid: 0 gid: 0, synthetic_euid: 501 egid: 0
Jul 4 21:25:55 iRad-3 kernel[0] <Debug>: launchd[1207] Builtin profile: container (sandbox)
Jul 4 21:25:55 iRad-3 kernel[0] <Debug>: launchd[1207] Container: /private/var/mobile/Applications/CDA04278-5D34-4609-BE71-D66FB16794C1 (sandbox)
Jul 4 21:25:56 iRad-3 kernel[0] <Debug>: launchd[1208] Builtin profile: PasteBoard (sandbox)
Jul 4 21:25:56 iRad-3 backboardd[26] <Warning>: CoreAnimation: updates deferred for too long
Jul 4 21:25:56 iRad-3 backboardd[26] <Warning>: CoreAnimation: timed out fence 2685b
And here's the Crash Log:
Incident Identifier: 17615510-16A5-43B9-B8A5-2ED2C5A2EEBA
CrashReporter Key: 3f85661334bfff23c2d4128bc63674d30647c15b
Hardware Model: iPad3,3
Process: APP_NAME [1191]
Path: /var/mobile/Applications/CDA04278-5D34-4609-BE71-D66FB16794C1/APP_NAME.app/APP_NAME
Identifier: APP_NAME
Version: ??? (???)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2013-07-04 21:25:47.935 +0200
OS Version: iOS 6.1.3 (10B329)
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x4095e008
Crashed Thread: 0
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 APP_NAME 0x008c71c8 0x1000 + 9200072
1 APP_NAME 0x005284ac 0x1000 + 5403820
2 APP_NAME 0x007b5edc 0x1000 + 8081116
3 APP_NAME 0x00002928 0x1000 + 6440
4 APP_NAME 0x0045f128 0x1000 + 4579624
5 APP_NAME 0x0045f5f8 0x1000 + 4580856
6 APP_NAME 0x0045eeb4 0x1000 + 4578996
7 APP_NAME 0x0045eab4 0x1000 + 4577972
8 APP_NAME 0x003d98d8 0x1000 + 4032728
9 APP_NAME 0x003c59c0 0x1000 + 3951040
10 APP_NAME 0x00443d24 0x1000 + 4468004
11 APP_NAME 0x009d5448 0x1000 + 10306632
12 APP_NAME 0x009d509c 0x1000 + 10305692
13 APP_NAME 0x009d4ad0 0x1000 + 10304208
14 APP_NAME 0x009d6618 0x1000 + 10311192
15 APP_NAME 0x00cf4d40 0x1000 + 13581632
16 APP_NAME 0x00a5f418 0x1000 + 10871832
17 APP_NAME 0x008d810c 0x1000 + 9269516
18 APP_NAME 0x009b45ac 0x1000 + 10171820
19 APP_NAME 0x009b5140 0x1000 + 10174784
20 UIKit 0x347ff51e -[UIWindow _sendTouchesForEvent:] + 314
21 UIKit 0x347ec7fc -[UIApplication sendEvent:] + 376
22 UIKit 0x347ec116 _UIApplicationHandleEvent + 6150
23 GraphicsServices 0x364e05a0 _PurpleEventCallback + 588
24 GraphicsServices 0x364e01ce PurpleEventCallback + 30
25 CoreFoundation 0x329b9170 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 32
26 CoreFoundation 0x329b9112 __CFRunLoopDoSource1 + 134
27 CoreFoundation 0x329b7f94 __CFRunLoopRun + 1380
28 CoreFoundation 0x3292aeb8 CFRunLoopRunSpecific + 352
29 CoreFoundation 0x3292ad44 CFRunLoopRunInMode + 100
30 GraphicsServices 0x364df2e6 GSEventRunModal + 70
31 UIKit 0x348402fc UIApplicationMain + 1116
32 APP_NAME 0x008f5c0c 0x1000 + 9391116
33 APP_NAME 0x00d2b0e0 0x1000 + 13803744
Thread 1 name: Dispatch queue: com.apple.libdispatch-manager
Thread 1:
0 libsystem_kernel.dylib 0x3ad76648 kevent64 + 24
1 libdispatch.dylib 0x3aca6974 _dispatch_mgr_invoke + 792
2 libdispatch.dylib 0x3aca6654 _dispatch_mgr_thread$VARIANT$mp + 32
Thread 2 name: WebThread
Thread 2:
0 libsystem_kernel.dylib 0x3ad75eb4 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x3ad76048 mach_msg + 36
2 CoreFoundation 0x329b9040 __CFRunLoopServiceMachPort + 124
3 CoreFoundation 0x329b7d9e __CFRunLoopRun + 878
4 CoreFoundation 0x3292aeb8 CFRunLoopRunSpecific + 352
5 CoreFoundation 0x3292ad44 CFRunLoopRunInMode + 100
6 WebCore 0x3891a500 RunWebThread(void*) + 440
7 libsystem_c.dylib 0x3acdf30e _pthread_start + 306
8 libsystem_c.dylib 0x3acdf1d4 thread_start + 4
Thread 3:
0 libsystem_kernel.dylib 0x3ad75eb4 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x3ad76048 mach_msg + 36
2 APP_NAME 0x00480b04 0x1000 + 4717316
3 libsystem_c.dylib 0x3acdf30e _pthread_start + 306
4 libsystem_c.dylib 0x3acdf1d4 thread_start + 4
Thread 4:
0 libsystem_kernel.dylib 0x3ad8608c __psynch_cvwait + 24
1 libsystem_c.dylib 0x3acd7d2a _pthread_cond_wait + 642
2 libsystem_c.dylib 0x3ace1f14 pthread_cond_wait + 36
3 APP_NAME 0x00a33ad4 0x1000 + 10693332
4 APP_NAME 0x0097d9e0 0x1000 + 9947616
5 APP_NAME 0x00a33938 0x1000 + 10692920
6 APP_NAME 0x00a3398c 0x1000 + 10693004
7 APP_NAME 0x00a336b8 0x1000 + 10692280
8 libsystem_c.dylib 0x3acdf30e _pthread_start + 306
9 libsystem_c.dylib 0x3acdf1d4 thread_start + 4
Thread 5:
0 libsystem_kernel.dylib 0x3ad8608c __psynch_cvwait + 24
1 libsystem_c.dylib 0x3acd7d2a _pthread_cond_wait + 642
2 libsystem_c.dylib 0x3ace1f14 pthread_cond_wait + 36
3 APP_NAME 0x00a33ad4 0x1000 + 10693332
4 APP_NAME 0x0097d9e0 0x1000 + 9947616
5 APP_NAME 0x00a33938 0x1000 + 10692920
6 APP_NAME 0x00a3398c 0x1000 + 10693004
7 APP_NAME 0x00a336b8 0x1000 + 10692280
8 libsystem_c.dylib 0x3acdf30e _pthread_start + 306
9 libsystem_c.dylib 0x3acdf1d4 thread_start + 4
Thread 6:
0 libsystem_kernel.dylib 0x3ad866a4 __semwait_signal + 24
1 libsystem_c.dylib 0x3ace43ce nanosleep + 138
2 APP_NAME 0x00a33724 0x1000 + 10692388
3 APP_NAME 0x00913638 0x1000 + 9512504
4 APP_NAME 0x009135d8 0x1000 + 9512408
5 APP_NAME 0x00a33938 0x1000 + 10692920
6 APP_NAME 0x00a3398c 0x1000 + 10693004
7 APP_NAME 0x00a336b8 0x1000 + 10692280
8 libsystem_c.dylib 0x3acdf30e _pthread_start + 306
9 libsystem_c.dylib 0x3acdf1d4 thread_start + 4
Thread 7:
0 libsystem_kernel.dylib 0x3ad8608c __psynch_cvwait + 24
1 libsystem_c.dylib 0x3acd7d2a _pthread_cond_wait + 642
2 libsystem_c.dylib 0x3acd7aa0 pthread_cond_timedwait + 40
3 APP_NAME 0x00a33b54 0x1000 + 10693460
4 APP_NAME 0x000a7254 0x1000 + 680532
5 APP_NAME 0x00a33938 0x1000 + 10692920
6 APP_NAME 0x00a3398c 0x1000 + 10693004
7 APP_NAME 0x00a336b8 0x1000 + 10692280
8 libsystem_c.dylib 0x3acdf30e _pthread_start + 306
9 libsystem_c.dylib 0x3acdf1d4 thread_start + 4
Thread 8:
0 libsystem_kernel.dylib 0x3ad866a4 __semwait_signal + 24
1 libsystem_c.dylib 0x3ace43ce nanosleep + 138
2 APP_NAME 0x00a33724 0x1000 + 10692388
3 APP_NAME 0x008caff0 0x1000 + 9215984
4 APP_NAME 0x008cae08 0x1000 + 9215496
5 APP_NAME 0x00a33938 0x1000 + 10692920
6 APP_NAME 0x00a3398c 0x1000 + 10693004
7 APP_NAME 0x00a336b8 0x1000 + 10692280
8 libsystem_c.dylib 0x3acdf30e _pthread_start + 306
9 libsystem_c.dylib 0x3acdf1d4 thread_start + 4
Thread 9 name: com.apple.NSURLConnectionLoader
Thread 9:
0 libsystem_kernel.dylib 0x3ad75eb4 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x3ad76048 mach_msg + 36
2 CoreFoundation 0x329b9040 __CFRunLoopServiceMachPort + 124
3 CoreFoundation 0x329b7d9e __CFRunLoopRun + 878
4 CoreFoundation 0x3292aeb8 CFRunLoopRunSpecific + 352
5 CoreFoundation 0x3292ad44 CFRunLoopRunInMode + 100
6 Foundation 0x332773d0 +[NSURLConnection(Loader) _resourceLoadLoop:] + 304
7 Foundation 0x332fae80 __NSThread__main__ + 968
8 libsystem_c.dylib 0x3acdf30e _pthread_start + 306
9 libsystem_c.dylib 0x3acdf1d4 thread_start + 4
Thread 10 name: com.apple.CFSocket.private
Thread 10:
0 libsystem_kernel.dylib 0x3ad86594 __select + 20
1 CoreFoundation 0x329bd1f2 __CFSocketManager + 674
2 libsystem_c.dylib 0x3acdf30e _pthread_start + 306
3 libsystem_c.dylib 0x3acdf1d4 thread_start + 4
Thread 11:
0 libsystem_kernel.dylib 0x3ad86d98 __workq_kernreturn + 8
1 libsystem_c.dylib 0x3acd4cf6 _pthread_workq_return + 14
2 libsystem_c.dylib 0x3acd4a12 _pthread_wqthread + 362
3 libsystem_c.dylib 0x3acd48a0 start_wqthread + 4
Thread 12:
0 libsystem_kernel.dylib 0x3ad8608c __psynch_cvwait + 24
1 libsystem_c.dylib 0x3acd7d68 _pthread_cond_wait + 704
2 libsystem_c.dylib 0x3aceb080 pthread_cond_timedwait_relative_np + 12
3 APP_NAME 0x00a7e558 0x1000 + 10999128
4 APP_NAME 0x00a7e200 0x1000 + 10998272
5 APP_NAME 0x00a7e0f8 0x1000 + 10998008
6 APP_NAME 0x00a33938 0x1000 + 10692920
7 APP_NAME 0x00a3398c 0x1000 + 10693004
8 APP_NAME 0x00a336b8 0x1000 + 10692280
9 libsystem_c.dylib 0x3acdf30e _pthread_start + 306
10 libsystem_c.dylib 0x3acdf1d4 thread_start + 4
Thread 13:
0 libsystem_kernel.dylib 0x3ad86d98 __workq_kernreturn + 8
1 libsystem_c.dylib 0x3acd4cf6 _pthread_workq_return + 14
2 libsystem_c.dylib 0x3acd4a12 _pthread_wqthread + 362
3 libsystem_c.dylib 0x3acd48a0 start_wqthread + 4
Thread 0 crashed with ARM Thread State (32-bit):
r0: 0x4095e000 r1: 0x2fdfdf58 r2: 0x0052844c r3: 0x2fdfdf1c
r4: 0x00000221 r5: 0x084d8060 r6: 0x2fdfdf14 r7: 0x2fdfdf88
r8: 0x2fdfdf20 r9: 0x000003fe r10: 0x4095e000 r11: 0x00000000
ip: 0x000002fc sp: 0x2fdfdf10 lr: 0x005284b0 pc: 0x008c71c8
cpsr: 0x20000010
This immediately occurs when I touch and move a little on a specific display object which listens to Mouse-Events DOWN, MOVE to drag it's contents. I think it has something to do with the event system or so. But I'm absolutely blind I guess.
What could I do? -
I have a flash label on a movie clip with its instance name called 'txtToomName'. This object has existed, been successfully instantiated and used for over a year without any modifications. All of a sudden, during the getClassByName() call, I start getting an errors.
The actual error is:
ReferenceError: Error #1065: Variable txtToonName is not defined.
at mcToonInformation_Design/__setTab_txtToonName_mcToonInformation_Design_Layer1_0()
There are other objects on the movieclip, defined as buttons, that were derived from an object in the library that didn't have its linkage set. This had worked fine up til now where I could define a common object without linkage, create copies of that object on a movie clip and assign an instance name to allow access.
Once I changed my buttons to be an instance of an object in the library with linkage properties assigned they didn't give me an error. The problem now is that it doesn't seem to like the Label object which is by default an instance of an object in the library that does have linkage properties set and yet still doesn't like it.
Anyone have any idea what the heck is going on? There hasn't been any library changes made or CS5 updates applied since 8/16/2010, the date on flash.exe.
I am using CS5 ver.11.0.2.489
Any advise/direction/assistance would be greatly appreciated as this is a show stopper and adds hours upon hours of adjustments to an application that has been running fine for a long time.
Message was edited by: whornak
In an attempt to get beyond the previously mentioned error, realizing that it references 'tab', I made the label inaccessible and now receive the following error:
ReferenceError: Error #1065: Variable txtToonName is not defined.
at mcToonInformation_Design/__setAcc_txtToonName_mcToonInformation_Design_Layer1_0()Upon attempted execution, after changing the setting you requested, the following is what I get.
ReferenceError: Error #1065: Variable lblCoinQty is not defined.
at mcToonInformation_Design/__setTab_lblCoinQty_mcToonInformation_Design_Layer1_0()[mcToonIn formation_Design::__setTab_lblCoinQty_mcToonInformation_Design_Layer1_0:1]
at mcToonInformation_Design()
at BPBGlobalFunctions$/getCasaMovieClipFromBulkLoader()[D:\Wayne\WizardBrewStudios\BackPackB uddys_Dev\BackPackBuddys_CS5_SFSX2\src\classes\BPBGlobalFunctions.as:167]
at com.bpb.ui::ToonInformationUI$/loadToonInformationUI()
at com.bpb::BackPackBuddys/onToonInformationLoadRequest()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at com.bpb.avatar::ExampleAvatar/onToonClick()
Cannot display source code at this location.
Another thing noticed is that the object that flash is having an issue making adjustments to is visible via the Variables window and has the tabindex property. -
Captivate 5 and preloader: Error #1065: Variable CPPreloader is not defined.
Hi,
If I add a preloader swf (any of those which ship with Captivate 5 - in \Gallery\Preloaders\AS3) - then when I publish the movie - the flash player throws an error:
ReferenceError: Error #1065: Variable CPPreloader is not defined.
Then (mostly) crashes the plugin (firefox) else carries on with the captivate movie.
If I remove the preloader - all is fine again. I've tried every preloader swf, pretty much every option I can think of in publish settings.
Windows 7 64, I've got Flash 10.2.153.1 (debug). It looks to me like an error in the code written by Captivate, but if that were the case, I'm sure I would find some mention of the problem or the var CPPreloader elsewhere!
Anyone else seen this? Know how to make it go away??
CheersAre you adding preloaders from these locations?:
C:\Program Files\Adobe\Adobe Captivate 5\en_GB\Gallery\Preloaders in 32bit systems
or
C:\Program Files (x86)\Adobe\Adobe Captivate 5\en_GB\Gallery\Preloaders in 64bit systems
You mention you're using the debug versiion of Flash Player. Have you tested the published output on a system that IS NOT using the debug Flash player, just a normal Flash Player version? -
ReferenceError: Error #1065: Variable onMediaComplete is not defined.
Does anyone know what the following means and how I can stop it constantly cropping up -
ReferenceError: Error #1065: Variable onMediaComplete is not defined.
at GoogleAnalytics/registerEvents()
at GoogleAnalytics/initialize()
at com.brightcove.api::CustomModule/onTemplateReady()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at com.brightcove.api.modules::ExperienceModule/wrapEvent()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at com.brightcove.player.api.modules::ExperienceAPI/onPlayerInstanceReady()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at com.brightcove.player::PlayerInstance/onContentLoad()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at com.brightcove.player.content::ContentManager/onContentLoad()
at com.brightcove.player.services::PersistentResponder/onResult()Good work!
You should first uninstall any previous version of Flash Player, using the uninstaller from here (make sure you use the correct one!):
http://kb2.adobe.com/cps/865/cpsid_86551.html#prob1=uninst,os=m10.6,
See in each Browser which version of Flash it thinks it has...
http://kb2.adobe.com/cps/155/tn_15507.html
Then Test Adobe Shockwave & Flash Players...
http://www.adobe.com/shockwave/welcome/
Maybe you are looking for
-
Ipod Erasing all Files on it's own
I've had my ipod for over a year now, and it was working fine, I had about 27GB worth of music, videos, and pictures on it and I was listening to it yesterday. I set it aside and came back to it a few hours later to find it empty of all music, videos
-
2007 Macbook Pro having CPU problems
My macbook pro has been acting weird recently. It's been running slower, and things have been happening like... When i watch Youtube videos sometimes, when i try to fullscreen the video, the computer takes a long time to do it sometimes and other tim
-
We created an app for kids using DPS but Apple rejected it for two reasons. The biggest one is the following: 24.3 We noticed you have designated your app as primarily intended for kids under the age of 13 but it includes links out of the app or enga
-
Installing 2 MDM Servers on 1 AIX system
Hi, Everyone. We installed second MDM Server on AIX system, where we have MDM server for developers. It's installed with the different user. But, when I'm trying to do "mds start", there is error message in nohup.out : bind() failed in ServerListenin
-
Generating fixed length DSA signatures
hello, i have this query. I am working on an application that generates a DSA signature on a string that is of 8bytes. i am using SHA1withDSA algorithm. My data string is always 8 bytes. However the signature length is always varying ,sometimes the s