Test and Measurement Forum

ubuntu 12.04 dependencies

Discussion forum for the new Picoscope Linux software

ubuntu 12.04 dependencies

Postby deepspace » Wed Jul 13, 2016 3:01 pm

Hello
trying to install the last version of picoscope software on my ubuntu 12.04 (I have a picoscope 2206) I have the following messages:
Code: Select all
deepspace@Hal9000:~$ sudo apt-get install picoscope
[sudo] password for deepspace:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
picoscope : Depends: picomono but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
deepspace@Hal9000:~$ sudo apt-get install picomono
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
picomono : Depends: libcairo2 (>= 1.12.0) but 1.10.2-6.1ubuntu3 is to be installed
E: Unable to correct problems, you have held broken packages.


as far as I understand the problem is related to libcairo2 that on ubuntu 12.04 is 1.10.2-6 instead of >=1.12.0 as required.
Some suggestions?
thanks a lot
gianni.
deepspace
Newbie
 
Posts: 0
Joined: Wed Jul 13, 2016 2:45 pm

Re: ubuntu 12.04 dependencies

Postby Martyn » Wed Jul 20, 2016 10:13 am

Have you run

sudo apt-get update

before

sudo apt-get install picoscope
Martyn
Technical Specialist
Martyn
Site Admin
Site Admin
 
Posts: 2285
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: ubuntu 12.04 dependencies

Postby deepspace » Wed Jul 20, 2016 1:06 pm

yes!
anyway I repeat the update and the result is exactly the same

I have same problem with two computers running both Ubuntu 12.04 and before last release one of those was running fine (trying to install on the second one I discover the problem)

do you think it is possible to install the old release (the one running fine is the 6.11.8.10)?

or at least a release that supports libcairo 1.10.2-6.1ubuntu3?

thanks a lot
ciao
gianni
deepspace
Newbie
 
Posts: 0
Joined: Wed Jul 13, 2016 2:45 pm

Re: ubuntu 12.04 dependencies

Postby mario_ » Tue Jul 26, 2016 10:49 am

Hi deepspace,

It has been now resolved here: topic25641.html#p84721

Mario
mario_
Site Admin
Site Admin
 
Posts: 112
Joined: Fri Sep 13, 2013 12:57 pm

Re: ubuntu 12.04 dependencies

Postby deepspace » Tue Jul 26, 2016 12:33 pm

thank you a lot, now it install without errors or broken dependencies

but still a problem: after opening a blank window, it crashes
running from line command I have the following message:
Code: Select all
$ picoscope
sh: line 1: 25792 Aborted                 (core dumped) /opt/picomono/bin/mono /opt/picoscope/lib/PicoScope.GTK.exe 2>&1 > /dev/null

same result doing
$sudo picoscope

looking at syslog I have these messages
Code: Select all
Jul 26 14:24:03 Hal9000 kernel: [229393.373118] usb 3-3: reset high-speed USB device number 5 using xhci_hcd
Jul 26 14:24:03 Hal9000 kernel: [229393.389185] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff88000ba5f700
Jul 26 14:24:03 Hal9000 kernel: [229393.389188] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff88000ba5f740
Jul 26 14:24:03 Hal9000 kernel: [229393.389189] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff88000ba5f780
Jul 26 14:24:03 Hal9000 kernel: [229393.389191] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff88000ba5f7c0
Jul 26 14:24:03 Hal9000 kernel: [229393.389419] usb 3-3: usbfs: process 25945 (mono) did not claim interface 0 before use


it seems that mono uses interface without claiming it
listing usb devices I have:

Code: Select all
$ lsusb
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 003 Device 005: ID 0ce9:1016 pico Technology
Bus 003 Device 002: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 003: ID 046d:0825 Logitech, Inc. Webcam C270
Bus 002 Device 004: ID 062a:6728 Creative Labs
Bus 002 Device 005: ID 13b2:0063 Alesis
Bus 003 Device 003: ID 1a86:752d QinHeng Electronics CH345 MIDI adapter


I hope this helps
any idea?

ciao
gianni
deepspace
Newbie
 
Posts: 0
Joined: Wed Jul 13, 2016 2:45 pm

Re: ubuntu 12.04 dependencies

Postby mario_ » Tue Jul 26, 2016 2:10 pm

Looks like permission issue? Things to check:
* Is you user member of group pico ? Run `groups` command to verify this.
* Is device having correct permissions set up? Run /opt/picoscope/share/doc/libps2000a/usbtest script to verify
* Is udev config present and active? Check for /etc/udev/rules.d/95-pico.rules file

Maybe reboot is all you need. You can also try to reapply the permissions
Code: Select all
sudo dpkg-reconfigure libps2000a

or apply them manually to your user.

If it not permissions, edit /opt/picoscope/bin/picoscope and replace anything after PicoScope.GTK.exe with double quotes and run it in the console to receive more verbose information about the crash.

Mario
mario_
Site Admin
Site Admin
 
Posts: 112
Joined: Fri Sep 13, 2013 12:57 pm

Re: ubuntu 12.04 dependencies

Postby deepspace » Tue Jul 26, 2016 8:54 pm

Hi Mario
yes I'm in pico group
Code: Select all
$ groups
deepspace adm dialout cdrom sudo audio dip plugdev lpadmin sambashare pico

usbtest gives the following results:
Code: Select all
$ /opt/picoscope/share/doc/libps2000a/usbtest

****************************************************************************
*                  Pico Technology Linux USB Diagnostics                   *
****************************************************************************

This script looks for Pico USB devices connected to your computer
and checks whether you are able to access them. If your user account
does not have permission to access the devices, the script will try
to suggest how to correct this for your particular Linux installation.

Press enter to continue...

Getting user and group information...
- You are running this script as deepspace.
- You are in the following groups:
     deepspace adm dialout cdrom sudo audio dip plugdev lpadmin sambashare pico

Please connect your Pico USB device and press enter to continue...

Pico USB device found: /dev/bus/usb/003/002

