From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Geoffrey Alan Washburn Newsgroups: gmane.emacs.devel Subject: Re: unicode-2 branch segfaulting on MacOS X? Date: Mon, 23 Oct 2006 06:00:15 -0400 Message-ID: <453C92AF.7060100@cis.upenn.edu> References: <453C1834.6040909@cis.upenn.edu> <453C37D6.9090206@cis.upenn.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1161597793 24602 80.91.229.2 (23 Oct 2006 10:03:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 23 Oct 2006 10:03:13 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 23 12:03:10 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GbweD-00019y-Hz for ged-emacs-devel@m.gmane.org; Mon, 23 Oct 2006 12:03:10 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GbweD-0003BZ-0t for ged-emacs-devel@m.gmane.org; Mon, 23 Oct 2006 06:03:09 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gbwbp-0002Is-Ky for emacs-devel@gnu.org; Mon, 23 Oct 2006 06:00:41 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gbwbp-0002Ho-6a for emacs-devel@gnu.org; Mon, 23 Oct 2006 06:00:41 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gbwbo-0002HT-Ik for emacs-devel@gnu.org; Mon, 23 Oct 2006 06:00:40 -0400 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1Gbwbn-0004cw-LM for emacs-devel@gnu.org; Mon, 23 Oct 2006 06:00:40 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Gbwbh-0000d6-NF for emacs-devel@gnu.org; Mon, 23 Oct 2006 12:00:33 +0200 Original-Received: from c-68-39-209-108.hsd1.pa.comcast.net ([68.39.209.108]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 23 Oct 2006 12:00:33 +0200 Original-Received: from geoffw by c-68-39-209-108.hsd1.pa.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 23 Oct 2006 12:00:33 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 438 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: c-68-39-209-108.hsd1.pa.comcast.net User-Agent: Thunderbird 1.5.0.7 (X11/20060909) In-Reply-To: X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:61032 Archived-At: Kenichi Handa wrote: > In article <453C37D6.9090206@cis.upenn.edu>, Geoffrey Alan Washburn writes: > >> (gdb) p val >> $1 = 44174064 >> (gdb) xtype >> Lisp_Int >> (gdb) pp val >> 5521758 > > Thank you. It seems val contains completely broken value. > Please show me the result of these commands: > > (gdb) pp font > (gdb) bt full (gdb) pp font [xft "" bitstream\ vera\ sans\ mono "" iso8859-1 100 100 "" 0 # # nil] (gdb) bt full #0 0x0018efb0 in font_unparse_fcname (font=42759700, pixel_size=19, name=0x2a20d20 "", nbytes=96) at font.c:1258 val = 44174064 point_size = -1 dpi = 42759700 spacing = 93674496 scalable = 44174624 i = 42759700 len = 46 p = 0x2a20af0 "" styles = {42755024, 93315584, 42759700} style_names = {0x1b0c94 "weight", 0x1b0c9c "slant", 0x19c614 "width"} #1 0x001999e8 in xftfont_open (f=0x28c63d0, entity=42759700, pixel_size=19) at xftfont.c:267 dpyinfo = (Display_Info *) 0x2828110 display = (struct _XDisplay *) 0x58fe200 val = -8 pat = (struct _FcPattern *) 0x2a20af0 file = (FcChar8 *) 0x28c7680 "/usr/X11R6/lib/X11/fonts/TTF/VeraMono.ttf" xftfont_info = (struct xftfont_info *) 0x2a20af0 xfont = (XFontStruct *) 0x2a20cd0 font = (struct font *) 0x2a20af0 size = 19 xftfont = (XftFont *) 0x5955c00 spacing = 44153396 name = 0x2a20d20 "" len = 96 #2 0x00190624 in font_open_entity (f=0x19c614, entity=19, pixel_size=44174624) at font.c:2457 driver_list = (struct font_driver_list *) 0x382b788 objlist = 58898312 size = -1 val = 76974428 #3 0x00195038 in gtk_default_draw_handle () at font.c:2778 args = {58812241, 93538019} spec = 42756964 prefer = 96 size = 58898312 entity = 42759700 entity_list = 42759700 frame = 42755028 i = 1689108 pixel_size = 19 #4 0x00012f98 in dyld_stub_g_signal_connect_data () at tif_getimage.c:1071 _x = 96 bw = (uint32 *) 0x382b788 PALmap = (uint32 **) 0x2a20d20 pp = (unsigned char *) 0x1b0c9c "slant" #5 0x00011004 in lenfix.3241 () at tif_fax3.c:786 span = 1689108 bp = (unsigned char *) 0xfffffff8
a0 = 77098763 a1 = 4294967295 b1 = 93278609 a2 = 3221203424 b2 = 4294967295 #6 0x00014468 in __PRETTY_FUNCTION__.10657 () at tif_getimage.c:1377 _x = 58721289 samplesperpixel = -1879035592 pp = (unsigned char *) 0x2a20d20 "" #7 0x000a33f0 in gtk_expander_get_property () at xfns.c:3210 f = (struct frame *) 0xbfffa9e0 frame = 3174676 tem = -8 name = -1 minibuffer_only = 3173972 width = 44174624 height = 19 count = 3174560 display = -1073763872 dpyinfo = (struct x_display_info *) 0xbfffaa00 parent = 2961200 kb = (struct kboard *) 0x2d0d54 #8 0x0013ddcc in gtk_notebook_get_menu_label_text () at eval.c:2997 fun = 42759700 original_fun = -1073763204 funcar = -8 numargs = 1 val = 42759700 backtrace = { next = 0xbfffadc8, function = 0xbfffac78, args = 0xbfffac7c, nargs = 1, evalargs = 0 '\0', debug_on_exit = 0 '\0' } internal_args = (Lisp_Object *) 0xbfffac7c i = 42759700 #9 0x0016fd0c in _gtk_scale_get_value_size () at bytecode.c:679 count = 6 op = -1 vectorp = (Lisp_Object *) 0x1f18b8 stack = { pc = 0x2ccbf0 "e", top = 0x2ccbf0, bottom = 0x3800409, byte_string = 41276301, byte_string_start = 0x38342f1 "", constants = 41276293, next = 0x275d395 } result = 42759700 #10 0x0013d86c in gtk_notebook_page_select () at eval.c:3184 val = 19 syms_left = 58721289 next = 58721289 count = 5 i = 1 optional = 1 rest = 0 #11 0x0013df7c in gtk_notebook_query_tab_label_packing () at eval.c:3054 fun = 42759700 original_fun = 66940657 funcar = -8 numargs = 1 val = 42759700 backtrace = { next = 0xbfffafa8, function = 0xbfffae60, args = 0xbfffae64, nargs = 1, evalargs = 0 '\0', debug_on_exit = 0 '\0' } internal_args = (Lisp_Object *) 0x3fd6ef1 i = 42759700 #12 0x0016fd0c in _gtk_scale_get_value_size () at bytecode.c:679 count = 5 op = -1 vectorp = (Lisp_Object *) 0x2276c8 stack = { pc = 0xbfffae60 "\003\375n\361\002u\323\225", top = 0x13cbf0, bottom = 0x3fd6ef1, byte_string = 41276309, byte_string_start = 0x13cec0 "\2016t|\210\036", constants = 2939432, next = 0xbfffaee0 } result = 42759700 #13 0x0013d86c in gtk_notebook_page_select () at eval.c:3184 val = 19 syms_left = 58721289 next = 58721289 count = 4 i = 1 optional = 1 rest = 0 #14 0x0013df7c in gtk_notebook_query_tab_label_packing () at eval.c:3054 fun = 42759700 original_fun = 66876001 funcar = -8 numargs = 1 val = 42759700 backtrace = { next = 0xbfffb188, function = 0xbfffb040, args = 0xbfffb044, nargs = 1, evalargs = 0 '\0', debug_on_exit = 0 '\0' } internal_args = (Lisp_Object *) 0x3fc7261 i = 42759700 #15 0x0016fd0c in _gtk_scale_get_value_size () at bytecode.c:679 count = 4 op = -1 vectorp = (Lisp_Object *) 0x226ed8 stack = { pc = 0xdcdd "b", top = 0x275dcd5, bottom = 0x3fc7261, byte_string = 41276309, byte_string_start = 0x27589e5 "s\n\r\003P\026|\003\200\004\t\005\217S\003\002u\322\035\002u\211\365\003\200\004\t\004\200\275\201\002u\212E", constants = 58721289, next = 0x275dcad } result = 42759700 #16 0x0013d86c in gtk_notebook_page_select () at eval.c:3184 val = 19 syms_left = 58721289 next = 58721289 count = 4 i = 0 optional = 2977280 rest = 0 #17 0x0013df7c in gtk_notebook_query_tab_label_packing () at eval.c:3054 fun = 42759700 original_fun = 76561825 funcar = -8 numargs = 0 val = 42759700 backtrace = { next = 0xbfffb378, function = 0xbfffb220, args = 0xbfffb224, nargs = 0, evalargs = 0 '\0', debug_on_exit = 0 '\0' } internal_args = (Lisp_Object *) 0x4903da1 i = 42759700 #18 0x0016fd0c in _gtk_scale_get_value_size () at bytecode.c:679 count = 4 op = -1 vectorp = (Lisp_Object *) 0x242e18 stack = { pc = 0x271eda5 "q\355\255", top = 0x271ed3d, bottom = 0x4903da1, byte_string = 76561825, byte_string_start = 0x275f55d "p\367}\002\214W\364\003\200\004\t\003\201G\231\002u\365\215\002u\365\205\003\200\004\t\003\203\371\333", constants = 2372571, next = 0x257919d } result = 42759700 #19 0x0013d86c in gtk_notebook_page_select () at eval.c:3184 val = 19 syms_left = 58721289 next = 58721289 count = 4 i = 0 optional = 2977280 rest = 0 #20 0x0013df7c in gtk_notebook_query_tab_label_packing () at eval.c:3054 fun = 42759700 original_fun = 77104689 funcar = -8 numargs = 0 val = 42759700 backtrace = { next = 0xbfffb5f0, function = 0xbfffb410, args = 0xbfffb414, nargs = 0, evalargs = 0 '\0', debug_on_exit = 0 '\0' } internal_args = (Lisp_Object *) 0x4988631 i = 42759700 #21 0x0016fd0c in _gtk_scale_get_value_size () at bytecode.c:679 count = 2 op = -1 vectorp = (Lisp_Object *) 0x242220 stack = { pc = 0x229983 "\006\377\377\377\377", top = 0x30adac, bottom = 0x4988631, byte_string = 76944459, byte_string_start = 0x383c02b "\026", constants = 2368283, next = 0x3800439 } result = 42759700 #22 0x0013d86c in gtk_notebook_page_select () at eval.c:3184 val = 19 syms_left = 58721289 next = 58721289 count = 2 i = 0 optional = 2977280 rest = 0 #23 0x0013d9a4 in apply_lambda (fun=2367988, args=3186988, eval_flag=1) at eval.c:3108 args_left = 3186988 i = 0 tem = 1 #24 0x0013d234 in gtk_notebook_menu_detacher () at eval.c:2388 fun = 42759700 val = 42759700 original_fun = 77102545 original_args = 58721289 funcar = -8 backtrace = { next = 0x0, function = 0xbfffb5e8, args = 0xbfffb570, nargs = 0, evalargs = 0 '\0', debug_on_exit = 0 '\0' } #25 0x0013b938 in internal_condition_case (bfun=0xc87e0 , handlers=58756753, hfun=0xcf650 ) at eval.c:1481 val = 42759700 c = { tag = 58721289, val = 58721289, next = 0xbfffba78, gcpro = 0x0, jmp = {-1073760672, 3196460, 0, 0, 2977280, 2977280, 2977280, 1732096, 0, -1073758424, 4, -1073758436, 1, 3173992, 3187032, 58721289, 0, 0, 0, 2983948, 1292252, 1292480, 570425938, 41950496, -1073760292, -1073758424, -524288, -2113798144, 0, -1073760580, -1610571796, 92274688, 0, -1610578580, -1610578580, 41953104, -1610571796, 501, -1610571796, 501, 0, 41953200, 41953216, 9, -1878847540, -1073760320, -1610601584, -1878952668, 1, 2977280, 4, 22, 22, -1073760144, 3156176, 77083544, 1190096, 2977280, -1073760152, 5384826, 5282148, -1073760224, 17825888, -1880771240, -1881079824, -1073760208, 1140851224, -1881078948, -1610571796, -1073760160, -1610571796, -1610591712, 0, 1, 1, 41953312, 3173972, 41952928, 22, 22, 1, -1035222635, -2021289069, -1035222635, -2021289069, -1035222635, -2021289069, -1035222635, -2021289069, -1035222635, -2021289069, -1035222635, -2021289069, -1035222635, -2021289069, -1035222635, -2021289069, -1035222635, -2021289069, -1035222635, -2021289069, -1035222635, -2021289069, -1035222635, -2021289069, 1089879574, -420334947, 1052826816, 0, 1089879574, 1777096616, 0, 0, 1085022207, -6003808, 1104236260, 93528789, 0, 17825888, 102, -1881123212, -1073760000, 41953312, -1881123028, 1253948, -1073759984, 1140851202, 1191176, 1, 3173992, 2968464, -1880771240, 2968464, 17825888, 5358975, 5040, -1881078012, -1073759920, 4, -1881077612, 3173972, 400, 2958940, 3198812, 1255004, -1073759856, 41953312, -1881058248, 1253948, -1073759856, 4, 17829856, 3173972, 400, -1073759288, 5, 1255004, -1073759856, 1207960580, 4096, -1880795532, 0, 17825888, 102, -1881123212, -1073759824, 4, -1881123028, 6, 1, -1073759392, 5, 5, 2977280, 4, -1073758084, 3173972, 400, 2958940, 3198812, 1255004, -1073758496, 3187032, 58721289, 0, 0, 0, 3186788, 1291100, -1073759680, 58746417, -1881058248}, backlist = 0x0, handlerlist = 0x0, lisp_eval_depth = 0, pdlcount = 2, poll_suppress_count = 1, interrupt_input_blocked = 0, byte_stack = 0x0 } h = { handler = 58756753, var = 58721289, chosen_clause = -1610578580, tag = 0xbfffb6ac, next = 0x0 } #26 0x000c8858 in gtk_fixed_new () at keyboard.c:1343 No locals. #27 0x0013b450 in gtk_notebook_unrealize () at eval.c:1222 c = { tag = 58753033, val = 58721289, next = 0x0, gcpro = 0x0, jmp = {-1073759680, 38, 0, 0, 2977280, 2977280, 2977280, 1732096, 0, -1073758424, 4, -1073758436, 1, 3173992, 3187032, 58721289, 0, 0, 0, 3186788, 1291100, 1291320, -2113928622, -1073758764, 1503712, 41952288, -524288, -2113798144, 0, -1073759608, -1073759376, 671228450, 536088, -1880795532, -1073759392, 17825888, 76977365, 569872, -1073759376, 58746417, 553720, 1186032, -1073759360, 58746417, -3, 0, 26161, 58746417, 58746417, 58746417, 58746417, 58746417, 58746417, 41952288, -3, 689663, 41952288, 569872, -1073759280, -1073759008, 553840, 569872, -1073759280, 58746729, 554124, 546752, -1073759232, 603996738, 548200, -1073759040, 2931824, 0, 11, 58746753, 56218168, 0, -1073759080, 56218168, -1035222635, -2021289069, -1035222635, -2021289069, -1035222635, -2021289069, -1035222635, -2021289069, -1035222635, -2021289069, -1035222635, -2021289069, -1035222635, -2021289069, -1035222635, -2021289069, -1035222635, -2021289069, -1035222635, -2021289069, -1035222635, -2021289069, -1035222635, -2021289069, 1089879574, -420334947, 1052826816, 0, 1089879574, 1777096616, 0, 0, 1085022207, -6003808, 1104236260, 93528789, 56218168, 58721289, 55580280, 58747913, 58747912, 58744984, 58744986, 1218456, -1073759008, 17825888, 1219376, -1881079824, -1073759008, 1140851272, -1881078948, 1, -1073758992, 4, 58721625, 77085643, 58745865, 8, 58745865, 58745865, -1073758424, 58721289, 2932640, 58721289, 2932640, 2932640, 1147236983, 1768824907, 1701998181, 1814058597, 1920166255, 1847605294, 942551098, 541487721, 542336368, 538982432, 825702961, 943338807, 542131284, 540160048, 909844594, 1869575226, 2020504877, 926495278, 825372214, 779051626, 2117152594, 1162626369, -1073758864, 1346568196, -1073758436, 1, 2931824, 0, 56218168, 0, -1073758424, 4, -1073758436, 0, -1073758424, 4, -1073758436, 172, -1073758784, 4, 92274688, 1337184, -1073758784, -1610601584, 1337284, -1879037040, -1073758736, 603980930}, backlist = 0x0, handlerlist = 0x0, lisp_eval_depth = 0, pdlcount = 2, poll_suppress_count = 1, interrupt_input_blocked = 0, byte_stack = 0x0 } #28 0x000c8490 in gtk_fixed_size_allocate () at keyboard.c:1300 No locals. #29 0x000c85d8 in gtk_fixed_remove () at keyboard.c:1003 count = 1 val = 2983500 #30 0x000c8740 in gtk_fixed_get_child_property () at keyboard.c:1064 count = 0 buffer = 42759700 #31 0x000c7f7c in do_files_removed () at emacs.c:1814 dummy = 0 stack_bottom_variable = -113 '\217' do_initial_setlocale = 1 skip_args = 1 rlim = { rlim_cur = 8388608, rlim_max = 67108864 } no_loadup = 0 junk = 0x0 Lisp Backtrace: "x-create-frame" (0x275d385) "x-create-frame-with-faces" (0x275d395) "make-frame" (0x275d395) "frame-initialize" (0x4903da1) "command-line" (0x496144b) "normal-top-level" (0xbfffb650)