Test and Measurement Forum

Latest picoscope version crashes on Linux

Discussion forum for the new Picoscope Linux software

Latest picoscope version crashes on Linux

Postby kkrizka » Wed Oct 25, 2017 9:47 pm

Hello,

I am seeing the latest Picoscope version (6.12.9-4r35) crash on CentOS Linux release 7.4.1708. The crash occurs whether I have a picoscope plugged into USB or not. I've tried removing the
Code: Select all
~/.local/share/Pico Technology/
folder without any luck.

I have attached the full terminal output of the crash. The last messages I see are:
Code: Select all
Device: Info: No of Devices Found: 1
Device: Info: Device selected: PS6404D, CR938/020
Info: Driver: ps6000.dll Version: PS6000 Linux Driver, 1.7.0.10
Info: Kernel driver: picopp.sys Version: PS6000 Linux Driver, 1.7.0.10
InitalDeviceLoadSequence: Info: Complete
Stacktrace:

  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) System.Drawing.GDIPlus.GdipLoadImageFromDelegate_linux (System.Drawing.GDIPlus/StreamGetHeaderDelegate,System.Drawing.GDIPlus/StreamGetBytesDelegate,System.Drawing.GDIPlus/StreamPutBytesDelegate,System.Drawing.GDIPlus/StreamSeekDelegate,System.Drawing.GDIPlus/StreamCloseDelegate,System.Drawing.GDIPlus/StreamSizeDelegate,intptr&) <0x00101>
  at System.Drawing.Image.InitFromStream (System.IO.Stream) <0x001d7>
  at System.Drawing.Image.LoadFromStream (System.IO.Stream,bool) <0x0002b>
  at System.Drawing.Image.FromStream (System.IO.Stream) <0x0000f>
  at Pico.. () <0x0033f>
  at Pico...cctor () <0x0000b>
  at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) <0x0005a>
  at <unknown> <0xffffffff>
  at Pico.. (Pico.,Gtk.MenuItem) <0x0041f>
  at Pico.. (Gtk.MenuItem) <0x00bf3>
  at Pico.. () <0x002f3>
  at Pico./<>c. (object,System.EventArgs) <0x00037>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void__this___object_object (object,intptr,intptr,intptr) <0x000e2>
  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&) <0x0006c>
  at System.Reflection.MonoMethod.Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) <0x000a3>
  at System.Reflection.MethodBase.Invoke (object,object[]) <0x0002a>
  at System.Delegate.DynamicInvokeImpl (object[]) <0x00246>
  at System.MulticastDelegate.DynamicInvokeImpl (object[]) <0x00035>
  at System.Delegate.DynamicInvoke (object[]) <0x00019>
  at GLib.Signal.ClosureInvokedCB (object,GLib.ClosureInvokedArgs) <0x00190>
  at GLib.SignalClosure.Invoke (GLib.ClosureInvokedArgs) <0x0002f>
  at GLib.SignalClosure.MarshalCallback (intptr,GLib.Value*,uint,GLib.Value*,intptr,intptr) <0x00167>
  at (wrapper native-to-managed) GLib.SignalClosure.MarshalCallback (intptr,GLib.Value*,uint,GLib.Value*,intptr,intptr) <0x000b3>
  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) Gtk.Widget.gtk_widget_show_all (intptr) <0x0005f>
  at Gtk.Widget.ShowAll () <0x00013>
  at Pico./. () <0x000e7>
  at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <0x000c8>
  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&) <0x0006c>
  at System.Reflection.MonoMethod.Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) <0x000a3>
  at System.Reflection.MethodBase.Invoke (object,object[]) <0x0002a>
  at System.Delegate.DynamicInvokeImpl (object[]) <0x00246>
  at System.MulticastDelegate.DynamicInvokeImpl (object[]) <0x00035>
  at System.Delegate.DynamicInvoke (object[]) <0x00019>
  at Pico./.DoInvoke () <0x00035>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_object__this__ (object,intptr,intptr,intptr) <0x000cc>
  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&) <0x0006c>
  at System.Reflection.MonoMethod.Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) <0x000a3>
  at System.Reflection.MethodBase.Invoke (object,object[]) <0x0002a>
  at System.Delegate.DynamicInvokeImpl (object[]) <0x00246>
  at System.MulticastDelegate.DynamicInvokeImpl (object[]) <0x00035>
  at System.Delegate.DynamicInvoke (object[]) <0x00019>
  at Pico.. () <0x0003a>
  at Pico.. () <0x00263>
  at GLib.Idle/IdleProxy.Handler (intptr) <0x00114>
  at (wrapper native-to-managed) GLib.Idle/IdleProxy.Handler (intptr) <0x00093>
  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) Gtk.Application.gtk_main () <0x00059>
  at Gtk.Application.Run () <0x0000b>
  at Pico.. () <0x00417>
  at Pico..Run (System.Collections.Generic.List`1<System.Exception>) <0x00079>
  at Pico..Main () <0x0063f>
  at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) <0x000ba>



I've downgraded to version 6.12.9-4r19 and everything works fine.
Attachments
picoscrash.txt
(25.74 KiB) Downloaded 56 times
kkrizka
Newbie
 
Posts: 0
Joined: Wed Oct 25, 2017 9:41 pm

Re: Latest picoscope version crashes on Linux

Postby Hitesh » Mon Oct 30, 2017 12:55 pm

Hi kkrizka,

Are there are any specific steps you are taking before the crash or does it happen as soon as you start the software?

Is the OS fully up to date?

Could you please locate the trace.xml file after the next crash and post it here or e-mail it to support@picotech.com?

Regards,
Hitesh

Technical Support Engineer
Hitesh
Site Admin
Site Admin
 
Posts: 2498
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire

Re: Latest picoscope version crashes on Linux

Postby SUptYb » Thu Nov 02, 2017 3:31 pm

Hi there,

I have the same problem. After upgrading to CentOS Linux release 7.4.1708, the GUI isn't working any more. Do you already have a solution or do you need some more information?
Befor upgrading to CentOs 7.4 everything worked fine.

I start picoscope, the start splash appears, the device enumeration starts (text in start splash and clicking of relays). The start splash disaperas and an empty window with title "PicoScope 6 Beta" appears and then after one or two seconds it crashes.

Thanks!
SUptYb
Newbie
 
Posts: 0
Joined: Thu Nov 02, 2017 3:20 pm

Re: Latest picoscope version crashes on Linux

Postby Hitesh » Fri Nov 03, 2017 11:51 am

Hi SUptYb,

Would it be possible to send a trace.xml file corresponding to the crash please?

You can post it here or e-mail it to support@picotech.com

Thanks,
Hitesh

Technical Support Engineer
Hitesh
Site Admin
Site Admin
 
Posts: 2498
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire

Re: Latest picoscope version crashes on Linux

Postby SUptYb » Fri Nov 03, 2017 12:00 pm

I put the trace.xml into the attachment.
Attachments
trace.xml
(11.73 KiB) Downloaded 14 times
SUptYb
Newbie
 
Posts: 0
Joined: Thu Nov 02, 2017 3:20 pm

Re: Latest picoscope version crashes on Linux

Postby bmdavis » Fri Nov 03, 2017 4:06 pm

Same type behavior on RHEL 7.3

I followed the first comment and transitioned from r35 to r19 and everything seems to be working.

I don't have a trace.xml
bmdavis
Newbie
 
Posts: 0
Joined: Fri Nov 03, 2017 2:13 pm

Re: Latest picoscope version crashes on Linux

Postby kkrizka » Tue Nov 14, 2017 2:13 am

Hi,

I am seeing this on a fully up-to-date CentOS Linux release 7.4.1708 (Core). I don't do anything related to the picoscope before I start the program and it crashes. I just run the command "picoscope".

My trace.xml is attached.

--
Karol Krizka
Attachments
trace.xml
(11.8 KiB) Downloaded 16 times
kkrizka
Newbie
 
Posts: 0
Joined: Wed Oct 25, 2017 9:41 pm

Re: Latest picoscope version crashes on Linux

Postby Hitesh » Tue Nov 14, 2017 10:46 am

Hi Karol,

The trace file shows that your PicoScope 6404D was found but doesn't show any error messages.

Are there any messages shown in the Terminal window when the crash occurs? Are you using a USB 2.0 or USB 3.0 port?

Regards,
Hitesh

Technical Support Engineer
Hitesh
Site Admin
Site Admin
 
Posts: 2498
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire

Re: Latest picoscope version crashes on Linux

Postby kkrizka » Tue Nov 14, 2017 9:06 pm

Hi Hitesh,

I believe that the picoscope is connected to USB2.

I see the following on the command line when I try to start picoscope.
Code: Select all
[kkrizka@carl-pc ~]$ picoscope
sh: line 1: 26680 Aborted                 (core dumped) /opt/picomono/bin/mono /opt/picoscope/lib/PicoScope.GTK.exe 2>&1 > /dev/null


Running without redirecting all output to /dev/null, I see something more useful.
Code: Select all
[kkrizka@carl-pc ~]$ /opt/picomono/bin/mono /opt/picoscope/lib/PicoScope.GTK.exe
Info: Trace opened 11/14/2017.
ApplicationInfo: Info: Application 'PicoScope 6 Beta' (version 6.12.9.35) starting.
ID: Info: 9E56599812073383BE642FAFB385C917
Environment: Info: User is not Guest
Environment: Info: No Administrator Privileges
Environment: Info: Failed to detect access rights
Environment: Info: Host Operating System - Linux
Environment: Info: OS Version - Unix 3.10.0.693
Environment: Info: .net Version - 4.0.30319.42000
Environment: Info: Running on Mono - True
Environment: Info: Mono Display Name - 4.6.2 (Stable 4.6.2.16/ac9e222 Thu Apr 20 08:23:38 BST 2017)
Environment: Info: Current Directory - /home/kkrizka
Info: Processor Count - 8
Environment: Info: 64Bit Operating System - True
Environment: Info: 64Bit Process - True
Environment: Info: Command Line - /opt/picoscope/lib/PicoScope.GTK.exe
ApplicationInfo: Info: Settings file version - 11.3.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
Error: Creating Preferences file.
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 successful. Error NoError.
Device: Info: Device opened CR938/020: PS6000_USB30 PS6404D PS6000
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 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: 1
Device: Info: Device selected: PS6404D, CR938/020
Info: Driver: ps6000.dll Version: PS6000 Linux Driver, 1.7.0.10
Info: Kernel driver: picopp.sys Version: PS6000 Linux Driver, 1.7.0.10
InitalDeviceLoadSequence: Info: Complete
Stacktrace:

  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) System.Drawing.GDIPlus.GdipLoadImageFromDelegate_linux (System.Drawing.GDIPlus/StreamGetHeaderDelegate,System.Drawing.GDIPlus/StreamGetBytesDelegate,System.Drawing.GDIPlus/StreamPutBytesDelegate,System.Drawing.GDIPlus/StreamSeekDelegate,System.Drawing.GDIPlus/StreamCloseDelegate,System.Drawing.GDIPlus/StreamSizeDelegate,intptr&) <0x00101>
  at System.Drawing.Image.InitFromStream (System.IO.Stream) <0x001d7>
  at System.Drawing.Image.LoadFromStream (System.IO.Stream,bool) <0x0002b>
  at System.Drawing.Image.FromStream (System.IO.Stream) <0x0000f>
  at Pico.. () <0x0033f>
  at Pico...cctor () <0x0000b>
  at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) <0x0005a>
  at <unknown> <0xffffffff>
  at Pico.. (Pico.,Gtk.MenuItem) <0x0041f>
  at Pico.. (Gtk.MenuItem) <0x00bf3>
  at Pico.. () <0x002f3>
  at Pico./<>c. (object,System.EventArgs) <0x00037>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void__this___object_object (object,intptr,intptr,intptr) <0x000e2>
  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&) <0x0006c>
  at System.Reflection.MonoMethod.Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) <0x000a3>
  at System.Reflection.MethodBase.Invoke (object,object[]) <0x0002a>
  at System.Delegate.DynamicInvokeImpl (object[]) <0x00246>
  at System.MulticastDelegate.DynamicInvokeImpl (object[]) <0x00035>
  at System.Delegate.DynamicInvoke (object[]) <0x00019>
  at GLib.Signal.ClosureInvokedCB (object,GLib.ClosureInvokedArgs) <0x00190>
  at GLib.SignalClosure.Invoke (GLib.ClosureInvokedArgs) <0x0002f>
  at GLib.SignalClosure.MarshalCallback (intptr,GLib.Value*,uint,GLib.Value*,intptr,intptr) <0x00167>
  at (wrapper native-to-managed) GLib.SignalClosure.MarshalCallback (intptr,GLib.Value*,uint,GLib.Value*,intptr,intptr) <0x000b3>
  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) Gtk.Widget.gtk_widget_show_all (intptr) <0x0005f>
  at Gtk.Widget.ShowAll () <0x00013>
  at Pico./. () <0x000e7>
  at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <0x000c8>
  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&) <0x0006c>
  at System.Reflection.MonoMethod.Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) <0x000a3>
  at System.Reflection.MethodBase.Invoke (object,object[]) <0x0002a>
  at System.Delegate.DynamicInvokeImpl (object[]) <0x00246>
  at System.MulticastDelegate.DynamicInvokeImpl (object[]) <0x00035>
  at System.Delegate.DynamicInvoke (object[]) <0x00019>
  at Pico./.DoInvoke () <0x00035>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_object__this__ (object,intptr,intptr,intptr) <0x000cc>
  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&) <0x0006c>
  at System.Reflection.MonoMethod.Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) <0x000a3>
  at System.Reflection.MethodBase.Invoke (object,object[]) <0x0002a>
  at System.Delegate.DynamicInvokeImpl (object[]) <0x00246>
  at System.MulticastDelegate.DynamicInvokeImpl (object[]) <0x00035>
  at System.Delegate.DynamicInvoke (object[]) <0x00019>
  at Pico.. () <0x0003a>
  at Pico.. () <0x00263>
  at GLib.Idle/IdleProxy.Handler (intptr) <0x00114>
  at (wrapper native-to-managed) GLib.Idle/IdleProxy.Handler (intptr) <0x00093>
  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) Gtk.Application.gtk_main () <0x00059>
  at Gtk.Application.Run () <0x0000b>
  at Pico.. () <0x00417>
  at Pico..Run (System.Collections.Generic.List`1<System.Exception>) <0x00079>
  at Pico..Main () <0x0063f>
  at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) <0x000ba>

