Git Product home page Git Product logo

Comments (6)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 24, 2024
what's the code inside test.abc ?

Original comment by zwetan on 1 May 2011 at 7:29

from redtamarin.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 24, 2024
hello i recreate a project in flashdevelop;
and in programe.as I put this code :
// references (list all classes to compile)

// run
import avmplus.System; 
import avmplus.Domain;
import avmplus.FileSystem;
FileSystem.writeByteArray("test.abc", Domain.currentDomain.domainMemory); 
/////////////

And then i hav the same error

avmplus crash: exception 0xC0000005 occurred
Writing minidump crash log to avmplusCrash.dmp

Original comment by [email protected] on 1 May 2011 at 7:48

Attachments:

from redtamarin.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 24, 2024
So, after test :
I can say to thinks 
1 - Domain.currentDomain.domainMemory is null 
2 - call FileSystem.writeByteArray("test.abc",  
null/*Domain.currentDomain.domainMemor*/ ); give the crash
-------------------
import avmplus.System; 
import avmplus.Domain;
import avmplus.FileSystem;
 if (Domain.currentDomain.domainMemory == null) {
     trace("Domain.currentDomain.domainMemory is null");
 }
FileSystem.writeByteArray("test.abc",  Domain.currentDomain.domainMemory ); 

---------------------

Original comment by [email protected] on 1 May 2011 at 8:16

from redtamarin.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 24, 2024
I need also the "test.as" that generate the "test.abc"

and yeah trying to write a null ByteArray should crash
as writeByteArray() does not test for null

but I didn't do any test with Domain.currentDomain.domainMemory
maybe there is a problem there too

Original comment by zwetan on 5 May 2011 at 12:21

from redtamarin.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 24, 2024
Hello !
The full project is attached !

Original comment by [email protected] on 5 May 2011 at 7:59

Attachments:

from redtamarin.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 24, 2024
ok won't fix for redtamarin v0.3

2 reasons

- you can not directly write to the domain memory like you try to do
   check this article
   http://obtw.wordpress.com/2013/04/03/making-bytearray-faster/#more-150

- accessing the domain memory is supported only in the last tamarin-redux
  it will work when using redtamarin v0.4 , not with v0.3

Original comment by zwetan on 20 Nov 2013 at 5:11

  • Changed state: WontFix

from redtamarin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.