zsh-workers
 help / color / mirror / code / Atom feed
* segfault in opensuse-11.2 latest CVS sources
       [not found] <20a807210912101737r144e6da0r57d37b489cc00eb0@mail.gmail.com>
@ 2009-12-11  1:39 ` Vin Shelton
  2009-12-11  6:33   ` Phil Pennock
  0 siblings, 1 reply; 2+ messages in thread
From: Vin Shelton @ 2009-12-11  1:39 UTC (permalink / raw)
  To: zsh-workers

Greetings!

I've just switched over to OpenSUSE 11.2 (from kubuntu) and I'm
getting a crash in the when trying to match usernames for chown.
Here's a recipe:

zsh -f
autoload -U compinit
compinit -u
chown a<TAB>

kaboom

It looks like it's crashing in setpwent().  The code in hashtable.c
seems pretty straightforward.  Have I misconfigured my system somehow?

Anyway, here's the backtrace:

#0  0x00007fd7890b04e5 in raise () from /lib64/libc.so.6
(gdb) bt
#0  0x00007fd7890b04e5 in raise () from /lib64/libc.so.6
#1  0x00007fd7890b19b0 in abort () from /lib64/libc.so.6
#2  0x00007fd7890eb66d in ?? () from /lib64/libc.so.6
#3  0x00007fd7890f0c76 in ?? () from /lib64/libc.so.6
#4  0x00007fd7890f596c in free () from /lib64/libc.so.6
#5  0x00007fd788c6dc2a in ?? () from /lib64/libnsl.so.1
#6  0x00007fd788c6dd5a in _nsl_default_nss () from /lib64/libnsl.so.1
#7  0x00007fd788a58b61 in _nss_nis_setpwent () from
/lib64/libnss_nis.so.2
#8  0x00007fd788e78514 in ?? () from /lib64/libnss_compat.so.2
#9  0x00007fd788e78686 in _nss_compat_setpwent () from
/lib64/libnss_compat.so.2
#10 0x00007fd789160850 in ?? () from /lib64/libc.so.6
#11 0x00007fd78911d3fc in setpwent () from /lib64/libc.so.6
#12 0x000000000043f727 in fillnameddirtable (ht=0x6e61d8) at
hashtable.c:1382
#13 0x00007fd787fb0e18 in scanpmuserdirs (ht=0x758a18, func=0x46b18e
<scancountparams>, flags=34)
   at parameter.c:1471
#14 0x000000000043dda8 in scanmatchtable (ht=0x758a18, pprog=0x0,
sorted=0, flags1=0, flags2=33554432,
   scanfunc=0x46b18e <scancountparams>, scanflags=34) at
hashtable.c:381
#15 0x000000000043e09f in scanhashtable (ht=0x758a18, sorted=0,
flags1=0, flags2=33554432,
   scanfunc=0x46b18e <scancountparams>, scanflags=34) at
hashtable.c:444
#16 0x000000000046b444 in paramvalarr (ht=0x758a18, flags=34) at
params.c:562
#17 0x000000000046b567 in getvaluearr (v=0x7fffc1cda340) at
params.c:584
#18 0x000000000046f9e3 in getarrvalue (v=0x7fffc1cda340) at
params.c:2099
#19 0x00007fd7883daeb6 in get_data_arr (name=0x7fd789e8b820 "",
keys=64) at compcore.c:1941
#20 0x00007fd7883dcbcf in addmatches (dat=0x7fffc1cda680, argv=0x0) at
compcore.c:2355
#21 0x00007fd7883d39c5 in bin_compadd (name=0x7fd789e8b700 "compadd",
argv=0x7fffc1cda7a0,
   ops=0x7fffc1cda7d0, func=0) at complete.c:742
#22 0x000000000041068d in execbuiltin (args=0x7fd789e8b5b0,
bn=0x7fd7885f3c20) at builtin.c:439
#23 0x000000000043136b in execcmd (state=0x7fffc1cdbe60, input=0,
output=0, how=2, last1=2)
   at exec.c:3106
#24 0x000000000042c9e9 in execpline2 (state=0x7fffc1cdbe60,
pcode=2563, how=2, input=0, output=0,
   last1=0) at exec.c:1579
#25 0x000000000042bb7b in execpline (state=0x7fffc1cdbe60,
slcode=5154, how=2, last1=0) at exec.c:1364
#26 0x000000000042b288 in execlist (state=0x7fffc1cdbe60,
dont_change_job=1, exiting=0) at exec.c:1170
#27 0x00000000004591a0 in execif (state=0x7fffc1cdbe60, do_exec=0) at
loop.c:515
#28 0x00000000004310db in execcmd (state=0x7fffc1cdbe60, input=0,
output=0, how=18, last1=2)
   at exec.c:3047
