Hello,
I have Lazarus 2.1.0 and FPC 3.3.1 installed into a Linux Mint 19 Tara VM machine.
The installation into the VM was done as normal user (user "arm3") using FPCUpDeluxe 1.8.2s.
When I click on the Project options and say "New Project", Lazarus closes itself, all the time.
I used STRACE to see if I can trace the bug from the command line :
...
recvmsg(4, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\34\0\330\334\224:\200\3D\0\0\0\366\211\r\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 1152
recvmsg(4, {msg_namelen=0}, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=4, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=4, revents=POLLOUT}])
writev(4, [{iov_base="\24\0\6\0\275\2\0\0\257\1\0\0\6\0\0\0\0\0\0\0\377\377\377\177", iov_len=24}, {iov_base=NULL, iov_len=0}, {iov_base="", iov_len=0}], 3) = 24
poll([{fd=4, events=POLLIN}], 1, -1) = 1 ([{fd=4, revents=POLLIN}])
recvmsg(4, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\1 \365\334\20\0\0\0\6\0\0\0\0\0\0\0\20\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 224
recvmsg(4, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\34\0\365\334\367\0\200\3.\1\0\0\3\212\r\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 64
recvmsg(4, {msg_namelen=0}, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=4, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=4, revents=POLLOUT}])
writev(4, [{iov_base="\24\0\6\0\275\2\0\0#\1\0\0!\0\0\0\0\0\0\0\1\0\0\0", iov_len=24}, {iov_base=NULL, iov_len=0}, {iov_base="", iov_len=0}], 3) = 24
poll([{fd=4, events=POLLIN}], 1, -1) = 1 ([{fd=4, revents=POLLIN}])
recvmsg(4, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\1 \366\334\1\0\0\0!\0\0\0\0\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 36
recvmsg(4, {msg_namelen=0}, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(4, {msg_namelen=0}, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=4, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=4, revents=POLLOUT}])
writev(4, [{iov_base="\31\0\v\0\275\2\0\0\0\0\30\0! \0\0\367\0\200\3.\1\0\0\0\0\0\0/\1\0\0"..., iov_len=68}, {iov_base=NULL, iov_len=0}, {iov_base="", iov_len=0}], 3) = 68
poll([{fd=4, events=POLLIN}], 1, -1) = 1 ([{fd=4, revents=POLLIN}])
recvmsg(4, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\0\3\370\334\224:\200\3\0\0\f\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 128
openat(AT_FDCWD, "/usr/share/X11/XErrorDB", O_RDONLY) = 16
fstat(16, {st_mode=S_IFREG|0644, st_size=42077, ...}) = 0
read(16, "!\n! Copyright 1993, 1995, 1998 "..., 42077) = 42077
close(16) = 0
write(2, "The program 'lazarus' received a"..., 566The program 'lazarus' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
(Details: serial 122104 error_code 3 request_code 12 minor_code 0)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
) = 566
getpid() = 2742
munmap(0x7f18c603e000, 131072) = 0
munmap(0x7f18c605e000, 131072) = 0
exit_group(1) = ?
+++ exited with 1 +++
So I have a strange sort of X Window system error. What's going on here? Any help ?