Test and Measurement Forum

PicoScope segfault on Ubuntu 16.04

Discussion forum for the new Picoscope Linux software

PicoScope segfault on Ubuntu 16.04

Postby bencouturier » Sun Sep 25, 2016 8:30 pm

Hi, I'm trying to run Picoscope 6.11.13.3, to connect to a DrDaq data logger.

I can never connect to the DrDAQ and I get a segfault with the log below.
The board works fine on windows, and the usbtest doesn't report any problem...

Any idea about how to make it work ?
Many thanks

Device: Info: Opening device using DLL usbdrdaq.dll
Stacktrace:

at (wrapper managed-to-native) cN/a.a (aT&) <0xffffffff>
at cN.OpenUnit (aT&) <0x00053>
at D.DoOpen () <0x00068>
at C.a () <0x000f3>
at bt.a<a> (bool) <0x0008b>
at bt.a (Pico.Common.Dal.DeviceSeries,System.Collections.Generic.List`1<C>) <0x00087>
at df.a (Pico.Common.Dal.DeviceSeries,System.Collections.Generic.List`1<C>) <0x00143>
at df.a (bq,Pico.Common.Dal.DeviceSeries,System.Collections.Generic.List`1<Pico.Common.Dal.DeviceSeries>) <0x00223>
at dc.a (Pico.Common.Dal.DeviceSeries,bq,Pico.Common.Dal.DeviceSeries[],bool) <0x0005f>
at cc.c (object,System.EventArgs) <0x0005f>
at cc.d () <0x0001f>
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.Dialog.gtk_dialog_run (intptr) <0xffffffff>
at Gtk.Dialog.Run () <0x00013>
at m/<>c__DisplayClass2.<ShowDeviceEnumerationDialog>b__0 () <0x0001b>
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_iteration () <0xffffffff>
at Gtk.Application.RunIteration () <0x0000b>
at aI.b (aJ) <0x0005b>
at aI.a (System.IAsyncResult) <0x0004f>
at aI.a (System.Delegate,object[]) <0x00027>
at aI.System.ComponentModel.ISynchronizeInvoke.Invoke (System.Delegate,object[]) <0x00017>
at aS/a.a () <0x00066>
at aS.a (System.Delegate,object[]) <0x0007b>
at m.ShowDeviceEnumerationDialog (df) <0x000df>
at dc.a (eq,bool,bool,System.Collections.Generic.List`1<Pico.Common.Dal.DeviceSeries>) <0x000d9>
at cH.a (bool,bool) <0x0007b>
at cH.a (bool,bool) <0x001eb>
at cH.i () <0x0007b>
at cH/<>c__DisplayClass54.<CreateNewScopeWindow>b__53 () <0x0003b>
at gU/<>c__DisplayClass7.<Stop>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 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() [0x4977e4]
/opt/picomono/bin/mono() [0x4e7cbf]
/opt/picomono/bin/mono() [0x41fc97]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x113d0) [0x7f0bf639f3d0]

Debug info from gdb:

Could not attach to process. If your uid matches the uid of the target
process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try
again as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf
ptrace: Operation not permitted.
No threads.

=================================================================
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.
=================================================================
bencouturier
Newbie
 
Posts: 0
Joined: Sun Sep 25, 2016 7:46 pm

Re: PicoScope segfault on Ubuntu 16.04

Postby Hitesh » Mon Sep 26, 2016 10:16 am

Hi Ben,

This appears to be a software issue and has been reported to the Development Team.

Regards,
Hitesh

Technical Specialist
Pico Technology
Hitesh
Site Admin
Site Admin
 
Posts: 2062
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire

Re: PicoScope segfault on Ubuntu 16.04

Postby bencouturier » Fri Oct 07, 2016 9:08 am

Hi,

Thank you very much for your answer !
Is there a new release for linux scheduled ?

Many thanks,
Ben
bencouturier
Newbie
 
Posts: 0
Joined: Sun Sep 25, 2016 7:46 pm

Re: PicoScope segfault on Ubuntu 16.04

Postby Hitesh » Mon Oct 10, 2016 1:34 pm

Hi Ben,

There should be a new release but we do not have information on any timescales at this moment in time.

Regards,
Hitesh

Technical Specialist
Pico Technology
Hitesh
Site Admin
Site Admin
 
Posts: 2062
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire

Re: PicoScope segfault on Ubuntu 16.04

Postby nvs_12 » Wed Nov 02, 2016 9:22 pm

Hello

I have the same problem on Ubuntu 16.04 and picoscope 2206A

Is there any news about a new release with a fix for this issue?

Is there an old version of the software that can work on Ubuntu 16.04?

Thanks
Nicolas.
nvs_12
Newbie
 
Posts: 0
Joined: Wed Nov 02, 2016 9:16 pm

Re: PicoScope segfault on Ubuntu 16.04

Postby Hitesh » Mon Nov 14, 2016 12:14 pm

Hi Nicolas,

Please e-mail support@picotech.com and we will see if we can provide you with an older version.

With regards to the segmentation fault, it would be useful to see the trace.xml corresponding to the session where this occurred.

Repeat the issue, then find the trace.xml file in the following location:

~/.local/share/Pico\ Technology/260a68f1-30f-0a5e01d65514

You can send this file by e-mail as well.

Regards,
Hitesh

Technical Specialist
Pico Technology
Hitesh
Site Admin
Site Admin
 
Posts: 2062
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire


Return to PicoScope for Linux

Who is online

Users browsing this forum: No registered users and 0 guests