#29 0x000000000042c9e9 in execpline2 (state=0x7fffc1cdbe60,
pcode=1987, how=18, input=0, output=0,
   last1=0) at exec.c:1579
#30 0x000000000042bb7b in execpline (state=0x7fffc1cdbe60,
slcode=70658, how=18, last1=0) at exec.c:1364
#31 0x000000000042b239 in execlist (state=0x7fffc1cdbe60,
dont_change_job=1, exiting=0) at exec.c:1161
#32 0x0000000000458de5 in execwhile (state=0x7fffc1cdbe60, do_exec=0)
at loop.c:410
#33 0x00000000004310db in execcmd (state=0x7fffc1cdbe60, input=0,
output=0, how=2, last1=2)
   at exec.c:3047
#34 0x000000000042c9e9 in execpline2 (state=0x7fffc1cdbe60,
pcode=1731, how=2, input=0, output=0,
   last1=0) at exec.c:1579
#35 0x000000000042bb7b in execpline (state=0x7fffc1cdbe60,
slcode=107522, how=2, last1=0) at exec.c:1364
#36 0x000000000042b239 in execlist (state=0x7fffc1cdbe60,
dont_change_job=1, exiting=0) at exec.c:1161
#37 0x000000000042ac74 in execode (p=0x74bb58, dont_change_job=1,
exiting=0) at exec.c:988
#38 0x0000000000433ba5 in execautofn (state=0x7fffc1cdc5e0, do_exec=0)
at exec.c:4156
#39 0x00000000004310db in execcmd (state=0x7fffc1cdc5e0, input=0,
output=0, how=18, last1=2)
   at exec.c:3047
#40 0x000000000042c9e9 in execpline2 (state=0x7fffc1cdc5e0, pcode=3,
how=18, input=0, output=0, last1=0)
   at exec.c:1579
#41 0x000000000042bb7b in execpline (state=0x7fffc1cdc5e0,
slcode=3074, how=18, last1=0) at exec.c:1364
#42 0x000000000042b239 in execlist (state=0x7fffc1cdc5e0,
dont_change_job=1, exiting=0) at exec.c:1161
#43 0x000000000042ac74 in execode (p=0x6d9040, dont_change_job=1,
exiting=0) at exec.c:988
#44 0x00000000004346df in runshfunc (prog=0x6d9040, wrap=0x0,
name=0x7fd789e8aca0 "_all_labels")
   at exec.c:4498
#45 0x00007fd7883d5273 in comp_wrapper (prog=0x6d9040, w=0x0,
name=0x7fd789e8aca0 "_all_labels")
   at complete.c:1455
#46 0x0000000000434649 in runshfunc (prog=0x6d9040,
wrap=0x7fd7885f3d80,
   name=0x7fd789e8aca0 "_all_labels") at exec.c:4483
#47 0x00000000004343be in doshfunc (shfunc=0x6d9008,
doshargs=0x7fd789e8aad0, noreturnval=0)
   at exec.c:4392
#48 0x0000000000433a90 in execshfunc (shf=0x6d9008,
args=0x7fd789e8aad0) at exec.c:4120
---Type <return> to continue, or q <return> to quit---
#49 0x00000000004312e2 in execcmd (state=0x7fffc1cdd7a0, input=0,
output=0, how=2, last1=2)
   at exec.c:3095
#50 0x000000000042c9e9 in execpline2 (state=0x7fffc1cdd7a0, pcode=707,
how=2, input=0, output=0,
   last1=0) at exec.c:1579
#51 0x000000000042bb7b in execpline (state=0x7fffc1cdd7a0,
slcode=5154, how=2, last1=0) at exec.c:1364
#52 0x000000000042b288 in execlist (state=0x7fffc1cdd7a0,
dont_change_job=1, exiting=0) at exec.c:1170
#53 0x0000000000458de5 in execwhile (state=0x7fffc1cdd7a0, do_exec=0)
at loop.c:410
#54 0x00000000004310db in execcmd (state=0x7fffc1cdd7a0, input=0,
output=0, how=2, last1=2)
   at exec.c:3047
#55 0x000000000042c9e9 in execpline2 (state=0x7fffc1cdd7a0, pcode=643,
how=2, input=0, output=0,
   last1=0) at exec.c:1579
#56 0x000000000042bb7b in execpline (state=0x7fffc1cdd7a0,
slcode=19458, how=2, last1=0) at exec.c:1364
#57 0x000000000042b239 in execlist (state=0x7fffc1cdd7a0,
dont_change_job=1, exiting=0) at exec.c:1161
#58 0x000000000042ac74 in execode (p=0x74bb20, dont_change_job=1,
exiting=0) at exec.c:988
#59 0x0000000000433ba5 in execautofn (state=0x7fffc1cddf20, do_exec=0)
at exec.c:4156
#60 0x00000000004310db in execcmd (state=0x7fffc1cddf20, input=0,
output=0, how=18, last1=2)
   at exec.c:3047
