Beta Release of PicoScope for Linux

Discussion forum for the Picoscope 6 Linux software
Post Reply
greg
PICO STAFF
PICO STAFF
Posts: 23
Joined: Mon Dec 16, 2013 9:09 am

Re: Beta Release of PicoScope for Linux

Post by greg »

Hi lohan,

Please could you attach here or send a complete trace file to support@picotech.com.

The trace.xml file can be found in ~/.local/share/Pico Technology/260a68f1-30f-0a5e01d65514

Thanks,
Greg

lohan
Newbie
Posts: 0
Joined: Fri Oct 03, 2014 10:03 am

Re: Beta Release of PicoScope for Linux

Post by lohan »

Dear greg,

Thank's again for your reply.
I sent the file already by email, but I am not sure whether you received it. So here the content of trace.xml again.

Kind regards,
lohan

Code: Select all


    Trace opened 03.10.2014.
    Running on Mono - True
    Mono Display Name - 3.0.6 (tarball Sat Sep 28 02:32:28 UTC 2013)
    Host Operating System - Linux
    64Bit Operating System - False
    64Bit Process - False
    Logical Processors - 2
    Application 'PicoScope 6 Beta' (version 6.10.1.13) starting.
    492D19A576F7A0488E46EAB74CF7AE55
    User is not Guest
    No Administrator Privileges
    Failed to detect access rights
    OS Version - Unix 3.11.10.21
    .net Version - 4.0.30319.17020
    Current Directory - /opt/picoscope/lib
    Command Line - /opt/picoscope/lib/PicoScope.GTK.exe
    Settings file version - 11.2.0
    Preferences file version - 2.0.0
    Probes file version - 1.0.0
    Data file binary header version - 1
    Using default culture: English (United States).
    Begin
    Begin
    Complete
    Attempting to load ps6000.dll
    Finished loading ps6000.dll
    Opening device using DLL ps6000.dll
    Opening device unsuccessful. Error UnitNotFound
    Attempting to load ps6000.dll
    Finished loading ps6000.dll
    Opening device using DLL ps6000.dll
    Opening device unsuccessful. Error UnitNotFound
    Attempting to load ps5000a.dll
    Finished loading ps5000a.dll
    Opening device using DLL ps5000a.dll
    Opening device unsuccessful. Error UnitNotFound
    Attempting to load ps5000.dll
    Finished loading ps5000.dll
    Opening device using DLL ps5000.dll
    Opening device unsuccessful. Error UnitNotFound
    Attempting to load ps4000a.dll
    Finished loading ps4000a.dll
    Opening device using DLL ps4000a.dll
    Opening device unsuccessful. Error UnitNotFound
    Attempting to load ps4000.dll
    Finished loading ps4000.dll
    Opening device using DLL ps4000.dll
    Opening device unsuccessful. Error UnitNotFound
    Attempting to load ps3000a.dll
    Finished loading ps3000a.dll
    Opening device using DLL ps3000a.dll
    Opening device unsuccessful. Error UnitNotFound
    Attempting to load ps3000a.dll
    Finished loading ps3000a.dll
    Opening device using DLL ps3000a.dll
    Opening device unsuccessful. Error UnitNotFound
    Attempting to load ps3000.dll
    Finished loading ps3000.dll
    Opening device using DLL ps3000.dll
    Opening device unsuccessful. Error UnitNotFound
    Attempting to load ps2000a.dll
    Finished loading ps2000a.dll
    Opening device using DLL ps2000a.dll
    Opening PS2000a.dll
    Opening device unsuccessful. Error UnitNotFound
    Attempting to load ps2000.dll
    Finished loading ps2000.dll
    Opening device using DLL ps2000.dll
    Opening device successful. Error NoError.
    Device opened AP845/552: PS2000 PS2204 PS2000
    Attempting to load ps2000.dll
    Finished loading ps2000.dll
    Opening device using DLL ps2000.dll
    Opening device unsuccessful. Error UnitNotFound
    Attempting to load usbdrdaq.dll
    Finished loading usbdrdaq.dll
    Opening device using DLL usbdrdaq.dll
    usbdrdaq.dll OpenUnit returned 3
    Opening device unsuccessful. Error UnitNotFound
    Attempting to load pl1000.dll
    Finished loading pl1000.dll
    Opening device using DLL pl1000.dll
    Opening device unsuccessful. Error UnitNotFound
    No of Devices Found: 1
    Device selected: PS2204, AP845/552
    Driver: ps2000.dll Version: PS2000 Linux Driver, 2.1.2.5
    Kernel driver: picopp.sys Version: 0.0
    Complete
    AllowProtocolDecoderImport=false
    Trigger set to : NonAdvancedEdge
    Source/Channel Index Changed to 0
    Trigger Direction set to Rising
    Trigger set to : NonAdvancedEdge
    Trigger set to : NonAdvancedEdge
    Probe light manager changed light state to True
    Trigger set to : NonAdvancedEdge

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

