PicoScope 6 crashes at startup on Ubuntu 18.04
PicoScope 6 crashes at startup on Ubuntu 18.04
Hi all
PicoScope 6 crashes at startup on Ubuntu 18.04.
In both user and admin modes
Tested on 2 Dell precision 3630.
I've attached the trace.xml
any suggestions ?
Thank you
PicoScope 6 crashes at startup on Ubuntu 18.04.
In both user and admin modes
Tested on 2 Dell precision 3630.
I've attached the trace.xml
any suggestions ?
Thank you
- Attachments
-
- trace.xml
- (4.29 KiB) Downloaded 176 times
Re: PicoScope 6 crashes at startup on Ubuntu 18.04
In the xml file it says:
Can you do an ls of /opt/picomono/lib/
You should see something like:
I have the same version and the same Ubuntu 18.04 and it works fine in my case.Inner Exception:System.DllNotFoundException: /opt/picomono/lib/libgdiplus.so
Can you do an ls of /opt/picomono/lib/
You should see something like:
Code: Select all
$ls -al /opt/picomono/lib
total 39380
drwxr-xr-x 6 root root 4096 Aug 23 22:52 .
drwxr-xr-x 7 root root 4096 Aug 23 22:52 ..
drwxr-xr-x 2 root root 4096 Aug 23 22:52 gtk-sharp-2.0
drwxr-xr-x 2 root root 4096 Aug 23 22:52 lib
-rw-r--r-- 1 root root 70168 Apr 20 2017 libatksharpglue-2.so
lrwxrwxrwx 1 root root 24 Aug 23 22:52 libgdiplus.so -> /usr/lib/libgdiplus.so.0
lrwxrwxrwx 1 root root 24 Aug 23 22:52 libgdiplus.so.0 -> /usr/lib/libgdiplus.so.0
-rw-r--r-- 1 root root 1589634 Apr 20 2017 libgdiplus.so.0.0.0
-rw-r--r-- 1 root root 96843 Apr 20 2017 libgdksharpglue-2.so
-rw-r--r-- 1 root root 13959 Apr 20 2017 libgladesharpglue-2.so
-rw-r--r-- 1 root root 51204 Apr 20 2017 libglibsharpglue-2.so
-rw-r--r-- 1 root root 718036 Apr 20 2017 libgtksharpglue-2.so
-rw-r--r-- 1 root root 401923 Apr 20 2017 libikvm-native.so
lrwxrwxrwx 1 root root 18 Apr 20 2017 libmono-2.0.so -> libmonosgen-2.0.so
lrwxrwxrwx 1 root root 20 Apr 20 2017 libmono-2.0.so.1 -> libmonosgen-2.0.so.1
lrwxrwxrwx 1 root root 24 Apr 20 2017 libmono-2.0.so.1.0.0 -> libmonosgen-2.0.so.1.0.0
lrwxrwxrwx 1 root root 25 Apr 20 2017 libmonoboehm-2.0.so -> libmonoboehm-2.0.so.1.0.0
lrwxrwxrwx 1 root root 25 Apr 20 2017 libmonoboehm-2.0.so.1 -> libmonoboehm-2.0.so.1.0.0
-rw-r--r-- 1 root root 17066051 Apr 20 2017 libmonoboehm-2.0.so.1.0.0
-rw-r--r-- 1 root root 845826 Apr 20 2017 libMonoPosixHelper.so
lrwxrwxrwx 1 root root 24 Apr 20 2017 libmonosgen-2.0.so -> libmonosgen-2.0.so.1.0.0
lrwxrwxrwx 1 root root 24 Apr 20 2017 libmonosgen-2.0.so.1 -> libmonosgen-2.0.so.1.0.0
-rw-r--r-- 1 root root 19069013 Apr 20 2017 libmonosgen-2.0.so.1.0.0
-rw-r--r-- 1 root root 318631 Apr 20 2017 libMonoSupportW.so
-rw-r--r-- 1 root root 30630 Apr 20 2017 libpangosharpglue-2.so
drwxr-xr-x 14 root root 4096 Aug 23 22:52 mono
drwxr-xr-x 2 root root 4096 Aug 23 22:52 mono-source-libs
Re: PicoScope 6 crashes at startup on Ubuntu 18.04
Thank you for your answer
I have the same thing as you.
Other suggestions ?
I have the same thing as you.
Other suggestions ?
Code: Select all
$ ls -al /opt/picomono/lib/
total 39380
drwxr-xr-x 6 root root 4096 sept. 18 11:36 .
drwxr-xr-x 7 root root 4096 sept. 18 11:36 ..
drwxr-xr-x 2 root root 4096 sept. 18 11:36 gtk-sharp-2.0
drwxr-xr-x 2 root root 4096 sept. 18 11:36 lib
-rw-r--r-- 1 root root 70168 avril 20 2017 libatksharpglue-2.so
lrwxrwxrwx 1 root root 19 avril 20 2017 libgdiplus.so -> libgdiplus.so.0.0.0
lrwxrwxrwx 1 root root 19 avril 20 2017 libgdiplus.so.0 -> libgdiplus.so.0.0.0
-rw-r--r-- 1 root root 1589634 avril 20 2017 libgdiplus.so.0.0.0
-rw-r--r-- 1 root root 96843 avril 20 2017 libgdksharpglue-2.so
-rw-r--r-- 1 root root 13959 avril 20 2017 libgladesharpglue-2.so
-rw-r--r-- 1 root root 51204 avril 20 2017 libglibsharpglue-2.so
-rw-r--r-- 1 root root 718036 avril 20 2017 libgtksharpglue-2.so
-rw-r--r-- 1 root root 401923 avril 20 2017 libikvm-native.so
lrwxrwxrwx 1 root root 18 avril 20 2017 libmono-2.0.so -> libmonosgen-2.0.so
lrwxrwxrwx 1 root root 20 avril 20 2017 libmono-2.0.so.1 -> libmonosgen-2.0.so.1
lrwxrwxrwx 1 root root 24 avril 20 2017 libmono-2.0.so.1.0.0 -> libmonosgen-2.0.so.1.0.0
lrwxrwxrwx 1 root root 25 avril 20 2017 libmonoboehm-2.0.so -> libmonoboehm-2.0.so.1.0.0
lrwxrwxrwx 1 root root 25 avril 20 2017 libmonoboehm-2.0.so.1 -> libmonoboehm-2.0.so.1.0.0
-rw-r--r-- 1 root root 17066051 avril 20 2017 libmonoboehm-2.0.so.1.0.0
-rw-r--r-- 1 root root 845826 avril 20 2017 libMonoPosixHelper.so
lrwxrwxrwx 1 root root 24 avril 20 2017 libmonosgen-2.0.so -> libmonosgen-2.0.so.1.0.0
lrwxrwxrwx 1 root root 24 avril 20 2017 libmonosgen-2.0.so.1 -> libmonosgen-2.0.so.1.0.0
-rw-r--r-- 1 root root 19069013 avril 20 2017 libmonosgen-2.0.so.1.0.0
-rw-r--r-- 1 root root 318631 avril 20 2017 libMonoSupportW.so
-rw-r--r-- 1 root root 30630 avril 20 2017 libpangosharpglue-2.so
drwxr-xr-x 14 root root 4096 sept. 18 11:36 mono
drwxr-xr-x 2 root root 4096 sept. 18 11:36 mono-source-libs
Re: PicoScope 6 crashes at startup on Ubuntu 18.04
Is the symbolic link to which libgdiplus refers to also present on your system?
Re: PicoScope 6 crashes at startup on Ubuntu 18.04
Are you able to start picoscope in demo mode, i.e. without a device connected?
Re: PicoScope 6 crashes at startup on Ubuntu 18.04
I don't see any pbs with symbolic links.
No, unable to start picoscope in demo mode.
The program crashes right from launch.
I only see the error window attached.
No, unable to start picoscope in demo mode.
The program crashes right from launch.
I only see the error window attached.
Re: PicoScope 6 crashes at startup on Ubuntu 18.04
Could you try to find out with strace which file access attempt, if any, is causing a problem?
Re: PicoScope 6 crashes at startup on Ubuntu 18.04
Here is the file generated by strace :
https://webcloud.zaclys.com/index.php/s/5FssaDmfctz8nf8
It doesn't really help me. Maybe you ?
https://webcloud.zaclys.com/index.php/s/5FssaDmfctz8nf8
It doesn't really help me. Maybe you ?
Re: PicoScope 6 crashes at startup on Ubuntu 18.04
picotech forum is not allowing me to reply with some bash output.
What is the purpose of this forum at all?
I wanted to say that you can check your locale in linux. Mine is the following:
What is the purpose of this forum at all?
I wanted to say that you can check your locale in linux. Mine is the following:
Code: Select all
$ locale
LANG=en_US.UTF-8
LANGUAGE=en_US
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC=en_GB.UTF-8
LC_TIME=de_DE.UTF-8
LC_COLLATE="en_US.UTF-8"
LC_MONETARY=de_DE.UTF-8
LC_MESSAGES="en_US.UTF-8"
LC_PAPER=de_DE.UTF-8
LC_NAME=de_DE.UTF-8
LC_ADDRESS=de_DE.UTF-8
LC_TELEPHONE=de_DE.UTF-8
LC_MEASUREMENT=de_DE.UTF-8
LC_IDENTIFICATION=de_DE.UTF-8
LC_ALL=
Re: PicoScope 6 crashes at startup on Ubuntu 18.04
If you follow the symbolic link to picoscope and the script which is in:
/opt/picoscope/bin/picoscope
can you find out if something is not working in the script?
In my case, I can start it manually with:
The advantage is that all errors are shown in the terminal and maybe you can see from there why it is crashing.
Good luck!
/opt/picoscope/bin/picoscope
can you find out if something is not working in the script?
In my case, I can start it manually with:
Code: Select all
# assuming mono is located at:
# $(which mono 2>/dev/null)
# and equals to:
# /opt/picomono/bin/mono
export PATH="/opt/picomono/bin:$PATH"
export LD_LIBRARY_PATH="/opt/picomono/lib:$LD_LIBRARY_PATH"
export MONO_PATH=/opt/picoscope/lib
cd /opt/picoscope/lib
exec sg pico -c "/opt/picomono/bin/mono /opt/picoscope/lib/PicoScope.GTK.exe"
Good luck!
Re: PicoScope 6 crashes at startup on Ubuntu 18.04
Thank you.
But I give up. Maybe the next versions will settle this pb.
But I give up. Maybe the next versions will settle this pb.
Re: PicoScope 6 crashes at startup on Ubuntu 18.04
The most likely reason is, that you are missing libpng12 -library. Ubuntu 18 (and newer) ships only with libpng16 installed, and libpng12 is not available from apt library.
You need to install the files manually from .deb file:
Download the file from here https://packages.ubuntu.com/xenial/amd64/libpng12-0/download
Extract contents with dpkg -x, eg.
Copy the library to /lib/x86_64-linux-gnu (you need root access to do this!)
After this Picoscope should start. Or at least this fixed the error for me!
You need to install the files manually from .deb file:
Download the file from here https://packages.ubuntu.com/xenial/amd64/libpng12-0/download
Extract contents with dpkg -x, eg.
Code: Select all
dpkg -X somefolder libpng12-0_1.2.54-1ubuntu1.1_amd64.deb
Code: Select all
sudo cp -rp somefolder/* /lib/x86_64-linux-gnu
Re: PicoScope 6 crashes at startup on Ubuntu 18.04
Same here! on fresh 18.04 install.
installing libpng12-0 fixed it.
installing libpng12-0 fixed it.
Re: PicoScope 6 crashes at startup on Ubuntu 18.04
same here on Xubuntu 18.04.3 LTS
Installing libpng12-0 via apt solved my problem:
1) sudo bash -c 'echo "deb http://security.ubuntu.com/ubuntu xenial-security main" > /etc/apt/sources.list
2) sudo apt-get update
3) sudo apt-get install libpng12-0
Thanks a lot!
Installing libpng12-0 via apt solved my problem:
1) sudo bash -c 'echo "deb http://security.ubuntu.com/ubuntu xenial-security main" > /etc/apt/sources.list
2) sudo apt-get update
3) sudo apt-get install libpng12-0
Thanks a lot!
Re: PicoScope 6 crashes at startup on Ubuntu 18.04
FYI - This worked for me too. This is on Ubuntu 18.04 running from an SD card on a Chromebook. 
