On 2024-02-28 10:39:49 -0800, Dima Kogan wrote:
> Hi. I'd like to get more clarity.
> 
> - You see the issue when you try to plot anything at all?
> 
> - You say "plot x" and you get a plot window, but it's all white, or
>   something?
> 
> - Only with the "qt" terminal?

It was the wxt terminal (which I normally use all the time).

I'll do more tests tomorrow since I can't reproduce the problem
remotely (or locally on a different machine).

I could also look at the strace and xtrace output.

When I got the problem, using FVWM's Delete command to remove
the window did not have any effect (so this is not just a
display issue, the process was frozen in some state); FVWM's
Destroy command worked. These commands are described as follows:

    Delete
        Sends a message to a window asking that it remove itself,
        frequently causing the application to exit.

    Destroy
        Destroys an application window, which usually causes the
        application to crash and burn.

The problem occurred first at 2024-02-28T19:12:24 CET.
At that time, journalctl shows:

Feb 28 19:12:24 cventin dbus-daemon[1489]: [session uid=1000 pid=1489] 
Activating via systemd: service name='org.freedesktop.portal.Desktop' 
unit='xdg-desktop-portal.service' requested by ':1.27' (uid=1000 pid=7164 
comm="/usr/bin/gnuplot -persist")
Feb 28 19:12:25 cventin systemd[1462]: Starting xdg-desktop-portal.service - 
Portal service...
Feb 28 19:12:25 cventin dbus-daemon[1489]: [session uid=1000 pid=1489] 
Activating via systemd: service name='org.freedesktop.portal.Documents' 
unit='xdg-document-portal.service' requested by ':1.28' (uid=1000 pid=7168 
comm="/usr/libexec/xdg-desktop-portal")
Feb 28 19:12:25 cventin systemd[1462]: Starting xdg-document-portal.service - 
flatpak document portal service...
Feb 28 19:12:25 cventin dbus-daemon[1489]: [session uid=1000 pid=1489] 
Activating via systemd: service 
name='org.freedesktop.impl.portal.PermissionStore' 
unit='xdg-permission-store.service' requested by ':1.29' (uid=1000 pid=7174 
comm="/usr/libexec/xdg-document-portal")
Feb 28 19:12:25 cventin systemd[1462]: Starting xdg-permission-store.service - 
sandboxed app permission store...
Feb 28 19:12:25 cventin dbus-daemon[1489]: [session uid=1000 pid=1489] 
Successfully activated service 'org.freedesktop.impl.portal.PermissionStore'
Feb 28 19:12:25 cventin systemd[1462]: Started xdg-permission-store.service - 
sandboxed app permission store.
Feb 28 19:12:25 cventin dbus-daemon[1489]: [session uid=1000 pid=1489] 
Successfully activated service 'org.freedesktop.portal.Documents'
Feb 28 19:12:25 cventin systemd[1462]: Started xdg-document-portal.service - 
flatpak document portal service.
Feb 28 19:12:25 cventin xdg-document-portal[7174]: Ignoring invalid max threads 
value 4294967295 > max (100000).
Feb 28 19:12:25 cventin xdg-desktop-por[7168]: Choosing gtk.portal for 
org.freedesktop.impl.portal.Lockdown as a last-resort fallback
Feb 28 19:12:25 cventin xdg-desktop-por[7168]: The preferred method to match 
portal implementations to desktop environments is to use the portals.conf(5) 
configuration file
Feb 28 19:12:25 cventin dbus-daemon[1489]: [session uid=1000 pid=1489] 
Activating via systemd: service name='org.freedesktop.impl.portal.desktop.gtk' 
unit='xdg-desktop-portal-gtk.service' requested by ':1.28' (uid=1000 pid=7168 
comm="/usr/libexec/xdg-desktop-portal")
Feb 28 19:12:25 cventin systemd[1462]: Starting xdg-desktop-portal-gtk.service 
- Portal service (GTK/GNOME implementation)...
Feb 28 19:12:25 cventin dbus-daemon[1489]: [session uid=1000 pid=1489] 
Activating via systemd: service name='org.a11y.Bus' 
unit='at-spi-dbus-bus.service' requested by ':1.31' (uid=1000 pid=7189 
comm="/usr/libexec/xdg-desktop-portal-gtk")
Feb 28 19:12:25 cventin systemd[1462]: Starting at-spi-dbus-bus.service - 
Accessibility services bus...
Feb 28 19:12:25 cventin dbus-daemon[1489]: [session uid=1000 pid=1489] 
Successfully activated service 'org.a11y.Bus'
Feb 28 19:12:25 cventin systemd[1462]: Started at-spi-dbus-bus.service - 
Accessibility services bus.
Feb 28 19:12:25 cventin at-spi-bus-launcher[7197]: dbus-daemon[7197]: 
Activating service name='org.a11y.atspi.Registry' requested by ':1.0' (uid=1000 
pid=7189 comm="/usr/libexec/xdg-desktop-portal-gtk")
Feb 28 19:12:25 cventin at-spi-bus-launcher[7197]: dbus-daemon[7197]: 
Successfully activated service 'org.a11y.atspi.Registry'
Feb 28 19:12:25 cventin at-spi-bus-launcher[7203]: SpiRegistry daemon is 
running with well-known name - org.a11y.atspi.Registry
Feb 28 19:12:25 cventin dbus-daemon[1489]: [session uid=1000 pid=1489] 
Successfully activated service 'org.freedesktop.impl.portal.desktop.gtk'
Feb 28 19:12:25 cventin systemd[1462]: Started xdg-desktop-portal-gtk.service - 
Portal service (GTK/GNOME implementation).
Feb 28 19:12:25 cventin rtkit-daemon[811]: Supervising 3 threads of 1 processes 
of 1 users.
Feb 28 19:12:25 cventin rtkit-daemon[811]: Supervising 3 threads of 1 processes 
of 1 users.
Feb 28 19:12:25 cventin xdg-desktop-por[7168]: No skeleton to export
Feb 28 19:12:25 cventin rtkit-daemon[811]: Supervising 3 threads of 1 processes 
of 1 users.
Feb 28 19:12:25 cventin xdg-desktop-por[7168]: Choosing gtk.portal for 
org.freedesktop.impl.portal.FileChooser as a last-resort fallback
Feb 28 19:12:25 cventin xdg-desktop-por[7168]: Choosing gtk.portal for 
org.freedesktop.impl.portal.AppChooser as a last-resort fallback
Feb 28 19:12:25 cventin xdg-desktop-por[7168]: Choosing gtk.portal for 
org.freedesktop.impl.portal.Print as a last-resort fallback
Feb 28 19:12:25 cventin xdg-desktop-por[7168]: Choosing gtk.portal for 
org.freedesktop.impl.portal.Notification as a last-resort fallback
Feb 28 19:12:25 cventin xdg-desktop-por[7168]: Choosing gtk.portal for 
org.freedesktop.impl.portal.Inhibit as a last-resort fallback
Feb 28 19:12:25 cventin xdg-desktop-por[7168]: Choosing gtk.portal for 
org.freedesktop.impl.portal.Access as a last-resort fallback
Feb 28 19:12:25 cventin xdg-desktop-portal[7168]: pw.conf: can't load config 
client.conf: No such file or directory
Feb 28 19:12:25 cventin xdg-desktop-portal[7168]: pw.conf: can't load config 
client.conf: No such file or directory
Feb 28 19:12:25 cventin xdg-desktop-por[7168]: Failed connect to PipeWire: 
Couldn't create PipeWire context
Feb 28 19:12:25 cventin xdg-desktop-por[7168]: Choosing gtk.portal for 
org.freedesktop.impl.portal.Account as a last-resort fallback
Feb 28 19:12:25 cventin xdg-desktop-por[7168]: Choosing gtk.portal for 
org.freedesktop.impl.portal.Email as a last-resort fallback
Feb 28 19:12:25 cventin xdg-desktop-por[7168]: Choosing gtk.portal for 
org.freedesktop.impl.portal.DynamicLauncher as a last-resort fallback
Feb 28 19:12:25 cventin dbus-daemon[1489]: [session uid=1000 pid=1489] 
Successfully activated service 'org.freedesktop.portal.Desktop'
Feb 28 19:12:25 cventin systemd[1462]: Started xdg-desktop-portal.service - 
Portal service.

(and nothing else in the previous minutes and the next minutes).

But I could see that there was exactly the same thing with a previous
invocation a few days earlier, using gnuplot 5, which had no issues.

> You can try to change your window manager, qt versions, etc, etc. If no
> trigger is found, it would be good to bisect the gnuplot sources to find
> the cause. Are you able to do that? I cannot reproduce at the moment, so
> I cannot do it myself.

I think I'll be able to do the bissect.

-- 
Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

Reply via email to