Comments (6)
what's the code inside test.abc ?
Original comment by zwetan
on 1 May 2011 at 7:29
from redtamarin.
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.
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.
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.
Hello !
The full project is attached !
Original comment by [email protected]
on 5 May 2011 at 7:59
Attachments:
from redtamarin.
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)
- implement C.sys.time
- implement C.sys.types
- implement C.sys.utsname
- implement C.sys.wait
- implement C.tar
- implement C.termios
- implement C.unistd
- implement C.utime
- AS3 flash.display.Sprite class HOT 1
- implement native class shell.RuntimeProfile HOT 1
- implement a basic flash.events.EventDispatcher HOT 1
- as3distro HOT 1
- redshell HOT 3
- FileSystem API HOT 1
- implement flash.filesystem classes HOT 4
- add LFS support to filesystem
- linux 64-bit compilation requires -Wno-error
- unicode path issue with isHidden under WIndows
- impl flash.crypto.generateRandomBytes HOT 1
- bug in recvall
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from redtamarin.