hns - 日記自動生成システム - Version 2.19.9

先月 2013年08月 来月
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
Namazu for hns による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい
検索式:

2013年08月16日(金) 旧暦 [n年日記] [更新:"2013/08/19 21:11:33"]

#1 [emacs] emacs-24.3 core dumps on NetBSD/amd64 6.99.22

livorno@makoto 10:18:54/130816(..editors/emacs24)% gdb work/emacs-24.3/src/emacs
GNU gdb (GDB) 7.3.1
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64--netbsd".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /export/CHROOT/usr/pkgsrc/editors/emacs24/work/emacs-24.3/src/emacs...
      (no debugging symbols found)...done.
(gdb) run /export/CHROOT/usr/pkgsrc/doc/guide/files/options.xml
Starting program: /export/CHROOT/usr/pkgsrc/editors/emacs24/work/emacs-24.3/src/emacs 
       /export/CHROOT/usr/pkgsrc/doc/guide/files/options.xml

Program received signal SIGSEGV, Segmentation fault.
[Switching to LWP 1]
0x00007f7febcfc134 in strncmp () from /usr/lib/libc.so.12
(gdb) bt
#0  0x00007f7febcfc134 in strncmp () from /usr/lib/libc.so.12
#1  0x00007f7febcb311e in __getenvslot () from /usr/lib/libc.so.12
#2  0x00007f7febcb3272 in __findenvvar () from /usr/lib/libc.so.12
#3  0x00007f7febcb2d10 in getenv () from /usr/lib/libc.so.12
#4  0x00007f7fefc03ba8 in dcngettext () from /usr/lib/libintl.so.1
#5  0x00007f7ff003fd14 in g_dpgettext2 () from /usr/pkg/lib/libglib-2.0.so.0
#6  0x00007f7ff59bee30 in gtk_stock_lookup () from /usr/pkg/lib/libgtk-x11-2.0.so.0
#7  0x00000000004c6fa3 in update_frame_tool_bar ()
#8  0x0000000000454072 in redisplay_window ()
#9  0x000000000045699a in redisplay_window_1 ()
#10 0x000000000053b53e in internal_condition_case_1 ()
#11 0x0000000000443a9b in redisplay_internal ()
#12 0x00000000004da940 in read_char ()
#13 0x0000000000559570 in read_filtered_event ()
#14 0x000000000053cd9f in Ffuncall ()
#15 0x000000000056fb44 in exec_byte_code ()
#16 0x000000000053cc12 in Ffuncall ()
#17 0x000000000053c4c8 in eval_sub ()
#18 0x000000000053c691 in Fprogn ()
#19 0x00000000004d3b37 in Ftrack_mouse ()
#20 0x000000000053c4fd in eval_sub ()
#21 0x000000000053e1ae in Feval ()
#22 0x000000000053cdb2 in Ffuncall ()
#23 0x000000000056fb44 in exec_byte_code ()
#24 0x000000000053cc12 in Ffuncall ()
#25 0x000000000056fb44 in exec_byte_code ()
#26 0x000000000053cc12 in Ffuncall ()
#27 0x0000000000539fc0 in Fcall_interactively ()
#28 0x000000000053cd9f in Ffuncall ()
#29 0x000000000053cfd2 in call3 ()
#30 0x00000000004ded0f in command_loop_1 ()
#31 0x000000000053b3ef in internal_condition_case ()
#32 0x00000000004d3949 in command_loop_2 ()
#33 0x000000000053b2be in internal_catch ()
#34 0x00000000004d46cc in recursive_edit_1 ()
#35 0x00000000004d4990 in Frecursive_edit ()
#36 0x00000000004d034f in main ()
(gdb) 
Re: emacs24 core dump on some files (only with gtk option)
Suspicious is on gtk2+-2.24.17nb5
or on following part: of emacs-24.3/src/gtkutil.c
   4594 /* Update the tool bar for frame F.  Add new buttons and remove old.  */
   4595 
   4596 void
   4597 update_frame_tool_bar (FRAME_PTR f)
   4598 {
   4599   int i, j;
   4600   struct x_output *x = f->output_data.x;
   4601   int hmargin = 0, vmargin = 0;
   4602   GtkToolbar *wtoolbar;
   4603   GtkToolItem *ti;
   4604   GtkTextDirection dir;
   4605   bool pack_tool_bar = x->handlebox_widget == NULL;
   4606   Lisp_Object style;
   4607   bool text_image, horiz;
   4608   struct xg_frame_tb_info *tbinfo;
   4609 

   4669   for (i = j = 0; i < f->n_tool_bar_items; ++i)
   4670     {
   4671       bool enabled_p = !NILP (PROP (TOOL_BAR_ITEM_ENABLED_P));
   4672       bool selected_p = !NILP (PROP (TOOL_BAR_ITEM_SELECTED_P));
   4673       int idx;
   4674       ptrdiff_t img_id;
   4675       int icon_size = 0;
   4676       struct image *img = NULL;
   4677       Lisp_Object image;
   4678       Lisp_Object stock = Qnil;
   4679       GtkStockItem stock_item;
   4680       char *stock_name = NULL;

   4729       specified_file = file_for_image (image);
   4730       if (!NILP (specified_file) && !NILP (Ffboundp (Qx_gtk_map_stock)))
  4731         stock = call1 (Qx_gtk_map_stock, specified_file);
   4732
   4733       if (STRINGP (stock))
   4734         {
   4735           stock_name = SSDATA (stock);
   4736           if (stock_name[0] == 'n' && stock_name[1] == ':')
   4737             {
   4738               GdkScreen *screen = gtk_widget_get_screen (GTK_WIDGET (wtoolbar));
   4739               GtkIconTheme *icon_theme = gtk_icon_theme_get_for_screen (screen);
   4740
   4741               icon_name = stock_name + 2;
   4742               stock_name = NULL;
   4743               stock = Qnil;
   4744
   4745               if (! gtk_icon_theme_has_icon (icon_theme, icon_name))
   4746                 icon_name = NULL;
   4747               else
   4748                 icon_size = gtk_toolbar_get_icon_size (wtoolbar);
   4749             }
   4750           else if (gtk_stock_lookup (SSDATA (stock), &stock_item))
   4751             icon_size = gtk_toolbar_get_icon_size (wtoolbar);
   4752           else
   4753             {
   4754               stock = Qnil;
   4755               stock_name = NULL;
   4756             }
   4757         }
emacs core dump: getenv problem?



最近の日記
2024年03月10日
停電 (瞬電)
2024年03月03日
the second try on bare-metal
useradd
2024年02月29日
opendkim and senmail
2024年01月24日
chat/iam 0.0.8
2024年01月21日
uselocale vs setlocale (textproc/R-readxl)
以上、1 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)