PicoScope segfault on Ubuntu 16.04

Discussion forum for the Picoscope 6 Linux software
Post Reply
bencouturier
Newbie
Posts: 0
Joined: Sun Sep 25, 2016 7:46 pm

PicoScope segfault on Ubuntu 16.04

Post by bencouturier »

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 (bool) <0x0008b>
at bt.a (Pico.Common.Dal.DeviceSeries,System.Collections.Generic.List`1) <0x00087>
at df.a (Pico.Common.Dal.DeviceSeries,System.Collections.Generic.List`1) <0x00143>
at df.a (bq,Pico.Common.Dal.DeviceSeries,System.Collections.Generic.List`1) <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) .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.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) .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) <0x000d9>
at cH.a (bool,bool) <0x0007b>
at cH.a (bool,bool) <0x001eb>
at cH.i () <0x0007b>
at cH/<>c__DisplayClass54.b__53 () <0x0003b>
at gU/<>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 aS/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 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) <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.
=================================================================

Hitesh

Re: PicoScope segfault on Ubuntu 16.04

Post by Hitesh »

Hi Ben,

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

Regards,

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

Re: PicoScope segfault on Ubuntu 16.04

Post by bencouturier »

Hi,

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

Many thanks,
Ben

Hitesh

Re: PicoScope segfault on Ubuntu 16.04

Post by Hitesh »

Hi Ben,

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

Regards,

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

Re: PicoScope segfault on Ubuntu 16.04

Post by nvs_12 »

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.

Hitesh

Re: PicoScope segfault on Ubuntu 16.04

Post by Hitesh »

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,

Post Reply