- It belongs to root (which is not you) who has permissions rw-
- The members of group pico (which you are in) have permissions rw-
- Everyone else has permissions r--
- You can write to this device and so will be able to use it.

95-pico.rules contains the following:

Code: Select all
$ more /etc/udev/rules.d/95-pico.rules
ATTRS{idVendor}=="0ce9", MODE="664", GROUP="pico"


I've done a reboot too but when I start picoscope (after the editing you suggested in the /opt/picoscope/bin/picoscope script ) I ear the relay clicking on the picoscope hardware but it is still crashing (or some times hang with a blank picoscope window).
The output of the script is the following: (sorry it is a bit long....)

Code: Select all
$ picoscope
Info: Trace opened 7/26/2016.
Environment: Info: Running on Mono - True
Environment: Info: Mono Display Name - 2.10.8.1 (tarball Tue Jul 26 07:15:35 BST 2016)
Environment: Info: Host Operating System - Linux
Environment: Info: 64Bit Operating System - True
Environment: Info: 64Bit Process - True
Environment: Info: Logical Processors - 4
ApplicationInfo: Info: Application 'PicoScope 6 Beta' (version 6.11.13.3) starting.
ID: Info: DF8E1EAFEA91C8D17CB213D6B2251FD0
Environment: Info: User is not Guest
Environment: Info: No Administrator Privileges
Environment: Info: Failed to detect access rights
Environment: Info: OS Version - Unix 3.13.0.92
Environment: Info: .net Version - 4.0.30319.1
Environment: Info: Current Directory - /opt/picoscope/lib
Environment: Info: Command Line - /opt/picoscope/lib/PicoScope.GTK.exe
ApplicationInfo: Info: Settings file version - 11.2.0
ApplicationInfo: Info: Preferences file version - 2.0.0
ApplicationInfo: Info: Probes file version - 1.0.0
ApplicationInfo: Info: Data file binary header version - 1
Info: Using default culture: English (United States).
InitalDeviceLoadSequence: Info: Begin
Scanning for USB devices: Info: Begin
Scanning for USB devices: Info: Complete
Device: Info: Attempting to load ps6000.dll
Device: Info: Finished loading ps6000.dll
Device: Info: Opening device using DLL ps6000.dll
Device: Info: Opening device unsuccessful. Error UnitNotFound
Device: Info: Attempting to load ps6000.dll
Device: Info: Finished loading ps6000.dll
Device: Info: Opening device using DLL ps6000.dll
Device: Info: Opening device unsuccessful. Error UnitNotFound
Device: Info: Attempting to load ps5000a.dll
Device: Info: Finished loading ps5000a.dll
Device: Info: Opening device using DLL ps5000a.dll
Device: Info: Opening device unsuccessful. Error UnitNotFound
Device: Info: Attempting to load ps5000.dll
Device: Info: Finished loading ps5000.dll
Device: Info: Opening device using DLL ps5000.dll
Device: Info: Opening device unsuccessful. Error UnitNotFound
Device: Info: Attempting to load ps4000a.dll
Device: Info: Finished loading ps4000a.dll
Device: Info: Opening device using DLL ps4000a.dll
Device: Info: Opening device unsuccessful. Error UnitNotFound
Device: Info: Attempting to load ps4000a.dll
Device: Info: Finished loading ps4000a.dll
Device: Info: Opening device using DLL ps4000a.dll
Device: Info: Opening device unsuccessful. Error UnitNotFound
Device: Info: Attempting to load ps4000.dll
Device: Info: Finished loading ps4000.dll
Device: Info: Opening device using DLL ps4000.dll
Device: Info: Opening device unsuccessful. Error UnitNotFound
Device: Info: Attempting to load ps3000a.dll
Device: Info: Finished loading ps3000a.dll
Device: Info: Opening device using DLL ps3000a.dll
Device: Info: Opening device unsuccessful. Error UnitNotFound
Device: Info: Attempting to load ps3000a.dll
Device: Info: Finished loading ps3000a.dll
Device: Info: Opening device using DLL ps3000a.dll
Device: Info: Opening device unsuccessful. Error UnitNotFound
Device: Info: Attempting to load ps3000a.dll
Device: Info: Finished loading ps3000a.dll
Device: Info: Opening device using DLL ps3000a.dll
Device: Info: Opening device unsuccessful. Error UnitNotFound
Device: Info: Attempting to load ps3000a.dll
Device: Info: Finished loading ps3000a.dll
Device: Info: Opening device using DLL ps3000a.dll
Device: Info: Opening device unsuccessful. Error UnitNotFound
Device: Info: Attempting to load ps3000.dll
Device: Info: Finished loading ps3000.dll
Device: Info: Opening device using DLL ps3000.dll
Device: Info: Opening device unsuccessful. Error UnitNotFound
Device: Info: Attempting to load ps2000a.dll
Device: Info: Finished loading ps2000a.dll
Device: Info: Opening device using DLL ps2000a.dll
Message: Info: Opening PS2000a.dll
Device: Info: Opening device successful. Error NoError.
Device: Info: Device opened AX768/330: PS2000A PS2206 PS2000A
Device: Info: Attempting to load ps2000a.dll
Device: Info: Finished loading ps2000a.dll
Device: Info: Opening device using DLL ps2000a.dll
Message: Info: Opening PS2000a.dll
Device: Info: Opening device unsuccessful. Error UnitNotFound
Device: Info: Attempting to load ps2000.dll
Device: Info: Finished loading ps2000.dll
Device: Info: Opening device using DLL ps2000.dll
Device: Info: Opening device unsuccessful. Error UnitNotFound
Device: Info: Attempting to load usbdrdaq.dll
Device: Info: Finished loading usbdrdaq.dll
Device: Info: Opening device using DLL usbdrdaq.dll
Device: Info: usbdrdaq.dll OpenUnit returned 3
Device: Info: Opening device unsuccessful. Error UnitNotFound
Device: Info: Attempting to load pl1000.dll
Device: Info: Finished loading pl1000.dll
Device: Info: Opening device using DLL pl1000.dll
Device: Info: Opening device unsuccessful. Error UnitNotFound
Device: Info: No of Devices Found: 1
Device: Info: Device selected: PS2206, AX768/330
Info: Driver: ps2000a.dll Version: PS2000A Linux Driver, 1.1.6.18
Info: Kernel driver: picopp.sys Version: PS2000A Linux Driver, 1.1.6.18
InitalDeviceLoadSequence: Info: Complete
Stacktrace:

  at (wrapper managed-to-native) n/b.a (aT,int,uint,aR/i,single,single,single,single,aR/SiggenSweepType,aR/j,uint,uint,aR/SiggenTrigType,aR/SiggenTrigSource,int16) <0xffffffff>
  at n.SetSiggen (int,uint,aR/i,single,single,single,single,aR/SiggenSweepType,aR/j,uint,uint,aR/SiggenTrigType,aR/SiggenTrigSource,int16) <0x0015b>
  at l.a (cr) <0x0052a>
  at l.DirectConfigureSiggen () <0x0004f>
  at e.h () <0x00097>
  at l.b () <0x06f83>
  at l..ctor (E) <0x002f3>
  at n..ctor (F) <0x00017>
  at F.DoCreateDevice () <0x00027>
  at C.a () <0x00048>
  at dc.a (eq,bool,bool,System.Collections.Generic.List`1<Pico.Common.Dal.DeviceSeries>) <0x00147>
  at cH.a (bool,bool) <0x0007b>
  at cH.a (bool,bool) <0x001eb>
  at cH.StartApp (bool,bool) <0x0006b>
  at aO.b () <0x0006b>
  at aY.a (object,System.EventArgs) <0x00033>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object_object (object,intptr,intptr,intptr) <0xffffffff>
  at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&) <0xffffffff>
  at System.Reflection.MonoMethod.Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) <0x0018b>
  at System.Reflection.MethodBase.Invoke (object,object[]) <0x0002a>
  at System.Delegate.DynamicInvokeImpl (object[]) <0x001a3>
  at System.MulticastDelegate.DynamicInvokeImpl (object[]) <0x0003b>
  at System.Delegate.DynamicInvoke (object[]) <0x00018>
  at GLib.Signal.ClosureInvokedCB (object,GLib.ClosureInvokedArgs) <0x0014f>
  at GLib.SignalClosure.Invoke (GLib.ClosureInvokedArgs) <0x0002f>
  at GLib.SignalClosure.MarshalCallback (intptr,intptr,uint,intptr,intptr,intptr) <0x0028f>
  at (wrapper native-to-managed) GLib.SignalClosure.MarshalCallback (intptr,intptr,uint,intptr,intptr,intptr) <0xffffffff>
  at (wrapper managed-to-native) Gtk.Widget.gtk_widget_show_all (intptr) <0xffffffff>
  at Gtk.Widget.ShowAll () <0x00013>
  at aY/<>c__DisplayClassd.<StartApplication>b__a () <0x00043>
  at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <0xffffffff>
  at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&) <0xffffffff>
  at System.Reflection.MonoMethod.Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) <0x0018b>
  at System.Reflection.MethodBase.Invoke (object,object[]) <0x0002a>
  at System.Delegate.DynamicInvokeImpl (object[]) <0x001a3>
  at System.MulticastDelegate.DynamicInvokeImpl (object[]) <0x0003b>
  at System.Delegate.DynamicInvoke (object[]) <0x00018>
  at aS/a.b () <0x0002f>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_object__this__ (object,intptr,intptr,intptr) <0xffffffff>
  at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&) <0xffffffff>
  at System.Reflection.MonoMethod.Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) <0x0018b>
  at System.Reflection.MethodBase.Invoke (object,object[]) <0x0002a>
  at System.Delegate.DynamicInvokeImpl (object[]) <0x001a3>
  at System.MulticastDelegate.DynamicInvokeImpl (object[]) <0x0003b>
  at System.Delegate.DynamicInvoke (object[]) <0x00018>
  at aJ.a () <0x00033>
  at aI.b () <0x00127>
  at GLib.Idle/IdleProxy.Handler () <0x0003a>
  at (wrapper native-to-managed) GLib.Idle/IdleProxy.Handler () <0xffffffff>
  at (wrapper managed-to-native) Gtk.Application.gtk_main () <0xffffffff>
  at Gtk.Application.Run () <0x0000b>
  at aY.b () <0x001cf>
  at i.a (System.Collections.Generic.List`1<System.Exception>) <0x00039>
  at aY.a () <0x004af>
  at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

   /opt/picomono/bin/mono() [0x4916ba]
   /opt/picomono/bin/mono() [0x4e0d4f]
   /opt/picomono/bin/mono() [0x41bc77]
   /lib/x86_64-linux-gnu/libpthread.so.0(+0xfcb0) [0x7f8953fcccb0]
   /usr/local/lib/libusb-1.0.so.0(libusb_get_next_timeout+0x27) [0x7f892f0d20b7]
   /usr/local/lib/libusb-1.0.so.0(+0x5274) [0x7f892f0d2274]
   /usr/local/lib/libusb-1.0.so.0(libusb_handle_events_timeout+0x1f) [0x7f892f0d2e8f]
   /opt/picoscope/lib/libps2000a.so(+0xe1d64) [0x7f89219e7d64]
   /opt/picoscope/lib/libps2000a.so(+0xe2147) [0x7f89219e8147]
   /opt/picoscope/lib/libps2000a.so(+0xc1edc) [0x7f89219c7edc]
   /opt/picoscope/lib/libps2000a.so(+0xa6667) [0x7f89219ac667]
   /opt/picoscope/lib/libps2000a.so(+0xa7412) [0x7f89219ad412]
   /opt/picoscope/lib/libps2000a.so(+0xa5c32) [0x7f89219abc32]
   /opt/picoscope/lib/libps2000a.so(+0xa5547) [0x7f89219ab547]
   /opt/picoscope/lib/libps2000a.so(+0xcb093) [0x7f89219d1093]
   /opt/picoscope/lib/libps2000a.so(ps2000aSetSigGenBuiltIn+0x12b) [0x7f89219218ab]
   [0x414d86ab]