#61 0x000000000042c9e9 in execpline2 (state=0x7fffc1cddf20, pcode=3,
how=18, input=0, output=0, last1=0)
   at exec.c:1579
#62 0x000000000042bb7b in execpline (state=0x7fffc1cddf20,
slcode=3074, how=18, last1=0) at exec.c:1364
#63 0x000000000042b239 in execlist (state=0x7fffc1cddf20,
dont_change_job=1, exiting=0) at exec.c:1161
#64 0x000000000042ac74 in execode (p=0x748430, dont_change_job=1,
exiting=0) at exec.c:988
#65 0x00000000004346df in runshfunc (prog=0x748430, wrap=0x0,
name=0x7fd789e8a5e0 "_wanted")
   at exec.c:4498
#66 0x00007fd7883d5273 in comp_wrapper (prog=0x748430, w=0x0,
name=0x7fd789e8a5e0 "_wanted")
   at complete.c:1455
#67 0x0000000000434649 in runshfunc (prog=0x748430,
wrap=0x7fd7885f3d80, name=0x7fd789e8a5e0 "_wanted")
   at exec.c:4483
#68 0x00000000004343be in doshfunc (shfunc=0x7483f8,
doshargs=0x7fd789e8a470, noreturnval=0)
   at exec.c:4392
#69 0x0000000000433a90 in execshfunc (shf=0x7483f8,
args=0x7fd789e8a470) at exec.c:4120
#70 0x00000000004312e2 in execcmd (state=0x7fffc1cde9a0, input=0,
output=0, how=18, last1=2)
   at exec.c:3095
#71 0x000000000042c9e9 in execpline2 (state=0x7fffc1cde9a0, pcode=707,
how=18, input=0, output=0,
   last1=0) at exec.c:1579
#72 0x000000000042bb7b in execpline (state=0x7fffc1cde9a0,
slcode=11266, how=18, last1=0) at exec.c:1364
#73 0x000000000042b239 in execlist (state=0x7fffc1cde9a0,
dont_change_job=1, exiting=0) at exec.c:1161
#74 0x000000000042ac74 in execode (p=0x74bae8, dont_change_job=1,
exiting=0) at exec.c:988
#75 0x0000000000433ba5 in execautofn (state=0x7fffc1cdf120, do_exec=0)
at exec.c:4156
#76 0x00000000004310db in execcmd (state=0x7fffc1cdf120, input=0,
output=0, how=18, last1=2)
   at exec.c:3047
#77 0x000000000042c9e9 in execpline2 (state=0x7fffc1cdf120, pcode=3,
how=18, input=0, output=0, last1=0)
   at exec.c:1579
#78 0x000000000042bb7b in execpline (state=0x7fffc1cdf120,
slcode=3074, how=18, last1=0) at exec.c:1364
#79 0x000000000042b239 in execlist (state=0x7fffc1cdf120,
dont_change_job=1, exiting=0) at exec.c:1161
#80 0x000000000042ac74 in execode (p=0x747b70, dont_change_job=1,
exiting=0) at exec.c:988
#81 0x00000000004346df in runshfunc (prog=0x747b70, wrap=0x0,
name=0x7fd789e8a2a0 "_users")
   at exec.c:4498
#82 0x00007fd7883d5273 in comp_wrapper (prog=0x747b70, w=0x0,
name=0x7fd789e8a2a0 "_users")
   at complete.c:1455
#83 0x0000000000434649 in runshfunc (prog=0x747b70,
wrap=0x7fd7885f3d80, name=0x7fd789e8a2a0 "_users")
   at exec.c:4483
#84 0x00000000004343be in doshfunc (shfunc=0x747b38,
doshargs=0x7fd789e8a1f0, noreturnval=0)
   at exec.c:4392
#85 0x0000000000433a90 in execshfunc (shf=0x747b38,
args=0x7fd789e8a1f0) at exec.c:4120
#86 0x00000000004312e2 in execcmd (state=0x7fffc1ce0a40, input=0,
output=0, how=2, last1=2)
   at exec.c:3095
#87 0x000000000042c9e9 in execpline2 (state=0x7fffc1ce0a40,
pcode=3075, how=2, input=0, output=0,
   last1=0) at exec.c:1579
