- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm getting the following errors and warnings when I'm loading ModusToolbox 2.0 or 2.1 on my Linux box Ubuntu 18.04.3 LTS (GNU/Linux 5.3.0-46-generic x86_64):
(Eclipse IDE for ModusToolbox:3063): GLib-CRITICAL **: 06:27:00.724: g_base64_encode_step: assertion 'in != NULL' failed
(Eclipse IDE for ModusToolbox:3063): Gtk-WARNING **: 06:29:21.202: Negative content width -4 (allocation 2, extents 3x3) while allocatin g gadget (node progressbar, owner GtkProgressBar)
Are there any impact from these errors/warnings? How to eliminate them?
Regards,
Sergey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Sergey,
Please follow the steps mentioned in this guide to install ModusToolbox on Linux: https://www.cypress.com/file/504351/download
Let me know if you still face issues.
Regards,
Dheeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Dheeraj,
Thank you! I followed this instruction when I did my installation. Are you using mtb 2.1 on Ubuntu 18?
Regards,
Sergey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The issue you are seeing is because the GTK version on your Linux is causing problems with Eclipse. Try updating your GTK version, it should help solve this issue.
Please see these threads for more information:
(1) 501542 – [GTK3] Crash when opening a GMF/GEF-based diagram using GTK 3.22
I currently do not have a Linux system to test my findings, so please let me know your observations
Regards,
Dheeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Dheeraj,
Thank you for your reply.
I have quite recent version of GTK from last summer. The articles you've recommended are much older and have no recommendation to use a version newer than what I have. MTB release notes has no references to GTK requirements. Could you please clarify which version of GTK is recommended by Cypress for MTB 2.1?
dpkg -l libgtk* | grep -e '^i' | grep -e 'libgtk-*[0-9]'
ii libgtk-3-0:amd64 3.22.30-1ubuntu4 amd64 GTK+ graphical user interface library
ii libgtk-3-bin 3.22.30-1ubuntu4 amd64 programs for the GTK+ graphical user interface library
ii libgtk-3-common 3.22.30-1ubuntu4 all common files for the GTK+ graphical user interface library
ii libgtk2-perl 2:1.24992-1build1 amd64 Perl interface to the 2.x series of the Gimp Toolkit library
ii libgtk2.0-0:amd64 2.24.32-1ubuntu1 amd64 GTK+ graphical user interface library
ii libgtk2.0-bin 2.24.32-1ubuntu1 amd64 programs for the GTK+ graphical user interface library
ii libgtk2.0-common 2.24.32-1ubuntu1 all common files for the GTK+ graphical user interface library
ii libgtk3-nocsd0:amd64 3-1ubuntu1 amd64 Library to disable Gtk+ 3 client side decorations (CSD)
ii libgtk3-perl 0.032-1 all Perl bindings for the GTK+ graphical user interface library
Regards,
Sergey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The library libgtk-3-0 is the version against which ModusToolbox has been tested to work. Since you have the same version, it should have worked for you as well. But I see a couple of older versions as well in your system, possibly what might be causing this conflict.
Can you try removing the older versions and checking if the issue gets resolved?
Regards,
Dheeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Dheeraj,
Thank you for your reply. I've removed old version as you've suggested.
dpkg -l libgtk* | grep -e '^i' | grep -e 'libgtk-*[0-9]'
ii libgtk-3-0:amd64 3.22.30-1ubuntu4 amd64 GTK+ graphical user interface library
ii libgtk-3-bin 3.22.30-1ubuntu4 amd64 programs for the GTK+ graphical user interface library
ii libgtk-3-common 3.22.30-1ubuntu4 all common files for the GTK+ graphical user interface library
ii libgtk3-nocsd0:amd64 3-1ubuntu1 amd64 Library to disable Gtk+ 3 client side decorations (CSD)
ii libgtk3-perl 0.032-1 all Perl bindings for the GTK+ graphical user interface library
But I'm still getting errors:
(Eclipse IDE for ModusToolbox:6129): GLib-CRITICAL **: 19:59:35.296: g_base64_encode_step: assertion 'in != NULL' failed
Regards,
Sergey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Sergey,
Can you try running ldd against the ModusToolbox executable?
>>ldd ide_2.1/eclipse/ModusToolbox
This should give us useful information on what libraries the application is being run against.
Looking forward to your reply.
Regards,
Dheeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Dheeraj,
Thank you for your reply. I've run the command and here are the results:
~/ModusToolbox$ ldd ide_2.1/eclipse/ModusToolbox
linux-vdso.so.1 (0x00007fffa2162000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f206cb0b000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f206c907000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f206c516000)
/lib64/ld-linux-x86-64.so.2 (0x00007f206cd2a000)
Regards,
Sergey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It looks like the eclipse executable doesn't link against the libgtk library based on the output log you provided which is strange since that is the error you see.
I have passed this issue to the software team for evaluation. Thank you for your interest in Cypress products.
Regards,
Dheeraj