After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 775724 - Glade / Xorg process cpu 100%
Glade / Xorg process cpu 100%
Status: RESOLVED DUPLICATE of bug 763624
Product: glade
Classification: Applications
Component: general
3.20.x
Other Linux
: Normal critical
: ---
Assigned To: Glade 3 Maintainers
Glade 3 Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-12-06 20:47 UTC by gnome.vrb
Modified: 2017-10-18 05:18 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Relevant UI File (6.77 KB, application/xml)
2016-12-06 20:55 UTC, gnome.vrb
Details
Screenshot: Glade preferences dialog (21.11 KB, image/png)
2016-12-06 20:56 UTC, gnome.vrb
Details
Similar experience (938.27 KB, image/png)
2017-10-17 10:02 UTC, krizoek
Details

Description gnome.vrb 2016-12-06 20:47:47 UTC


  • #0 poll
    at ../sysdeps/unix/syscall-template.S line 84
  • #1 _xcb_conn_wait
    at /usr/include/x86_64-linux-gnu/bits/poll2.h line 46
  • #2 _xcb_conn_wait
    at ../../src/xcb_conn.c line 479
  • #3 _xcb_out_send
    at ../../src/xcb_out.c line 458
  • #4 xcb_writev
    at ../../src/xcb_out.c line 406
  • #5 _XSend
    at ../../src/xcb_io.c line 495
  • #6 _XFlush
    at ../../src/xcb_io.c line 512
  • #7 _XGetRequest
    at ../../src/XlibInt.c line 1702
  • #8 XCreatePixmap
    at ../../src/CrPixmap.c line 51
  • #9 _cairo_xlib_surface_create_similar
    at ../../../../src/cairo-xlib-surface.c line 312
  • #10 _cairo_surface_create_scratch
    at ../../../../src/cairo-surface.c line 877
  • #11 _cairo_default_context_push_group
    at ../../../../src/cairo-default-context.c line 173
  • #12 INT_cairo_push_group_with_content
    at ../../../../src/cairo.c line 519
  • #13 cairo_push_group
    at ../../../../src/cairo.c line 489
  • #14 gtk_css_image_cross_fade_draw
    at ././gtk/gtkcssimagecrossfade.c line 134
  • #15 _gtk_css_image_draw
    at ././gtk/gtkcssimage.c line 239
  • #16 gtk_css_image_cross_fade_draw
    at ././gtk/gtkcssimagecrossfade.c line 132
  • #17 _gtk_css_image_draw
    at ././gtk/gtkcssimage.c line 239
  • #18 gtk_css_image_cross_fade_draw
    at ././gtk/gtkcssimagecrossfade.c line 132
  • #19 _gtk_css_image_draw
    at ././gtk/gtkcssimage.c line 239
  • #20 gtk_css_image_cross_fade_draw
    at ././gtk/gtkcssimagecrossfade.c line 132
  • #21 _gtk_css_image_draw
    at ././gtk/gtkcssimage.c line 239
  • #22 gtk_css_image_cross_fade_draw
    at ././gtk/gtkcssimagecrossfade.c line 132
  • #23 _gtk_css_image_draw
    at ././gtk/gtkcssimage.c line 239
  • #24 gtk_css_image_cross_fade_draw
    at ././gtk/gtkcssimagecrossfade.c line 132
  • #25 _gtk_css_image_draw
    at ././gtk/gtkcssimage.c line 239
  • #26 gtk_css_image_cross_fade_draw
    at ././gtk/gtkcssimagecrossfade.c line 132
  • #27 _gtk_css_image_draw
    at ././gtk/gtkcssimage.c line 239
  • #28 gtk_css_image_cross_fade_draw
    at ././gtk/gtkcssimagecrossfade.c line 132
  • #29 _gtk_css_image_draw
    at ././gtk/gtkcssimage.c line 239
  • #30 gtk_css_image_cross_fade_draw
    at ././gtk/gtkcssimagecrossfade.c line 132
  • #31 _gtk_css_image_draw
    at ././gtk/gtkcssimage.c line 239
  • #32 gtk_css_image_cross_fade_draw
    at ././gtk/gtkcssimagecrossfade.c line 132
  • #33 _gtk_css_image_draw
    at ././gtk/gtkcssimage.c line 239
  • #34 gtk_css_image_cross_fade_draw
    at ././gtk/gtkcssimagecrossfade.c line 132
  • #35 _gtk_css_image_draw
    at ././gtk/gtkcssimage.c line 239
  • #36 gtk_css_image_cross_fade_draw
    at ././gtk/gtkcssimagecrossfade.c line 132
  • #37 _gtk_css_image_draw
    at ././gtk/gtkcssimage.c line 239
  • #38 gtk_css_image_cross_fade_draw
    at ././gtk/gtkcssimagecrossfade.c line 132
  • #39 _gtk_css_image_draw
    at ././gtk/gtkcssimage.c line 239
  • #40 gtk_css_image_cross_fade_draw
    at ././gtk/gtkcssimagecrossfade.c line 132
  • #41 _gtk_css_image_draw
    at ././gtk/gtkcssimage.c line 239
  • #42 gtk_css_image_cross_fade_draw
    at ././gtk/gtkcssimagecrossfade.c line 132
  • #43 _gtk_css_image_draw
    at ././gtk/gtkcssimage.c line 239
  • #44 gtk_css_image_cross_fade_draw
    at ././gtk/gtkcssimagecrossfade.c line 132
  • #45 _gtk_css_image_draw
    at ././gtk/gtkcssimage.c line 239
  • #46 gtk_css_image_cross_fade_draw
    at ././gtk/gtkcssimagecrossfade.c line 132
  • #47 _gtk_css_image_draw
    at ././gtk/gtkcssimage.c line 239
  • #48 gtk_css_image_cross_fade_draw
    at ././gtk/gtkcssimagecrossfade.c line 132
  • #49 _gtk_css_image_draw
    at ././gtk/gtkcssimage.c line 239
  • #50 gtk_css_image_cross_fade_draw
    at ././gtk/gtkcssimagecrossfade.c line 132
  • #51 _gtk_css_image_draw
    at ././gtk/gtkcssimage.c line 239
  • #52 gtk_css_image_cross_fade_draw
    at ././gtk/gtkcssimagecrossfade.c line 132
  • #53 _gtk_css_image_draw
    at ././gtk/gtkcssimage.c line 239
  • #54 gtk_css_image_cross_fade_draw
    at ././gtk/gtkcssimagecrossfade.c line 132
  • #55 _gtk_css_image_draw
    at ././gtk/gtkcssimage.c line 239
  • #56 gtk_css_image_cross_fade_draw
    at ././gtk/gtkcssimagecrossfade.c line 132
  • #57 _gtk_css_image_draw
    at ././gtk/gtkcssimage.c line 239
  • #58 gtk_css_image_cross_fade_draw
    at ././gtk/gtkcssimagecrossfade.c line 132
  • #59 _gtk_css_image_draw
    at ././gtk/gtkcssimage.c line 239
  • #60 gtk_css_image_cross_fade_draw
    at ././gtk/gtkcssimagecrossfade.c line 132
  • #61 _gtk_css_image_draw
    at ././gtk/gtkcssimage.c line 239
  • #62 gtk_css_image_cross_fade_draw
    at ././gtk/gtkcssimagecrossfade.c line 132
  • #63 _gtk_css_image_draw
    at ././gtk/gtkcssimage.c line 239
  • #64 gtk_css_image_cross_fade_draw
    at ././gtk/gtkcssimagecrossfade.c line 132
  • #65 _gtk_css_image_draw
    at ././gtk/gtkcssimage.c line 239
  • #66 gtk_css_image_cross_fade_draw
    at ././gtk/gtkcssimagecrossfade.c line 132
  • #67 _gtk_css_image_draw
    at ././gtk/gtkcssimage.c line 239
  • #68 gtk_css_image_cross_fade_draw
    at ././gtk/gtkcssimagecrossfade.c line 132
  • #69 _gtk_css_image_draw
    at ././gtk/gtkcssimage.c line 239
  • #70 gtk_css_image_cross_fade_draw
    at ././gtk/gtkcssimagecrossfade.c line 132
  • #71 _gtk_css_image_draw
    at ././gtk/gtkcssimage.c line 239
  • #72 gtk_css_image_cross_fade_draw
    at ././gtk/gtkcssimagecrossfade.c line 132
  • #73 _gtk_css_image_draw
    at ././gtk/gtkcssimage.c line 239
  • #74 gtk_css_image_cross_fade_draw
    at ././gtk/gtkcssimagecrossfade.c line 132
  • #75 _gtk_css_image_draw
    at ././gtk/gtkcssimage.c line 239
  • #76 gtk_css_image_cross_fade_draw
    at ././gtk/gtkcssimagecrossfade.c line 132
  • #77 _gtk_css_image_draw
    at ././gtk/gtkcssimage.c line 239
  • #78 gtk_css_image_cross_fade_draw
    at ././gtk/gtkcssimagecrossfade.c line 132
  • #79 _gtk_css_image_draw
    at ././gtk/gtkcssimage.c line 239
  • #80 gtk_css_image_cross_fade_draw
    at ././gtk/gtkcssimagecrossfade.c line 132
  • #81 _gtk_css_image_draw
    at ././gtk/gtkcssimage.c line 239
  • #82 gtk_css_image_cross_fade_draw
    at ././gtk/gtkcssimagecrossfade.c line 132
  • #83 _gtk_css_image_draw
    at ././gtk/gtkcssimage.c line 239
  • #84 gtk_css_image_cross_fade_draw
    at ././gtk/gtkcssimagecrossfade.c line 132
  • #85 _gtk_css_image_draw
    at ././gtk/gtkcssimage.c line 239
  • #86 gtk_css_image_cross_fade_draw
    at ././gtk/gtkcssimagecrossfade.c line 132
  • #87 _gtk_css_image_draw
    at ././gtk/gtkcssimage.c line 239
  • #88 gtk_css_image_cross_fade_draw
    at ././gtk/gtkcssimagecrossfade.c line 132
  • #89 _gtk_css_image_draw
    at ././gtk/gtkcssimage.c line 239
  • #90 gtk_css_image_cross_fade_draw
    at ././gtk/gtkcssimagecrossfade.c line 132
  • #91 _gtk_css_image_draw
    at ././gtk/gtkcssimage.c line 239
  • #92 gtk_css_image_cross_fade_draw
    at ././gtk/gtkcssimagecrossfade.c line 132
  • #93 _gtk_css_image_draw
    at ././gtk/gtkcssimage.c line 239
  • #94 gtk_css_image_cross_fade_draw
    at ././gtk/gtkcssimagecrossfade.c line 132
  • #95 _gtk_css_image_draw
    at ././gtk/gtkcssimage.c line 239
  • #96 gtk_css_image_cross_fade_draw
    at ././gtk/gtkcssimagecrossfade.c line 132
  • #97 _gtk_css_image_draw
    at ././gtk/gtkcssimage.c line 239
  • #98 gtk_css_image_cross_fade_draw
    at ././gtk/gtkcssimagecrossfade.c line 132
  • #99 _gtk_css_image_draw
    at ././gtk/gtkcssimage.c line 239
  • #319 _gtk_css_image_draw
    at ././gtk/gtkcssimage.c line 239
  • #320 gtk_css_image_cross_fade_draw
    at ././gtk/gtkcssimagecrossfade.c line 132
  • #321 _gtk_css_image_draw
    at ././gtk/gtkcssimage.c line 239
  • #322 gtk_css_image_cross_fade_draw
    at ././gtk/gtkcssimagecrossfade.c line 132
  • #323 _gtk_css_image_draw
    at ././gtk/gtkcssimage.c line 239
  • #324 gtk_css_image_cross_fade_draw
    at ././gtk/gtkcssimagecrossfade.c line 132
  • #325 _gtk_css_image_draw
    at ././gtk/gtkcssimage.c line 239
  • #326 gtk_css_image_cross_fade_draw
    at ././gtk/gtkcssimagecrossfade.c line 132
  • #327 _gtk_css_image_draw
    at ././gtk/gtkcssimage.c line 239
  • #328 gtk_css_image_cross_fade_draw
    at ././gtk/gtkcssimagecrossfade.c line 132
  • #329 _gtk_css_image_draw
    at ././gtk/gtkcssimage.c line 239
  • #330 gtk_css_image_cross_fade_draw
    at ././gtk/gtkcssimagecrossfade.c line 132
  • #331 _gtk_css_image_draw
    at ././gtk/gtkcssimage.c line 239
  • #332 gtk_css_image_cross_fade_draw
    at ././gtk/gtkcssimagecrossfade.c line 132
  • #333 _gtk_css_image_draw
    at ././gtk/gtkcssimage.c line 239
  • #334 gtk_css_image_cross_fade_draw
    at ././gtk/gtkcssimagecrossfade.c line 132
  • #335 _gtk_css_image_draw
    at ././gtk/gtkcssimage.c line 239
  • #336 gtk_css_image_cross_fade_draw
    at ././gtk/gtkcssimagecrossfade.c line 132
  • #337 _gtk_css_image_draw
    at ././gtk/gtkcssimage.c line 239
  • #338 gtk_css_style_render_background
    at ././gtk/gtkrenderbackground.c line 185
  • #339 gtk_css_style_render_background
    at ././gtk/gtkrenderbackground.c line 411
  • #340 gtk_css_gadget_draw
    at ././gtk/gtkcssgadget.c line 855
  • #341 gtk_button_draw
    at ././gtk/gtkbutton.c line 1806
  • #342 gtk_widget_draw_internal
    at ././gtk/gtkwidget.c line 7017
  • #343 gtk_container_propagate_draw
    at ././gtk/gtkcontainer.c line 3838
  • #344 gtk_button_box_render
    at ././gtk/gtkbbox.c line 319
  • #345 gtk_css_custom_gadget_draw
    at ././gtk/gtkcsscustomgadget.c line 159
  • #346 gtk_css_gadget_draw
    at ././gtk/gtkcssgadget.c line 877
  • #347 gtk_button_box_draw
    at ././gtk/gtkbbox.c line 340
  • #348 gtk_widget_draw_internal
    at ././gtk/gtkwidget.c line 7017
  • #349 gtk_container_propagate_draw
    at ././gtk/gtkcontainer.c line 3838
  • #350 gtk_container_draw
    at ././gtk/gtkcontainer.c line 3658
  • #351 gtk_widget_draw_internal
    at ././gtk/gtkwidget.c line 7017
  • #352 gtk_container_propagate_draw
    at ././gtk/gtkcontainer.c line 3838
  • #353 gtk_container_draw
    at ././gtk/gtkcontainer.c line 3658
  • #354 gtk_box_draw_contents
    at ././gtk/gtkbox.c line 448
  • #355 gtk_css_custom_gadget_draw
    at ././gtk/gtkcsscustomgadget.c line 159
  • #356 gtk_css_gadget_draw
    at ././gtk/gtkcssgadget.c line 877
  • #357 gtk_box_draw
    at ././gtk/gtkbox.c line 457
  • #358 gtk_widget_draw_internal
    at ././gtk/gtkwidget.c line 7017
  • #359 gtk_container_propagate_draw
    at ././gtk/gtkcontainer.c line 3838
  • #360 gtk_container_draw
    at ././gtk/gtkcontainer.c line 3658
  • #361 gtk_window_draw
    at ././gtk/gtkwindow.c line 10212
  • #362 gtk_widget_draw_internal
    at ././gtk/gtkwidget.c line 7017
  • #363 gtk_container_propagate_draw
    at ././gtk/gtkcontainer.c line 3838
  • #364 0x00007f831a90d3bd in
  • #365 gtk_widget_draw_internal
    at ././gtk/gtkwidget.c line 7017
  • #366 gtk_widget_render
    at ././gtk/gtkwidget.c line 17503
  • #367 gtk_main_do_event
    at ././gtk/gtkmain.c line 1813
  • #368 _gdk_event_emit
    at ././gdk/gdkevents.c line 73
  • #369 _gdk_window_process_updates_recurse_helper
    at ././gdk/gdkwindow.c line 3836
  • #370 gdk_window_process_updates_internal
    at ././gdk/gdkwindow.c line 3982
  • #371 gdk_window_process_updates_with_mode
    at ././gdk/gdkwindow.c line 4179
  • #375 <emit signal ??? on instance 0x5617c9cf8680 [GdkFrameClockIdle]>
    at ././gobject/gsignal.c line 3447
  • #376 _gdk_frame_clock_emit_paint
    at ././gdk/gdkframeclock.c line 640
  • #377 gdk_frame_clock_paint_idle
    at ././gdk/gdkframeclockidle.c line 430
  • #378 gdk_threads_dispatch
    at ././gdk/gdk.c line 743
  • #379 g_timeout_dispatch
    at ././glib/gmain.c line 4674
  • #380 g_main_context_dispatch
    at ././glib/gmain.c line 3203
  • #381 g_main_context_dispatch
    at ././glib/gmain.c line 3856
  • #382 g_main_context_iterate
    at ././glib/gmain.c line 3929
  • #383 g_main_loop_run
    at ././glib/gmain.c line 4125
  • #384 gtk_main
    at ././gtk/gtkmain.c line 1301
  • #385 main
    at main.c line 203