Re: Beta Release of PicoScope for Linux

Post by mario_ »

New release is now published. From general bugfixes and improvements, here is the list of added features:

* AWG control dialogue
* Support for new PS3000(MSO) & PS4000 devices
* More options available in preferences
* Changes to measurements dialogues

Mario

lohan
Newbie
Posts: 0
Joined: Fri Oct 03, 2014 10:03 am

Re: Beta Release of PicoScope for Linux

Post by lohan »

I just installed the new version, but it still crashes due to that mono error. :cry:

greg
PICO STAFF
PICO STAFF
Posts: 23
Joined: Mon Dec 16, 2013 9:09 am

Re: Beta Release of PicoScope for Linux

Post by greg »

Hi lohan,

Thanks for the trace file. Please try updating to the new release.

Do you have this problem when running PicoScope without the device attached?

It may also be worth reinstalling the mono packages. The problem seems to be in libgdiplus.so

Greg

lohan
Newbie
Posts: 0
Joined: Fri Oct 03, 2014 10:03 am

Re: Beta Release of PicoScope for Linux

Post by lohan »

I installed the newest mono 3.10.0 and the new version of picoscope software. It still crashes, also when I plug on the device after having started picoscope software.

pipau
Newbie
Posts: 0
Joined: Tue Nov 25, 2014 7:00 pm

Re: Beta Release of PicoScope for Linux

Post by pipau »

picoscope crashing here as well under opensuse 12.3/64bit and on 13.1/32bit.

would have to nice if it was running under linux :(

is this still under investigation or "is the file closed"?

GrubbyHalo
Newbie
Posts: 0
Joined: Wed Nov 26, 2014 11:36 am

Re: Beta Release of PicoScope for Linux

Post by GrubbyHalo »

Having the same problem. It was working fine but now crashes with the mono error

GrubbyHalo
Newbie
Posts: 0
Joined: Wed Nov 26, 2014 11:36 am

Re: Beta Release of PicoScope for Linux

Post by GrubbyHalo »

Still crashing. i can open picscope and connect to the demo device. When i plug the device in and select it the app closes.
Attached is the trace file and this is the output of the app after crashing

Code: Select all

(PicoScope.GTK:27876): Gtk-CRITICAL **: IA__gtk_widget_map: assertion `gtk_widget_get_visible (widget)' failed
Stacktrace:

  at (wrapper managed-to-native) cT/a.a (bc,int16) <0xffffffff>
  at cT.SetLight (bc,int16) <0x0004f>
  at K.DirectConfigureProbeLight () <0x00061>
  at e.f () <0x000a6>
  at K.c () <0x04c5f>
  at K..ctor (D) <0x000a7>
  at cT..ctor (E) <0x00013>
  at E.DoCreateDevice () <0x00027>
  at z.a () <0x0004c>
  at cV.a (ej,bool,bool,System.Collections.Generic.List`1) <0x0014b>
  at dV.a (bool,bool) <0x0007b>
  at dV.a (bool,bool) <0x00217>
  at dV.i () <0x0007b>
  at dV/<>c__DisplayClass52.b__51 () <0x0003b>
  at ki/<>c__DisplayClass7.b__6 () <0x00019>
  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 az/a.b () <0x0002f>
  at (wrapper runtime-invoke) .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 ar.a () <0x00033>
  at aq.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 aG.b () <0x001f3>
  at i.a () <0x00041>
  at aG.a () <0x004a3>
  at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

	/usr/bin/mono() [0x4983a9]
	/usr/bin/mono() [0x4e8daf]
	/usr/bin/mono() [0x41fe87]
	/lib/x86_64-linux-gnu/libpthread.so.0(+0xf0a0) [0x7f1fcd0d50a0]
	/usr/local/lib/libusb-1.0.so.0(libusb_get_next_timeout+0x27) [0x7f1fb764c0b7]
	/usr/local/lib/libusb-1.0.so.0(+0x5274) [0x7f1fb764c274]
	/usr/local/lib/libusb-1.0.so.0(libusb_handle_events_timeout+0x1f) [0x7f1fb764ce8f]
	/opt/picoscope/lib/libps2000.so(+0x34a44) [0x7f1fb2110a44]
	/opt/picoscope/lib/libps2000.so(+0x34e27) [0x7f1fb2110e27]
	/opt/picoscope/lib/libps2000.so(+0x1d306) [0x7f1fb20f9306]
	/opt/picoscope/lib/libps2000.so(+0x108a3) [0x7f1fb20ec8a3]
	/opt/picoscope/lib/libps2000.so(ps2000_set_light+0x34) [0x7f1fb20f8094]
	[0x406cae15]

