Dear all, I developed a console application with lazarus, I compiled it on a 32 bit machine (Linux). Actually I received an e-mail by one of the final user that is trying to run it on a 64 bit machine (Red Hat Enterprise Linux 5.x (5.1)). The application crash with the message reported at the end of this e-mail. I know that there are libraries for compatibility but I never used a 64 bit machine and I don't know how to help the final user. I would like to know if my lazarus 32 bit application can run on a 64 bit machine and if someone of you can suggest me where the 32/64 bit libraries can be found. Many thanks, Andrea
exception at 080C610E: Access violation. strace shows an segfault ............... ............... brk(0x82cb000) = 0x82cb000 socket(PF_FILE, SOCK_STREAM, 0) = 3 fcntl64(3, F_GETFL) = 0x2 (flags O_RDWR) fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0 connect(3, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = 0 poll([{fd=3, events=POLLOUT|POLLERR|POLLHUP, revents=POLLOUT}], 1, 5000) = 1 send(3, "\2\0\0\0\v\0\0\0\7\0\0\0passwd\0", 19, MSG_NOSIGNAL) = 19 poll([{fd=3, events=POLLIN|POLLERR|POLLHUP, revents=POLLIN|POLLHUP}], 1, 5000) = 1 recvmsg(3, {msg_name(-5820488)=NULL, msg_iov(68719476736)=[?] 0x10ffa72fa8, msg_controllen=18421743979612602372, msg_control=0x100000001, msg_flags=MSG_OOB|MSG_DONTROUTE|MSG_PEEK}, 0) = 7 fstat64(4, {st_mode=S_IFREG|0600, st_size=217016, ...}) = 0 pread64 (4, "\1\0\0\0h\0\0\0\256V\1\0\1\0\0\0\200\210tI\0\0\0\0\323\0\0\0\0L\3\0"..., 104, 0) = 104 mmap2(NULL, 217016, PROT_READ, MAP_SHARED, 4, 0x34fb8) = 0xfffffffff7eb5000 close(4) = 0 close(3) = 0 --- SIGSEGV (Segmentation fault) @ 0 (0) --- rt_sigprocmask(SIG_UNBLOCK, [SEGV], NULL, 8) = 0 write(1, "exception at 080C610E:\nAccess vi"..., 41exception at 080C610E: Access violation. ) = 41 munmap(0xf7f32000, 32768) = 0 munmap(0xf7fdd000, 32768) = 0 munmap(0xf7f6a000, 262144) = 0 munmap(0xf7fed000, 32768) = 0 munmap(0xf7f62000, 32768) = 0 munmap(0xf7fe5000, 32768) = 0 munmap(0xf7f02000, 32768) = 0 munmap(0xf7ef2000, 32768) = 0 munmap(0xf7f22000, 32768) = 0 munmap(0xf7f12000, 32768) = 0 munmap(0xf7f1a000, 32768) = 0 munmap(0xf7ff5000, 32768) = 0 munmap(0xf7f3a000, 32768) = 0 munmap(0xf7f2a000, 32768) = 0 munmap(0xf7f52000, 32768) = 0 munmap(0xf7f42000, 32768) = 0 munmap(0xf7f4a000, 32768) = 0 munmap(0xf7eea000, 32768) = 0 munmap(0xf7efa000, 32768) = 0 munmap(0xf7f0a000, 32768) = 0 exit_group(0) = ? _______________________________________________ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus