emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: size of emacs executable after unicode merge


From: Juanma Barranquero
Subject: Re: size of emacs executable after unicode merge
Date: Sat, 29 Nov 2008 13:17:41 +0100

On Sat, Nov 29, 2008 at 12:13, Juanma Barranquero <address@hidden> wrote:

> Yes, it works now.

I spoke too soon.

Your patch fixes the problem, but I now I'm seeing an assertion
failure when writing some files (most notably, ChangeLogs). That is
100% repeatable: I try to write src/ChangeLog, for example, and get
the assertion failure every time.

The CHAR_TABLE_P call at the start of char_table_ref is getting a null `table'.

See the attached debug trace at the point where `table' is Qnil.

             Juanma


Breakpoint 16, char_table_ref (table=48941057, c=228) at chartab.c:197
197       struct Lisp_Char_Table *tbl = XCHAR_TABLE (table);
(gdb) p table
$43 = 48941057
(gdb) pr
nil
(gdb) bt
#0  char_table_ref (table=48941057, c=228) at chartab.c:197
#1  0x01174a88 in char_encodable_p (c=228, attrs=53025028) at coding.c:8068
#2  0x0117195d in Ffind_coding_systems_region_internal (start=8,
end=4687040, exclude=48941057) at coding.c:8164
#3  0x0103f05b in Ffuncall (nargs=3, args=0x82dfb0) at eval.c:3050
#4  0x012173ad in Fbyte_code (bytestr=20863691, vector=20863748,
maxdepth=32) at bytecode.c:678
#5  0x0103fc28 in funcall_lambda (fun=20863644, nargs=2,
arg_vector=0x82e2c4) at eval.c:3231
#6  0x0103f484 in Ffuncall (nargs=3, args=0x82e2c0) at eval.c:3090
#7  0x012173ad in Fbyte_code (bytestr=20867659, vector=20867956,
maxdepth=72) at bytecode.c:678
#8  0x0103fc28 in funcall_lambda (fun=20867580, nargs=5,
arg_vector=0x82e604) at eval.c:3231
#9  0x0103f484 in Ffuncall (nargs=6, args=0x82e600) at eval.c:3090
#10 0x0103e626 in call5 (fn=49529857, arg1=8, arg2=4687040,
arg3=49221305, arg4=48941057, arg5=53565683) at eval.c:2919
#11 0x010cafe0 in choose_write_coding_system (start=8, end=4687040,
filename=53565683, append=48941057, visit=48941105,
    lockname=53566403, coding=0x82e6f0) at fileio.c:4348
#12 0x010cb392 in Fwrite_region (start=8, end=4687040,
filename=53565683, append=48941057, visit=48941105, lockname=53566403,
    mustbenew=48941057) at fileio.c:4520
#13 0x0103f33c in Ffuncall (nargs=7, args=0x82eb80) at eval.c:3068
#14 0x012173ad in Fbyte_code (bytestr=20586915, vector=20587124,
maxdepth=56) at bytecode.c:678
#15 0x0103fc28 in funcall_lambda (fun=20586892, nargs=0,
arg_vector=0x82eea4) at eval.c:3231
#16 0x0103f484 in Ffuncall (nargs=1, args=0x82eea0) at eval.c:3090
#17 0x012173ad in Fbyte_code (bytestr=20586731, vector=20586780,
maxdepth=16) at bytecode.c:678
#18 0x0103fc28 in funcall_lambda (fun=20586708, nargs=0,
arg_vector=0x82f1b4) at eval.c:3231
#19 0x0103f484 in Ffuncall (nargs=1, args=0x82f1b0) at eval.c:3090
#20 0x012173ad in Fbyte_code (bytestr=20585923, vector=20586180,
maxdepth=40) at bytecode.c:678
#21 0x0103fc28 in funcall_lambda (fun=20585892, nargs=0,
arg_vector=0x82f4d4) at eval.c:3231
#22 0x0103f484 in Ffuncall (nargs=1, args=0x82f4d0) at eval.c:3090
#23 0x012173ad in Fbyte_code (bytestr=20585267, vector=20585364,
maxdepth=40) at bytecode.c:678
#24 0x0103fc28 in funcall_lambda (fun=20585220, nargs=1,
arg_vector=0x82f834) at eval.c:3231
#25 0x0103f484 in Ffuncall (nargs=2, args=0x82f830) at eval.c:3090
#26 0x0121ce62 in Fcall_interactively (function=49156481,
record_flag=48941057, keys=48974596) at callint.c:857
#27 0x0103f05b in Ffuncall (nargs=4, args=0x82faf8) at eval.c:3050
#28 0x0103e598 in call3 (fn=49132665, arg1=49156481, arg2=48941057,
arg3=48941057) at eval.c:2870
#29 0x01024ca1 in Fcommand_execute (cmd=49156481,
record_flag=48941057, keys=48941057, special=48941057) at
keyboard.c:10333
#30 0x0100a93c in command_loop_1 () at keyboard.c:1880
#31 0x0103b136 in internal_condition_case (bfun=0x1007235
<command_loop_1>, handlers=49004809, hfun=0x10069b4 <cmd_error>)
    at eval.c:1511
#32 0x01006e44 in command_loop_2 () at keyboard.c:1338
#33 0x0103ab8f in internal_catch (tag=49000881, func=0x1006e24
<command_loop_2>, arg=48941057) at eval.c:1247
#34 0x01006dfb in command_loop () at keyboard.c:1317
#35 0x0100610b in recursive_edit_1 () at keyboard.c:942
#36 0x010065e0 in Frecursive_edit () at keyboard.c:1004
#37 0x01002a71 in main (argc=2, argv=0xa92748) at emacs.c:1777

Lisp Backtrace:
"find-coding-systems-region-internal" (0x82dfb4)
"find-coding-systems-region" (0x82e2c4)
"select-safe-coding-system" (0x82e604)
"write-region" (0x82eb84)
"basic-save-buffer-2" (0x82eea4)
"basic-save-buffer-1" (0x82f1b4)
"basic-save-buffer" (0x82f4d4)
"save-buffer" (0x82f834)
"call-interactively" (0x82fafc)
(gdb) frame 1
#1  0x01174a88 in char_encodable_p (c=228, attrs=53025028) at coding.c:8068
8068          if (CHAR_CHARSET_P (c, charset))
(gdb) p attrs
$44 = 53025028
(gdb) pr
[chinese-gb18030 nil 99 charset (0 157 158 159 160 161) t nil nil nil
nil nil 32 nil (:ascii-compatible-p t :category coding-categ
ory-charset :name chinese-gb18030 :docstring "GB18030 encoding for
Chinese (MIME:GB18030)." :coding-type charset :mnemonic 99 :cha
rset-list (ascii gb18030-2-byte gb18030-4-byte-bmp gb18030-4-byte-smp
gb18030-4-byte-ext-1 gb18030-4-byte-ext-2) :mime-charset gb1
8030) 14 "
                +
                                           " [0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 nil (157 158) (157 158) (157
158) (157 158 160) (157 160) (157 160) (157 160) (157 160)
(157 160) (157 160) (157 160) (157 160) (157 160) (157 160) (157 160)
(157 159) (157 159) (157 159) (157 159) (157 159) (157 159)
(157 159) (157 159) (157 159) (157 159) (157 159) (157 159) (157 159)
(157 159) (157 159) (157 159) (157 159) (157 159) (157 159)
(157 159) (157 159) (157 159) (157 159) (157 159) (157 159) (157 159)
(157 159) (157 159) (157 159) (157 159) (157 159) (157 159)
(157 159) (157 159) (157 159) (157 159) (157 159) (157 159) (157 159)
(157 159) (157 159) (157 159) (157 159) (157 159) (157 159)
(157 159) (157 159) (157 159) (157 159) (157 159) (157 159) (157 159)
(157 159) (157 159) (157 159) (157 159) (157 159) (157 159)
(157 159) (157 159) (157 159) (157 159) (157 159) (157 159) (157 159)
(157 159) (157 159) (157 159) (157 159) (157 159) (157 159)
(157 159) (157 159) (157 159) (157 159) (157 159) (157 159) (157 159)
(157 159) (157 159) (157 159) (157 159) (157 159) (157 159 1
61) (157 161) (157 161) (157 161) (157 161) (157 161) (157 161) (157
161) (157 161) (157 161) (157 161) (157 161) (157 161) (157 1
61) (157 161) (157 161) (157 161) (157 161) (157 161) (157 161) (157
161) (157 161) (157 161) (157 161) (157 161) (157 161) (157 1
61) (157 161) nil] nil nil nil nil nil nil nil nil nil nil]




reply via email to

[Prev in Thread] Current Thread [Next in Thread]