Native stacktrace:

   /opt/picomono/bin/mono() [0x4ac11a]
   /opt/picomono/bin/mono() [0x502a2e]
   /opt/picomono/bin/mono() [0x427377]
   /lib64/libpthread.so.0(+0xf5e0) [0x7f33d38725e0]
   /opt/picomono/lib/libgdiplus.so(+0x41951) [0x7f33ad464951]
   /opt/picomono/lib/libgdiplus.so(GdipLoadImageFromDelegate_linux+0x1ab) [0x7f33ad44aaeb]
   [0x42095d72]

Debug info from gdb:

warning: File "/opt/picomono/bin/mono-sgen-gdb.py" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load:/usr/bin/mono-gdb.py".
To enable execution of this file add
   add-auto-load-safe-path /opt/picomono/bin/mono-sgen-gdb.py
line to your configuration file "/home/kkrizka/.gdbinit".
To completely disable this security protection add
   set auto-load safe-path /
line to your configuration file "/home/kkrizka/.gdbinit".
For more information about this security protection see the
"Auto-loading safe path" section in the GDB manual.  E.g., run from the shell:
   info "(gdb)Auto-loading safe path"
[New LWP 26814]
[New LWP 26813]
[New LWP 26812]
[New LWP 26811]
[New LWP 26810]
[New LWP 26809]
[New LWP 26808]
[New LWP 26807]
[New LWP 26806]
[New LWP 26805]
[New LWP 26802]
[New LWP 26800]
[New LWP 26799]
[New LWP 26798]
[New LWP 26796]
[New LWP 26795]
[New LWP 26794]
[New LWP 26793]
[New LWP 26792]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
0x00007f33d3872189 in waitpid () from /lib64/libpthread.so.0
  Id   Target Id         Frame
  20   Thread 0x7f33cc7ff700 (LWP 26792) "SGen worker" 0x00007f33d386e945 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  19   Thread 0x7f33ca250700 (LWP 26793) "Finalizer" 0x00007f33d3870a0b in do_futex_wait.constprop.1 () from /lib64/libpthread.so.0
  18   Thread 0x7f33c89e6700 (LWP 26794) "Timer-Scheduler" 0x00007f33d386ecf2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  17   Thread 0x7f33c3d25700 (LWP 26795) "PortMutex" 0x00007f33d386e945 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  16   Thread 0x7f33c3a2e700 (LWP 26796) "Main" 0x00007f33d386ecf2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  15   Thread 0x7f33b40f7700 (LWP 26798) "Main" 0x00007f33d386ecf2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  14   Thread 0x7f33a7fff700 (LWP 26799) "Threadpool work" 0x00007f33d386ecf2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  13   Thread 0x7f33a7dfe700 (LWP 26800) "Threadpool work" 0x00007f33d386ecf2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  12   Thread 0x7f339ffff700 (LWP 26802) "Threadpool work" 0x00007f33d3377a3d in poll () from /lib64/libc.so.6
  11   Thread 0x7f339f7fe700 (LWP 26805) "Threadpool work" 0x00007f33d386e945 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  10   Thread 0x7f339effd700 (LWP 26806) "Threadpool work" 0x00007f33d386e945 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  9    Thread 0x7f339e7fc700 (LWP 26807) "Threadpool work" 0x00007f33d386e945 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  8    Thread 0x7f339dffb700 (LWP 26808) "Threadpool work" 0x00007f33d386e945 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  7    Thread 0x7f339d7fa700 (LWP 26809) "Threadpool work" 0x00007f33d386e945 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  6    Thread 0x7f339cff9700 (LWP 26810) "Threadpool work" 0x00007f33d386e945 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  5    Thread 0x7f338bfff700 (LWP 26811) "gmain" 0x00007f33d3377a3d in poll () from /lib64/libc.so.6
  4    Thread 0x7f338b7fe700 (LWP 26812) "gdbus" 0x00007f33d3377a3d in poll () from /lib64/libc.so.6
  3    Thread 0x7f338affd700 (LWP 26813) "pool" 0x00007f33d337c7f9 in syscall () from /lib64/libc.so.6
  2    Thread 0x7f338a7fc700 (LWP 26814) "pool" 0x00007f33d337c7f9 in syscall () from /lib64/libc.so.6
* 1    Thread 0x7f33d438a780 (LWP 26791) "Main" 0x00007f33d3872189 in waitpid () from /lib64/libpthread.so.0

Thread 20 (Thread 0x7f33cc7ff700 (LWP 26792)):
#0  0x00007f33d386e945 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x0000000000620427 in thread_func ()
#2  0x00007f33d386ae25 in start_thread () at /lib64/libpthread.so.0
#3  0x00007f33d338234d in clone () at /lib64/libc.so.6

Thread 19 (Thread 0x7f33ca250700 (LWP 26793)):
#0  0x00007f33d3870a0b in do_futex_wait.constprop.1 () at /lib64/libpthread.so.0
#1  0x00007f33d3870a9f in __new_sem_wait_slow.constprop.0 () at /lib64/libpthread.so.0
#2  0x00007f33d3870b3b in sem_wait@@GLIBC_2.2.5 () at /lib64/libpthread.so.0
#3  0x00000000005b8dc9 in finalizer_thread ()
#4  0x0000000000599ccc in start_wrapper ()
#5  0x000000000064fe7c in inner_start_thread ()
#6  0x00007f33d386ae25 in start_thread () at /lib64/libpthread.so.0
#7  0x00007f33d338234d in clone () at /lib64/libc.so.6

Thread 18 (Thread 0x7f33c89e6700 (LWP 26794)):
#0  0x00007f33d386ecf2 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x0000000000626798 in _wapi_handle_timedwait_signal_handle ()
#2  0x000000000063c29d in wapi_WaitForSingleObjectEx ()
#3  0x0000000000599a07 in mono_wait_uninterrupted.isra.21 ()
#4  0x000000000059acc6 in ves_icall_System_Threading_WaitHandle_WaitOne_internal ()
#5  0x0000000041f93238 in  ()
#6  0x0000000000000038 in  ()
#7  0x000000000232cea8 in  ()
#8  0x0000000000003a97 in  ()
#9  0x00007f33cc910578 in  ()
#10 0x0000000000000000 in  ()

