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 742841 - Libreoffice's contour-dialog causes crash
Libreoffice's contour-dialog causes crash
Status: RESOLVED FIXED
Product: mutter
Classification: Core
Component: general
git master
Other Mac OS
: Normal normal
: ---
Assigned To: mutter-maint
mutter-maint
Depends on:
Blocks:
 
 
Reported: 2015-01-13 11:01 UTC by Rico Tzschichholz
Modified: 2015-01-13 17:14 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
frames: Fix window-type/frame-type mix-up (2.51 KB, patch)
2015-01-13 17:14 UTC, Florian Müllner
committed Details | Review

Description Rico Tzschichholz 2015-01-13 11:01:50 UTC
Starting program: /usr/bin/mutter --replace
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe8e9a700 (LWP 7302)]
[New Thread 0x7fffe0cb9700 (LWP 7303)]
[New Thread 0x7fffdbfff700 (LWP 7325)]
[New Thread 0x7fffdafbf700 (LWP 7326)]

(mutter:7253): mutter-CRITICAL **: meta_ui_frame_get_borders: assertion 'type < META_FRAME_TYPE_LAST' failed

(mutter:7253): mutter-CRITICAL **: meta_theme_get_frame_borders: assertion 'type < META_FRAME_TYPE_LAST' failed
*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug


(mutter:7253): mutter-CRITICAL **: meta_theme_get_frame_layout: assertion 'type < META_FRAME_TYPE_LAST' failed

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff78687cc in meta_frame_layout_apply_scale (layout=layout@entry=0x0, font_desc=font_desc@entry=0xf2cf20) at ui/theme.c:176
176     ui/theme.c: Datei oder Verzeichnis nicht gefunden.
(gdb) t a a bt

Thread 1 (Thread 0x7ffff7f81a40 (LWP 7253))

  • #0 meta_frame_layout_apply_scale
    at ui/theme.c line 176
  • #1 meta_ui_frame_ensure_layout
    at ui/frames.c line 388
  • #2 meta_ui_frame_paint
    at ui/frames.c line 1582
  • #3 meta_frames_draw
    at ui/frames.c line 1509
  • #4 _gtk_marshal_BOOLEAN__BOXEDv
    at /build/buildd/gtk+3.0-3.15.3+git20150109.9fcbae2d/./gtk/gtkmarshalers.c line 130
  • #5 gtk_widget_draw_marshallerv
    at /build/buildd/gtk+3.0-3.15.3+git20150109.9fcbae2d/./gtk/gtkwidget.c line 1097
  • #6 _g_closure_invoke_va
    at /build/buildd/glib2.0-2.43.2+git20150109.12b5eff6/./gobject/gclosure.c line 831
  • #7 g_signal_emit_valist
    at /build/buildd/glib2.0-2.43.2+git20150109.12b5eff6/./gobject/gsignal.c line 3201
  • #8 g_signal_emit
    at /build/buildd/glib2.0-2.43.2+git20150109.12b5eff6/./gobject/gsignal.c line 3348
  • #9 _gtk_widget_draw_internal
    at /build/buildd/gtk+3.0-3.15.3+git20150109.9fcbae2d/./gtk/gtkwidget.c line 6964
  • #10 _gtk_widget_draw_internal
    at /build/buildd/gtk+3.0-3.15.3+git20150109.9fcbae2d/./gtk/gtkwidget.c line 6942
  • #11 _gtk_widget_draw_windows
    at /build/buildd/gtk+3.0-3.15.3+git20150109.9fcbae2d/./gtk/gtkwidget.c line 7065
  • #12 gtk_widget_send_expose
    at /build/buildd/gtk+3.0-3.15.3+git20150109.9fcbae2d/./gtk/gtkwidget.c line 7615
  • #13 gtk_main_do_event
    at /build/buildd/gtk+3.0-3.15.3+git20150109.9fcbae2d/./gtk/gtkmain.c line 1665
  • #14 _gdk_window_process_updates_recurse_helper
    at /build/buildd/gtk+3.0-3.15.3+git20150109.9fcbae2d/./gdk/gdkwindow.c line 3551
  • #15 gdk_window_process_updates_internal
    at /build/buildd/gtk+3.0-3.15.3+git20150109.9fcbae2d/./gdk/gdkwindow.c line 3676
  • #16 gdk_window_process_updates_with_mode
    at /build/buildd/gtk+3.0-3.15.3+git20150109.9fcbae2d/./gdk/gdkwindow.c line 3877
  • #17 _g_closure_invoke_va
    at /build/buildd/glib2.0-2.43.2+git20150109.12b5eff6/./gobject/gclosure.c line 831
  • #18 g_signal_emit_valist
    at /build/buildd/glib2.0-2.43.2+git20150109.12b5eff6/./gobject/gsignal.c line 3201
  • #19 g_signal_emit_by_name
    at /build/buildd/glib2.0-2.43.2+git20150109.12b5eff6/./gobject/gsignal.c line 3388
  • #20 gdk_frame_clock_paint_idle
    at /build/buildd/gtk+3.0-3.15.3+git20150109.9fcbae2d/./gdk/gdkframeclockidle.c line 430
  • #21 gdk_threads_dispatch
    at /build/buildd/gtk+3.0-3.15.3+git20150109.9fcbae2d/./gdk/gdk.c line 717
  • #22 g_timeout_dispatch
    at /build/buildd/glib2.0-2.43.2+git20150109.12b5eff6/./glib/gmain.c line 4545
  • #23 g_main_dispatch
    at /build/buildd/glib2.0-2.43.2+git20150109.12b5eff6/./glib/gmain.c line 3122
  • #24 g_main_context_dispatch
    at /build/buildd/glib2.0-2.43.2+git20150109.12b5eff6/./glib/gmain.c line 3737
  • #25 g_main_context_iterate
    at /build/buildd/glib2.0-2.43.2+git20150109.12b5eff6/./glib/gmain.c line 3808
  • #26 g_main_loop_run
    at /build/buildd/glib2.0-2.43.2+git20150109.12b5eff6/./glib/gmain.c line 4002
  • #27 meta_run
    at core/main.c line 437
  • #28 main
    at core/mutter.c line 85

