FS#29623 - [esdl] driver compiled with incorrect version of erl_driver.h
Attached to Project:
Community Packages
Opened by Richard Jones (optigon) - Thursday, 26 April 2012, 12:32 GMT
Last edited by Alexander F. Rødseth (xyproto) - Friday, 04 May 2012, 09:32 GMT
Opened by Richard Jones (optigon) - Thursday, 26 April 2012, 12:32 GMT
Last edited by Alexander F. Rødseth (xyproto) - Friday, 04 May 2012, 09:32 GMT
|
Details
Description:
Cannot launch Wings3d. Likely that esdl was compiled with older version of Erlang. [giniu@raven3 ~]$ LANG=C erl Erlang R15B01 (erts-5.9.1) [source] [64-bit] [smp:4:4] [async-threads:0] [hipe] [kernel-poll:false] Eshell V5.9.1 (abort with ^G) 1> sdl:init(32). Driver failed: Driver compiled with incorrect version of erl_driver.h sh: line 0: exec: sdl_driver: not found ** exception error: bad argument in function port_control/3 called as port_control(esdl_port,21,<<32,0,0,0>>) in call from sdl:init/1 (sdl.erl, line 90) Thanks for maintaining this package. Regards, Richard |
This task depends upon
The problem is not fixed by rebuilding either esdl or wings3d from source.
Attached is the wings3d_crash.dump file. Wings3d reads the same as the reported bug to stdout(err) upon (failed) startup.
I'm beginning to think that this is an upstream bug caused because of a change in Erlang's driver requirements. Reporting upstream as well.
With esdl 1.2, wings doesn't even compile.
With esdl 1.0.1, I get this message:
Driver failed: Driver compiled with incorrect version of erl_driver.h
=ERROR REPORT==== 2-May-2012::16:11:36 ===
Error in process <0.29.0> with exit value: {badarg,[{erlang,port_control,[esdl_port,21,<<4 bytes>>],[]},{sdl,init,1,[{file,"sdl.erl"},{line,90}]},{wings_init,init,0,[{file,"wings_init.erl"},{line,28}]},{wings,init,1,[{file,"wings.erl"},{line,104}]}]}
sh: line 0: exec: sdl_driver: not found
Fatal internal error - log written to /home/xyproto/wings_crash.dump
Attaching wings_crash.dump as well.
Reported for wings3d as well, since they might want to upgrade to esdl 1.2: https://sourceforge.net/tracker/?func=detail&aid=3523033&group_id=33028&atid=406952
<<Guys I had forgotten to push the esdl master branch to github.
It should work now with R15B as well.
Sigh, sorry about that.>>
Dan uses github for the current esdl repository, which you can find here:
https://github.com/dgud/esdl
Thanks Alexander!
Regards,
Richard