Thread 17 (Thread 0x7f33c3d25700 (LWP 26795)):
#0  0x00007f33d386e945 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00000000006268b1 in _wapi_handle_timedwait_signal_handle ()
#2  0x000000000063cf61 in wapi_WaitForMultipleObjectsEx ()
#3  0x0000000000599993 in mono_wait_uninterrupted.isra.21 ()
#4  0x000000000059ade8 in ves_icall_System_Threading_WaitHandle_WaitAny_internal ()
#5  0x00000000420210b8 in  ()
#6  0x0000000000000004 in  ()
#7  0x00007f33cca79d30 in  ()
#8  0x00007f33cca79cf0 in  ()
Python Exception <type 'exceptions.OverflowError'> long too big to convert:
#9  0xffffffffffffffff in  ()#10 0x0000000000000000 in  ()

Thread 16 (Thread 0x7f33c3a2e700 (LWP 26796)):
#0  0x00007f33d386ecf2 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x0000000000626798 in _wapi_handle_timedwait_signal_handle ()
#2  0x000000000063c29d in wapi_WaitForSingleObjectEx ()
#3  0x00000000005bbc97 in ves_icall_System_Threading_Monitor_Monitor_wait ()
#4  0x00007f33ca44af51 in System_Threading_Monitor_ObjWait_bool_int_object (exitContext=false, millisecondsTimeout=1000, obj=0x3e8) at /home/builder/picomono/tmp/mono-4.6.2/mcs/class/corlib/System.Threading/Monitor.cs:83
#5  0x00007f33ca44abcd in System_Threading_Monitor_Wait_object_int_bool (obj=0x7f33ccaae5f8, millisecondsTimeout=1000, exitContext=false) at /home/builder/picomono/tmp/mono-4.6.2/mcs/class/referencesource/mscorlib/system/threading/monitor.cs:210
#6  0x00007f33ca44ac54 in System_Threading_Monitor_Wait_object_int (obj=0x7f33ccaae5f8, millisecondsTimeout=1000) at /home/builder/picomono/tmp/mono-4.6.2/mcs/class/referencesource/mscorlib/system/threading/monitor.cs:220
#7  0x00007f33ca41dfa2 in System_Threading_ManualResetEventSlim_Wait_int_System_Threading_CancellationToken (this=..., millisecondsTimeout=1000, cancellationToken=-861220840) at /home/builder/picomono/tmp/mono-4.6.2/mcs/class/referencesource/mscorlib/system/threading/ManualResetEventSlim.cs:669
#8  0x00007f33ca41dc3e in System_Threading_ManualResetEventSlim_Wait_System_TimeSpan_System_Threading_CancellationToken (this=..., timeout=10000000, cancellationToken=-861220840) at /home/builder/picomono/tmp/mono-4.6.2/mcs/class/referencesource/mscorlib/system/threading/ManualResetEventSlim.cs:503
#9  0x0000000042040b1b in  ()
#10 0x4053e00000000000 in  ()
#11 0x4062400000000000 in  ()
#12 0x00007f33ccaae560 in  ()
#13 0x00007f33ccaac750 in  ()
#14 0x30653561302d6630 in  ()
#15 0x5200002400000002 in  ()
Python Exception <type 'exceptions.OverflowError'> long too big to convert:
#16 0xffffffffffffffff in  ()#17 0x00007f33ccaae560 in  ()
#18 0x30653561302d6630 in  ()
#19 0x5200002400000002 in  ()
#20 0x00007f33ccaad018 in  ()
#21 0x48a8458b48b84589 in  ()
#22 0x0000000000989680 in pin_hash_filter ()
#23 0x00007f33c3a2d6d0 in  ()
#24 0x00007f33ccaad358 in  ()
#25 0x00007f33c3a2d690 in  ()
#26 0x00000000402ac2c0 in  ()
#27 0x0000000002843de8 in  ()
#28 0x000000004203fd2b in  ()
#29 0x000000000059a550 in mono_thread_force_interruption_checkpoint_noraise ()
#30 0x00007f33ca438570 in System_Threading_Tasks_Task_InnerInvoke () at /opt/picomono/lib/mono/4.5/mscorlib.dll.so
#31 0x00000000402ac2c0 in  ()
#32 0x00007f33c3a2d660 in  ()
#33 0x00007f33ca4385bd in System_Threading_Tasks_Task_InnerInvoke (this=...) at /home/builder/picomono/tmp/mono-4.6.2/mcs/class/referencesource/mscorlib/system/threading/Tasks/Task.cs:2879
#34 0x00007f33ca437fe6 in System_Threading_Tasks_Task_Execute (this=...) at /home/builder/picomono/tmp/mono-4.6.2/mcs/class/referencesource/mscorlib/system/threading/Tasks/Task.cs:2502