Debug info from gdb:

warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7ffffa7f1000
Mono support loaded.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7f891439d700 (LWP 4179)]
[New Thread 0x7f89167fc700 (LWP 4178)]
[New Thread 0x7f8916ffd700 (LWP 4177)]
[New Thread 0x7f89177fe700 (LWP 4176)]
[New Thread 0x7f8917fff700 (LWP 4175)]
[New Thread 0x7f8920903700 (LWP 4174)]
[New Thread 0x7f8921104700 (LWP 4173)]
[New Thread 0x7f893843a700 (LWP 4170)]
[New Thread 0x7f892ffff700 (LWP 4169)]
[New Thread 0x7f893ada1700 (LWP 4168)]
[New Thread 0x7f893b5a2700 (LWP 4167)]
[New Thread 0x7f8948529700 (LWP 4166)]
[New Thread 0x7f894856a700 (LWP 4165)]
[New Thread 0x7f89490fb700 (LWP 4164)]
[New Thread 0x7f8951221700 (LWP 4163)]
[New Thread 0x7f8952519700 (LWP 4162)]
[New Thread 0x7f8952d1a700 (LWP 4161)]
[New Thread 0x7f895351b700 (LWP 4160)]
0x00007f8953fcbd2d in read () from /lib/x86_64-linux-gnu/libpthread.so.0
  Id   Target Id         Frame
  19   Thread 0x7f895351b700 (LWP 4160) "mono" 0x00007f8953fc8d84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
  18   Thread 0x7f8952d1a700 (LWP 4161) "mono" 0x00007f8953fc8d84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
  17   Thread 0x7f8952519700 (LWP 4162) "mono" 0x00007f8953fc8d84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
  16   Thread 0x7f8951221700 (LWP 4163) "mono" 0x00007f8953fcafd0 in sem_wait () from /lib/x86_64-linux-gnu/libpthread.so.0
  15   Thread 0x7f89490fb700 (LWP 4164) "mono" 0x00007f8953fc90fe in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
  14   Thread 0x7f894856a700 (LWP 4165) "mono" 0x00007f8953fcc52d in nanosleep () from /lib/x86_64-linux-gnu/libpthread.so.0
  13   Thread 0x7f8948529700 (LWP 4166) "mono" 0x00007f8953fc90fe in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
  12   Thread 0x7f893b5a2700 (LWP 4167) "dconf worker" 0x00007f8953ce6993 in poll () from /lib/x86_64-linux-gnu/libc.so.6
  11   Thread 0x7f893ada1700 (LWP 4168) "gdbus" 0x00007f8953ce6993 in poll () from /lib/x86_64-linux-gnu/libc.so.6
  10   Thread 0x7f892ffff700 (LWP 4169) "pool" 0x00007f8953fc90fe in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
  9    Thread 0x7f893843a700 (LWP 4170) "mono" 0x00007f8953fcb0c1 in sem_timedwait () from /lib/x86_64-linux-gnu/libpthread.so.0
  8    Thread 0x7f8921104700 (LWP 4173) "mono" 0x00007f8953fc8d84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
  7    Thread 0x7f8920903700 (LWP 4174) "mono" 0x00007f8953fc8d84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
  6    Thread 0x7f8917fff700 (LWP 4175) "mono" 0x00007f8953fc8d84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
  5    Thread 0x7f89177fe700 (LWP 4176) "mono" 0x00007f8953fc8d84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
  4    Thread 0x7f8916ffd700 (LWP 4177) "mono" 0x00007f8953fc8d84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
  3    Thread 0x7f89167fc700 (LWP 4178) "mono" 0x00007f8953fc8d84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
  2    Thread 0x7f891439d700 (LWP 4179) "mono" 0x00007f8953fc8d84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
