1 Aug 2005 11:26
Re: Internal consistency check error (Wings Compile)
Bjorn Gustavsson <bjorn <at> erix.ericsson.se>
2005-08-01 09:26:49 GMT
2005-08-01 09:26:49 GMT
This bug will be fixed in R10B-7.
/Björn
Brent Fulgham <bfulg <at> pacbell.net> writes:
> I received an Internal consistency check error when attempting to
> compile Wings 0.98.29b under OTP R10B-6 under Mac OS X (10.4.2 Tiger):
>
> Chaz:~/Desktop/wings-0.98.29b brent$ make
> (cd src; make)
> make TYPE=opt common
> erlc -pa /ebin +warn_unused_vars -I/include -I ../e3d -W +debug_info
> '-Dwings_version="0.98.29b"' -pa ../ebin -o../ebin wings_color.erl
> wings_color: function internal_rgb_to_hsv/3+97:
> Internal consistency check failed - please report this bug.
> Instruction: {test,is_eq_exact,{f,80},[{x,0},{atom,error}]}
> Error: {unsafe_instruction,{float_error_state,cleared}}:
>
> make[2]: *** [../ebin/wings_color.beam] Error 1
> make[1]: *** [opt] Error 2
> make: *** [all] Error 2
>
> Chaz:~/Desktop/wings-0.98.29b brent$ uname -a
> Darwin Chaz.local 8.2.0 Darwin Kernel Version 8.2.0: Fri Jun 24
> 17:46:54 PDT 2005; root:xnu-792.2.4.obj~3/RELEASE_PPC Power Macintosh
> powerpc
> Chaz:~/Desktop/wings-0.98.29b brent$
>
>
(Continue reading)
) issue with the
ftp.erl. With the applied patch there is no more exception raised, but
the second transfer of a file doesn't happen if you run the code outside
of the debugger.
When running with a debugger, I get:
~/tmp/dirtest>erl
Erlang (BEAM) emulator version 5.4.8 [source] [hipe] [threads:0]
Eshell V5.4.8 (abort with ^G)
1> i:ii(ftp).
{module,ftp}
2> i:ib(ftp, activate_data_connection, 1).
ok
3> debugger:start().
{ok,<0.36.0>}
4> ftp_test:test("localhost", "serge", "...", "/home/serge/tmp/data",
"cust_group.txt").
"220 ProFTPD 1.2.6 Server (DevLinuxPro FTP) [devlinuxpro.mis.idt.net]"
"331 Password required for serge."
"230 User serge logged in."
"250 CWD command successful."
"500 EPSV not understood."
"200 PORT command successful"
"150 Opening ASCII mode data connection for cust_group.txt (7487 bytes)"
"226 Transfer complete."
"150 Opening ASCII mode data connection for cust_group.txt (7487 bytes)"
ok
RSS Feed