From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Danilo Segan Newsgroups: gmane.emacs.devel Subject: Re: Three minor GTK (?) problems Date: Sun, 01 Jun 2003 22:06:42 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <3EDA5CD2.7090308@gmx.net> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1054498782 23880 80.91.224.249 (1 Jun 2003 20:19:42 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 1 Jun 2003 20:19:42 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sun Jun 01 22:19:40 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19MZIq-0006Cr-00 for ; Sun, 01 Jun 2003 22:19:40 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19MZZ7-0006MA-00 for ; Sun, 01 Jun 2003 22:36:29 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19MZKY-0003ju-Hv for emacs-devel@quimby.gnus.org; Sun, 01 Jun 2003 16:21:26 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19MZJI-00036L-G2 for emacs-devel@gnu.org; Sun, 01 Jun 2003 16:20:08 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19MZJ5-0002qQ-8E for emacs-devel@gnu.org; Sun, 01 Jun 2003 16:19:59 -0400 Original-Received: from mail.gmx.de ([213.165.64.20] helo=mail.gmx.net) by monty-python.gnu.org with smtp (Exim 4.20) id 19MZIy-0002R4-M0 for emacs-devel@gnu.org; Sun, 01 Jun 2003 16:19:48 -0400 Original-Received: (qmail 11624 invoked by uid 65534); 1 Jun 2003 20:19:42 -0000 Original-Received: from ch55.beograd-3.tehnicom.net (EHLO gmx.net) (62.193.130.121) by mail.gmx.net (mp012) with SMTP; 01 Jun 2003 22:19:42 +0200 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3a) Gecko/20030210 X-Accept-Language: sr, sr-yu, sh, hr, en-us, en Original-To: emacs-devel@gnu.org In-Reply-To: X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:14573 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:14573 Simon Josefsson wrote: >* Crash when clicking on menus. I have only seen this two or three > times. It typically happened when I have been working (with > keyboard) in emacs for a long time, and then using the mouse to > click on a menu, and slightly misses the menubar when I click. I'm > not sure what I hit instead, but I suspect it is somewhere between > the menubar or the toolbar. > > I experience this too, but it might be a bug in Gtk+ 2.2.1 (which I am using). Here's my gdb session with Emacs: $ gdb emacs GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-slackware-linux"... (gdb) run Starting program: /desktop/Emacs/bin/emacs (emacs:8918): Gtk-CRITICAL **: file gtkwidget.c: line 2994 (gtk_widget_event): assertion `WIDGET_REALIZED_FOR_EVENT (widget, event)' failed (emacs:8918): Gtk-CRITICAL **: file gtkwidget.c: line 2994 (gtk_widget_event): assertion `WIDGET_REALIZED_FOR_EVENT (widget, event)' failed (emacs:8918): Gtk-CRITICAL **: file gtkwidget.c: line 2994 (gtk_widget_event): assertion `WIDGET_REALIZED_FOR_EVENT (widget, event)' failed (emacs:8918): Gtk-CRITICAL **: file gtkaccellabel.c: line 213 (gtk_accel_label_new): assertion `string != NULL' failed (emacs:8918): Gtk-CRITICAL **: file gtkmisc.c: line 210 (gtk_misc_set_alignment): assertion `GTK_IS_MISC (misc)' failed (emacs:8918): Gtk-CRITICAL **: file gtkcontainer.c: line 947 (gtk_container_add): assertion `GTK_IS_WIDGET (widget)' failed (emacs:8918): Gtk-CRITICAL **: file gtkaccellabel.c: line 399 (gtk_accel_label_set_accel_widget): assertion `GTK_IS_ACCEL_LABEL (accel_label)' failed Program received signal SIGSEGV, Segmentation fault. 0x401c6590 in gtk_widget_show (widget=0x0) at gtkwidget.c:1677 1677 if (!GTK_WIDGET_VISIBLE (widget)) (gdb) If neccessary, I can provide more details and complete trace. This time, it took me some 5--10 minutes of loading various modes (c-mode, sgml-mode, po-mode, lisp-mode, and finally w3m with unicode support, it might have loaded also un-define), and monstrous clicking on the menus (which I don't actually use, so this is not a big issue for me, I actually noticed it only when raising window using a click but still wanting to keep the point at the position it was at). This is from report-emacs-bug: In GNU Emacs 21.3.50.3 (i686-pc-linux-gnu) of 2003-05-18 on avet configured using `configure '--with-xpm' '--with-jpeg' '--with-tiff' '--with-gif' '--with-png' '--with-x' '--with-gtk' '--prefix=/desktop/Emacs'' Important settings: value of $LC_ALL: sr_YU.utf8 value of $LC_COLLATE: POSIX value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: sr_YU locale-coding-system: utf-8 default-enable-multibyte-characters: t Hope this helps, Danilo