Skip to content

Inconsistent issues launching mintupdate #869

Description

@ra50

Describe the bug
mintupdate fails to start, but not consistently

When running mintupdate at the terminal several times in a row:

  1. One time pops up a small window that doesn't render properly, where you can see through it to the application behind it.
  2. One time doesn't open at all, with error in terminal:
The program 'mintUpdate.py' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadLength (poly request too large or internal Xlib length erro'.
  1. One time doesn't open at all, with error in terminal:
The program 'mintUpdate.py' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadRequest (invalid request code or no such operation)'.
  1. One time opens correctly.

Screenshots
Screenshot_2024-03-07_16-58-27

To Reproduce
Steps to reproduce the behavior:

  1. Run mintupdate.

Expected behavior
Expect it to open normally each time. Only expected terminal messages should be DeprecationWarning: Gdk.threads_leave is deprecated and Flatpaks: skipping update check - nothing installed.

Distribution:

  • Linux Mint 21.3 Xfce 4.18
  • LMDE
  • Other (please specify)

Software version:
6.0.9

Logs:
This is in the log when mintupdate launches correctly.

03.07@17:06 ++ Launching Update Manager
03.07@17:06 ++ Changes to the package cache detected, triggering refresh
03.07@17:06 ++ Initial refresh will happen in 0 day(s), 0 hour(s) and 10 minute(s)
03.07@17:06 ++ Inhibited power management
03.07@17:06 ++ Starting refresh (local only)
03.07@17:06 ++ System is up to date
03.07@17:06 ++ Refresh finished
03.07@17:06 ++ Resumed power management

Crash report:
/usr/lib/linuxmint/mintUpdate/mintUpdate.py:1379: DeprecationWarning: Gdk.threads_init is deprecated
Gdk.threads_init()
/usr/lib/linuxmint/mintUpdate/mintUpdate.py:1764: DeprecationWarning: Gdk.threads_enter is deprecated
Gdk.threads_enter()
/usr/lib/linuxmint/mintUpdate/mintUpdate.py:803: DeprecationWarning: Gdk.threads_leave is deprecated
Gdk.threads_leave()

(mintUpdate.py:17432): Gdk-ERROR **: 17:07:08.835: The program 'mintUpdate.py' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadRequest (invalid request code or no such operation)'.
(Details: serial 701 error_code 1 request_code 141 (unknown) minor_code 141)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the GDK_SYNCHRONIZE environment
variable to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)

Additional context
Perhaps this is specific to my system, but not sure how to troubleshoot, have already tried reinstalling mintupdate. Seems similar to #868

Locale:
LANG=en_US.UTF-8
LANGUAGE=en_US

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions