Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cairo assertion failure when draging and hovering in Fedora 23 #19

Closed
gnunn1 opened this issue Jan 14, 2016 · 5 comments
Closed

Cairo assertion failure when draging and hovering in Fedora 23 #19

gnunn1 opened this issue Jan 14, 2016 · 5 comments
Labels

Comments

@gnunn1
Copy link
Owner

gnunn1 commented Jan 14, 2016

If you drag a terminal and hover it over another terminal, an error from cairo is generated.

terminix: cairo-surface.c:1653: cairo_surface_mark_dirty_rectangle: Assertion `! _cairo_surface_has_mime_data (surface)' failed.
Aborted (core dumped)
@gnunn1
Copy link
Owner Author

gnunn1 commented Jan 15, 2016

I need some help with this one. This problem occurs on my Fedora 23 VM when dragging a terminal between two windows of terminix. On my VM when I try to debug it with GDB the Gnome GUI crashes thus preventing me from getting a stack trace.

If someone is running Fedora 23 natively, can you do the following:

  • Duplicate the issue and confirm it's not just my VM
  • Run the app in GDB using these instructions:
  • run the app in gdb gdb terminix
  • Type 'run' in the gdb command prompt to start the app
  • Create the issue to happen, app will stop
  • In GDB, type 'bt' to get the backtrace and copy and paste it here

@bilelmoussaoui
Copy link
Contributor

I couldn't reproduce this one

Starting program: /usr/bin/terminix 
Missing separate debuginfos, use: dnf debuginfo-install terminix-0.35.0-2.2.x86_64
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7fffe4361700 (LWP 6440)]
[New Thread 0x7fffe3b60700 (LWP 6441)]
[New Thread 0x7fffe0e06700 (LWP 6443)]
Detaching after fork from child process 6444.
terminix: cairo-surface.c:1653: cairo_surface_mark_dirty_rectangle: Assertion `! _cairo_surface_has_mime_data (surface)' failed.

Program received signal SIGABRT, Aborted.
0x00007ffff7124a98 in raise () from /lib64/libc.so.6
(gdb) run
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /usr/bin/terminix 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7fffe4361700 (LWP 6586)]
[New Thread 0x7fffe3b60700 (LWP 6587)]
[New Thread 0x7fffe0e06700 (LWP 6589)]
Detaching after fork from child process 6590.
Detaching after fork from child process 6671.

(terminix:6585): Gtk-CRITICAL **: gtk_window_get_default_widget: assertion 'GTK_IS_WINDOW (window)' failed

(terminix:6585): Gtk-CRITICAL **: gtk_window_set_default: assertion 'GTK_IS_WINDOW (window)' failed
Detaching after fork from child process 6744.

(terminix:6585): Gtk-CRITICAL **: gtk_window_get_default_widget: assertion 'GTK_IS_WINDOW (window)' failed

(terminix:6585): Gtk-CRITICAL **: gtk_window_set_default: assertion 'GTK_IS_WINDOW (window)' failed
Detaching after fork from child process 6808.

(terminix:6585): Gtk-CRITICAL **: gtk_window_get_default_widget: assertion 'GTK_IS_WINDOW (window)' failed

(terminix:6585): Gtk-CRITICAL **: gtk_window_set_default: assertion 'GTK_IS_WINDOW (window)' failed
Detaching after fork from child process 6890.

(terminix:6585): Gtk-CRITICAL **: gtk_window_get_default_widget: assertion 'GTK_IS_WINDOW (window)' failed

(terminix:6585): Gtk-CRITICAL **: gtk_window_set_default: assertion 'GTK_IS_WINDOW (window)' failed
Detaching after fork from child process 6953.

(terminix:6585): Gtk-CRITICAL **: gtk_window_get_default_widget: assertion 'GTK_IS_WINDOW (window)' failed

(terminix:6585): Gtk-CRITICAL **: gtk_window_set_default: assertion 'GTK_IS_WINDOW (window)' failed
Detaching after fork from child process 7016.
[New Thread 0x7fffd21e1700 (LWP 7090)]
[Thread 0x7fffd21e1700 (LWP 7090) exited]
[Thread 0x7fffe0e06700 (LWP 6589) exited]
[Thread 0x7fffe3b60700 (LWP 6587) exited]
[Thread 0x7fffe4361700 (LWP 6586) exited]
[Inferior 1 (process 6585) exited normally]

@gnunn1
Copy link
Owner Author

gnunn1 commented Jan 15, 2016

Sorry I'm confused, you could or could not reproduce? You say you couldn't reproduce but it looks like it aborted with the cairo message on the run you posted. Can you try again and once it fails type 'bt' in GDB to get a stack trace and post it here. Thanks.

@bilelmoussaoui
Copy link
Contributor

Well i couldn't, the error message i posted here is when i opened the application i couldn't do anything and i had to kill the terminal :S thought this might be helpful

@gnunn1 gnunn1 added the bug label Jan 21, 2016
@gnunn1
Copy link
Owner Author

gnunn1 commented Jan 21, 2016

This looks to be an issue with the way I'm drawing the scaled version of the window to be used as the drag image. If I comment this out and let the system use a placeholder icon it all works fine, more investigation required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants