Crash when panning

Post any questions related to the new PicoScope 7 software
Post Reply
hanno
Newbie
Posts: 0
Joined: Mon Oct 16, 2023 2:04 pm

Crash when panning

Post by hanno »

Hi,
I am running Picoscope 7.1.13.16924 on Manjaro Linux, Linux kernel 6.5.5
Recently, trying to pan after zooming always results in an immediate crash. Also, Picoscope tries to restore the previous settings on startup, which results in the same crash looping endlessly. The only way out was to rename lastsessions.pssettings, but I therefore also lost my customisations. I can only use the software if I remember not to pan after zoom, which is very frustrating.

I have included the crash report. I have also reinstalled the software, but the issue is still present.
Thank you for any assistance!
Attachments
Report_2023_10_16.zip
This report was already sent as part of the crash report by the Picoscope software, but I think the additional info in my post may help to debug the issue.
(2.95 KiB) Downloaded 1128 times

QikPWR2
Newbie
Posts: 0
Joined: Sat May 18, 2024 7:29 pm

Re: Crash when panning

Post by QikPWR2 »

I have the exact same problem in Fedora 40 running KDE on Wayland. I can always replicate it by starting in Demo mode, clicking on the magnifying glass icon and clicking the hand icon in the zoom control window. No need to even attempt panning. I get the same error as you did in the .xml report (Exception:GLib.GException: Unrecognised image file format) but the error to the console is the following:

[ERROR] FATAL UNHANDLED EXCEPTION: GLib.MissingIntPtrCtorException: Unable to construct instance of type PSV.aj from native object handle. Instance of managed subclass may have been prematurely disposed.
at GLib.ObjectManager.CreateObject (System.IntPtr raw) [0x00064] in <3eb93253711f4c08b41956dc83a81a30>:0
at GLib.Object.GetObject (System.IntPtr o, System.Boolean owned_ref) [0x00089] in <3eb93253711f4c08b41956dc83a81a30>:0
at GLib.ListBase.DataMarshal (System.IntPtr data) [0x0009f] in <3eb93253711f4c08b41956dc83a81a30>:0
at GLib.ListBase+ListEnumerator.get_Current () [0x00014] in <3eb93253711f4c08b41956dc83a81a30>:0
at GLib.ListBase.CopyTo (System.Array array, System.Int32 index) [0x0001a] in <3eb93253711f4c08b41956dc83a81a30>:0
at GLib.Marshaller.ListToArray (GLib.ListBase list, System.Type type) [0x00019] in <3eb93253711f4c08b41956dc83a81a30>:0
at GLib.Marshaller.ListPtrToArray (System.IntPtr list_ptr, System.Type list_type, System.Boolean owned, System.Boolean elements_owned, System.Type elem_type) [0x0005a] in <3eb93253711f4c08b41956dc83a81a30>:0
at Gtk.Container.get_Children () [0x0000c] in :0
at PSV.ax.Dispose (System.Boolean disposing) [0x000b4] in :0
at GLib.Object.Dispose () [0x0000c] in <3eb93253711f4c08b41956dc83a81a30>:0
at PSV.aw.l (System.Object ez, System.Collections.Specialized.NotifyCollectionChangedEventArgs fa) [0x002a9] in :0
at PSV.aw.Dispose (System.Boolean disposing) [0x000ef] in :0
at GLib.Object.Dispose () [0x0000c] in <3eb93253711f4c08b41956dc83a81a30>:0
at PSV.at.Dispose (System.Boolean disposing) [0x000c4] in :0
at GLib.Object.Finalize () [0x00029] in <3eb93253711f4c08b41956dc83a81a30>:0

I tried the following:
  • ran it as GDK_BACKEND=x11 mono /opt/picoscope/lib/PicoScope.GTK.exe
  • ran it as GDK_BACKEND=wayland mono /opt/picoscope/lib/PicoScope.GTK.exe
  • used the mono packages from Fedora 40
  • used the mono packages from https://download.mono-project.com/repo/centos8-stable/ (they install the latest 6.12 version)
  • installed all the Picoscope 7 versions from 7.1.13 to 7.1.26
  • installed gtk-sharp3-2.99.3.x from various sources including the latest 2.99 Fedora version available: gtk-sharp3-2.99.3-33.fc36.x86_64.rpm
  • refreshed the MIME information: sudo update-mime-database /usr/share/mime
  • refreshed the pixbuf loader cache: sudo /usr/bin/gdk-pixbuf-query-loaders-64 --update-cache
None of these fixed the error. Now I'm running as as

GDK_BACKEND=wayland mono /opt/picoscope/lib/PicoScope.GTK.exe

because in this mode the mouse scroll wheel doesn't work and I can't get into mouse panning mode by mistake. But I would like to have mouse panning functionality since keyboard shortcuts are also not available for Picoscope 7. I want to mention that I can't get Picoscope 6 to work either, so I'm stuck with this or a Windows virtual machine which is not as smooth.

hanno
Newbie
Posts: 0
Joined: Mon Oct 16, 2023 2:04 pm

Re: Crash when panning

Post by hanno »

I am still extremely frustrated by this issue, more than 6 months after posting about it. :x
I can confirm that on my side also, clicking the hand icon is enough to result in a crash. I am running Picoscope early access, in the hope that this gets fixed.

I am also using KDE. I recently switched from X11 to Wayland, but that made no difference to this bug.
For something so expensive, I am very disappointed in the Picoscope software, and will NOT recommend it to others.

QikPWR2
Newbie
Posts: 0
Joined: Sat May 18, 2024 7:29 pm

Re: Crash when panning

Post by QikPWR2 »

Big thanks for the software team!!!

I have just tested the latest 7.1.29.19263 version (early access) and the crash on panning doesn't happen any more. Couldn't be happier!

Post Reply