* 1    Thread 0x7f8954ad4740 (LWP 4159) "mono" 0x00007f8953fcbd2d in read () from /lib/x86_64-linux-gnu/libpthread.so.0

Thread 19 (Thread 0x7f895351b700 (LWP 4160)):
#0  0x00007f8953fc8d84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00000000005cc333 in GC_wait_marker () at pthread_support.c:1863
#2  0x00000000005d1b4c in GC_help_marker (my_mark_no=34) at mark.c:1116
#3  0x00000000005caa77 in GC_mark_thread (id=<optimized out>) at pthread_support.c:552
#4  0x00007f8953fc4e9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#5  0x00007f8953cf236d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 18 (Thread 0x7f8952d1a700 (LWP 4161)):
#0  0x00007f8953fc8d84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00000000005cc333 in GC_wait_marker () at pthread_support.c:1863
#2  0x00000000005d1b4c in GC_help_marker (my_mark_no=34) at mark.c:1116
#3  0x00000000005caa77 in GC_mark_thread (id=<optimized out>) at pthread_support.c:552
#4  0x00007f8953fc4e9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#5  0x00007f8953cf236d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 17 (Thread 0x7f8952519700 (LWP 4162)):
#0  0x00007f8953fc8d84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00000000005cc333 in GC_wait_marker () at pthread_support.c:1863
#2  0x00000000005d1b4c in GC_help_marker (my_mark_no=34) at mark.c:1116
#3  0x00000000005caa77 in GC_mark_thread (id=<optimized out>) at pthread_support.c:552
#4  0x00007f8953fc4e9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#5  0x00007f8953cf236d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 16 (Thread 0x7f8951221700 (LWP 4163)):
#0  0x00007f8953fcafd0 in sem_wait () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00000000005b98f8 in mono_sem_wait (sem=0x8eb3a0, alertable=1) at mono-semaphore.c:113
#2  0x000000000057469b in finalizer_thread (unused=<optimized out>) at gc.c:1066
#3  0x000000000057c637 in start_wrapper_internal (data=0x16a6600) at threads.c:784
#4  start_wrapper (data=0x16a6600) at threads.c:832
#5  0x00000000005b3f32 in thread_start_routine (args=0x1688ff0) at wthreads.c:287
#6  0x00000000005cc11d in GC_start_routine (arg=<optimized out>) at pthread_support.c:1468
#7  0x00007f8953fc4e9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#8  0x00007f8953cf236d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 15 (Thread 0x7f89490fb700 (LWP 4164)):
#0  0x00007f8953fc90fe in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00000000005afd68 in _wapi_handle_timedwait_signal_handle (handle=0x409, timeout=0x7f89490fa880, alertable=1, poll=<optimized out>) at handles.c:1653
#2  0x00000000005aa11e in WaitForSingleObjectEx (handle=0x409, timeout=14999, alertable=1) at wait.c:205
#3  0x000000000057bf7b in ves_icall_System_Threading_WaitHandle_WaitOne_internal (this=<optimized out>, handle=0x409, ms=14999, exitContext=<optimized out>) at threads.c:1665
#4  0x00000000413d0a08 in ?? ()
#5  0x00007f8944000c20 in ?? ()
#6  0x0000000000000001 in ?? ()
#7  0x00007f89490fa94f in ?? ()
#8  0x00007f894bfcdcf8 in ?? ()
#9  0x0000000000000001 in ?? ()
#10 0x00007f89490fa970 in ?? ()
#11 0x00007f89490fa8d0 in ?? ()
#12 0x0000000000000000 in ?? ()