Debug info from gdb:

[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7f1fa6274700 (LWP 27960)]
[New Thread 0x7f1fa5e72700 (LWP 27959)]
[New Thread 0x7f1fa5c71700 (LWP 27958)]
[New Thread 0x7f1fa6073700 (LWP 27957)]
[New Thread 0x7f1fa5a70700 (LWP 27956)]
[New Thread 0x7f1fa4282700 (LWP 27924)]
[New Thread 0x7f1fa42c3700 (LWP 27923)]
[New Thread 0x7f1fa4775700 (LWP 27899)]
[New Thread 0x7f1fa4976700 (LWP 27898)]
[New Thread 0x7f1fa4b7b700 (LWP 27897)]
[New Thread 0x7f1fa4f83700 (LWP 27896)]
[New Thread 0x7f1fa5665700 (LWP 27895)]
[New Thread 0x7f1fb8040700 (LWP 27888)]
[New Thread 0x7f1fbe589700 (LWP 27887)]
[New Thread 0x7f1fbe5ca700 (LWP 27886)]
[New Thread 0x7f1fc0563700 (LWP 27885)]
[New Thread 0x7f1fc89c0700 (LWP 27884)]
[New Thread 0x7f1fc9d33700 (LWP 27883)]
[New Thread 0x7f1fca534700 (LWP 27882)]
[New Thread 0x7f1fcad35700 (LWP 27881)]
[New Thread 0x7f1fcb536700 (LWP 27880)]
[New Thread 0x7f1fcbd37700 (LWP 27879)]
[New Thread 0x7f1fcc538700 (LWP 27878)]
[New Thread 0x7f1fccd39700 (LWP 27877)]
0x00007f1fcd0d41fd in read () from /lib/x86_64-linux-gnu/libpthread.so.0
  Id   Target Id         Frame 
  25   Thread 0x7f1fccd39700 (LWP 27877) "mono" 0x00007f1fcd0d1344 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
  24   Thread 0x7f1fcc538700 (LWP 27878) "mono" 0x00007f1fcd0d1344 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
  23   Thread 0x7f1fcbd37700 (LWP 27879) "mono" 0x00007f1fcd0d1344 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
  22   Thread 0x7f1fcb536700 (LWP 27880) "mono" 0x00007f1fcd0d1344 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
  21   Thread 0x7f1fcad35700 (LWP 27881) "mono" 0x00007f1fcd0d1344 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
  20   Thread 0x7f1fca534700 (LWP 27882) "mono" 0x00007f1fcd0d1344 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
  19   Thread 0x7f1fc9d33700 (LWP 27883) "mono" 0x00007f1fcd0d1344 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
  18   Thread 0x7f1fc89c0700 (LWP 27884) "mono" 0x00007f1fcd0d3490 in sem_wait () from /lib/x86_64-linux-gnu/libpthread.so.0
  17   Thread 0x7f1fc0563700 (LWP 27885) "mono" 0x00007f1fcd0d16bb in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
  16   Thread 0x7f1fbe5ca700 (LWP 27886) "mono" 0x00007f1fcd0d491d in nanosleep () from /lib/x86_64-linux-gnu/libpthread.so.0
  15   Thread 0x7f1fbe589700 (LWP 27887) "mono" 0x00007f1fcd0d16bb in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
  14   Thread 0x7f1fb8040700 (LWP 27888) "mono" 0x00007f1fcd0d3581 in sem_timedwait () from /lib/x86_64-linux-gnu/libpthread.so.0
  13   Thread 0x7f1fa5665700 (LWP 27895) "mono" 0x00007f1fcd0d3581 in sem_timedwait () from /lib/x86_64-linux-gnu/libpthread.so.0
  12   Thread 0x7f1fa4f83700 (LWP 27896) "mono" 0x00007f1fcd0d3581 in sem_timedwait () from /lib/x86_64-linux-gnu/libpthread.so.0
  11   Thread 0x7f1fa4b7b700 (LWP 27897) "mono" 0x00007f1fcd0d3581 in sem_timedwait () from /lib/x86_64-linux-gnu/libpthread.so.0
  10   Thread 0x7f1fa4976700 (LWP 27898) "mono" 0x00007f1fcd0d3581 in sem_timedwait () from /lib/x86_64-linux-gnu/libpthread.so.0
  9    Thread 0x7f1fa4775700 (LWP 27899) "mono" 0x00007f1fcd0d3581 in sem_timedwait () from /lib/x86_64-linux-gnu/libpthread.so.0
  8    Thread 0x7f1fa42c3700 (LWP 27923) "mono" 0x00007f1fcce16e13 in epoll_wait () from /lib/x86_64-linux-gnu/libc.so.6
  7    Thread 0x7f1fa4282700 (LWP 27924) "mono" 0x00007f1fcd0d3581 in sem_timedwait () from /lib/x86_64-linux-gnu/libpthread.so.0
  6    Thread 0x7f1fa5a70700 (LWP 27956) "mono" 0x00007f1fcd0d1344 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
  5    Thread 0x7f1fa6073700 (LWP 27957) "mono" 0x00007f1fcd0d1344 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
  4    Thread 0x7f1fa5c71700 (LWP 27958) "mono" 0x00007f1fcd0d1344 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
  3    Thread 0x7f1fa5e72700 (LWP 27959) "mono" 0x00007f1fcd0d1344 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
  2    Thread 0x7f1fa6274700 (LWP 27960) "mono" 0x00007f1fcd0d1344 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
* 1    Thread 0x7f1fcdb60740 (LWP 27876) "mono" 0x00007f1fcd0d41fd in read () from /lib/x86_64-linux-gnu/libpthread.so.0

Thread 25 (Thread 0x7f1fccd39700 (LWP 27877)):
#0  0x00007f1fcd0d1344 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00000000005e2d63 in ?? ()
#2  0x00000000005dcee5 in ?? ()
#3  0x00000000005e14a7 in ?? ()
#4  0x00007f1fcd0ccb50 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#5  0x00007f1fcce167bd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 24 (Thread 0x7f1fcc538700 (LWP 27878)):
#0  0x00007f1fcd0d1344 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00000000005e2d63 in ?? ()
#2  0x00000000005dcee5 in ?? ()
#3  0x00000000005e14a7 in ?? ()
#4  0x00007f1fcd0ccb50 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#5  0x00007f1fcce167bd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 23 (Thread 0x7f1fcbd37700 (LWP 27879)):
#0  0x00007f1fcd0d1344 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00000000005e2d63 in ?? ()
#2  0x00000000005dcee5 in ?? ()
#3  0x00000000005e14a7 in ?? ()
#4  0x00007f1fcd0ccb50 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#5  0x00007f1fcce167bd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 22 (Thread 0x7f1fcb536700 (LWP 27880)):
#0  0x00007f1fcd0d1344 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00000000005e2d63 in ?? ()
#2  0x00000000005dcee5 in ?? ()
#3  0x00000000005e14a7 in ?? ()
#4  0x00007f1fcd0ccb50 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#5  0x00007f1fcce167bd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 21 (Thread 0x7f1fcad35700 (LWP 27881)):
#0  0x00007f1fcd0d1344 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00000000005e2d63 in ?? ()
#2  0x00000000005dcee5 in ?? ()
#3  0x00000000005e14a7 in ?? ()
#4  0x00007f1fcd0ccb50 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#5  0x00007f1fcce167bd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 20 (Thread 0x7f1fca534700 (LWP 27882)):
#0  0x00007f1fcd0d1344 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00000000005e2d63 in ?? ()
#2  0x00000000005dcee5 in ?? ()
#3  0x00000000005e14a7 in ?? ()
#4  0x00007f1fcd0ccb50 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#5  0x00007f1fcce167bd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 19 (Thread 0x7f1fc9d33700 (LWP 27883)):
#0  0x00007f1fcd0d1344 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00000000005e2d63 in ?? ()
#2  0x00000000005dcee5 in ?? ()
#3  0x00000000005e14a7 in ?? ()
#4  0x00007f1fcd0ccb50 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#5  0x00007f1fcce167bd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 18 (Thread 0x7f1fc89c0700 (LWP 27884)):
#0  0x00007f1fcd0d3490 in sem_wait () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00000000005c7ac8 in mono_sem_wait ()
#2  0x0000000000517deb in ?? ()
#3  0x000000000059a216 in ?? ()
#4  0x00000000005c241a in ?? ()
#5  0x00000000005e2b64 in ?? ()
#6  0x00007f1fcd0ccb50 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#7  0x00007f1fcce167bd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#8  0x0000000000000000 in ?? ()

Thread 17 (Thread 0x7f1fc0563700 (LWP 27885)):
#0  0x00007f1fcd0d16bb in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00000000005adaa1 in ?? ()
#2  0x00000000005bf9ee in ?? ()
#3  0x0000000000599b1b in ?? ()
#4  0x000000004130e8e8 in ?? ()
#5  0x0000000002b3d0e0 in ?? ()
#6  0x00000000000003e8 in ?? ()
#7  0x00007f1fc056293f in ?? ()
#8  0x00007f1fc36045c8 in ?? ()
#9  0x0000000000000002 in ?? ()
#10 0x00007f1fc0562960 in ?? ()
#11 0x00007f1fc05628c0 in ?? ()
#12 0x0000000000000001 in ?? ()
#13 0x00000000000003e8 in ?? ()
#14 0x00007f1fc345ffa0 in ?? ()
#15 0x00000000000003e7 in ?? ()
#16 0x000000004130e508 in ?? ()
#17 0x00007f1fc345ffa0 in ?? ()
#18 0x0000000000000000 in ?? ()

Thread 16 (Thread 0x7f1fbe5ca700 (LWP 27886)):
#0  0x00007f1fcd0d491d in nanosleep () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00000000005c1815 in ?? ()
#2  0x0000000000590eab in ?? ()
#3  0x000000000059a216 in ?? ()
#4  0x00000000005c241a in ?? ()
#5  0x00000000005e2b64 in ?? ()
#6  0x00007f1fcd0ccb50 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#7  0x00007f1fcce167bd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#8  0x0000000000000000 in ?? ()

Thread 15 (Thread 0x7f1fbe589700 (LWP 27887)):
#0  0x00007f1fcd0d16bb in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00000000005adaa1 in ?? ()
#2  0x00000000005c036a in ?? ()
#3  0x0000000000599c1d in ?? ()
#4  0x00000000418a7c70 in ?? ()
#5  0x00000000028bd850 in ?? ()
#6  0x00007f1fb5000c30 in ?? ()
#7  0x00007f1fbfb24fc8 in ?? ()
#8  0x00007f1fbe5887d0 in ?? ()
#9  0x00007f1fbfb24fc8 in ?? ()
#10 0x00007f1fbe5887d0 in ?? ()
#11 0x00007f1fbe588730 in ?? ()
#12 0x00000000000003e8 in ?? ()
#13 0x000000000000a82c in ?? ()
#14 0x00007f1fb5000c30 in ?? ()
#15 0x00000000000003e8 in ?? ()
#16 0x00000000418a7988 in ?? ()
#17 0x00007f1fb5000c30 in ?? ()
#18 0x0000000000000000 in ?? ()