Thread 15 (Thread 0x7f33b40f7700 (LWP 26798)):
#0  0x00007f33d386ecf2 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x000000000064e317 in mono_thread_info_sleep ()
#2  0x000000000059e738 in monitor_thread ()
#3  0x0000000000599ccc in start_wrapper ()
#4  0x000000000064fe7c in inner_start_thread ()
#5  0x00007f33d386ae25 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f33d338234d in clone () at /lib64/libc.so.6

Thread 14 (Thread 0x7f33a7fff700 (LWP 26799)):
#0  0x00007f33d386ecf2 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x000000000059e36f in worker_thread ()
#2  0x0000000000599ccc in start_wrapper ()
#3  0x000000000064fe7c in inner_start_thread ()
#4  0x00007f33d386ae25 in start_thread () at /lib64/libpthread.so.0
#5  0x00007f33d338234d in clone () at /lib64/libc.so.6

Thread 13 (Thread 0x7f33a7dfe700 (LWP 26800)):
#0  0x00007f33d386ecf2 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x000000000059e36f in worker_thread ()
#2  0x0000000000599ccc in start_wrapper ()
#3  0x000000000064fe7c in inner_start_thread ()
#4  0x00007f33d386ae25 in start_thread () at /lib64/libpthread.so.0
#5  0x00007f33d338234d in clone () at /lib64/libc.so.6

