From: Geoffrey Alan Washburn <geoffw@cis.upenn.edu>
Subject: Re: unicode-2 branch segfaulting on MacOS X?
Date: Mon, 23 Oct 2006 08:55:49 -0400 [thread overview]
Message-ID: <453CBBD5.9010900@cis.upenn.edu> (raw)
In-Reply-To: <E1GbxxK-0002HE-00@etlken>
Kenichi Handa wrote:
> Thank you. I think I found what was wrong. As I've just
> installed a fix, please try the latest code.
Thanks, that seems to have solved the problem in font_unparse_fcname,
but now it seems to be segfaulting in gtk_default_draw_check ()
Starting program: /local/bin/emacs --enable-font-backend --font
"Bitstream Vera Sans Mono-16"
Breakpoint 3 at 0x9ca20: file xterm.c, line 8053.
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000004
0x0018f358 in gtk_default_draw_check () at font.c:1328
1328 p += sprintf (p, ":%s=%s", style_names[i],
(gdb) p styles[i]
Cannot access memory at address 0xca87dc74
(gdb) p style_names
$1 = {0x1b0c94 "weight", 0x1b0c9c "slant", 0x19c614 "width"}
(gdb) p style_names[i]
Cannot access memory at address 0xca87dc80
(gdb) p i
$2 = 44174683
(gdb) p styles
$3 = {66908081, 66836681, 58898315}
(gdb) xtype
Argument to arithmetic operation not a number or boolean.
(gdb) p styles[i]
Cannot access memory at address 0xca87dc74
(gdb) xtype
Argument to arithmetic operation not a number or boolean.
(gdb) bt full
#0 0x0018f358 in gtk_default_draw_check () at font.c:1328
val = 44174683
point_size = -1
dpi = -1
spacing = -1
scalable = -1
i = 44174683
len = 1765024
p = 0x2a20d5b ""
styles = {66908081, 66836681, 58898315}
style_names = {0x1b0c94 "weight", 0x1b0c9c "slant", 0x19c614 "width"}
#1 0x001999e8 in xftfont_open (f=0x28c63d0, entity=42759700,
pixel_size=17) at xftfont.c:267
dpyinfo = (Display_Info *) 0x2828110
display = (struct _XDisplay *) 0x58fe200
val = 58898312
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 = 17
xftfont = (XftFont *) 0x5955c00
spacing = 44153396
name = 0x2a20d20 "bitstream vera sans
mono:pixelsize=17:weight=medium:slant=r"
len = 96
#2 0x00190624 in font_open_entity (f=0x2, entity=1772740,
pixel_size=1689108) at font.c:2457
driver_list = (struct font_driver_list *) 0xfffffff8
objlist = -8
size = 58721289
val = 77021020
#3 0x00195038 in gtk_default_draw_handle () at font.c:2778
args = {58812241, 93538019}
spec = 42756964
prefer = 114
size = -8
entity = 42759700
entity_list = 44174683
frame = 42755028
i = 2
pixel_size = 17
#4 0x00012f98 in dyld_stub_g_signal_connect_data () at tif_getimage.c:1071
_x = 114
bw = (uint32 *) 0xfffffff8
PALmap = (uint32 **) 0x19c614
pp = (unsigned char *) 0x2200226c <Address 0x2200226c out of bounds>
#5 0x00011004 in lenfix.3241 () at tif_fax3.c:786
span = 2
bp = (unsigned char *) 0x382b788 ""
a0 = 77098747
a1 = 4294967295
b1 = 1912604732
a2 = 3221203424
b2 = 58721289
#6 0x00014468 in __PRETTY_FUNCTION__.10657 () at tif_getimage.c:1377
_x = 58721289
samplesperpixel = 44174682
pp = (unsigned char *) 0x19c614 "width"
#7 0x000a33f0 in gtk_expander_get_property () at xfns.c:3210
f = (struct frame *) 0xbfffa9e0
frame = 3174676
tem = 58898312
name = -1
minibuffer_only = 3173972
width = 1689108
height = 1772740
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 = 44174683
original_fun = -1073763204
funcar = 58898312
numargs = 1
val = 44174683
backtrace = {
next = 0xbfffadc8,
function = 0xbfffac78,
args = 0xbfffac7c,
nargs = 1,
evalargs = 0 '\0',
debug_on_exit = 0 '\0'
}
internal_args = (Lisp_Object *) 0xbfffac7c
i = 44174683
#9 0x0016fd0c in _gtk_scale_get_value_size () at bytecode.c:679
count = 6
op = 58721289
vectorp = (Lisp_Object *) 0x1f18b8
stack = {
pc = 0x2ccbf0 "e",
top = 0x2ccbf0,
bottom = 0x3800409,
byte_string = 41276429,
byte_string_start = 0x38342f1 "",
constants = 41276421,
next = 0x275d415
}
result = 44174683
#10 0x0013d86c in gtk_notebook_page_select () at eval.c:3184
val = 1772740
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 = 44174683
original_fun = 66940657
funcar = 58898312
numargs = 1
val = 44174683
backtrace = {
next = 0xbfffafa8,
function = 0xbfffae60,
args = 0xbfffae64,
nargs = 1,
evalargs = 0 '\0',
debug_on_exit = 0 '\0'
}
internal_args = (Lisp_Object *) 0x3fd6ef1
i = 44174683
#12 0x0016fd0c in _gtk_scale_get_value_size () at bytecode.c:679
count = 5
op = 58721289
vectorp = (Lisp_Object *) 0x2276b8
stack = {
pc = 0xbfffae60 "\003\375n\361\002u\324\025",
top = 0x13cbf0,
bottom = 0x3fd6ef1,
byte_string = 41276437,
byte_string_start = 0x13cec0 "\2016t|\210\036",
constants = 2939432,
next = 0xbfffaee0
}
result = 44174683
#13 0x0013d86c in gtk_notebook_page_select () at eval.c:3184
val = 1772740
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 = 44174683
original_fun = 66875977
funcar = 58898312
numargs = 1
val = 44174683
backtrace = {
next = 0xbfffb188,
function = 0xbfffb040,
args = 0xbfffb044,
nargs = 1,
evalargs = 0 '\0',
debug_on_exit = 0 '\0'
}
internal_args = (Lisp_Object *) 0x3fc7249
i = 44174683
#15 0x0016fd0c in _gtk_scale_get_value_size () at bytecode.c:679
count = 4
op = 58721289
vectorp = (Lisp_Object *) 0x226ec8
stack = {
pc = 0xdd45 "\021\243\255|d\033x\200[O$\177\303\363x\200\242",
top = 0x275dd3d,
bottom = 0x3fc7249,
byte_string = 41276437,
byte_string_start = 0x2758a4d
"s\n%\003P\026|\003\200\004\t\005\217S\003\002u\322\205\002u\212]\003\200\004\t\004\200\275i\002u\212\255",
constants = 58721289,
next = 0x275dd15
}
result = 44174683
#16 0x0013d86c in gtk_notebook_page_select () at eval.c:3184
val = 1772740
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 = 44174683
original_fun = 76561801
funcar = 58898312
numargs = 0
val = 44174683
backtrace = {
next = 0xbfffb378,
function = 0xbfffb220,
args = 0xbfffb224,
nargs = 0,
evalargs = 0 '\0',
debug_on_exit = 0 '\0'
}
internal_args = (Lisp_Object *) 0x4903d89
i = 44174683
#18 0x0016fd0c in _gtk_scale_get_value_size () at bytecode.c:679
count = 4
op = 58721289
vectorp = (Lisp_Object *) 0x242e18
stack = {
pc = 0x271edbd "q\355\305",
top = 0x271ed55,
bottom = 0x4903d89,
byte_string = 76561801,
byte_string_start = 0x275f5c5
"p\367\225\002\214W\364\003\200\004\t\003\201G\231\002u\365\365\002u\365\355\003\200\004\t\003\203\371\373",
constants = 2372571,
next = 0x257919d
}
result = 44174683
#19 0x0013d86c in gtk_notebook_page_select () at eval.c:3184
val = 1772740
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 = 44174683
original_fun = 77104689
funcar = 58898312
numargs = 0
val = 44174683
backtrace = {
next = 0xbfffb5f0,
function = 0xbfffb410,
args = 0xbfffb414,
nargs = 0,
evalargs = 0 '\0',
debug_on_exit = 0 '\0'
}
internal_args = (Lisp_Object *) 0x4988631
i = 44174683
#21 0x0016fd0c in _gtk_scale_get_value_size () at bytecode.c:679
count = 2
op = 58721289
vectorp = (Lisp_Object *) 0x242220
stack = {
pc = 0x229973 "\006\377\377\377\377",
top = 0x30adac,
bottom = 0x4988631,
byte_string = 76944459,
byte_string_start = 0x383c0bb "\026",
constants = 2368283,
next = 0x3800439
}
result = 44174683
#22 0x0013d86c in gtk_notebook_page_select () at eval.c:3184
val = 1772740
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 = 44174683
val = 44174683
original_fun = 77102545
original_args = 58721289
funcar = 58898312
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 <top_level_2>,
handlers=58756753, hfun=0xcf650 <cmd_error>) at eval.c:1481
val = 44174683
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, 5384814, 5282136, -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, 5358963, 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, 77023957, 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 = 44174683
#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" (0x275d405)
"x-create-frame-with-faces" (0x275d415)
"make-frame" (0x275d415)
"frame-initialize" (0x4903d89)
"command-line" (0x496144b)
"normal-top-level" (0xbfffb650)
(gdb)
next prev parent reply other threads:[~2006-10-23 12:55 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-22 15:36 unicode-2 branch segfaulting on MacOS X? Geoffrey Alan Washburn
2006-10-23 1:04 ` Kenichi Handa
2006-10-23 1:17 ` Geoffrey Alan Washburn
2006-10-23 2:45 ` Kenichi Handa
2006-10-23 3:32 ` Geoffrey Alan Washburn
2006-10-23 5:59 ` Kenichi Handa
2006-10-23 10:00 ` Geoffrey Alan Washburn
2006-10-23 11:26 ` Kenichi Handa
2006-10-23 12:55 ` Geoffrey Alan Washburn [this message]
2006-10-27 4:17 ` Kenichi Handa
2006-10-27 10:05 ` Geoffrey Alan Washburn
2006-10-27 7:38 ` Kenichi Handa
2006-10-27 13:36 ` Geoffrey Alan Washburn
2006-10-28 0:41 ` Giorgos Keramidas
2006-10-28 0:43 ` Giorgos Keramidas
2006-10-28 17:39 ` Geoffrey Alan Washburn
2006-11-03 16:43 ` Geoffrey Alan Washburn
2006-11-08 11:55 ` Kenichi Handa
2006-11-08 19:23 ` Geoffrey Alan Washburn
2006-11-09 3:20 ` stephen
2006-11-09 11:41 ` Kenichi Handa
2006-11-12 2:59 ` Geoffrey Alan Washburn
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=453CBBD5.9010900@cis.upenn.edu \
--to=geoffw@cis.upenn.edu \
/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.