#88 0x000000000042bb7b in execpline (state=0x7fffc1ce0a40,
slcode=4130, how=2, last1=0) at exec.c:1364
#89 0x000000000042b288 in execlist (state=0x7fffc1ce0a40,
dont_change_job=1, exiting=0) at exec.c:1170
#90 0x00000000004591a0 in execif (state=0x7fffc1ce0a40, do_exec=0) at
loop.c:515
#91 0x00000000004310db in execcmd (state=0x7fffc1ce0a40, input=0,
output=0, how=18, last1=2)
   at exec.c:3047
#92 0x000000000042c9e9 in execpline2 (state=0x7fffc1ce0a40,
pcode=2243, how=18, input=0, output=0,
---Type <return> to continue, or q <return> to quit---
   last1=0) at exec.c:1579
#93 0x000000000042bb7b in execpline (state=0x7fffc1ce0a40,
slcode=105474, how=18, last1=0)
   at exec.c:1364
#94 0x000000000042b239 in execlist (state=0x7fffc1ce0a40,
dont_change_job=1, exiting=0) at exec.c:1161
#95 0x0000000000459567 in execcase (state=0x7fffc1ce0a40, do_exec=0)
at loop.c:593
#96 0x00000000004310db in execcmd (state=0x7fffc1ce0a40, input=0,
output=0, how=2, last1=2)
   at exec.c:3047
#97 0x000000000042c9e9 in execpline2 (state=0x7fffc1ce0a40,
pcode=2115, how=2, input=0, output=0,
   last1=0) at exec.c:1579
#98 0x000000000042bb7b in execpline (state=0x7fffc1ce0a40,
slcode=301058, how=2, last1=0) at exec.c:1364
#99 0x000000000042b239 in execlist (state=0x7fffc1ce0a40,
dont_change_job=1, exiting=0) at exec.c:1161
#100 0x000000000042ac74 in execode (p=0x743c80, dont_change_job=1,
exiting=0) at exec.c:988
#101 0x0000000000433ba5 in execautofn (state=0x7fffc1ce11c0,
do_exec=0) at exec.c:4156
#102 0x00000000004310db in execcmd (state=0x7fffc1ce11c0, input=0,
output=0, how=18, last1=2)
   at exec.c:3047
#103 0x000000000042c9e9 in execpline2 (state=0x7fffc1ce11c0, pcode=3,
how=18, input=0, output=0,
   last1=0) at exec.c:1579
#104 0x000000000042bb7b in execpline (state=0x7fffc1ce11c0,
slcode=3074, how=18, last1=0) at exec.c:1364
#105 0x000000000042b239 in execlist (state=0x7fffc1ce11c0,
dont_change_job=1, exiting=0) at exec.c:1161
#106 0x000000000042ac74 in execode (p=0x715ba8, dont_change_job=1,
exiting=0) at exec.c:988
#107 0x00000000004346df in runshfunc (prog=0x715ba8, wrap=0x0,
name=0x7fd789e90d28 "_chown")
   at exec.c:4498
#108 0x00007fd7883d5273 in comp_wrapper (prog=0x715ba8, w=0x0,
name=0x7fd789e90d28 "_chown")
   at complete.c:1455
#109 0x0000000000434649 in runshfunc (prog=0x715ba8,
wrap=0x7fd7885f3d80, name=0x7fd789e90d28 "_chown")
   at exec.c:4483
#110 0x00000000004343be in doshfunc (shfunc=0x715b70,
doshargs=0x7fd789e90ce8, noreturnval=0)
   at exec.c:4392
#111 0x0000000000433a90 in execshfunc (shf=0x715b70,
args=0x7fd789e90ce8) at exec.c:4120
#112 0x00000000004312e2 in execcmd (state=0x7fffc1ce1c40, input=0,
output=0, how=18, last1=2)
   at exec.c:3095
#113 0x000000000042c9e9 in execpline2 (state=0x7fffc1ce1c40,
pcode=131, how=18, input=0, output=0,
   last1=0) at exec.c:1579
#114 0x000000000042bb7b in execpline (state=0x7fffc1ce1c40,
slcode=3074, how=18, last1=0) at exec.c:1364
#115 0x000000000042b239 in execlist (state=0x7fffc1ce1c40,
dont_change_job=1, exiting=0) at exec.c:1161
#116 0x000000000042ac74 in execode (p=0x7fd789e90c78,
dont_change_job=1, exiting=0) at exec.c:988
#117 0x00000000004236de in eval (argv=0x7fffc1ce1d10) at
builtin.c:4875
#118 0x00000000004239f5 in bin_eval (nam=0x7fd789e90c08 "eval",
argv=0x7fffc1ce1d10,
   ops=0x7fffc1ce1d40, func=14) at builtin.c:4984