Thread 12 (Thread 0x7f339ffff700 (LWP 26802)):
#0  0x00007f33d3377a3d in poll () at /lib64/libc.so.6
#1  0x00007f33a761882c in linux_udev_event_thread_main () at /lib64/libusb-1.0.so.0
#2  0x00007f33d386ae25 in start_thread () at /lib64/libpthread.so.0
#3  0x00007f33d338234d in clone () at /lib64/libc.so.6

Thread 11 (Thread 0x7f339f7fe700 (LWP 26805)):
#0  0x00007f33d386e945 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f33a78993e3 in  () at /opt/picoscope/lib/libps6000.so
#2  0x00007f33a784de01 in  () at /opt/picoscope/lib/libps6000.so
#3  0x00007f33a789912a in  () at /opt/picoscope/lib/libps6000.so
#4  0x00007f33d386ae25 in start_thread () at /lib64/libpthread.so.0
#5  0x00007f33d338234d in clone () at /lib64/libc.so.6

Thread 10 (Thread 0x7f339effd700 (LWP 26806)):
#0  0x00007f33d386e945 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f33a78993e3 in  () at /opt/picoscope/lib/libps6000.so
#2  0x00007f33a7848525 in  () at /opt/picoscope/lib/libps6000.so
#3  0x00007f33a789912a in  () at /opt/picoscope/lib/libps6000.so
#4  0x00007f33d386ae25 in start_thread () at /lib64/libpthread.so.0
#5  0x00007f33d338234d in clone () at /lib64/libc.so.6

