Hello,
The only other mention of a segmentation fault I can find is from the 2.2.1 SDK and was unresolved:
https://forums.garmin.com/forum/deve...ect-iq/145535-
I am using Debian GNU/Linux and after a recent update of the operating system the simulator is not working.
Unfortunately my development setup is a bit of a frankenstein and I can't actually reproduce the segmentation fault within a headless Docker image used for C/I.
I've tested the simulators from 3.0.4 up to 3.0.8, both via Eclipse (which just gives a "failed to connect to the simulator" message) and the Command Line
[FONT=courier new]$ /opt/connectiq-sdk/bin/monkeyc --version
Connect IQ compiler version 3.0.8
$ /opt/connectiq-sdk/bin/simulator
-> message processor init on channel 0
-> message processor init on channel 0
->message processor init on channel 0
->message processor init on channel 0
->message processor init on channel 0
->message processor init on channel 0
->message processor init on channel 0
->message processor init on channel 0
Segmentation fault[/FONT]
Here's the last few lines of [FONT=courier new]strace
clone(child_stack=0x7f835b93ec70, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARE NT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7f835b93f9d0, tls=0x7f835b93f700, child_tidptr=0x7f835b93f9d0) = 13284[/FONT]
[FONT=courier new]readlink("/proc/self/exe", "/opt/connectiq-sdk/bin/simulator", 4095) = 32
futex(0x43f0b00, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x43f0ab0, FUTEX_WAKE_PRIVATE, 1) = 1
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x8ffffffff} ---
+++ killed by SIGSEGV +++
Segmentation fault[/FONT]
Running the simulator in GDB I was slightly surprised to be able to get the full stack trace and I know exactly where the segmentation fault happens in the simulator's source code.
I don't want to break any licenses by appearing to be reverse engineering the simulator though so I will only post that if requested.
But if there is anything I can do to avoid segmentation faults that would be great.