Thread 14 (Thread 0x7f894856a700 (LWP 4165)):
#0  0x00007f8953fcc52d in nanosleep () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00000000005b32b6 in SleepEx (ms=<optimized out>, alertable=1) at wthreads.c:1027
#2  0x000000000058bda8 in monitor_thread (unused=<optimized out>) at threadpool.c:777
#3  0x000000000057c637 in start_wrapper_internal (data=0x1ded8a0) at threads.c:784
#4  start_wrapper (data=0x1ded8a0) at threads.c:832
#5  0x00000000005b3f32 in thread_start_routine (args=0x1689ae0) at wthreads.c:287
#6  0x00000000005cc11d in GC_start_routine (arg=<optimized out>) at pthread_support.c:1468
#7  0x00007f8953fc4e9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#8  0x00007f8953cf236d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 13 (Thread 0x7f8948529700 (LWP 4166)):
#0  0x00007f8953fc90fe in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00000000005afd68 in _wapi_handle_timedwait_signal_handle (handle=0x400, timeout=0x7f89485286a0, alertable=1, poll=<optimized out>) at handles.c:1653
#2  0x00000000005aaab2 in WaitForMultipleObjectsEx (numobjects=2, handles=0x7f8934009310, waitall=0, timeout=1000, alertable=1) at wait.c:724
#3  0x000000000057c06c in ves_icall_System_Threading_WaitHandle_WaitAny_internal (mono_handles=<optimized out>, ms=1000, exitContext=<optimized out>) at threads.c:1616
#4  0x0000000040ab85b0 in ?? ()
#5  0x00007f8934000c20 in ?? ()
#6  0x00007f8948674f00 in ?? ()
#7  0x00007f8948732fc8 in ?? ()
#8  0x00007f89485287d0 in ?? ()
#9  0x00007f8948732fc8 in ?? ()
#10 0x00007f89485287d0 in ?? ()
#11 0x00007f8948528730 in ?? ()
#12 0x00000000000003e8 in ?? ()
#13 0x0000000000001480 in ?? ()
#14 0x00007f8948674f00 in ?? ()
#15 0x00000000000003e8 in ?? ()
#16 0x0000000040ab8208 in ?? ()
#17 0x00007f8948674f00 in ?? ()
#18 0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7f893b5a2700 (LWP 4167)):
#0  0x00007f8953ce6993 in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f89503d2ff6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f89503d345a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f893b5a798b in ?? () from /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
#4  0x00007f89503f49b5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f8953fc4e9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#6  0x00007f8953cf236d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7f893ada1700 (LWP 4168)):
#0  0x00007f8953ce6993 in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f89503d2ff6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f89503d345a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f8941b4f5e6 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f89503f49b5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f8953fc4e9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#6  0x00007f8953cf236d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7f892ffff700 (LWP 4169)):
#0  0x00007f8953fc90fe in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007f895040e935 in g_cond_wait_until () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f89503a91c1 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f89503a97da in g_async_queue_timeout_pop () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f89503f5134 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f89503f49b5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f8953fc4e9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#7  0x00007f8953cf236d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#8  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f893843a700 (LWP 4170)):
#0  0x00007f8953fcb0c1 in sem_timedwait () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00000000005b99eb in mono_sem_timedwait (sem=0x8eb9e8, timeout_ms=<optimized out>, alertable=1) at mono-semaphore.c:76
#2  0x000000000058e25f in async_invoke_thread (data=0x0) at threadpool.c:1485
#3  0x000000000057c637 in start_wrapper_internal (data=0x7f893c000cf0) at threads.c:784
#4  start_wrapper (data=0x7f893c000cf0) at threads.c:832
#5  0x00000000005b3f32 in thread_start_routine (args=0x1689d38) at wthreads.c:287
#6  0x00000000005cc11d in GC_start_routine (arg=<optimized out>) at pthread_support.c:1468
#7  0x00007f8953fc4e9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#8  0x00007f8953cf236d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f8921104700 (LWP 4173)):
#0  0x00007f8953fc8d84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007f89219e70a3 in ?? () from /opt/picoscope/lib/libps2000a.so
#2  0x00007f89219a8c4c in ?? () from /opt/picoscope/lib/libps2000a.so
#3  0x00007f89219a697a in ?? () from /opt/picoscope/lib/libps2000a.so
#4  0x00007f89219e6dea in ?? () from /opt/picoscope/lib/libps2000a.so
#5  0x00007f8953fc4e9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#6  0x00007f8953cf236d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f8920903700 (LWP 4174)):
#0  0x00007f8953fc8d84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007f89219e70a3 in ?? () from /opt/picoscope/lib/libps2000a.so
#2  0x00007f8921975f24 in ?? () from /opt/picoscope/lib/libps2000a.so
#3  0x00007f89219d60de in ?? () from /opt/picoscope/lib/libps2000a.so
#4  0x00007f89219e6dea in ?? () from /opt/picoscope/lib/libps2000a.so
#5  0x00007f8953fc4e9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#6  0x00007f8953cf236d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f8917fff700 (LWP 4175)):
#0  0x00007f8953fc8d84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007f89219e70a3 in ?? () from /opt/picoscope/lib/libps2000a.so
#2  0x00007f892197bcb5 in ?? () from /opt/picoscope/lib/libps2000a.so
#3  0x00007f89219e6dea in ?? () from /opt/picoscope/lib/libps2000a.so
#4  0x00007f8953fc4e9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#5  0x00007f8953cf236d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f89177fe700 (LWP 4176)):
#0  0x00007f8953fc8d84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007f89219e70a3 in ?? () from /opt/picoscope/lib/libps2000a.so
#2  0x00007f8921975f24 in ?? () from /opt/picoscope/lib/libps2000a.so
#3  0x00007f89219d60de in ?? () from /opt/picoscope/lib/libps2000a.so
#4  0x00007f89219e6dea in ?? () from /opt/picoscope/lib/libps2000a.so
#5  0x00007f8953fc4e9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#6  0x00007f8953cf236d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f8916ffd700 (LWP 4177)):
#0  0x00007f8953fc8d84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007f89219e70a3 in ?? () from /opt/picoscope/lib/libps2000a.so
#2  0x00007f892197bcb5 in ?? () from /opt/picoscope/lib/libps2000a.so
#3  0x00007f89219e6dea in ?? () from /opt/picoscope/lib/libps2000a.so
#4  0x00007f8953fc4e9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#5  0x00007f8953cf236d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f89167fc700 (LWP 4178)):
#0  0x00007f8953fc8d84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007f89219e70a3 in ?? () from /opt/picoscope/lib/libps2000a.so
#2  0x00007f89219a706c in ?? () from /opt/picoscope/lib/libps2000a.so
#3  0x00007f8921968060 in ?? () from /opt/picoscope/lib/libps2000a.so
#4  0x00007f89219e6dea in ?? () from /opt/picoscope/lib/libps2000a.so
#5  0x00007f8953fc4e9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#6  0x00007f8953cf236d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f891439d700 (LWP 4179)):
#0  0x00007f8953fc8d84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00000000005aff53 in _wapi_handle_timedwait_signal_handle (handle=0x42b, timeout=0x0, alertable=1, poll=<optimized out>) at handles.c:1655
#2  0x00000000005aa20d in WaitForSingleObjectEx (handle=0x42b, timeout=4294967295, alertable=1) at wait.c:203
#3  0x000000000057bf7b in ves_icall_System_Threading_WaitHandle_WaitOne_internal (this=<optimized out>, handle=0x42b, ms=-1, exitContext=<optimized out>) at threads.c:1665
#4  0x00000000413d0a08 in ?? ()
#5  0x00007f8908000c20 in ?? ()
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f8954ad4740 (LWP 4159)):
#0  0x00007f8953fcbd2d in read () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x000000000049185e in read (__nbytes=1024, __buf=0x7f8954b015b0, __fd=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/unistd.h:45
#2  mono_handle_native_sigsegv (signal=<optimized out>, ctx=<optimized out>) at mini-exceptions.c:2208
#3  0x00000000004e0d4f in mono_arch_handle_altstack_exception (sigctx=0x7f8954b01ac0, fault_addr=<optimized out>, stack_ovf=0) at exceptions-amd64.c:953
#4  0x000000000041bc77 in mono_sigsegv_signal_handler (_dummy=11, info=0x7f8954b01bf0, context=0x7f8954b01ac0) at mini.c:5909
#5  <signal handler called>
#6  libusb_get_next_timeout (ctx=0x0, tv=0x7ffffa782330) at io.c:2097
#7  0x00007f892f0d2274 in get_next_timeout (ctx=0x0, tv=0x7ffffa782390, out=0x7ffffa782360) at io.c:1886
#8  0x00007f892f0d2e8f in libusb_handle_events_timeout (ctx=0x0, tv=0x7ffffa782330) at io.c:1929
#9  0x00007f89219e7d64 in ?? () from /opt/picoscope/lib/libps2000a.so
#10 0x00007f89219e8147 in ?? () from /opt/picoscope/lib/libps2000a.so
#11 0x00007f89219c7edc in ?? () from /opt/picoscope/lib/libps2000a.so
#12 0x00007f89219ac667 in ?? () from /opt/picoscope/lib/libps2000a.so
#13 0x00007f89219ad412 in ?? () from /opt/picoscope/lib/libps2000a.so
#14 0x00007f89219abc32 in ?? () from /opt/picoscope/lib/libps2000a.so
#15 0x00007f89219ab547 in ?? () from /opt/picoscope/lib/libps2000a.so
#16 0x00007f89219d1093 in ?? () from /opt/picoscope/lib/libps2000a.so
#17 0x00007f89219218ab in ps2000aSetSigGenBuiltIn () from /opt/picoscope/lib/libps2000a.so
#18 0x00000000414d86ab in ?? ()
#19 0x0000000000000000 in ?? ()

=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================




hope this helps
thanks
ciao
gianni
deepspace
Newbie
 
Posts: 0
Joined: Wed Jul 13, 2016 2:45 pm

Re: ubuntu 12.04 dependencies

Postby mario_ » Wed Jul 27, 2016 6:48 am

Looking at the stack, it seems that you have some sort of unsupported settings in the signal generator.
Does picoscope work ok, when using only demo device? You can then reset default startup settings.
Alternatively you could look into your home folder for .local/share and rename or move Pico Technology folder to see if it helps.

Mario
mario_
Site Admin
Site Admin
 
Posts: 112
Joined: Fri Sep 13, 2013 12:57 pm

Re: ubuntu 12.04 dependencies

Postby deepspace » Wed Jul 27, 2016 9:51 am

Hi Mario
yes the demo mode works ok
following is the output of the picoscope command run on a terminale with the hardware detached
Code: Select all
deepspace@Hal9000:~$ picoscope
Info: Trace opened 7/27/2016.
Environment: Info: Running on Mono - True
Environment: Info: Mono Display Name - 2.10.8.1 (tarball Tue Jul 26 07:15:35 BST 2016)
Environment: Info: Host Operating System - Linux
Environment: Info: 64Bit Operating System - True
Environment: Info: 64Bit Process - True
Environment: Info: Logical Processors - 4
ApplicationInfo: Info: Application 'PicoScope 6 Beta' (version 6.11.13.3) starting.
ID: Info: DF8E1EAFEA91C8D17CB213D6B2251FD0
Environment: Info: User is not Guest
Environment: Info: No Administrator Privileges
Environment: Info: Failed to detect access rights
Environment: Info: OS Version - Unix 3.13.0.92
Environment: Info: .net Version - 4.0.30319.1
Environment: Info: Current Directory - /opt/picoscope/lib
Environment: Info: Command Line - /opt/picoscope/lib/PicoScope.GTK.exe
ApplicationInfo: Info: Settings file version - 11.2.0
ApplicationInfo: Info: Preferences file version - 2.0.0
ApplicationInfo: Info: Probes file version - 1.0.0
ApplicationInfo: Info: Data file binary header version - 1
Info: Using default culture: English (United States).
InitalDeviceLoadSequence: Info: Begin
Scanning for USB devices: Info: Begin
Scanning for USB devices: Info: Complete
Device: Info: Attempting to load ps6000.dll
Device: Info: Finished loading ps6000.dll
Device: Info: Opening device using DLL ps6000.dll
Device: Info: Opening device unsuccessful. Error UnitNotFound
Device: Info: Attempting to load ps6000.dll
Device: Info: Finished loading ps6000.dll
Device: Info: Opening device using DLL ps6000.dll
Device: Info: Opening device unsuccessful. Error UnitNotFound
Device: Info: Attempting to load ps5000a.dll
Device: Info: Finished loading ps5000a.dll
Device: Info: Opening device using DLL ps5000a.dll
Device: Info: Opening device unsuccessful. Error UnitNotFound
Device: Info: Attempting to load ps5000.dll
Device: Info: Finished loading ps5000.dll
Device: Info: Opening device using DLL ps5000.dll
Could not load signature of System.Net.Http.HttpContent:SerializeToStreamAsync due to:
Device: Info: Opening device unsuccessful. Error UnitNotFound
Device: Info: Attempting to load ps4000a.dll
Device: Info: Finished loading ps4000a.dll
Device: Info: Opening device using DLL ps4000a.dll
Device: Info: Opening device unsuccessful. Error UnitNotFound
Device: Info: Attempting to load ps4000a.dll
Device: Info: Finished loading ps4000a.dll
Device: Info: Opening device using DLL ps4000a.dll
Device: Info: Opening device unsuccessful. Error UnitNotFound
Device: Info: Attempting to load ps4000.dll
Device: Info: Finished loading ps4000.dll
Device: Info: Opening device using DLL ps4000.dll
Device: Info: Opening device unsuccessful. Error UnitNotFound
Device: Info: Attempting to load ps3000a.dll
Device: Info: Finished loading ps3000a.dll
Device: Info: Opening device using DLL ps3000a.dll
Device: Info: Opening device unsuccessful. Error UnitNotFound
Device: Info: Attempting to load ps3000a.dll
Device: Info: Finished loading ps3000a.dll
Device: Info: Opening device using DLL ps3000a.dll
Device: Info: Opening device unsuccessful. Error UnitNotFound
Device: Info: Attempting to load ps3000a.dll
Device: Info: Finished loading ps3000a.dll
Device: Info: Opening device using DLL ps3000a.dll
Device: Info: Opening device unsuccessful. Error UnitNotFound
Device: Info: Attempting to load ps3000a.dll
Device: Info: Finished loading ps3000a.dll
Device: Info: Opening device using DLL ps3000a.dll
Device: Info: Opening device unsuccessful. Error UnitNotFound
Device: Info: Attempting to load ps3000.dll
Device: Info: Finished loading ps3000.dll
Device: Info: Opening device using DLL ps3000.dll
Device: Info: Opening device unsuccessful. Error UnitNotFound
Device: Info: Attempting to load ps2000a.dll
Device: Info: Finished loading ps2000a.dll
Device: Info: Opening device using DLL ps2000a.dll
Message: Info: Opening PS2000a.dll
Device: Info: Opening device unsuccessful. Error UnitNotFound
Device: Info: Attempting to load ps2000.dll
Device: Info: Finished loading ps2000.dll
Device: Info: Opening device using DLL ps2000.dll
Device: Info: Opening device unsuccessful. Error UnitNotFound
Device: Info: Attempting to load usbdrdaq.dll
Device: Info: Finished loading usbdrdaq.dll
Device: Info: Opening device using DLL usbdrdaq.dll
Device: Info: usbdrdaq.dll OpenUnit returned 3
Device: Info: Opening device unsuccessful. Error UnitNotFound
Device: Info: Attempting to load pl1000.dll
Device: Info: Finished loading pl1000.dll
Device: Info: Opening device using DLL pl1000.dll
Device: Info: Opening device unsuccessful. Error UnitNotFound
Device: Info: No of Devices Found: 0
InitalDeviceLoadSequence: Info: Complete
Device: Info: Opening device using DLL Demo Device
Device: Info: Opening device successful. Error NoError.
Device: Info: Device opened Demo: Demo PSGeneric Demo
Device: Info: Device selected: PSGeneric, Demo
Info: Driver: Demo Device Version: 6.11.13.3
Info: Kernel driver: picopp.sys Version: 6.11.13.3

