Quick Links: Download Gideros Studio | Gideros Documentation | Gideros Development Center | Gideros community chat | DONATE
GiderosPlayer.exe (or win Build.exe) causes Player error, with no log info — Gideros Forum

GiderosPlayer.exe (or win Build.exe) causes Player error, with no log info

YanYan Member
edited January 2017 in Bugs and issues
GiderosPlayer.exe (or win Build.exe) causes error, with no log info.

Same Project on v. 2016.10 on Win 10/Win 7 works fine, v. 2016.12 on Win 10 causes error, player exits with OS error. The hardest thing is the error is very hard to repeat, sometimes it appears sometimes only after restarting level, almost neer on first level load, but on other levels with same objects, error might not appear at all.

Cant bring the code, because massive and cant be cleared so easily, I cant pub. real sources, unfortunately.

Used (almost no changes): Box2d, Moveiclips, RenderTarget, TiledMap, GTween, Textures, Sounds.

According it doesnt gives any log, I cant refactor my code to avoid this tiny place. Does anybody has thoughts about this ? Maybe any advices how to log this windows error.

System output gives me:
Имя сбойного приложения: GiderosPlayer.exe, версия: 0.0.0.0, метка времени: 0x00250d90
Имя сбойного модуля: gideros.dll, версия: 0.0.0.0, метка времени: 0x00251108
Код исключения: 0xc0000005
Смещение ошибки: 0x00009674
Идентификатор сбойного процесса: 0x1e64
Время запуска сбойного приложения: 0x01d2759c1fef275a
Путь сбойного приложения: C:\Program Files (x86)\Gideros\GiderosPlayer.exe
Путь сбойного модуля: C:\Program Files (x86)\Gideros\gideros.dll
Идентификатор отчета: 4575ffec-419c-4961-a61f-81e8f9f1cfd5
Полное имя сбойного пакета:
Код приложения, связанного со сбойным пакетом:
vk.com/yan_alex

Comments

  • YanYan Member
    edited January 2017
    Found next dependency:

    If I use next code in my bird unit:
    	local texturePack	= TexturePack.new("app/textures/BirdTexture"..".txt", "app/textures/BirdTexture"..".png", true)
     
    	self:addChild(
    		MovieClip.new({
    			{1, 10, Bitmap.new(texturePack:getTextureRegion("BIRD_WALK_L_1.png"))},
    			{10, 20, Bitmap.new(texturePack:getTextureRegion("BIRD_WALK_L_2.png"))},
    			{30, 40, Bitmap.new(texturePack:getTextureRegion("BIRD_WALK_L_3.png"))},
    			{50, 60, Bitmap.new(texturePack:getTextureRegion("BIRD_WALK_L_3.png"))},
    			{70, 80, Bitmap.new(texturePack:getTextureRegion("BIRD_WALK_L_3.png"))},
    			{90, 100, Bitmap.new(texturePack:getTextureRegion("BIRD_WALK_L_3.png"))}
    		})
    	)
    And then restarting a level (SceneManager) couple times it brings the error on v. 2016.12, but works fine in 2016.10
    vk.com/yan_alex
  • YanYan Member
    Next step, ive refactored my code as next:
    	local texturePack	= TexturePack.new("app/textures/BirdTexture"..".txt", "app/textures/BirdTexture"..".png", true)
     
    	local mc = MovieClip.new({
    			{1, 10, Bitmap.new(texturePack:getTextureRegion("BIRD_WALK_L_1.png"))},
    			{10, 20, Bitmap.new(texturePack:getTextureRegion("BIRD_WALK_L_2.png"))},
    			{30, 40, Bitmap.new(texturePack:getTextureRegion("BIRD_WALK_L_3.png"))},
    			{50, 60, Bitmap.new(texturePack:getTextureRegion("BIRD_WALK_L_3.png"))},
    			{70, 80, Bitmap.new(texturePack:getTextureRegion("BIRD_WALK_L_3.png"))},
    			{90, 100, Bitmap.new(texturePack:getTextureRegion("BIRD_WALK_L_3.png"))}
    	})
     
    	mc:stop()
     
    	self:addChild(
    		mc
    	)
    After adding mc:stop() Player drops error right after level starts !!!
    vk.com/yan_alex
  • hgy29hgy29 Maintainer
    Hi @Yan,

    The soon-to-be-released 2016.12.1 version has a fix for MovieClip (among other things). Stay tuned :)
  • YanYan Member
    Hi @Yan,

    The soon-to-be-released 2016.12.1 version has a fix for MovieClip (among other things). Stay tuned :)
    I hope this coming soon, spend a dozen time, until found I have different versions of Gideros home and at work, all builds, are falling at home... almost crying. Worst thing is that previous Gideros build was STABLE on this case. Why do they broke this ... as russian says: "Wanted better, did worst".

    P.S.

    Changing TexturePack to simple Texture aint helps.
    Texture.new("app/gfx/spikes.png", true))
    vk.com/yan_alex
  • I think the fixed release will be today - keep an eye out. :)
    Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!).
    https://deluxepixel.com
  • hgy29hgy29 Maintainer

    Why do they broke this ... as russian says: "Wanted better, did worst".
    Actually I broke it, it ought to be a fix for some unfrequent crashes, but the fix turned out to have unforeseen ramifications. But well, every new feature or fix is error prone!

    Likes: SinisterSoft, pie

    +1 -1 (+2 / -0 )Share on Facebook
  • YanYan Member
    Well, its very familiar situation to me =) Ill be waiting for fix.

    P.S. It seems I found what might be the reason of ur mistake - Its a very hot conversation in your profile =)
    vk.com/yan_alex
Sign In or Register to comment.