Connect IQ 2.3 beta - Ubuntu 17.04 - simulator crash

Former Member
Former Member
Hello Garmin Team,
Thank you for the releasing SDK for Linux.
But I cannot start the simulator application under Ubuntu 17.04.

Environment:
* Ubuntu 17.04 (64 bit, kernel version 4.10.0-19-generic)
* Eclipse (64 bit, Version: Neon.3 Release (4.6.3), Build id: 20170314-1500)
* Connect IQ 2.3.0 beta 1 SDK LINUX (installed from SDK Manager)

Detailed description of the issue:
Simulator is crashing with message:

./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
libpng error: Libpng jmp_buf still allocated
[1] 24499 segmentation fault (core dumped) ./simulator


Steps to reproduce the issue:

1.a. Run simulator from command line:
./simulator
or
1.b Run simulator from Eclipse (Menu path: Connect IQ/Start Simulator)


Additional information:
I had to install:
1. libwebkitgtk-1.0-0 (from Ubuntu 17.04 repositories)
2. and libpng12.
libpng12 is not available in Ubuntu 17.04 repositories.
The latest version libpng12 is for Ubuntu 16.04.
So I installed version from this link:
http://packages.ubuntu.com/xenial/libpng12-0

I have found probable cause:

https://github.com/jherico/libpng/blob/master/pngerror.c#L624

libpng version:
dpkg -l |grep libpng
ii libpng-dev:amd64 1.6.28-1 amd64 PNG library - development (version 1.6)
ii libpng-tools 1.6.28-1 amd64 PNG library - tools (version 1.6)
ii libpng12-0:amd64 1.2.54-1ubuntu1 amd64 PNG library - runtime
ii libpng16-16:amd64 1.6.28-1 amd64 PNG library - runtime (version 1.6)
  • Thanks for reporting this--we'll investigate this and see whether we can determine a root cause, but please update this thread if you have any new information to add. If we have any updates or questions, we'll post back here.

    We appreciate you trying out the Linux SDK!
  • We currently support the LTS version of Ubuntu, the latest of which is 16.04. It's still entirely possible you may find a way to get the simulator working under 17.04, but it's not something we have tested yet. This is still considered a beta feature, and I'm not certain whether we intend to expand support to newer, non-LTS versions of Ubuntu in the future. Apologies for the trouble!