(PicoScope.GTK:13613): Gtk-CRITICAL **: IA__gtk_widget_map: assertion `gtk_widget_get_visible (widget)' failed
Info: Trigger set to : NonAdvancedEdge
Info: Source/Channel Index Changed to 0
Info: Trigger Direction set to Entering
Info: Trigger set to : NonAdvancedEdge
Info: Trigger set to : NonAdvancedEdge
Info: Trigger set to : NonAdvancedEdge
Info: Trigger set to : NonAdvancedEdge
PowerManagement: Info: Probe light manager changed light state to True
Info: Trigger set to : NonAdvancedEdge
deepspace@Hal9000:~$


I reset the default settings and also loaded factory settings
also done renaming of the .local/share/Pico Technology directory without success....

sometimes, as I said in a preceding post, the program get stuck with a blank window, no way to exit or do something, I have to kill mono process to exit; other times it crashes..

I've also connected the scope to a different usb port, usb2.0 instead of usb3.0 again without success :(

one more thing: after relais clicking the red led on the picoscope switch off while normally, as I remember, it stay lit

ciao
Gianni
deepspace
Newbie
 
Posts: 0
Joined: Wed Jul 13, 2016 2:45 pm

Re: ubuntu 12.04 dependencies

Postby mario_ » Tue Aug 02, 2016 7:00 am

Hi Gianni,

If demo mode works, the the software side is more likely to be OK. I run several tests with your scope model and didn't run into any problems. How about going into demo, waiting for it to start, the plugin the device and try open it via File -> Connect device?
Did you try the scope on different system, preferably running Windows with PicoScope 6 on it? It is also possible that your USB port / hub /cable are damaged, as after clicking the relays device starts to draw more current, which may cease the communication.

Mario
mario_
Site Admin
Site Admin
 
Posts: 112
Joined: Fri Sep 13, 2013 12:57 pm

Re: ubuntu 12.04 dependencies

Postby deepspace » Tue Aug 02, 2016 8:47 pm

Mario
first of all thank you for all your suggestions.
following are my answers:
I started in demo mode and then connected device.... result: crash
I suspect that the key is in the last line of the syslog attached "mono did not claim interface 0 before use"

Code: Select all
Aug  2 15:55:55 Hal9000 mtp-probe: checking bus 3, device 25: "/sys/devices/pci0000:00/0000:00:14.0/usb3/3-3"
Aug  2 15:55:55 Hal9000 kernel: [520267.620102] usb 3-3: New USB device found, idVendor=0ce9, idProduct=1016
Aug  2 15:55:55 Hal9000 kernel: [520267.620107] usb 3-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Aug  2 15:55:55 Hal9000 kernel: [520267.620110] usb 3-3: Product: PicoScope 2000
Aug  2 15:55:55 Hal9000 kernel: [520267.620112] usb 3-3: Manufacturer: Pico Technology
Aug  2 15:55:55 Hal9000 mtp-probe: bus: 3, device: 25 was not an MTP device
Aug  2 15:55:56 Hal9000 kernel: [520268.011375] usb 3-3: reset high-speed USB device number 25 using xhci_hcd
Aug  2 15:55:56 Hal9000 kernel: [520268.027386] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8801008bad00
Aug  2 15:55:56 Hal9000 kernel: [520268.027393] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8801008bad40
Aug  2 15:55:56 Hal9000 kernel: [520268.027395] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8801008bad80
Aug  2 15:55:56 Hal9000 kernel: [520268.027398] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8801008badc0
Aug  2 15:55:56 Hal9000 kernel: [520268.027692] usb 3-3: usbfs: process 20129 (mono) did not claim interface 0 before use


Anyway.... I'm using the scope on my laptop(Matrix) (Ubuntu 12.04)
and this is the "about Picoscope 6 beta" info I have on the running system
Code: Select all
PicoScope 6 - PC Oscilloscope software version: 6.11.8.10
Copyright  1995-2015, Pico Technology Ltd

Model: PicoScope 2206
Serial Number: AX768/330
USB Version: 2.0
Calibration Date: Thursday, February 16, 2012
Hardware Version: 1
Driver Version: PS2000A Linux Driver, 1.1.5.28
Firmware Version: 1.3.3.0 / 0.5.7.0


syslog in the laptop (Matrix) does not have same messages as the system not working (the desktop Hal9000)

Code: Select all
Aug  2 22:07:27 Matrix kernel: [ 1626.730761] usb 2-1.3: new high-speed USB device number 6 using ehci-pci
Aug  2 22:07:27 Matrix kernel: [ 1626.823498] usb 2-1.3: New USB device found, idVendor=0ce9, idProduct=1016
Aug  2 22:07:27 Matrix kernel: [ 1626.823504] usb 2-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Aug  2 22:07:27 Matrix kernel: [ 1626.823508] usb 2-1.3: Product: PicoScope 2000
Aug  2 22:07:27 Matrix kernel: [ 1626.823512] usb 2-1.3: Manufacturer: Pico Technology
Aug  2 22:07:27 Matrix mtp-probe: checking bus 2, device 6: "/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.3"
Aug  2 22:07:27 Matrix mtp-probe: bus: 2, device: 6 was not an MTP device
Aug  2 22:07:27 Matrix kernel: [ 1627.034653] usb 2-1.3: reset high-speed USB device number 6 using ehci-pci


in fact, starting from last software release of picoscope 6, I have the message: "Not all updates can be installed"
from update manager of the laptop (I assume it is the picomono/libcairo2 dependencies you already solved) but I prefer not doing any update :)

also when I bought picoscope (January 2014) I installed the software on the desktop and it was running: it is connected to a USB hub with external power supply (2.5Amps)

definitely I think I should upgrade my system to ubuntu 14.04 or 16.04 but I'm now in the middle of an important project and I prefer remain in 12.04.

For the moment I use the scope on the desktop through the laptop via network and it works fine, only a little slow....

thanks again
ciao
gianni
deepspace
Newbie
 
Posts: 0
Joined: Wed Jul 13, 2016 2:45 pm


Return to PicoScope for Linux

Who is online

Users browsing this forum: No registered users and 0 guests