Comment 1 Florian Müllner 2015-01-13 12:50:05 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.

*** This bug has been marked as a duplicate of bug 742666 ***
Comment 2 Rico Tzschichholz 2015-01-13 14:47:07 UTC
This is not a dupe of the mentioned bug and happens using mutter git based on https://git.gnome.org/browse/mutter/commit/?id=b6d070b06f895c57dc6eae05934acd73b86e22c8
Comment 3 Rico Tzschichholz 2015-01-13 14:54:54 UTC
Trace for mutter-CRITICAL **: meta_ui_frame_get_borders: assertion 'type <
META_FRAME_TYPE_LAST' failed

Breakpoint 1, write_string (fd=fd@entry=2, 
    string=string@entry=0xedc310 "\n(mutter:19773): mutter-CRITICAL **: meta_ui_frame_get_borders: assertion 'type < META_FRAME_TYPE_LAST' failed\n") at /build/buildd/glib2.0-2.43.2+git20150109.12b5eff6/./glib/g
messages.c:356
356     /build/buildd/glib2.0-2.43.2+git20150109.12b5eff6/./glib/gmessages.c: Datei oder Verzeichnis nicht gefunden.
(gdb) bt full
  • #0 write_string
  • #1 g_log_default_handler
    at /build/buildd/glib2.0-2.43.2+git20150109.12b5eff6/./glib/gmessages.c line 1452
  • #2 g_logv
    at /build/buildd/glib2.0-2.43.2+git20150109.12b5eff6/./glib/gmessages.c line 1020
  • #3 g_log
    at /build/buildd/glib2.0-2.43.2+git20150109.12b5eff6/./glib/gmessages.c line 1079
  • #4 meta_frame_calc_borders
    at core/frame.c line 337
  • #5 meta_window_client_rect_to_frame_rect
    at core/window.c line 4050
  • #6 meta_window_x11_manage
    at x11/window-x11.c line 565
  • #7 _meta_window_shared_new
    at core/window.c line 986
  • #8 meta_window_x11_new
    at x11/window-x11.c line 2986
  • #9 handle_other_xevent
    at x11/events.c line 1344
  • #10 meta_display_handle_xevent
    at x11/events.c line 1745
  • #11 xevent_filter
    at x11/events.c line 1784
  • #12 gdk_event_apply_filters
    at /build/buildd/gtk+3.0-3.15.3+git20150109.9fcbae2d/./gdk/x11/gdkeventsource.c line 81
  • #13 gdk_event_source_translate_event
    at /build/buildd/gtk+3.0-3.15.3+git20150109.9fcbae2d/./gdk/x11/gdkeventsource.c line 195
  • #14 _gdk_x11_display_queue_events
    at /build/buildd/gtk+3.0-3.15.3+git20150109.9fcbae2d/./gdk/x11/gdkeventsource.c line 338
  • #15 gdk_display_get_event
    at /build/buildd/gtk+3.0-3.15.3+git20150109.9fcbae2d/./gdk/gdkdisplay.c line 340
  • #16 gdk_event_source_dispatch
  • #17 g_main_dispatch
    at /build/buildd/glib2.0-2.43.2+git20150109.12b5eff6/./glib/gmain.c line 3122
  • #18 g_main_context_dispatch
    at /build/buildd/glib2.0-2.43.2+git20150109.12b5eff6/./glib/gmain.c line 3737
  • #19 g_main_context_iterate
    at /build/buildd/glib2.0-2.43.2+git20150109.12b5eff6/./glib/gmain.c line 3808
  • #20 g_main_loop_run
    at /build/buildd/glib2.0-2.43.2+git20150109.12b5eff6/./glib/gmain.c line 4002
  • #21 meta_run
    at core/main.c line 437
  • #22 main
    at core/mutter.c line 85

Comment 4 Florian Müllner 2015-01-13 17:14:27 UTC
The following fix has been pushed:
f71315e frames: Fix window-type/frame-type mix-up
Comment 5 Florian Müllner 2015-01-13 17:14:32 UTC
Created attachment 294450 [details] [review]
frames: Fix window-type/frame-type mix-up

Commit 7e66d2a484e4b2 killed off META_CORE_GET_FRAME_TYPE, but got
the replacement wrong - MetaWindowType is an enum like MetaFrameType,
but the two are not interchangeable.