#119 0x000000000041068d in execbuiltin (args=0x7fd789e90bc0,
bn=0x6bcba0) at builtin.c:439
#120 0x000000000043136b in execcmd (state=0x7fffc1ce2c90, input=0,
output=0, how=2, last1=2)
   at exec.c:3106
#121 0x000000000042c9e9 in execpline2 (state=0x7fffc1ce2c90,
pcode=3779, how=2, input=0, output=0,
   last1=0) at exec.c:1579
#122 0x000000000042bb7b in execpline (state=0x7fffc1ce2c90,
slcode=4130, how=2, last1=0) at exec.c:1364
#123 0x000000000042b288 in execlist (state=0x7fffc1ce2c90,
dont_change_job=1, exiting=0) at exec.c:1170
#124 0x00000000004591a0 in execif (state=0x7fffc1ce2c90, do_exec=0) at
loop.c:515
#125 0x00000000004310db in execcmd (state=0x7fffc1ce2c90, input=0,
output=0, how=2, last1=2)
   at exec.c:3047
#126 0x000000000042c9e9 in execpline2 (state=0x7fffc1ce2c90,
pcode=3651, how=2, input=0, output=0,
   last1=0) at exec.c:1579
#127 0x000000000042bb7b in execpline (state=0x7fffc1ce2c90,
slcode=43010, how=2, last1=0) at exec.c:1364
#128 0x000000000042b239 in execlist (state=0x7fffc1ce2c90,
dont_change_job=1, exiting=0) at exec.c:1161
#129 0x000000000042ac74 in execode (p=0x74ba08, dont_change_job=1,
exiting=0) at exec.c:988
#130 0x0000000000433ba5 in execautofn (state=0x7fffc1ce3410,
do_exec=0) at exec.c:4156
#131 0x00000000004310db in execcmd (state=0x7fffc1ce3410, input=0,
output=0, how=18, last1=2)
   at exec.c:3047
#132 0x000000000042c9e9 in execpline2 (state=0x7fffc1ce3410, pcode=3,
how=18, input=0, output=0,
   last1=0) at exec.c:1579
#133 0x000000000042bb7b in execpline (state=0x7fffc1ce3410,
slcode=3074, how=18, last1=0) at exec.c:1364
#134 0x000000000042b239 in execlist (state=0x7fffc1ce3410,
dont_change_job=1, exiting=0) at exec.c:1161
#135 0x000000000042ac74 in execode (p=0x736fc0, dont_change_job=1,
exiting=0) at exec.c:988
#136 0x00000000004346df in runshfunc (prog=0x736fc0, wrap=0x0,
name=0x7fd789e905a0 "_dispatch")
   at exec.c:4498
#137 0x00007fd7883d5273 in comp_wrapper (prog=0x736fc0, w=0x0,
name=0x7fd789e905a0 "_dispatch")
---Type <return> to continue, or q <return> to quit---
   at complete.c:1455
#138 0x0000000000434649 in runshfunc (prog=0x736fc0,
wrap=0x7fd7885f3d80,
   name=0x7fd789e905a0 "_dispatch") at exec.c:4483
#139 0x00000000004343be in doshfunc (shfunc=0x736f88,
doshargs=0x7fd789e90428, noreturnval=0)
   at exec.c:4392
#140 0x0000000000433a90 in execshfunc (shf=0x736f88,
args=0x7fd789e90428) at exec.c:4120
#141 0x00000000004312e2 in execcmd (state=0x7fffc1ce3e90, input=0,
output=0, how=18, last1=2)
   at exec.c:3095
#142 0x000000000042c9e9 in execpline2 (state=0x7fffc1ce3e90,
pcode=2627, how=18, input=0, output=0,
   last1=0) at exec.c:1579
#143 0x000000000042bb7b in execpline (state=0x7fffc1ce3e90,
slcode=8194, how=18, last1=0) at exec.c:1364
#144 0x000000000042b239 in execlist (state=0x7fffc1ce3e90,
dont_change_job=1, exiting=0) at exec.c:1161
#145 0x000000000042ac74 in execode (p=0x738c20, dont_change_job=1,
exiting=0) at exec.c:988
#146 0x0000000000433ba5 in execautofn (state=0x7fffc1ce4610,
do_exec=0) at exec.c:4156
#147 0x00000000004310db in execcmd (state=0x7fffc1ce4610, input=0,
output=0, how=18, last1=2)
   at exec.c:3047
#148 0x000000000042c9e9 in execpline2 (state=0x7fffc1ce4610, pcode=3,
how=18, input=0, output=0,
   last1=0) at exec.c:1579
