Bug 4263 - every other program start aborts on X window error
Summary: every other program start aborts on X window error
Status: RESOLVED WORKSFORME
Alias: None
Product: Claws Mail
Classification: Unclassified
Component: Other (show other bugs)
Version: 3.99.0
Hardware: PC Linux
: P3 normal
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2019-10-24 02:54 UTC by Pierre Fortin
Modified: 2020-05-19 15:45 UTC (History)
0 users

See Also:


Attachments

Description Pierre Fortin 2019-10-24 02:54:24 UTC
Starting CM without --debug, every other start crashes with:
(cm3:18701): dbind-WARNING **: 22:34:46.895: Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

** (cm3:18701): WARNING **: 22:34:47.172: plugin loading error: This plugin provides a privacy interface (Core operations), which is already provided by the PGP/Core plugin.

** (cm3:18701): WARNING **: 22:34:47.173: plugin loading error: This plugin provides a privacy interface (Core operations), which is already provided by the PGP/Core plugin.

(cm3:18701): GLib-GObject-WARNING **: 22:34:47.227: cannot register existing type 'GdkWindow'

(cm3:18701): Gdk-WARNING **: 22:34:47.227: gdkdrawable-x11.c:952 drawable is not a pixmap or window

(cm3:18701): GLib-GObject-WARNING **: 22:34:47.227: cannot register existing type 'GdkWindow'

(cm3:18701): Gdk-WARNING **: 22:34:47.227: gdkdrawable-x11.c:952 drawable is not a pixmap or window

(cm3:18701): Gdk-ERROR **: 22:34:47.228: The program 'cm3' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
  (Details: serial 835 error_code 3 request_code 20 (core protocol) minor_code 0)
  (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.)
Trace/breakpoint trap (core dumped)

The other starts are successful (except for missing icons).

Running with --debug also fails every other start. The last messages are:
hooks.c:70:registered new hook for 'address_completion_build_address_list_hooklist' as id 1
autocompletion.c:136:PGP address autocompletion hook registered
plugin.c:527:Plugin PGP/Core (from file /usr/local/lib/claws-mail/plugins/pgpcore.so) loaded
plugin.c:528:TIMING plugin_load /usr/local/lib/claws-mail/plugins/pgpcore.so: 0s031ms
plugin.c:262:trying to load /home/pfortin/usr/lib/claws-mail/plugins/pgpcore.so
plugin.c:453:trying to load `/home/pfortin/usr/lib/claws-mail/plugins/pgpcore.so'
plugin.c:371:plugin licence check passed: GPL3+ found

** (cm3:15993): WARNING **: 22:51:21.404: plugin loading error: This plugin provides a privacy interface (Core operations), which is already provided by the PGP/Core plugin.
plugin.c:262:trying to load /home/pfortin/usr/lib/claws-mail/plugins/pgpcore.so
plugin.c:453:trying to load `/home/pfortin/usr/lib/claws-mail/plugins/pgpcore.so'
plugin.c:371:plugin licence check passed: GPL3+ found

** (cm3:15993): WARNING **: 22:51:21.406: plugin loading error: This plugin provides a privacy interface (Core operations), which is already provided by the PGP/Core plugin.
main.c:1483:new folders loaded, reloading processing rules
prefs_gtk.c:1039:destroying cache
main.c:1632:TIMING main startup: 0s409ms

(cm3:15993): GLib-GObject-WARNING **: 22:51:21.457: cannot register existing type 'GdkWindow'

(cm3:15993): Gdk-WARNING **: 22:51:21.457: gdkdrawable-x11.c:952 drawable is not a pixmap or window

(cm3:15993): GLib-GObject-WARNING **: 22:51:21.457: cannot register existing type 'GdkWindow'

(cm3:15993): Gdk-WARNING **: 22:51:21.457: gdkdrawable-x11.c:952 drawable is not a pixmap or window

(cm3:15993): Gdk-ERROR **: 22:51:21.458: The program 'cm3' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
  (Details: serial 1535 error_code 3 request_code 20 (core protocol) minor_code 0)
  (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.)
Trace/breakpoint trap (core dumped)

Note You need to log in before you can comment on or make changes to this bug.