Thread 14 (Thread 0x7f1fb8040700 (LWP 27888)):
#0  0x00007f1fcd0d3581 in sem_timedwait () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00000000005c7bab in mono_sem_timedwait ()
#2  0x000000000059340f in ?? ()
#3  0x000000000059a216 in ?? ()
#4  0x00000000005c241a in ?? ()
#5  0x00000000005e2b64 in ?? ()
#6  0x00007f1fcd0ccb50 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#7  0x00007f1fcce167bd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#8  0x0000000000000000 in ?? ()

Thread 13 (Thread 0x7f1fa5665700 (LWP 27895)):
#0  0x00007f1fcd0d3581 in sem_timedwait () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00000000005c7bab in mono_sem_timedwait ()
#2  0x000000000059340f in ?? ()
#3  0x000000000059a216 in ?? ()
#4  0x00000000005c241a in ?? ()
#5  0x00000000005e2b64 in ?? ()
#6  0x00007f1fcd0ccb50 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#7  0x00007f1fcce167bd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#8  0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7f1fa4f83700 (LWP 27896)):
#0  0x00007f1fcd0d3581 in sem_timedwait () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00000000005c7bab in mono_sem_timedwait ()
#2  0x000000000059340f in ?? ()
#3  0x000000000059a216 in ?? ()
#4  0x00000000005c241a in ?? ()
#5  0x00000000005e2b64 in ?? ()
#6  0x00007f1fcd0ccb50 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#7  0x00007f1fcce167bd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#8  0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7f1fa4b7b700 (LWP 27897)):
#0  0x00007f1fcd0d3581 in sem_timedwait () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00000000005c7bab in mono_sem_timedwait ()
#2  0x000000000059340f in ?? ()
#3  0x000000000059a216 in ?? ()
#4  0x00000000005c241a in ?? ()
#5  0x00000000005e2b64 in ?? ()
#6  0x00007f1fcd0ccb50 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#7  0x00007f1fcce167bd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#8  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7f1fa4976700 (LWP 27898)):
#0  0x00007f1fcd0d3581 in sem_timedwait () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00000000005c7bab in mono_sem_timedwait ()
#2  0x000000000059340f in ?? ()
#3  0x000000000059a216 in ?? ()
#4  0x00000000005c241a in ?? ()
#5  0x00000000005e2b64 in ?? ()
#6  0x00007f1fcd0ccb50 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#7  0x00007f1fcce167bd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#8  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f1fa4775700 (LWP 27899)):
#0  0x00007f1fcd0d3581 in sem_timedwait () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00000000005c7bab in mono_sem_timedwait ()
#2  0x000000000059340f in ?? ()
#3  0x000000000059a216 in ?? ()
#4  0x00000000005c241a in ?? ()
#5  0x00000000005e2b64 in ?? ()
#6  0x00007f1fcd0ccb50 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#7  0x00007f1fcce167bd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#8  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f1fa42c3700 (LWP 27923)):
#0  0x00007f1fcce16e13 in epoll_wait () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00000000005916f7 in ?? ()
#2  0x000000000059a216 in ?? ()
#3  0x00000000005c241a in ?? ()
#4  0x00000000005e2b64 in ?? ()
#5  0x00007f1fcd0ccb50 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#6  0x00007f1fcce167bd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f1fa4282700 (LWP 27924)):
#0  0x00007f1fcd0d3581 in sem_timedwait () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00000000005c7bab in mono_sem_timedwait ()
#2  0x000000000059340f in ?? ()
#3  0x000000000059a216 in ?? ()
#4  0x00000000005c241a in ?? ()
#5  0x00000000005e2b64 in ?? ()
#6  0x00007f1fcd0ccb50 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#7  0x00007f1fcce167bd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#8  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f1fa5a70700 (LWP 27956)):
#0  0x00007f1fcd0d1344 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00000000005adcab in ?? ()
#2  0x00000000005bfaed in ?? ()
#3  0x0000000000599b1b in ?? ()
#4  0x000000004130e8e8 in ?? ()
#5  0x00000000038883b0 in ?? ()
#6  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f1fa6073700 (LWP 27957)):
#0  0x00007f1fcd0d1344 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00000000005adcab in ?? ()
#2  0x00000000005bfaed in ?? ()
#3  0x0000000000599b1b in ?? ()
#4  0x000000004130e8e8 in ?? ()
#5  0x00000000038b7ed0 in ?? ()
#6  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f1fa5c71700 (LWP 27958)):
#0  0x00007f1fcd0d1344 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00000000005adcab in ?? ()
#2  0x00000000005bfaed in ?? ()
#3  0x0000000000599b1b in ?? ()
#4  0x000000004130e8e8 in ?? ()
#5  0x0000000002efdc10 in ?? ()
#6  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f1fa5e72700 (LWP 27959)):
#0  0x00007f1fcd0d1344 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00000000005adcab in ?? ()
#2  0x00000000005bfaed in ?? ()
#3  0x0000000000599b1b in ?? ()
#4  0x000000004130e8e8 in ?? ()
#5  0x00000000039961b0 in ?? ()
#6  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f1fa6274700 (LWP 27960)):
#0  0x00007f1fcd0d1344 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00000000005adcab in ?? ()
#2  0x00000000005bfaed in ?? ()
#3  0x0000000000599b1b in ?? ()
#4  0x000000004130e8e8 in ?? ()
#5  0x0000000002afc420 in ?? ()
#6  0x5000656b6f766e49 in ?? ()
#7  0x00007f1fa6273a37 in ?? ()
#8  0x00007f1fb4fbd190 in ?? ()
#9  0x0000000002b3dcc0 in ?? ()
#10 0x00007f1fa6273a50 in ?? ()
#11 0x00007f1fa62739c0 in ?? ()
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f1fcdb60740 (LWP 27876)):
#0  0x00007f1fcd0d41fd in read () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x000000000049853b in ?? ()
#2  0x00000000004e8daf in ?? ()
#3  0x000000000041fe87 in ?? ()
#4  
#5  libusb_get_next_timeout (ctx=0x0, tv=0x7fffcdb199e0) at io.c:2097
#6  0x00007f1fb764c274 in get_next_timeout (ctx=0x0, tv=0x7fffcdb19a40, out=0x7fffcdb19a10) at io.c:1886
#7  0x00007f1fb764ce8f in libusb_handle_events_timeout (ctx=0x0, tv=0x7fffcdb199e0) at io.c:1929
#8  0x00007f1fb2110a44 in ?? () from /opt/picoscope/lib/libps2000.so
#9  0x00007f1fb2110e27 in ?? () from /opt/picoscope/lib/libps2000.so
#10 0x00007f1fb20f9306 in ?? () from /opt/picoscope/lib/libps2000.so
#11 0x00007f1fb20ec8a3 in ?? () from /opt/picoscope/lib/libps2000.so
#12 0x00007f1fb20f8094 in ps2000_set_light () from /opt/picoscope/lib/libps2000.so
#13 0x00000000406cae15 in ?? ()
#14 0x00007fffcdb1a800 in ?? ()
#15 0x00007f1fc414f3c0 in ?? ()
#16 0x00007fffcdb1a800 in ?? ()
#17 0x00007f1fc056b7a8 in ?? ()
#18 0x00007f1fbfb63910 in ?? ()
#19 0x00007fffcdb19c00 in ?? ()
#20 0x00007fffcdb19b50 in ?? ()
#21 0x00007f1fc056b7a8 in ?? ()
#22 0x00007f1fb4efeb00 in ?? ()
#23 0x00007f1fbfb63d20 in ?? ()
#24 0x00007f1fbfe80750 in ?? ()
#25 0x00000000406c0001 in ?? ()
#26 0x00007fffcdb19c00 in ?? ()
#27 0x00000000406cad60 in ?? ()
#28 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.
=================================================================
Attachments
trace.xml
The trace file
(20.19 KiB) Downloaded 773 times

Lotharyx
Newbie
Posts: 0
Joined: Tue Dec 02, 2014 9:55 pm

Re: Beta Release of PicoScope for Linux

Post by Lotharyx »

Looks like this is a very active and recent topic. I just installed the PS6 Beta on Debian 7.6 (Wheezy) x64, and get the same crash. Attached a text file capturing the console output. I sure hope this gets fixed! I can use Windows, but it would be tremendously convenient to be able to use Linux, as that's where I prefer to do other development related to the project I'm using the Pico 'scope on.

I can get the GUI to appear fully if I start with the scope unplugged. The crash occurs shortly after enumeration after I plug the scope in. It also crashes if I start the application with the scope already connected.
Attachments
picoscope.txt
Console output
(18.84 KiB) Downloaded 658 times

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

Re: Beta Release of PicoScope for Linux

Post by mario_ »

Hi All,

I have been trying to replicate the issue on many of our lab, test, dev PC & VMs (including few private ones). So far no crash was observed. But we're getting more and more reports from several customers about that. There must be some sort of a common ground on which the application crashes.

From the reports we have received the problem is not with permissions - as it also crashes when it is run via sudo. But Those who didn't tied yet, could do it please?

Code: Select all

sudo /bin/bash -c "cd /opt/picoscope/lib/ && mono PicoScope.GTK.exe"
Some of you provided full stacktrace of the crash - many thanks, very helpful. The listings show that crash occurs within libusb code (on which PicoScope 6 drivers for Linux strongly rely on). I have tested various version of libusb - but not all. Can you provide which version is actually used on your system?