#149 0x000000000042bb7b in execpline (state=0x7fffc1ce4610,
slcode=3074, how=18, last1=0) at exec.c:1364
#150 0x000000000042b239 in execlist (state=0x7fffc1ce4610,
dont_change_job=1, exiting=0) at exec.c:1161
#151 0x000000000042ac74 in execode (p=0x740e00, dont_change_job=1,
exiting=0) at exec.c:988
#152 0x00000000004346df in runshfunc (prog=0x740e00, wrap=0x0,
name=0x7fd789e90190 "_normal")
   at exec.c:4498
#153 0x00007fd7883d5273 in comp_wrapper (prog=0x740e00, w=0x0,
name=0x7fd789e90190 "_normal")
   at complete.c:1455
#154 0x0000000000434649 in runshfunc (prog=0x740e00,
wrap=0x7fd7885f3d80, name=0x7fd789e90190 "_normal")
   at exec.c:4483
#155 0x00000000004343be in doshfunc (shfunc=0x740dc8,
doshargs=0x7fd789e90130, noreturnval=0)
   at exec.c:4392
#156 0x0000000000433a90 in execshfunc (shf=0x740dc8,
args=0x7fd789e90130) at exec.c:4120
#157 0x00000000004312e2 in execcmd (state=0x7fffc1ce57c0, input=0,
output=0, how=2, last1=2)
   at exec.c:3095
#158 0x000000000042c9e9 in execpline2 (state=0x7fffc1ce57c0,
pcode=7555, how=2, input=0, output=0,
   last1=0) at exec.c:1579
#159 0x000000000042bb7b in execpline (state=0x7fffc1ce57c0,
slcode=4130, how=2, last1=0) at exec.c:1364
#160 0x000000000042b288 in execlist (state=0x7fffc1ce57c0,
dont_change_job=1, exiting=0) at exec.c:1170
#161 0x00000000004591a0 in execif (state=0x7fffc1ce57c0, do_exec=0) at
loop.c:515
#162 0x00000000004310db in execcmd (state=0x7fffc1ce57c0, input=0,
output=0, how=2, last1=2)
   at exec.c:3047
#163 0x000000000042c9e9 in execpline2 (state=0x7fffc1ce57c0,
pcode=7427, how=2, input=0, output=0,
   last1=0) at exec.c:1579
#164 0x000000000042bb7b in execpline (state=0x7fffc1ce57c0,
slcode=114690, how=2, last1=0)
   at exec.c:1364
#165 0x000000000042b239 in execlist (state=0x7fffc1ce57c0,
dont_change_job=1, exiting=0) at exec.c:1161
#166 0x000000000042ac74 in execode (p=0x743dd0, dont_change_job=1,
exiting=0) at exec.c:988
#167 0x0000000000433ba5 in execautofn (state=0x7fffc1ce5f40,
do_exec=0) at exec.c:4156
#168 0x00000000004310db in execcmd (state=0x7fffc1ce5f40, input=0,
output=0, how=18, last1=2)
   at exec.c:3047
#169 0x000000000042c9e9 in execpline2 (state=0x7fffc1ce5f40, pcode=3,
how=18, input=0, output=0,
   last1=0) at exec.c:1579
#170 0x000000000042bb7b in execpline (state=0x7fffc1ce5f40,
slcode=3074, how=18, last1=0) at exec.c:1364
#171 0x000000000042b239 in execlist (state=0x7fffc1ce5f40,
dont_change_job=1, exiting=0) at exec.c:1161
#172 0x000000000042ac74 in execode (p=0x715eb8, dont_change_job=1,
exiting=0) at exec.c:988
#173 0x00000000004346df in runshfunc (prog=0x715eb8, wrap=0x0,
name=0x7fd789e8fb08 "_complete")
   at exec.c:4498
#174 0x00007fd7883d5273 in comp_wrapper (prog=0x715eb8, w=0x0,
name=0x7fd789e8fb08 "_complete")
   at complete.c:1455
#175 0x0000000000434649 in runshfunc (prog=0x715eb8,
wrap=0x7fd7885f3d80,
   name=0x7fd789e8fb08 "_complete") at exec.c:4483
#176 0x00000000004343be in doshfunc (shfunc=0x715e80,
doshargs=0x7fd789e8fab0, noreturnval=0)
   at exec.c:4392
#177 0x0000000000433a90 in execshfunc (shf=0x715e80,
args=0x7fd789e8fab0) at exec.c:4120
#178 0x00000000004312e2 in execcmd (state=0x7fffc1ce8050, input=0,
output=0, how=18, last1=2)
   at exec.c:3095
#179 0x000000000042c9e9 in execpline2 (state=0x7fffc1ce8050,
pcode=10563, how=18, input=0, output=0,
---Type <return> to continue, or q <return> to quit---
   last1=0) at exec.c:1579
#180 0x000000000042bb7b in execpline (state=0x7fffc1ce8050,
slcode=3074, how=18, last1=0) at exec.c:1364
#181 0x000000000042b239 in execlist (state=0x7fffc1ce8050,
dont_change_job=1, exiting=0) at exec.c:1161
#182 0x0000000000459105 in execif (state=0x7fffc1ce8050, do_exec=0) at
loop.c:500
#183 0x00000000004310db in execcmd (state=0x7fffc1ce8050, input=0,
output=0, how=2, last1=2)
   at exec.c:3047
#184 0x000000000042c9e9 in execpline2 (state=0x7fffc1ce8050,
pcode=10243, how=2, input=0, output=0,
   last1=0) at exec.c:1579
#185 0x000000000042bb7b in execpline (state=0x7fffc1ce8050,
slcode=48130, how=2, last1=0) at exec.c:1364
#186 0x000000000042b239 in execlist (state=0x7fffc1ce8050,
dont_change_job=1, exiting=0) at exec.c:1161
#187 0x0000000000458309 in execfor (state=0x7fffc1ce8050, do_exec=0)
at loop.c:159
#188 0x00000000004310db in execcmd (state=0x7fffc1ce8050, input=0,
output=0, how=2, last1=2)
   at exec.c:3047
#189 0x000000000042c9e9 in execpline2 (state=0x7fffc1ce8050,
pcode=9731, how=2, input=0, output=0,
   last1=0) at exec.c:1579
#190 0x000000000042bb7b in execpline (state=0x7fffc1ce8050,
slcode=90114, how=2, last1=0) at exec.c:1364
#191 0x000000000042b239 in execlist (state=0x7fffc1ce8050,
dont_change_job=1, exiting=0) at exec.c:1161
#192 0x0000000000458309 in execfor (state=0x7fffc1ce8050, do_exec=0)
at loop.c:159
#193 0x00000000004310db in execcmd (state=0x7fffc1ce8050, input=0,
output=0, how=2, last1=2)
   at exec.c:3047
#194 0x000000000042c9e9 in execpline2 (state=0x7fffc1ce8050,
pcode=8259, how=2, input=0, output=0,
   last1=0) at exec.c:1579
#195 0x000000000042bb7b in execpline (state=0x7fffc1ce8050,
slcode=220162, how=2, last1=0)
   at exec.c:1364
#196 0x000000000042b239 in execlist (state=0x7fffc1ce8050,
dont_change_job=1, exiting=0) at exec.c:1161
#197 0x000000000042ac74 in execode (p=0x6d8898, dont_change_job=1,
exiting=0) at exec.c:988
#198 0x0000000000433ba5 in execautofn (state=0x7fffc1ce87d0,
do_exec=0) at exec.c:4156
#199 0x00000000004310db in execcmd (state=0x7fffc1ce87d0, input=0,
output=0, how=18, last1=2)
   at exec.c:3047
#200 0x000000000042c9e9 in execpline2 (state=0x7fffc1ce87d0, pcode=3,
how=18, input=0, output=0,
   last1=0) at exec.c:1579
#201 0x000000000042bb7b in execpline (state=0x7fffc1ce87d0,
slcode=3074, how=18, last1=0) at exec.c:1364
#202 0x000000000042b239 in execlist (state=0x7fffc1ce87d0,
dont_change_job=1, exiting=0) at exec.c:1161
#203 0x000000000042ac74 in execode (p=0x73f800, dont_change_job=1,
exiting=0) at exec.c:988
#204 0x00000000004346df in runshfunc (prog=0x73f800, wrap=0x0,
name=0x7fd789e8d030 "_main_complete")
   at exec.c:4498
#205 0x00007fd7883d5273 in comp_wrapper (prog=0x73f800, w=0x0,
name=0x7fd789e8d030 "_main_complete")
   at complete.c:1455
#206 0x0000000000434649 in runshfunc (prog=0x73f800, wrap=0x7fd7885f3d80,
   name=0x7fd789e8d030 "_main_complete") at exec.c:4483
#207 0x00000000004343be in doshfunc (shfunc=0x73f7c8, doshargs=0x0,
noreturnval=0) at exec.c:4392
#208 0x00007fd7883d7c4c in callcompfunc (s=0x7fd789e91700 "mt-",
fn=0x73e958 "_main_complete")
   at compcore.c:817
