1. taskwire and euphoria 3.0.1

I'm trying to make taskwire.exe with Euphoria 3.0.1 and Open-watcom 1.5 (also 
tried with open-watcom 1.4) but without success. When i run it, with trace option
activated to look for error, it stop immediately. In ctrace.out file, just before
end tag, i've this:

taskwire.exw:527	rid = routine_id("spin_task")                               
taskwire.exw:528	for i = 1 to NTASKS do                                      
taskwire.exw:529	    scale = sqrt(9/NTASKS)                                  
taskwire.exw:530	    tid = task_create(rid, {E,                              
                                                                             
=== THE END ===                                                              

I've tested theses 3 commands to make the executable program :
ecw -wat taskwire.exw
ecw -wat -stack 1048576 taskwire.exw
ecw -wat -stack 2097152 taskwire.exw


With Euphoria 2.5 and the registered version, it was ok.

I've also done again an installation of euphoria 3.0.1 to be sure...

Is it an installation bug ? 
anyone else gets the same ?

François Chadal

new topic     » topic index » view message » categorize

2. Re: taskwire and euphoria 3.0.1

chadal wrote:
> I'm trying to make taskwire.exe with Euphoria 3.0.1 and Open-watcom 1.5 (also
> tried with open-watcom 1.4) but without success. When i run it, with trace
> option activated to look for error, it stop immediately. 

I think I broke something for multitasking in 3.0.1,
for translated code on Windows. I get the same failure,
though lw.ex (DOS) works ok when translated. I'll look into 
it later today. It's probably a trivial fix. 
Thanks for reporting it.

BTW, I hope to get an SVN repository for the Euphoria source
set up very soon on SourceForge. I'm just waiting for them 
to approve the project. It should only take a couple of days.

Regards,
   Rob Craig
   Rapid Deployment Software
   http://www.RapidEuphoria.com

new topic     » goto parent     » topic index » view message » categorize

3. Re: taskwire and euphoria 3.0.1

Robert Craig wrote:
> chadal wrote:
> > I'm trying to make taskwire.exe with Euphoria 3.0.1 and Open-watcom 1.5
> > (also
> > tried with open-watcom 1.4) but without success. When i run it, with trace
> > option activated to look for error, it stop immediately. 
> 
> I think I broke something for multitasking in 3.0.1,
> for translated code on Windows. I get the same failure,
> though lw.ex (DOS) works ok when translated. I'll look into 
> it later today. It's probably a trivial fix. 
> Thanks for reporting it.

The fix was in fact pretty trivial.
In euphoria\source\compile.e, I just added the statement:
   c_stmt0("Argc = 1;\n")
after line 4995 which is currently:
   c_stmt0("argc = 1;\n")
so both argc and Argc are always initialized in translated code.

The bug in 3.0.1 (but not 3.0.0) affects most translated/compiled 
code for Windows that uses the multitasking feature in 3.0. 
3.0.0 however has a bug in all Euphoria-coded .dll's / .so's.

You can get a rebuilt Translator, ecw.exe from:
   http://www.rapideuphoria.com/uploads/ecw.exe

> BTW, I hope to get an SVN repository for the Euphoria source
> set up very soon on SourceForge. I'm just waiting for them 
> to approve the project. It should only take a couple of days.

The SourceForge project has been approved. I had to use the 
path name "rapideuphoria", since "euphoria" was already in use 
by some totally unrelated project. See:

   http://sourceforge.net/projects/rapideuphoria

I'm currently experimenting with SVN on SourceForge. 
I intend to get an SVN repository set up in the next day or so.
SourceForge has a lot of other facilities that we might want to use 
as well, such as a bug tracker.

Regards,
   Rob Craig
   Rapid Deployment Software
   http://www.RapidEuphoria.com

new topic     » goto parent     » topic index » view message » categorize

4. Re: taskwire and euphoria 3.0.1

Robert Craig wrote:
> The SourceForge project has been approved.

> I'm currently experimenting with SVN on SourceForge. 
> I intend to get an SVN repository set up in the next day or so.
> SourceForge has a lot of other facilities that we might want to use 
> as well, such as a bug tracker.

This is wonderful news. 

-- 
Derek Parnell
Melbourne, Australia
Skype name: derek.j.parnell

new topic     » goto parent     » topic index » view message » categorize

5. Re: taskwire and euphoria 3.0.1

> 
> 
> posted by: Derek Parnell <ddparnell at bigpond.com>
> 
> Robert Craig wrote:
> > The SourceForge project has been approved.
> 
> > I'm currently experimenting with SVN on SourceForge. 
> > I intend to get an SVN repository set up in the next day or so.
> > SourceForge has a lot of other facilities that we might want to use
> > as well, such as a bug tracker.
> 
> This is wonderful news. 

Yeas, now if only he could fix the email mess. I cannot post 
anymore.

Kat

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu