Compiling to flash gives me a stack overflow error



  • This is the trace with -verbose:

    Running process: C:\Program Files (x86)\HaxeDevelop\Tools\fdbuild\fdbuild.exe "D:\Trabajos\Tembac\Bichomon\bichomonGit\bichomon.hxproj" -ipc d2fe045d-17cf-4a1a-99f4-a7de563acd5a -version "3.4.0" -compiler "C:\HaxeToolkit\haxe" -library "C:\Program Files (x86)\HaxeDevelop\Library" -target "flash -verbose"
    Building bichomon
    Running Pre-Build Command Line...
    cmd: "C:\HaxeToolkit\haxe/haxelib" run lime build "Project.xml" flash -verbose -debug -Dfdb


    /_ \ __
    //\ \ /_\ ___ ___ __
    \ \ \ /\ \ /' __\ /'`\
    _\ _\ \ /\ /\ /\ /\ /
    /_
    \ _\ _\ _\ _\ _
    /
    / /////////____/

    Lime Command-Line Tools (2.9.1)

    Initializing project...
    Using project file: Project.xml
    Reading HXCPP config: C:\Users\Tembac.hxcpp_config.xml
    Using target platform: FLASH

    Running command: UPDATE

    • Embedding asset: (TEXT) assets/data/data-goes-here.txt
    • Embedding asset: (IMAGE) assets/images/bichitos/Alas (1).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Alas (2).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Alas (3).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Alas (4).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Alas (5).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Alas (6).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Alas (7).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Alas (8).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Alas (9).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Boca (1).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Boca (10).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Boca (2).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Boca (3).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Boca (4).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Boca (5).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Boca (6).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Boca (7).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Boca (8).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Boca (9).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Brazos (1).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Brazos (10).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Brazos (2).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Brazos (3).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Brazos (4).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Brazos (5).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Brazos (6).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Brazos (7).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Brazos (8).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Brazos (9).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Cola (1).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Cola (10).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Cola (2).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Cola (3).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Cola (4).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Cola (5).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Cola (6).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Cola (7).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Cola (8).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Cola (9).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Cuernos (1).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Cuernos (10).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Cuernos (2).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Cuernos (3).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Cuernos (4).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Cuernos (5).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Cuernos (6).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Cuernos (7).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Cuernos (8).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Cuernos (9).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Cuerpo (1).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Cuerpo (10).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Cuerpo (2).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Cuerpo (3).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Cuerpo (4).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Cuerpo (5).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Cuerpo (6).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Cuerpo (7).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Cuerpo (8).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Cuerpo (9).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Ojos (1).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Ojos (10).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Ojos (2).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Ojos (3).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Ojos (4).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Ojos (5).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Ojos (6).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Ojos (7).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Ojos (8).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Ojos (9).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Pies (1).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Pies (10).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Pies (2).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Pies (3).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Pies (4).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Pies (5).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Pies (6).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Pies (7).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Pies (8).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Pies (9).png
    • Embedding asset: (TEXT) assets/images/bichitos/_Bichos.xml
    • Embedding asset: (TEXT) assets/images/bichitos/_createBichoList.vbs
    • Embedding asset: (TEXT) assets/images/images-go-here.txt
    • Embedding asset: (IMAGE) assets/images/interfaces/Boton Back.png
    • Embedding asset: (IMAGE) assets/images/interfaces/Boton Breed.png
    • Embedding asset: (IMAGE) assets/images/interfaces/Boton Code.png
    • Embedding asset: (IMAGE) assets/images/interfaces/Boton DER.png
    • Embedding asset: (IMAGE) assets/images/interfaces/Boton IZQ.png
    • Embedding asset: (IMAGE) assets/images/interfaces/Fondo (1).png
    • Embedding asset: (IMAGE) assets/images/interfaces/Fondo (2).png
    • Embedding asset: (IMAGE) assets/images/interfaces/Fondo (3).png
    • Embedding asset: (IMAGE) assets/images/interfaces/Fondo (4).png
    • Embedding asset: (IMAGE) assets/images/interfaces/Fondo (5).png
    • Embedding asset: (IMAGE) assets/images/interfaces/Fondo (6).png
    • Embedding asset: (IMAGE) assets/images/interfaces/Fondo (7).png
    • Embedding asset: (IMAGE) assets/images/interfaces/Huevo.png
    • Embedding asset: (IMAGE) assets/images/interfaces/Interfaz Bicho.png
    • Embedding asset: (IMAGE) assets/images/interfaces/Interfaz Breedeo.png
    • Embedding asset: (TEXT) assets/music/music-goes-here.txt
    • Embedding asset: (SOUND) assets/music/music.ogg
      Warning: Skipping unsupported OGG file "assets/music/music.ogg"
    • Embedding asset: (SOUND) assets/sounds/nacimiento.ogg
      Warning: Skipping unsupported OGG file "assets/sounds/nacimiento.ogg"
    • Embedding asset: (TEXT) assets/sounds/sounds-go-here.txt
    • Embedding asset: (MUSIC) C:/HaxeToolkit/haxe/lib/flixel/4,3,0/assets/sounds/beep.mp3
    • Embedding asset: (MUSIC) C:/HaxeToolkit/haxe/lib/flixel/4,3,0/assets/sounds/flixel.mp3
    • Embedding asset: (FONT) C:/HaxeToolkit/haxe/lib/flixel/4,3,0/assets/fonts/nokiafc22.ttf
    • Embedding asset: (FONT) C:/HaxeToolkit/haxe/lib/flixel/4,3,0/assets/fonts/monsterrat.ttf
    • Embedding asset: (IMAGE) C:/HaxeToolkit/haxe/lib/flixel/4,3,0/assets/images/ui/button.png
    • Embedding asset: (IMAGE) C:/HaxeToolkit/haxe/lib/flixel/4,3,0/assets/images/logo/default.png
    • Embedding asset: (TEXT) assets/data/data-goes-here.txt
    • Embedding asset: (IMAGE) assets/images/bichitos/Alas (1).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Alas (2).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Alas (3).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Alas (4).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Alas (5).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Alas (6).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Alas (7).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Alas (8).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Alas (9).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Boca (1).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Boca (10).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Boca (2).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Boca (3).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Boca (4).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Boca (5).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Boca (6).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Boca (7).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Boca (8).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Boca (9).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Brazos (1).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Brazos (10).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Brazos (2).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Brazos (3).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Brazos (4).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Brazos (5).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Brazos (6).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Brazos (7).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Brazos (8).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Brazos (9).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Cola (1).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Cola (10).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Cola (2).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Cola (3).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Cola (4).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Cola (5).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Cola (6).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Cola (7).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Cola (8).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Cola (9).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Cuernos (1).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Cuernos (10).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Cuernos (2).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Cuernos (3).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Cuernos (4).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Cuernos (5).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Cuernos (6).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Cuernos (7).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Cuernos (8).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Cuernos (9).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Cuerpo (1).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Cuerpo (10).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Cuerpo (2).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Cuerpo (3).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Cuerpo (4).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Cuerpo (5).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Cuerpo (6).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Cuerpo (7).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Cuerpo (8).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Cuerpo (9).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Ojos (1).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Ojos (10).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Ojos (2).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Ojos (3).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Ojos (4).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Ojos (5).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Ojos (6).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Ojos (7).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Ojos (8).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Ojos (9).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Pies (1).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Pies (10).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Pies (2).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Pies (3).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Pies (4).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Pies (5).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Pies (6).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Pies (7).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Pies (8).png
    • Embedding asset: (IMAGE) assets/images/bichitos/Pies (9).png
    • Embedding asset: (TEXT) assets/images/bichitos/_Bichos.xml
    • Embedding asset: (TEXT) assets/images/bichitos/_createBichoList.vbs
    • Embedding asset: (TEXT) assets/images/images-go-here.txt
    • Embedding asset: (IMAGE) assets/images/interfaces/Boton Back.png
    • Embedding asset: (IMAGE) assets/images/interfaces/Boton Breed.png
    • Embedding asset: (IMAGE) assets/images/interfaces/Boton Code.png
    • Embedding asset: (IMAGE) assets/images/interfaces/Boton DER.png
    • Embedding asset: (IMAGE) assets/images/interfaces/Boton IZQ.png
    • Embedding asset: (IMAGE) assets/images/interfaces/Fondo (1).png
    • Embedding asset: (IMAGE) assets/images/interfaces/Fondo (2).png
    • Embedding asset: (IMAGE) assets/images/interfaces/Fondo (3).png
    • Embedding asset: (IMAGE) assets/images/interfaces/Fondo (4).png
    • Embedding asset: (IMAGE) assets/images/interfaces/Fondo (5).png
    • Embedding asset: (IMAGE) assets/images/interfaces/Fondo (6).png
    • Embedding asset: (IMAGE) assets/images/interfaces/Fondo (7).png
    • Embedding asset: (IMAGE) assets/images/interfaces/Huevo.png
    • Embedding asset: (IMAGE) assets/images/interfaces/Interfaz Bicho.png
    • Embedding asset: (IMAGE) assets/images/interfaces/Interfaz Breedeo.png
    • Embedding asset: (TEXT) assets/music/music-goes-here.txt
    • Embedding asset: (TEXT) assets/sounds/sounds-go-here.txt
    • Embedding asset: (MUSIC) C:/HaxeToolkit/haxe/lib/flixel/4,3,0/assets/sounds/beep.mp3
    • Embedding asset: (MUSIC) C:/HaxeToolkit/haxe/lib/flixel/4,3,0/assets/sounds/flixel.mp3
    • Embedding asset: (FONT) C:/HaxeToolkit/haxe/lib/flixel/4,3,0/assets/fonts/nokiafc22.ttf
    • Embedding asset: (FONT) C:/HaxeToolkit/haxe/lib/flixel/4,3,0/assets/fonts/monsterrat.ttf
    • Embedding asset: (IMAGE) C:/HaxeToolkit/haxe/lib/flixel/4,3,0/assets/images/ui/button.png
    • Embedding asset: (IMAGE) C:/HaxeToolkit/haxe/lib/flixel/4,3,0/assets/images/logo/default.png
    • Copying template file: C:\HaxeToolkit\haxe\lib\lime/2,9,1/templates/haxe/ApplicationMain.hx -> export/flash/haxe/ApplicationMain.hx
    • Copying template file: C:\HaxeToolkit\haxe\lib\lime/2,9,1/templates/haxe/DefaultAssetLibrary.hx -> export/flash/haxe/DefaultAssetLibrary.hx
    • Copying template file: C:\HaxeToolkit\haxe\lib\openfl/3,6,1/templates/haxe/ApplicationMain.hx -> export/flash/haxe/ApplicationMain.hx
    • Copying template file: C:\HaxeToolkit\haxe\lib\openfl/3,6,1/templates/haxe/NMEPreloader.hx -> export/flash/haxe/NMEPreloader.hx
    • Copying template file: C:\HaxeToolkit\haxe\lib\lime/2,9,1/templates/flash/hxml/debug.hxml -> export/flash/haxe/debug.hxml
    • Copying template file: C:\HaxeToolkit\haxe\lib\lime/2,9,1/templates/flash/hxml/final.hxml -> export/flash/haxe/final.hxml
    • Copying template file: C:\HaxeToolkit\haxe\lib\lime/2,9,1/templates/flash/hxml/release.hxml -> export/flash/haxe/release.hxml
    • Copying template file: C:\HaxeToolkit\haxe\lib\openfl/3,6,1/templates/flash/hxml/debug.hxml -> export/flash/haxe/debug.hxml
    • Copying template file: C:\HaxeToolkit\haxe\lib\openfl/3,6,1/templates/flash/hxml/final.hxml -> export/flash/haxe/final.hxml
    • Copying template file: C:\HaxeToolkit\haxe\lib\openfl/3,6,1/templates/flash/hxml/release.hxml -> export/flash/haxe/release.hxml

    Running command: BUILD

    • Running command: haxe -main ApplicationMain -cp C:/HaxeToolkit/haxe/lib/flixel/4,3,0 -D flixel=4.3.0 -cp C:/HaxeToolkit/haxe/lib/openfl/3,6,1 -D openfl=3.6.1 -cp C:/HaxeToolkit/haxe/lib/lime/2,9,1 -D lime=2.9.1 -cp C:/HaxeToolkit/haxe/lib/flixel-addons/2,5,0 -D flixel-addons=2.5.0 -cp C:/HaxeToolkit/haxe/lib/flixel-editors-git/git -D flixel-editors-git=0.0.0 -cp C:/HaxeToolkit/haxe/lib/extension-share/2,4,3 -D extension-share=2.4.3 -cp source -cp C:\HaxeToolkit\haxe\lib\openfl/3,6,1/extern -D native-trace -D HXCPP_QUIET -D analyzer-optimize -D openfl-next -D tools=2.9.1 -D flash-use-stage -D no-compilation -D openfl-flash -D fdb -D verbose=1 -D web --macro flixel.system.macros.FlxDefines.run() -swf-lib export/flash/obj/assets.swf -swf-version 11.8 -swf export/flash/bin/bichitos.swf -cp export/flash/haxe -debug
      Stack overflow
      Build halted with errors.
      Done(1)


  • The game is my Global Game Jam game so you can download the source from there:

    https://globalgamejam.org/2018/games/breed-mon


Log in to reply
 

Looks like your connection to HaxeFlixel was lost, please wait while we try to reconnect.