pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/40411: standalone-tcsh dumps core when tab completing some filenames
On Fri, 16 Jan 2009, Christos Zoulas wrote:
print *rl
Program terminated with signal 11, Segmentation fault.
#0 _wctrans_init (rl=0x4bf960) at /usr/src/lib/libc/locale/_wctrans.c:82
82 rl->rl_wctrans[_WCTRANS_INDEX_LOWER].te_name = "tolower";
(gdb) bt
#0 _wctrans_init (rl=0x4bf960) at /usr/src/lib/libc/locale/_wctrans.c:82
#1 0x0000000000457faa in _towctrans_priv (rl=0x4bf960, wc=77, te=0x4c05e0) at
/usr/src/lib/libc/locale/_wctype.c:130
#2 0x000000000042a2ab in is_prefixmatch (check=0x6f65c8, template=0x69a208,
igncase=0) at tw.parse.c:699
#3 0x000000000042ae1a in tw_collect_items (command=RECOGNIZE, looking=4,
exp_dir=0x7f7fffffd550, exp_name=0x7f7fffffd510,
target=0x6f65c8, pat=0x5e4b14, flags=0) at tw.parse.c:1061
#4 0x000000000042b5a5 in tw_collect (command=RECOGNIZE, looking=4,
exp_dir=0x7f7fffffd550, exp_name=0x7f7fffffd510,
target=0x6f65c8, pat=0x5e4b14, flags=64, dir_fd=0x6f7208) at tw.parse.c:1323
#5 0x000000000042c0bc in t_search (word=0x7f7fffffd610, command=RECOGNIZE,
looking=4, list_max=1, pat=0x5e4b14, suf=0)
at tw.parse.c:1725
#6 0x0000000000428ff7 in tenematch (inputline=0x5f50a0, num_read=5,
command=RECOGNIZE) at tw.parse.c:301
#7 0x000000000043d6ff in Inputl () at ed.inputl.c:407
#8 0x000000000041a8b0 in bgetc () at sh.lex.c:1653
#9 0x000000000041a179 in readc (wanteof=0) at sh.lex.c:1414
#10 0x0000000000417088 in lex (hp=0x5fd170) at sh.lex.c:162
#11 0x00000000004032c5 in process (catch=1) at sh.c:1925
#12 0x000000000040217b in main (argc=0, argv=0x7f7fffffdd58) at sh.c:1297
(gdb) print *rl
$1 = {rl_magic = "RuneCT10", rl_encoding = "NONE", '\0' <repeats 27 times>,
rl_invalid_rune = 4294967293, rl_runetype = {512, 512,
512, 512, 512, 512, 512, 512, 512, 147968, 16896, 16896, 16896, 16896, 512
<repeats 18 times>, 1074151424,
1074014208 <repeats 15 times>, 1074072576, 1074072577, 1074072578,
1074072579, 1074072580, 1074072581, 1074072582, 1074072583,
1074072584, 1074072585, 1074014208, 1074014208, 1074014208, 1074014208,
1074014208, 1074014208, 1074014208, 1074104586,
1074104587, 1074104588, 1074104589, 1074104590, 1074104591, 1074039040
<repeats 20 times>, 1074014208, 1074014208, 1074014208,
1074014208, 1074014208, 1074014208, 1074075914, 1074075915, 1074075916,
1074075917, 1074075918, 1074075919,
1074010368 <repeats 20 times>, 1074014208, 1074014208, 1074014208, 1074014208,
512, 0 <repeats 128 times>}, rl_maplower = {0,
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, 32, 33, 34,
35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53,
54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 97,
98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112,
113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 91,
92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107,
108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118,
119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133,
134, 135, 136, 137, 138, 139, 140, 141, 142, 143,
144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158,
159, 160, 161, 162, 163, 164, 165, 166, 167, 168,
169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183,
184, 185, 186, 187, 188, 189, 190, 191, 192, 193,
194, 195, 196, 197, 198, 199...}, rl_mapupper = {0, 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, 32, 33, 34, 35, 36, 37, 38, 39, 40,
41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52,
53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71,
72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83,
84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 65, 66, 67, 68, 69, 70,
71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82,
83, 84, 85, 86, 87, 88, 89, 90, 123, 124, 125, 126, 127, 128, 129, 130,
131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141,
142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156,
157, 158, 159, 160, 161, 162, 163, 164, 165, 166,
167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181,
182, 183, 184, 185, 186, 187, 188, 189, 190, 191,
192, 193, 194, 195, 196, 197, 198, 199...}, rl_runetype_ext = {rr_nranges =
0, rr_rune_ranges = 0x0}, rl_maplower_ext = {
rr_nranges = 0, rr_rune_ranges = 0x0}, rl_mapupper_ext = {rr_nranges = 0,
rr_rune_ranges = 0x0}, rl_variable = 0x0,
rl_variable_len = 0, rl_codeset = 0x4be71f "646", rl_citrus_ctype = 0x5e1930,
rl_wctrans = {{te_name = 0x0, te_cached = 0x0,
te_extmap = 0x0}, {te_name = 0x0, te_cached = 0x0, te_extmap = 0x0}}, rl_wctype =
{{te_name = 0x4bf927 "alnum",
te_mask = 1280}, {te_name = 0x4bf92d "alpha", te_mask = 256}, {te_name = 0x4bf933
"blank", te_mask = 131072}, {
te_name = 0x4bf939 "cntrl", te_mask = 512}, {te_name = 0x4bf952 "digit", te_mask =
1024}, {te_name = 0x4bf93f "graph",
te_mask = 2048}, {te_name = 0x4beac0 "lower", te_mask = 4096}, {te_name = 0x4c28fc
"print", te_mask = 262144}, {
te_name = 0x4bf945 "punct", te_mask = 8192}, {te_name = 0x4bf94b "space", te_mask =
16384}, {te_name = 0x4beac8 "upper",
te_mask = 32768}, {te_name = 0x4bf951 "xdigit", te_mask = 65536}}, rl_ctype_tab =
0x4c6e40 "", rl_tolower_tab = 0x4c5860,
rl_toupper_tab = 0x4c31df}
Home |
Main Index |
Thread Index |
Old Index