#209 0x00007fd7883d8529 in makecomplist (s=0x7fd789e91700 "mt-",
incmd=0, lst=0) at compcore.c:968
#210 0x00007fd7883d61bc in do_completion (dummy=0x7fd7888443c8,
dat=0x7fffc1ce8cd0) at compcore.c:349
#211 0x00000000004630d4 in runhookdef (h=0x7fd7888443c8,
d=0x7fffc1ce8cd0) at module.c:996
#212 0x00007fd78862dc3c in docompletion (s=0x73ee30 "mt-", lst=0,
incmd=0) at zle_tricky.c:2179
#213 0x00007fd7886294bb in docomplete (lst=0) at zle_tricky.c:859
#214 0x00007fd788627c18 in expandorcomplete (args=0x7fd788844908) at
zle_tricky.c:315
#215 0x00007fd7886277fd in completecall (args=0x7fd788844908) at
zle_tricky.c:208
#216 0x00007fd788616066 in execzlefunc (func=0x7fd788841358,
args=0x7fd788844908, set_bindk=0)
   at zle_main.c:1312
#217 0x00007fd78861548e in zlecore () at zle_main.c:1050
#218 0x00007fd788615bea in zleread (lp=0x6d08b0, rp=0x0, flags=3,
context=0) at zle_main.c:1213
#219 0x00007fd7886185f7 in zle_main_entry (cmd=1, ap=0x7fffc1ce9170)
at zle_main.c:1866
#220 0x000000000044a8f3 in zleentry (cmd=1) at init.c:1305
#221 0x000000000044b32b in inputline () at input.c:278
#222 0x000000000044b1a2 in ingetc () at input.c:214
#223 0x000000000044006c in ihgetc () at hist.c:263
#224 0x0000000000454aa9 in gettok () at lex.c:677
#225 0x0000000000454272 in zshlex () at lex.c:364
#226 0x0000000000476bb3 in parse_event () at parse.c:451
#227 0x0000000000447bb4 in loop (toplevel=1, justonce=0) at init.c:132
#228 0x000000000044ad9f in zsh_main (argc=2, argv=0x7fffc1ce9508) at init.c:1455
#229 0x000000000040fc04 in main (argc=2, argv=0x7fffc1ce9508) at ./main.c:93
(gdb)


Regards,
 Vin


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: segfault in opensuse-11.2 latest CVS sources
  2009-12-11  1:39 ` segfault in opensuse-11.2 latest CVS sources Vin Shelton
@ 2009-12-11  6:33   ` Phil Pennock
  0 siblings, 0 replies; 2+ messages in thread
From: Phil Pennock @ 2009-12-11  6:33 UTC (permalink / raw)
  To: Vin Shelton; +Cc: zsh-workers

On 2009-12-10 at 20:39 -0500, Vin Shelton wrote:
> It looks like it's crashing in setpwent().  The code in hashtable.c
> seems pretty straightforward.  Have I misconfigured my system somehow?

Yes.  Or your vendor provided a buggy system.

Look at /etc/nsswitch.conf.

Are you using NIS or something, so that you need libnss_compat?  If not,
I'd change s/compat/files/g in the values in /etc/nsswitch.conf and
remove the _compat entries.  One less library probed in every binary
doing any kind of name resolution, one less thing to go wrong.

If you're getting an abort() call inside free() then free() has been
passed a bad memory location, so if this is happening inside setpwent()
then something's very wrong down there.  Perhaps you've removed
nsswitch.conf or you've removed some of its contents.  Perhaps there's a
major platform bug.

But this is almost certainly not a zsh issue.

> Anyway, here's the backtrace:
> 
> #0  0x00007fd7890b04e5 in raise () from /lib64/libc.so.6
> (gdb) bt
> #0  0x00007fd7890b04e5 in raise () from /lib64/libc.so.6
> #1  0x00007fd7890b19b0 in abort () from /lib64/libc.so.6
> #2  0x00007fd7890eb66d in ?? () from /lib64/libc.so.6
> #3  0x00007fd7890f0c76 in ?? () from /lib64/libc.so.6
> #4  0x00007fd7890f596c in free () from /lib64/libc.so.6
> #5  0x00007fd788c6dc2a in ?? () from /lib64/libnsl.so.1
> #6  0x00007fd788c6dd5a in _nsl_default_nss () from /lib64/libnsl.so.1
> #7  0x00007fd788a58b61 in _nss_nis_setpwent () from
> /lib64/libnss_nis.so.2
> #8  0x00007fd788e78514 in ?? () from /lib64/libnss_compat.so.2
> #9  0x00007fd788e78686 in _nss_compat_setpwent () from
> /lib64/libnss_compat.so.2
> #10 0x00007fd789160850 in ?? () from /lib64/libc.so.6
> #11 0x00007fd78911d3fc in setpwent () from /lib64/libc.so.6

Regards,
-Phil


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-12-11  6:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20a807210912101737r144e6da0r57d37b489cc00eb0@mail.gmail.com>
2009-12-11  1:39 ` segfault in opensuse-11.2 latest CVS sources Vin Shelton
2009-12-11  6:33   ` Phil Pennock

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).