unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@gnu.org>
To: Simon Leinen <simon.leinen@gmail.com>
Cc: 12397@debbugs.gnu.org
Subject: bug#12397: 24.2; gtk3 (from Macports); visible-bell trips cairo assertion
Date: Thu, 20 Sep 2012 10:59:20 +0800	[thread overview]
Message-ID: <87d31hmmbb.fsf@gnu.org> (raw)
In-Reply-To: <20556.51976.755516.131281@Simons-MacBook-Air.local> (Simon Leinen's message of "Sun, 9 Sep 2012 18:59:52 +0200")

Simon Leinen <simon.leinen@gmail.com> writes:

> My .emacs sets visible-bell to t.  When I compile Emacs on MacOS X with
> Gtk3 (from Macports) as the X toolkit and run it, it crashes almost
> instantly with a failed assertion in cairo_pattern_destroy().
>
> I can reproduce this using emacs -Q by saying:
>
>   M-: (setq visible-bell t)
>   M-x ding

FWIW, I cannot reproduce this with either 24.2 or latest trunk,
x86_64-unknown-linux-gnu, GTK+ Version 3.4.2.

> #0  0x00007fff986dbce2 in __pthread_kill ()
...
> #4  0x0000000100ecd44c in cairo_pattern_destroy ()
> #5  0x0000000100eb600d in _cairo_gstate_set_source ()
> #6  0x0000000100eade35 in cairo_set_source ()
> #7  0x0000000100eadfc6 in cairo_set_source_rgb ()
> #8  0x00000001000ae32a in XTflash [inlined] () at /private/var/tmp/emacs/emacs-24.2/src/xterm.c:3050
> 	wakeup = {tv_sec = 4299859674, tv_usec = 537281269}
> 	window = (GdkWindow *) 0x0
> 	cr = (cairo_t *) 0x10293fa00
> 	flash_left = 4
> 	flash_height = 0
> 	height = 5203816
> 	flash_right = 556795399
> 	width = 556795399

A crash so deep in Cairo seems to indicate that this is a Cairo-on-Mac
bug.  There doesn't seem to be anything suspicious in the Emacs part of
the backtrace.





  parent reply	other threads:[~2012-09-20  2:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-09 16:59 bug#12397: 24.2; gtk3 (from Macports); visible-bell trips cairo assertion Simon Leinen
     [not found] ` <handler.12397.B.134721750516243.ack@debbugs.gnu.org>
2012-09-10 14:15   ` bug#12397: Acknowledgement (24.2; gtk3 (from Macports); visible-bell trips cairo assertion) Simon Leinen
2012-09-20  2:59 ` Chong Yidong [this message]
2012-09-23 19:31   ` bug#12397: 24.2; gtk3 (from Macports); visible-bell trips cairo assertion Simon Leinen
2012-09-24  2:47     ` Chong Yidong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d31hmmbb.fsf@gnu.org \
    --to=cyd@gnu.org \
    --cc=12397@debbugs.gnu.org \
    --cc=simon.leinen@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).