"Illegal instuction" 2014R3

I have recompiled my consol applications made in 2014R1.1 with 2014R3 and now i got this error.

“Illegal instrucion”
Debian 7

Whats wrong?

Compiled using Xojo IN this environment OR compiled elsewhere and moved to this environment?

Compiled on win7.
Moved comlied files to my linux device (the same device)

Go to the linux box and execute:

sudo readelf -h myCompiledProgramName

sudo readelf -h /bin/ls

paste results for comparison. :wink:

OK I think I found the problem…

RBConsolFramework.so now is 21.6 M compared to 2.6 M in 2014R1.1

My device only have 128 MB’s of ram…
Embedded devices… and a lot of them… adding more memory is not possible.

Please consider making an bulid option where we can compile like i did before.
I belive this had to do with the new text type.

Rick:
readelf command not found.

Installed elfutils, but still command not found

On Debian, from elfutils, try eu-readelf instead. ( https://packages.debian.org/sid/elfutils )

from /bin/ls

ELF Header: Magic: 7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00 Class: ELF32 Data: 2's complement, little endian Ident Version: 1 (current) OS/ABI: UNIX - System V ABI Version: 0 Type: EXEC (Executable file) Machine: Intel 80386 Version: 1 (current) Entry point address: 0x804c1b4 Start of program headers: 52 (bytes into file) Start of section headers: 111580 (bytes into file) Flags: Size of this header: 52 (bytes) Size of program header entries: 32 (bytes) Number of program headers entries: 9 Size of section header entries: 40 (bytes) Number of section headers entries: 28 Section header string table index: 27

From my program:

ELF Header: Magic: 7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00 Class: ELF32 Data: 2's complement, little endian Ident Version: 1 (current) OS/ABI: UNIX - System V ABI Version: 0 Type: EXEC (Executable file) Machine: Intel 80386 Version: 1 (current) Entry point address: 0x80487e0 Start of program headers: 52 (bytes into file) Start of section headers: 490871 (bytes into file) Flags: Size of this header: 52 (bytes) Size of program header entries: 32 (bytes) Number of program headers entries: 8 Size of section header entries: 40 (bytes) Number of section headers entries: 29 Section header string table index: 27

Ok, platform compatible. The problem seems to need Xojo Engineers support. Sorry. :stuck_out_tongue:

Thanks Rick

Hmm, I don’t think I run out of memory either:

Memory before starting my program buildt in 2014R1.1

     total       used      free   shared    buffers     cached
Mem:  126052   30044     96008          0       2452      16780

With the program running:

       total   used     free   shared    buffers     cached
Mem:  126052   50956    75096          0       2708      29012

Please file a bug report with the project attached or a binary, if there are restrictions preventing a project from being attached, and instructions on how to trigger the crash.

Testet a bit more.
Found out thath Xojo 2014R2 or later gives me “illegal instrucion” on everyting I compile
Event the simplest “hello world” example crash at program launch.

Ran “Remote Debugger Console” from 2014R1.1 with no problem
Not the 2014R2 Debugger.

Feedback case 37626