For Debian/Ubuntu/Mint:

Code: Select all

dpkg -l | grep libusb
For SuSe/Fedora:

Code: Select all

rpm -qa | grep libusb
I look forward into receiving further reports from you. I will keep the investigation going.

Many Thanks,
Mario

pipau
Newbie
Posts: 0
Joined: Tue Nov 25, 2014 7:00 pm

Re: Beta Release of PicoScope for Linux

Post by pipau »

crashing with opensuse 13.1/32bit:
libusbdrdaq-1.0.4-1r09.i386
libusb-1_0-0-1.0.9-8.1.2.i586
libusbredirparser1-0.6-4.1.2.i586
libusb-0_1-4-0.1.13-27.1.2.i586
libusbredirhost1-0.6-4.1.2.i586
libusbmuxd2-1.0.8-8.1.2.i586

crashing with opensuse 12.3/64bit:
libusb-1_0-0-1.0.9-5.1.1.x86_64
libusbmuxd2-1.0.8-5.5.1.x86_64
libusb-0_1-4-0.1.13-23.1.1.x86_64
libusbredirhost1-0.6-2.1.1.x86_64
libusbdrdaq-1.0.4-1r09.x86_64
libusbredirparser1-0.6-2.1.1.x86_64

crashing as well when run as root.
crashing as well when starting demo mode

on opensuse 12.3 I am able to run picoscope within windows XP which is running in a VM - but that's not really convenient.

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

Re: Beta Release of PicoScope for Linux

Post by mario_ »

Hi pipau,

Thanks for the list of version. I have brought my installation of suse12 to your versions and the crash happens. There is workaround for this:
  • Start PicoScope6 without any device plugged in.
  • Choose not to start Demo Device.
  • Plugin your scope.
  • Use File/Open Device to get it running.
Mario

pipau
Newbie
Posts: 0
Joined: Tue Nov 25, 2014 7:00 pm

Re: Beta Release of PicoScope for Linux

Post by pipau »

mario_ wrote: There is workaround for this:
not working here for both versions of OS -> crashing after a device is selected
with 13.1 the device can not even be selected, onl demo (Although I can hear the relais clicking before)

Boremi
Newbie
Posts: 0
Joined: Wed Jul 09, 2014 7:29 am

Re: Beta Release of PicoScope for Linux

Post by Boremi »

Crashed with Ubuntu 14.04/64bits

Code: Select all

libgusb2:amd64                                              0.1.6-5
libusb-0.1-4:amd64                                          2:0.1.12-23.3ubuntu1
libusb-1.0-0:amd64                                          2:1.0.17-1ubuntu2
libusb-1.0-0:i386                                           2:1.0.17-1ubuntu2
libusb-1.0-0-dev:amd64                                      2:1.0.17-1ubuntu2
libusb-1.0-doc                                              2:1.0.17-1ubuntu2
libusbdrdaq                                                 1.0.4-1r09
libusbmuxd2                                                 1.0.8-2ubuntu1
libusbredirparser1:amd64                                    0.6-2ubuntu1

Post Reply