Comment 1 gnome.vrb 2016-12-06 20:50:16 UTC
strace on glade process:

writev(3, [{iov_base="\213\4\6\0\211;\277\1\210;\277\1&\0\0\0\0\4\0\0\1\0\0\0\213\32\7\0\0\0 \0"..., iov_len=16356}, {iov_base=NULL, iov_len=0}, {iov_base="", iov_len=0}], 3) = 16356
recvmsg(3, {msg_namelen=0}, 0)          = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
writev(3, [{iov_base="\213\10\t\0\f;\277\1\270<\277\1\272<\277\1\23<\277\1\0\0\0\0\0\0\0\0\0\0\0\0"..., iov_len=16356}, {iov_base=NULL, iov_len=0}, {iov_base="", iov_len=0}], 3) = 16356
recvmsg(3, {msg_namelen=0}, 0)          = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLIN}])
recvmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="A\0\222\277$9\277\1\3\0\202\0}\3\240\1\0d0\0\0\0\0\0\0\0\0\0\0\0\0\0", iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 32
poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
writev(3, [{iov_base="\213\10\t\0\f;\277\1t=\277\1v=\277\1\265;\277\1\0\0\0\0\0\0\0\0\0\0\0\0"..., iov_len=16356}, {iov_base=NULL, iov_len=0}, {iov_base="", iov_len=0}], 3) = 16356
recvmsg(3, {msg_namelen=0}, 0)          = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
writev(3, [{iov_base="\213\10\t\0\f;\277\0010>\277\0012>\277\1W;\277\1\0\0\0\0\0\0\0\0\0\0\0\0"..., iov_len=16356}, {iov_base=NULL, iov_len=0}, {iov_base="", iov_len=0}], 3) = 16356
recvmsg(3, {msg_namelen=0}, 0)          = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
writev(3, [{iov_base="\213\10\t\0\f;\277\1\354>\277\1\356>\277\1\371:\277\1\0\0\0\0\0\0\0\0\0\0\0\0"..., iov_len=16356}, {iov_base=NULL, iov_len=0}, {iov_base="", iov_len=0}], 3) = 16356
recvmsg(3, {msg_namelen=0}, 0)          = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
writev(3, [{iov_base="\213\10\t\0\f;\277\1\250?\277\1\252?\277\1\233:\277\1\0\0\0\0\0\0\0\0\0\0\0\0"..., iov_len=16356}, {iov_base=NULL, iov_len=0}, {iov_base="", iov_len=0}], 3) = 16356
recvmsg(3, {msg_namelen=0}, 0)          = -1 EAGAIN (Resource temporarily unavailable)
Comment 2 gnome.vrb 2016-12-06 20:55:23 UTC
Created attachment 341504 [details]
Relevant UI File

Opening the file and using it for a few minutes ( not editing properties ), causes the Xorg cpu usage to shoot 100%. Closing the file ( Ctrl + W ) solves the issue. Re-opening the file again causes the Xorg cpu to shoot to 100%.
Comment 3 gnome.vrb 2016-12-06 20:56:35 UTC
Created attachment 341505 [details]
Screenshot: Glade preferences dialog
Comment 4 gnome.vrb 2016-12-06 21:00:35 UTC
The following line in the gdb trace ( in bug description )

  • #364 0x00007f831a90d3bd in
  • #82 glade_design_layout_draw
    at glade-design-layout.c line 1568

Comment 5 Arnaud Rebillout 2017-06-13 08:34:02 UTC
Possible duplicate of #763624
Comment 6 krizoek 2017-10-17 10:02:23 UTC
Created attachment 361730 [details]
Similar experience

glade 3.20

While having a open glade file, it uses a full thread on the cpu and utilizes much of the GPU as well. I tried disabling the backup and autosave; but it didn't seem to help
Comment 7 Tristan Van Berkom 2017-10-18 05:18:15 UTC
This is almost certainly a duplicate of 763624.

In response to the frequent reports, I've packported the fix to the glade-3-20 branch today.

Let's see if we can coordinate a patch release for 3.20.x

*** This bug has been marked as a duplicate of bug 763624 ***