Thread 9 (Thread 0x7f339e7fc700 (LWP 26807)):
#0  0x00007f33d386e945 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f33a78993e3 in  () at /opt/picoscope/lib/libps6000.so
#2  0x00007f33a784de01 in  () at /opt/picoscope/lib/libps6000.so
#3  0x00007f33a789912a in  () at /opt/picoscope/lib/libps6000.so
#4  0x00007f33d386ae25 in start_thread () at /lib64/libpthread.so.0
#5  0x00007f33d338234d in clone () at /lib64/libc.so.6

Thread 8 (Thread 0x7f339dffb700 (LWP 26808)):
#0  0x00007f33d386e945 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f33a78993e3 in  () at /opt/picoscope/lib/libps6000.so
#2  0x00007f33a7848525 in  () at /opt/picoscope/lib/libps6000.so
#3  0x00007f33a789912a in  () at /opt/picoscope/lib/libps6000.so
#4  0x00007f33d386ae25 in start_thread () at /lib64/libpthread.so.0
#5  0x00007f33d338234d in clone () at /lib64/libc.so.6

Thread 7 (Thread 0x7f339d7fa700 (LWP 26809)):
#0  0x00007f33d386e945 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f33a78993e3 in  () at /opt/picoscope/lib/libps6000.so
#2  0x00007f33a7837040 in  () at /opt/picoscope/lib/libps6000.so
#3  0x00007f33a7837169 in  () at /opt/picoscope/lib/libps6000.so
#4  0x00007f33a789912a in  () at /opt/picoscope/lib/libps6000.so
#5  0x00007f33d386ae25 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f33d338234d in clone () at /lib64/libc.so.6

Thread 6 (Thread 0x7f339cff9700 (LWP 26810)):
#0  0x00007f33d386e945 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f33a78993e3 in  () at /opt/picoscope/lib/libps6000.so
#2  0x00007f33a78343a6 in  () at /opt/picoscope/lib/libps6000.so
#3  0x00007f33a783c270 in  () at /opt/picoscope/lib/libps6000.so
#4  0x00007f33a789912a in  () at /opt/picoscope/lib/libps6000.so
#5  0x00007f33d386ae25 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f33d338234d in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7f338bfff700 (LWP 26811)):
#0  0x00007f33d3377a3d in poll () at /lib64/libc.so.6
#1  0x00007f33c90e67ac in g_main_context_iterate.isra.21 () at /lib64/libglib-2.0.so.0
#2  0x00007f33c90e68cc in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#3  0x00007f33c90e6909 in glib_worker_main () at /lib64/libglib-2.0.so.0
#4  0x00007f33c910cf20 in g_thread_proxy () at /lib64/libglib-2.0.so.0
#5  0x00007f33d386ae25 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f33d338234d in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7f338b7fe700 (LWP 26812)):
#0  0x00007f33d3377a3d in poll () at /lib64/libc.so.6
#1  0x00007f33c90e67ac in g_main_context_iterate.isra.21 () at /lib64/libglib-2.0.so.0
#2  0x00007f33c90e6aea in g_main_loop_run () at /lib64/libglib-2.0.so.0
#3  0x00007f33c1a7cb76 in gdbus_shared_thread_func () at /lib64/libgio-2.0.so.0
#4  0x00007f33c910cf20 in g_thread_proxy () at /lib64/libglib-2.0.so.0
#5  0x00007f33d386ae25 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f33d338234d in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f338affd700 (LWP 26813)):
#0  0x00007f33d337c7f9 in syscall () at /lib64/libc.so.6
#1  0x00007f33c912a9be in g_cond_wait_until () at /lib64/libglib-2.0.so.0
#2  0x00007f33c90bb7b1 in g_async_queue_pop_intern_unlocked () at /lib64/libglib-2.0.so.0
#3  0x00007f33c910d892 in g_thread_pool_thread_proxy () at /lib64/libglib-2.0.so.0
#4  0x00007f33c910cf20 in g_thread_proxy () at /lib64/libglib-2.0.so.0
#5  0x00007f33d386ae25 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f33d338234d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f338a7fc700 (LWP 26814)):
#0  0x00007f33d337c7f9 in syscall () at /lib64/libc.so.6
#1  0x00007f33c912a9be in g_cond_wait_until () at /lib64/libglib-2.0.so.0
#2  0x00007f33c90bb7b1 in g_async_queue_pop_intern_unlocked () at /lib64/libglib-2.0.so.0
#3  0x00007f33c910d892 in g_thread_pool_thread_proxy () at /lib64/libglib-2.0.so.0
#4  0x00007f33c910cf20 in g_thread_proxy () at /lib64/libglib-2.0.so.0
#5  0x00007f33d386ae25 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f33d338234d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f33d438a780 (LWP 26791)):
#0  0x00007f33d3872189 in waitpid () at /lib64/libpthread.so.0
#1  0x00000000004ac1a4 in mono_handle_native_sigsegv ()
#2  0x0000000000502a2e in mono_arch_handle_altstack_exception ()
#3  0x0000000000427377 in mono_sigsegv_signal_handler ()
#4  0x00007f33d38725e0 in <signal handler called> () at /lib64/libpthread.so.0
#5  0x00007f33ad464951 in gdip_load_png_image_from_file_or_stream () at /opt/picomono/lib/libgdiplus.so
#6  0x00007f33ad44aaeb in GdipLoadImageFromDelegate_linux () at /opt/picomono/lib/libgdiplus.so
#7  0x0000000042095d72 in  ()
#8  0x00007ffc83f99c70 in  ()
#9  0x0000000000001000 in  ()
#10 0x00007f33b4185b60 in  ()
#11 0x00007f33b4185640 in  ()
#12 0x00007f33b41857e0 in  ()
#13 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.
=================================================================

Aborted (core dumped)
kkrizka
Newbie
 
Posts: 0
Joined: Wed Oct 25, 2017 9:41 pm

Re: Latest picoscope version crashes on Linux

Postby Hitesh » Tue Nov 21, 2017 12:27 pm

Hi kkrizka,

Thank you for the information. I have added this to an existing bug report.

Regards,
Hitesh

Technical Support Engineer
Hitesh
Site Admin
Site Admin
 
Posts: 2498
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