install problem

I have Xojo installed on my laptop (64 bit Mageia 3), runs fine. I have been trying to get it installed again on my desktop but keep getting an error when loading.

I get a segementation fault. I have done a strace, and have the results, but the file is HUGE, so, I am copying the last few lines only… any ideas on how to get this to run again?

Thanks.

------ begin copy below -------------

stat64("/usr/share/mime/mime.cache", {st_mode=S_IFREG|0644, st_size=132484, …}) = 0
open("/usr/share/mime/mime.cache", O_RDONLY|O_LARGEFILE) = 21
fstat64(21, {st_mode=S_IFREG|0644, st_size=132484, …}) = 0
mmap2(NULL, 132484, PROT_READ, MAP_SHARED, 21, 0) = 0xa8519000
close(21) = 0
stat64("/usr/share/mime/mime.cache", {st_mode=S_IFREG|0644, st_size=132484, …}) = 0
open("/usr/share/mime/mime.cache", O_RDONLY|O_LARGEFILE) = 21
fstat64(21, {st_mode=S_IFREG|0644, st_size=132484, …}) = 0
mmap2(NULL, 132484, PROT_READ, MAP_SHARED, 21, 0) = 0xa83df000
close(21) = 0
stat64("/usr/local/share/mime/mime.cache", 0xbff7ee20) = -1 ENOENT (No such file or directory)
stat64("/usr/local/share/mime/globs2", 0xbff7ee20) = -1 ENOENT (No such file or directory)
stat64("/usr/local/share/mime/globs", 0xbff7ee20) = -1 ENOENT (No such file or directory)
stat64("/usr/local/share/mime/magic", 0xbff7ee20) = -1 ENOENT (No such file or directory)
open("/usr/local/share/mime/aliases", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/usr/local/share/mime/subclasses", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/usr/local/share/mime/icons", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/usr/local/share/mime/generic-icons", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/home/gary/.local/share/mime/video/x-msvideo.xml", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/usr/share/mime/video/x-msvideo.xml", O_RDONLY|O_LARGEFILE) = 21
fstat64(21, {st_mode=S_IFREG|0644, st_size=2867, …}) = 0
read(21, “<?xml version=“1.0” encoding=“ut”…, 2867) = 2867
close(21) = 0
stat64(”/home/gary/.mozilla/plugins/npatgpc.so", {st_mode=S_IFREG|0777, st_size=98320, …}) = 0
lstat64("/home/gary/.mozilla/plugins/npatgpc.so", {st_mode=S_IFREG|0777, st_size=98320, …}) = 0
stat64("/home/gary/.mozilla/plugins/npatgpc.so", {st_mode=S_IFREG|0777, st_size=98320, …}) = 0
open("/home/gary/.mozilla/plugins/npatgpc.so", O_RDONLY|O_CLOEXEC) = 21
read(21, “\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@s\0\0004\0\0\0”…, 512) = 512
fstat64(21, {st_mode=S_IFREG|0777, st_size=98320, …}) = 0
mmap2(NULL, 97720, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 21, 0) = 0xa8501000
mmap2(0xa8518000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 21, 0x17000) = 0xa8518000
close(21) = 0
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 21
fstat64(21, {st_mode=S_IFREG|0644, st_size=92553, …}) = 0
mmap2(NULL, 92553, PROT_READ, MAP_PRIVATE, 21, 0) = 0xa83c8000
close(21) = 0
open("/lib/libXmu.so.6", O_RDONLY|O_CLOEXEC) = 21
read(21, “\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0PI\0\0004\0\0\0”…, 512) = 512
fstat64(21, {st_mode=S_IFREG|0755, st_size=102696, …}) = 0
mmap2(NULL, 100688, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 21, 0) = 0xa83af000
mmap2(0xa83c6000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 21, 0x17000) = 0xa83c6000
close(21) = 0
mprotect(0xa83c6000, 4096, PROT_READ) = 0
munmap(0xa83c8000, 92553) = 0
open("/tmp/atgpc.log", O_RDWR|O_CREAT|O_APPEND, 0666) = 21
fstat64(21, {st_mode=S_IFREG|0666, st_size=1020, …}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xae574000
write(21, “NPATGPC : NPP_Initialize
“, 25) = 25
close(21) = 0
munmap(0xae574000, 4096) = 0
open(”/tmp/atgpc.log”, O_RDWR|O_CREAT|O_APPEND, 0666) = 21
fstat64(21, {st_mode=S_IFREG|0666, st_size=1045, …}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xae574000
write(21, “CGpcModule started
“, 19) = 19
close(21) = 0
munmap(0xae574000, 4096) = 0
stat64(”/tmp/atgpc.log”, {st_mode=S_IFREG|0666, st_size=1064, …}) = 0
open("/tmp/atgpc.log", O_RDWR|O_CREAT|O_APPEND, 0666) = 21
fstat64(21, {st_mode=S_IFREG|0666, st_size=1064, …}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xae574000
write(21, “Netscape plugin trace [WebEx Plu”…, 51) = 51
close(21) = 0
munmap(0xae574000, 4096) = 0
chmod("/tmp/atgpc.log", 0666) = 0
open("/tmp/atgpc.log", O_RDWR|O_CREAT|O_APPEND, 0666) = 21
fstat64(21, {st_mode=S_IFREG|0666, st_size=1115, …}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xae574000
write(21, “NPATGPC : NPP_Shutdown
“, 23) = 23
close(21) = 0
munmap(0xae574000, 4096) = 0
open(”/tmp/atgpc.log”, O_RDWR|O_CREAT|O_APPEND, 0666) = 21
fstat64(21, {st_mode=S_IFREG|0666, st_size=1138, …}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xae574000
write(21, “CGpcModule Begin ClearAllInstanc”…, 35) = 35
close(21) = 0
munmap(0xae574000, 4096) = 0
open("/tmp/atgpc.log", O_RDWR|O_CREAT|O_APPEND, 0666) = 21
fstat64(21, {st_mode=S_IFREG|0666, st_size=1173, …}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xae574000
write(21, “CGpcModule End ClearAllInstances”…, 33) = 33
close(21) = 0
munmap(0xae574000, 4096) = 0
open("/tmp/atgpc.log", O_RDWR|O_CREAT|O_APPEND, 0666) = 21
fstat64(21, {st_mode=S_IFREG|0666, st_size=1206, …}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xae574000
write(21, “CGpcModule stoped
“, 18) = 18
close(21) = 0
munmap(0xae574000, 4096) = 0
clock_gettime(CLOCK_MONOTONIC, {37310, 10594087}) = 0
stat64(”/home/gary/.mozilla/plugins/nppdf.so”, {st_mode=S_IFREG|0755, st_size=127260, …}) = 0
lstat64("/home/gary/.mozilla/plugins/nppdf.so", {st_mode=S_IFREG|0755, st_size=127260, …}) = 0
stat64("/home/gary/.mozilla/plugins/nppdf.so", {st_mode=S_IFREG|0755, st_size=127260, …}) = 0
open("/home/gary/.mozilla/plugins/nppdf.so", O_RDONLY|O_CLOEXEC) = 21
read(21, “\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\3000\0\0004\0\0\0”…, 512) = 512
fstat64(21, {st_mode=S_IFREG|0755, st_size=127260, …}) = 0
mmap2(NULL, 125768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 21, 0) = 0xa8390000
mmap2(0xa83ae000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 21, 0x1e000) = 0xa83ae000
close(21) = 0
clock_gettime(CLOCK_MONOTONIC, {37310, 11683947}) = 0
stat64("/home/gary/.mozilla/plugins/nprhapengine.so", {st_mode=S_IFREG|0666, st_size=2788848, …}) = 0
lstat64("/home/gary/.mozilla/plugins/nprhapengine.so", {st_mode=S_IFREG|0666, st_size=2788848, …}) = 0
stat64("/home/gary/.mozilla/plugins/nprhapengine.so", {st_mode=S_IFREG|0666, st_size=2788848, …}) = 0
open("/home/gary/.mozilla/plugins/nprhapengine.so", O_RDONLY|O_CLOEXEC) = 21
read(21, “\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p\300\4\0004\0\0\0”…, 512) = 512
fstat64(21, {st_mode=S_IFREG|0666, st_size=2788848, …}) = 0
mmap2(NULL, 2815712, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 21, 0) = 0xa80e0000
mmap2(0xa834f000, 204800, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 21, 0x26f000) = 0xa834f000
mmap2(0xa8381000, 59104, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xa8381000
close(21) = 0
mprotect(0xa80e0000, 2551808, PROT_READ|PROT_WRITE) = 0
mprotect(0xa80e0000, 2551808, PROT_READ|PROT_EXEC) = 0
futex(0xa83712a8, FUTEX_WAKE_PRIVATE, 2147483647) = 0
— SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0} —
+++ killed by SIGSEGV +++

Did you install the necessary 32bit libs?

http://documentation.xojo.com/index.php/System_requirements

Sorry, should have been more clear… I am trying to get it to run on the 32bit version of Mageia 4 on the desktop PC…

Have you tried opening a terminal and running it from the command line? That can sometimes give you more direct clues than a stack trace.

Yes, running from the terminal results with the program ending with a segmentation fault, usually after the startup screen flashes with prior projects listed.

try using the ldd command to display what shared libraries might be missing

Or a distro that’s officially supported

ldd returns the following:
libdl.so.2 => /lib/libdl.so.2 (0xb7761000)
libpthread.so.0 => /lib/i686/libpthread.so.0 (0xb7746000)
libc.so.6 => /lib/i686/libc.so.6 (0xb758e000)
/lib/ld-linux.so.2 (0xb777f000)

that also works :stuck_out_tongue:

Ok, I installed Linux Mint… looks like a nice distro, on the tested list… I still get a segmentation fault…

again run ldd on the executable
post the full report
start the IDE from the command line and see what that reports

I have not had a chance to get back to this for a while, but I will note that it would run fine on my laptop with Mageia 4 64 bit , but not the desktop with that same version of Linux. I then put Virtual Box with Vista on my desktop… Xojo still crashes there…

SO, I am think there is a hardware problem somewhere…

It is obviously a hardware issue. https://en.wikipedia.org/wiki/Segmentation_fault

You may want to remove and clean the contacts of your memory cards. If you got as often two memory cards, remove one, reboot and see if the error manifests again. Then switch to the other and check again. If this is an issue with one of them you will be able to spot which one is at fault and replace it.

Thanks Michel, I tried that but there was no change… Must be a problem on the mother board I guess.

Everyone in this thread sounds too smart to fall victim to the obvious stuff…but since it’s a segmentation fault… I’ll just say that I have seen those when I try to write to a log file in a directory where the permissions do not permit it. “Permissions” problems are so common that I can’t imagine it was not already reviewed…just some thoughts from a XOJO noob.

Ok, some more info…

I had to change laptops, old one was dying… new one uses Intel I3 chip. I installed Mageia4 64 bit, and installed the required 32 bit libs (like on my old laptop).

I can get Xojo to run simple programs, but when I load the larger ones I get thiese errors:

Gtk-WARNING **: gtk_menu_attach_to_widget(): menu already attached to GtkImageMenuItem
FIXME: Oxygen::WidgetSizeData: unknown window type: “GtkWindow”

(Xojo:23844): Gtk-WARNING **: gtk_menu_attach_to_widget(): menu already attached to GtkImageMenuItem
Segmentation fault

SO, I think this is a software / library issue???

Some more info:

I moved the program to windows and deleted the menu form… it worked for a few times, then the error returned.

Then I installed virtual box, running vista (on the mageia 4 64 bit laptop). xojo runs, loads the program, compiles it for lInux, and it runs on the laptop under linux with no errors???

[quote=143680:@Gary Vassalotti]Gtk-WARNING **: gtk_menu_attach_to_widget(): menu already attached to GtkImageMenuItem
FIXME: Oxygen::WidgetSizeData: unknown window type: “GtkWindow”

(Xojo:23844): Gtk-WARNING **: gtk_menu_attach_to_widget(): menu already attached to GtkImageMenuItem
[/quote]
These are normal and not related to your segfault.

However, looking at your STRACE output, that looks like it’s trying to use a lot of 64bit calls. And, they look like they belong to the webkit stuff. Are you sure that you installed the 32bit version of the OS?

On my old laptop, where it worked fine, I had Mageia4 64, on my desktop I have Mageia 32 bit (still get segmentation fault), on the new laptop I have again the Mageia4 64bit.

Note that I did install Linux mint on my desktop but it also still exhibited the segmentation fault.

Does it segfault when you debug it in the IDE on one of the systems exhibiting the problem?