crossbridge-community / crossbridge

C/C++ Compiler for the ActionScript Virtual Machine (AVM2)
http://sourceforge.net/projects/crossbridge-community/
Other
151 stars 36 forks source link

New version of chrome(40.0.2214.94 m), all previous versions worked fine: ArgumentError: Error #3735 at global/C_Run::newThread() #75

Closed CrossAlchemy closed 9 years ago

CrossAlchemy commented 9 years ago

ArgumentError: Error #3735 at global/C_Run::newThread() at global/C_Run_J_3A2F_adobe_2F_power_2F_cygwin_2F_tmp_2F_ccLFazKD_2E_lto_2E_bc_3A_5ea19223_2D_1599_2D_4f6d_2D_82b1_2D_d0cc48dd43f3::F_thr_new() at global/C_Run_J_3A2F_adobe_2F_power_2F_cygwin_2F_tmp_2F_ccLFazKD_2E_lto_2E_bc_3A_5ea19223_2D_1599_2D_4f6d_2D_82b1_2D_d0cc48dd43f3::Fpthread_create() at global/C_Run_J_3A2F_adobe_2F_power_2F_cygwin_2F_tmp_2F_ccLFazKD_2E_lto_2E_bc_3A_5ea19223_2D_1599_2D_4f6d_2D_82b1_2D_d0cc48dd43f3::F__ZN7CThread5StartEv()

CrossAlchemy commented 9 years ago

Same with firefox, after flash plugin update. flash ver is 16.0.0.305

JoeDupuis commented 9 years ago

Thanks for the report, is it one of the sample or can you confirm one of the sample does not work ( probably the thread one (sample 9) by the look of it) ? I doubt I'll be able to work on it before march, but I'll try to give it a look.

CrossAlchemy commented 9 years ago

I'm sure it does not work. Did you see where stack is leads to? global/C_Run::newThread() from simple call of pthread_create. i think that worker does not start at all. These problems come with 16.0.0.305 Simply call pthread_create with valid arguments and see what will happen..

CrossAlchemy commented 9 years ago

I compiled example 09 tried to run it and here it is ArgumentError: Error #3735 ArgumentError: Error #3735 at global/C_Run::newThread() at com.adobe.flascc::CModule$/startBackground() at com.adobe.flascc::Console/init() at com.adobe.flascc::Console() at com.adobe.flascc.preloader::DefaultPreloader/onPreloaderComplete()

vpmedia commented 9 years ago

Hi! I'll try to look into the issue in the forthcoming days - but I've to note if threading worked in previous FlashPlayer versions it's possible that the problem is out of CrossBridge SDK scope and maybe related to the core FP development (Adobe devs broke some API [again] :) ). You can check the related CrossBridge source code here: https://github.com/crossbridge-community/crossbridge/blob/master/posix/C_Run.as https://github.com/crossbridge-community/crossbridge/blob/master/posix/PlayerCreateWorker.as

CrossAlchemy commented 9 years ago

Workers do work, i checked. i think these hacks are too dirty function retargetSWF():ByteArray It seems like adobe is now marking bytearrays or may be crc check. retargetSWF() - that causing troubles.

CrossAlchemy commented 9 years ago

So if im right then AlcSprite has no use now. We need to dispatch threads in console.

vpmedia commented 9 years ago

I'm not sure.. If retargetSWF stopped working (crc check or similar) that would mean a lot of 3rd party libs are also broke (like as3swf, easyWorkers - which all utilizes runtime swf bytearray assembling).

CrossAlchemy commented 9 years ago

Try to answer a simple question Who needs them. I think correct work of consoled swfs has critical priority comparing to swc imho

vpmedia commented 9 years ago

If I'm correct this ticket duplicates #77 (Both related to threading error 3735)

CrossAlchemy commented 9 years ago

yep, you are right

vpmedia commented 9 years ago

closing as duplicate.