1. Bug in 2.4 beta
- Posted by aku saya <akusaya at gmx.net> May 31, 2003
- 451 views
Using CreateLink.ew in eu 2.4 beta: c:\euphoria\include\EuCOM.ew:611 in function add_iid() A machine-level exception occurred during execution of this statement ... called from c:\euphoria\include\EuCOM.ew:640 in function add_clsid() ... called from c:\euphoria\include\CreateLink.ew:43 --> see ex.err The line 611 of eucom.ew is iid_table[IID_CLSID] &= { {} } So it seems it is an internal error. No error in 2.3.
2. Re: Bug in 2.4 beta
- Posted by Robert Craig <rds at RapidEuphoria.com> May 31, 2003
- 403 views
aku saya wrote: > Using CreateLink.ew in eu 2.4 beta: > > c:\euphoria\include\EuCOM.ew:611 in function add_iid() > A machine-level exception occurred during execution of this statement > ... called from c:\euphoria\include\EuCOM.ew:640 in function add_clsid() > ... called from c:\euphoria\include\CreateLink.ew:43 > --> see ex.err > > The line 611 of eucom.ew is > iid_table[IID_CLSID] &= { {} } > > So it seems it is an internal error. > > No error in 2.3. You should examine the statements that were executed just before the crash. It could be that some data was poked out of bounds. A incorrect program might crash with 2.4 but appear to work ok with 2.3. It could be a situation where a Euphoria variable is now being overwritten when you go out of bounds, where in 2.3 it was just a harmless area of memory. Since Euphoria variables contain pointers, overwriting a variable could cause a crash, not just incorrect data. euphoria\include\safe.e has a mode where it will check the "gutter" areas just before and just after each allocated block to see if anything was written there. Set "edges_only" to 1. In the latest versions of Win32Lib Derek is using Euphoria's allocate(), so this might catch the problem. Regards, Rob Craig Rapid Deployment Software http://www.RapidEuphoria.com