Re: eu 3.1.1 problem

new topic     » goto parent     » topic index » view thread      » older message » newer message
ChrisB said...

Hi

Thats not enough info. How did you compile the program,

My gcc package version is 4.2.2-3.1mdv2008.0.
I used the official standard command imakeu in the /root/euphoria/source/
directory. Translation and compilation was without any errors, the resulting
new interpreter, exu, is 343961 bytes. But the official interpreter is 338084 bytes.
Both interpreters tested on the ascii.ex and sanity.ex standard programs, worked
Ok. Then they tested on standard demos in euphoria/demo/linux/ directory.
Official one worked OK on all programs. But new one crashed on all programs.

ChrisB said...

what Linux are you using (I find trying to compile with 64 bit Linux and GCC a headache when you have a lot of 32 bit and 64 bit libraries intertwined),

My Linux is Mandriva 2008.0, free, 3CD, Russian, 32 bit, updated on all available
now packages. My machine is P4, 1.8GHz, 256Mb, IBM Netvista, dual boot, Windows XP SP3 Home and that Linux. On XP with OW1.8, EU 3.1.1 official source works without any problem, plus bilingual 3.1.1 source for DOS32 and WIN32 works OK.

ChrisB said...

more detail about the crash messages, and what other tests have you done, and can you create a small program that highlights the crash.

I've tested all standard demo programs in the euphoria/demo/linux/ directory. They are callc.exu, mylib.exu and qsort.exu. callc.exu and qsort.exu crash on a machine-level exception. The ex.err files see please below.

callc.exu:30 
A machine-level exception occurred during execution of this statement  
 
 
Global & Local Variables 
 
 /root/euphoria/include/machine.e: 
    mem = 135057744 
    check_calls = 1 
 
 callc.exu: 
    libc = 135086760 
    libm = 135097232 
    p = 135119200 
    q = 135097176 
    format = <no value> 
    text = <no value> 
    s = 0 
    a = 10 
 
----------------------------- 
 
qsort.exu:41 
A machine-level exception occurred during execution of this statement  
 
 
Global & Local Variables 
 
 /root/euphoria/include/machine.e: 
    mem = 135072656 
    check_calls = 1 
 
 qsort.exu: 
    libc = 135110808 
    qid = 0 
    nitems = 50'2' 
    item_size = 1 
    qsort = 0 
    ncalls = 0 
    qaddr = 135072696 
    array = 135113576 

The mylib.exu crashes on segmentation error, without ex.err file, output:

#exu mylib.exu 
99 
Segmentation error -- or something similar, Mandriva speaks Russian here. 
ChrisB said...

Don't mean to be vague or evasive, but interpretation of bug reports is often an art form in itself.

Yes, you are right, the bug-report must be clear. As you can see all crashes are around calls of C-functions from .so libs.

Regards,
kinz

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu