From: "Jan Djärv" <jan.h.d@swipnet.se>
To: emacs-devel@gnu.org, Reiner Steib <Reiner.Steib@gmx.de>
Subject: Re: EMACS_22_BASE: Crash after creating a new frame, gtk_toolbar_set_icon_size?
Date: Tue, 07 Aug 2007 13:16:52 +0200 [thread overview]
Message-ID: <46B854A4.7080301@swipnet.se> (raw)
In-Reply-To: <v9y7gq9oll.fsf@marauder.physik.uni-ulm.de>
[-- Attachment #1: Type: text/plain, Size: 1111 bytes --]
Reiner Steib skrev:
> report-emacs-bug wrote:
>
>> Please describe exactly what actions triggered the bug
>> and the precise symptoms of the bug:
>
> Emacs crashed after `M-x w3m RET' which makes a new frame in my setup.
>
> Emacs is from the EMACS_22_BASE, cvs-updated, bootstrapped and
> compiled yesterday with GTK:
>
>> In GNU Emacs 22.1.50.1 (i686-pc-linux-gnu, GTK+ Version 2.10.6)
>> of 2007-08-04 on viandante
>> Windowing system distributor `The X.Org Foundation', version 11.0.70199902
>> configured using `configure '--prefix=/import/xtra/emacs/RC' '--with-gtk' '--exec-prefix=/import/xtra/emacs/RC-i686''
>
>> If Emacs crashed, and you have the Emacs process in the gdb debugger,
>> please include the output from the following gdb commands:
>> `bt full' and `xbacktrace'.
>> If you would like to further debug the crash, please read the file
>> [...]/emacs/cvs-EMACS_22_BASE/emacs/etc/DEBUG for instructions.
>
It looks like some picture file for the tool bar didn't load correctly and we
loose track of where we are in the tool bar. Can you try the attached patch?
Thanks,
Jan D.
[-- Attachment #2: toolbar.patch --]
[-- Type: text/x-patch, Size: 1634 bytes --]
Index: src/gtkutil.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/gtkutil.c,v
retrieving revision 1.106.2.2
diff -c -c -r1.106.2.2 gtkutil.c
*** src/gtkutil.c 25 Jul 2007 05:15:51 -0000 1.106.2.2
--- src/gtkutil.c 7 Aug 2007 11:15:08 -0000
***************
*** 3799,3805 ****
gtk_container_add (GTK_CONTAINER (weventbox), wbutton);
ti = gtk_tool_item_new ();
gtk_container_add (GTK_CONTAINER (ti), weventbox);
! gtk_toolbar_insert (GTK_TOOLBAR (x->toolbar_widget), ti, i);
}
continue;
}
--- 3799,3805 ----
gtk_container_add (GTK_CONTAINER (weventbox), wbutton);
ti = gtk_tool_item_new ();
gtk_container_add (GTK_CONTAINER (ti), weventbox);
! gtk_toolbar_insert (GTK_TOOLBAR (x->toolbar_widget), ti, -1);
}
continue;
}
***************
*** 3816,3822 ****
gtk_container_add (GTK_CONTAINER (weventbox), wbutton);
ti = gtk_tool_item_new ();
gtk_container_add (GTK_CONTAINER (ti), weventbox);
! gtk_toolbar_insert (GTK_TOOLBAR (x->toolbar_widget), ti, i);
/* The EMACS_INT cast avoids a warning. */
--- 3816,3822 ----
gtk_container_add (GTK_CONTAINER (weventbox), wbutton);
ti = gtk_tool_item_new ();
gtk_container_add (GTK_CONTAINER (ti), weventbox);
! gtk_toolbar_insert (GTK_TOOLBAR (x->toolbar_widget), ti, -1);
/* The EMACS_INT cast avoids a warning. */
[-- Attachment #3: Type: text/plain, Size: 142 bytes --]
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel
next prev parent reply other threads:[~2007-08-07 11:16 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-05 12:01 EMACS_22_BASE: Crash after creating a new frame, gtk_toolbar_set_icon_size? Reiner Steib
2007-08-07 11:16 ` Jan Djärv [this message]
2007-08-07 17:42 ` Reiner Steib
2007-08-09 5:24 ` Jan Djärv
2007-08-09 6:30 ` Reiner Steib
2007-08-14 21:01 ` Reiner Steib
2007-08-15 12:45 ` Jan Djärv
2007-08-15 18:40 ` Reiner Steib
2007-08-15 20:13 ` Jan D.
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=46B854A4.7080301@swipnet.se \
--to=jan.h.d@swipnet.se \
--cc=Reiner.Steib@gmx.de \
--cc=emacs-devel@gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.