On Fri, May 25, 2012 at 12:44 AM, Roland Mainz <[email protected]> wrote: > Hi! > > ---- > > While digging through test logs for a Solaris 11/x86/32bit debug build > I found this core dump caused by ast-ksh.2012-05-18's "shcomp" > crashing compiling "namespace.sh" (locale was "zh_CN.GB18030" but I > see a similar core dump for the "C" locale): > -- snip -- > $ dbx - /var/core/core.uid1000.gid100.pid11407.shcomp > Corefile specified executable: > "/home/test001/ksh93/ast_ksh_20120518/build_i386_32bit_debug/arch/sol11.i386/bin/shcomp" > For information about new features see `help changes' > To remove this message, put `dbxenv suppress_startup_message 7.6' in your > .dbxrc > Reading shcomp > core file header read successfully > Reading ld.so.1 > Reading libsocket.so.1 > Reading libnsl.so.1 > Reading libm.so.2 > Reading libmd.so.1 > Reading libsecdb.so.1 > Reading libc.so.1 > Reading zh_CN.GB18030.so.3 > Reading methods_zh_CN.GB18030.so.3 > program terminated by signal SEGV (no mapping at the fault address) > Current function is p_tree > 71 if(sfputl(outfile,t->tre.tretyp)<0) > (dbx) where > =>[1] p_tree(t = 0x7801), line 71 in "tdump.c" > [2] p_tree(t = 0xfecba8a4), line 139 in "tdump.c" > [3] sh_tdump(out = 0x824074c, t = 0xfecba8a4), line 48 in "tdump.c" > [4] main(argc = 1, argv = 0x80478a4), line 142 in "shcomp.c" > (dbx) print t > t = 0x7801 > (dbx) print *t > dbx: cannot access address 0x7801 > (dbx) print sh > sh = { > options = { > v = (0, 33792U, 0, 0) > } > var_tree = 0xfecbc2f8 > fun_tree = 0xfecbde10 > alias_tree = 0xfecbce00 > bltin_tree = 0xfecbdd58 > topscope = 0x823e1f4 > inlineno = 96 > exitval = 0 > trapnote = '\0' > shcomp = '\001' > subshell = 0 > gd = 0xfed81dd0 > st = { > prevst = (nil) > dolc = 0 > dolv = 0x80478a0 > cmdname = (nil) > filename = (nil) > funname = (nil) > lineno = 0 > save_tree = (nil) > self = 0x823e1f4 > var_local = (nil) > staklist = 0xfec9be48 > states = 0 > breakcnt = 0 > execbrk = 0 > loopcnt = 0 > firstline = 0 > optindex = 0 > optnum = 0 > tmout = 0 > optchar = 0 > opterror = 0 > ioset = 0 > trapmax = 0 > trap = ((nil), (nil), (nil), (nil), (nil)) > otrap = (nil) > trapcom = 0xfecba4b0 > otrapcom = (nil) > timetrap = (nil) > real_fun = (nil) > } > stk = 0x823f46c > heredocs = 0xfec98d50 > funlog = (nil) > fdptrs = 0xfed82960 > savexit = 0 > lastarg = 0xfecbfb28 > "/home/test001/ksh93/ast_ksh_20120518/build_i386_32bit_debug/arch/sol11.i386/bin/shcomp" > lastpath = (nil) > path_err = 0 > track_tree = 0xfecbcec8 > var_base = 0xfecbc2f8 > openmatch = 0xfecbc2f8 > namespace = (nil) > last_table = (nil) > prev_table = (nil) > outpool = 0xfed82a38 > timeout = 0 > curenv = 0 > jobenv = 0 > infd = 0 > nextprompt = 0 > poolfiles = 0 > posix_fun = (nil) > outbuff = 0xfec90038 "" > errbuff = 0xfecb8488 "" > prompt = (nil) > shname = 0xfecbfcc8 "./src/cmd/ksh93/tests/namespace.sh" > comdiv = (nil) > prefix = (nil) > jmplist = 0x823e274 > fifo = (nil) > oldexit = 0 > bckpid = 0 > cpid = 0 > spid = 0 > pipepid = 0 > outpipepid = 0 > topfd = 0 > savesig = 0 > sigflag = 0xfecba600 "" > intrap = '\0' > login_sh = '\0' > lastbase = '\0' > forked = '\0' > binscript = '\0' > deftype = '\0' > funload = '\0' > used_pos = '\0' > universe = '\0' > winch = '\0' > inarith = '\0' > indebug = '\0' > ignsig = '\0' > lastsig = '\0' > pathinit = '\0' > comsub = '\0' > subshare = '\0' > toomany = '\0' > instance = '\0' > decomma = '\0' > redir0 = '\0' > readscript = (nil) > subdup = 0 > inpipe = (nil) > outpipe = (nil) > cpipe = (-1, 0, 0) > coutpipe = -1 > inuse_bits = 0 > envlist = (nil) > arglist = (nil) > fn_depth = 0 > fn_reset = 0 > dot_depth = 0 > hist_depth = 0 > xargmin = 0 > xargmax = 0 > xargexit = 0 > nenv = 0 > mask = 18U > env = (nil) > init_context = 0xfecbb8a8 > mac_context = 0xfed82560 > lex_context = 0xfed82610 > arg_context = 0xfed825b8 > job_context = (nil) > pathlist = 0xfecbfd68 > defpathlist = (nil) > cdpathlist = (nil) > argaddr = (nil) > optlist = (nil) > global = { > prevst = (nil) > dolc = 0 > dolv = (nil) > cmdname = (nil) > filename = (nil) > funname = (nil) > lineno = 0 > save_tree = (nil) > self = (nil) > var_local = (nil) > staklist = (nil) > states = 0 > breakcnt = 0 > execbrk = 0 > loopcnt = 0 > firstline = 0 > optindex = 0 > optnum = 0 > tmout = 0 > optchar = 0 > opterror = 0 > ioset = 0 > trapmax = 0 > trap = ((nil), (nil), (nil), (nil), (nil)) > otrap = (nil) > trapcom = (nil) > otrapcom = (nil) > timetrap = (nil) > real_fun = (nil) > } > checkbase = { > buff = (0, 0, 0, 0, 0, 0, 0, 0, 0, 0) > prev = (nil) > topfd = 0 > mode = 12 > olist = (nil) > err = { > context = (nil) > errors = 0 > flags = 0 > line = 0 > warnings = 0 > file = (nil) > id = 0xfecbfd18 "./src/cmd/ksh93/tests/namespace.sh" > } > } > userinit = (nil) > bltinfun = (nil) > bltindata = { > shp = 0x823e018 > ptr = (nil) > version = 20071012 > shrun = 0x80cb240 = &sh_run() > shtrap = 0x8071510 = &sh_trap() > shexit = 0x8071920 = &sh_exit() > shbltin = 0x80f62c0 = &sh_addbuiltin() > notify = '\0' > sigset = '\0' > nosfio = '\0' > bnode = (nil) > vnode = (nil) > data = (nil) > flags = 0 > shgetenv = 0x80a2da0 = &sh_getenv() > shsetenv = 0x80a2f20 = &sh_setenviron() > invariant = 0 > } > cur_line = (nil) > offsets = (0, 0, 0, 0, 0, 0, 0, 0, 0, 0) > sftable = 0xfed828e0 > fdstatus = 0xfed829e0 "1\n" > pwd = (nil) > jmpbuffer = 0x823e274 > mktype = (nil) > strbuf = 0xfed826d0 > strbuf2 = (nil) > first_root = (nil) > prefix_root = (nil) > last_root = 0xfecbc2f8 > prev_root = (nil) > fpathdict = (nil) > typedict = 0xfecbdec8 > inpool = (nil) > transdict = (nil) > ifstable = "" > test = 0 > offoptions = { > v = (0, 0, 0, 0) > } > glob_options = { > v = (0, 0, 0, 0) > } > typeinit = (nil) > nvfun = { > disc = (nil) > nofree = '\001' > subshell = '\0' > dsize = 0 > next = (nil) > last = 0x823e018 "" > type = (nil) > } > mathnodes = 0xfecbe048 "xàËþ^[^R" > coshell = (nil) > bltin_dir = (nil) > regress = (nil) > } > -- snip -- > > Stack trace sounds familiar... is this a known problem ?
Grumpf... this is the same "shcomp" crash I've reported via private email to dgk a few seconds ago for ast-ksh.2012-05-31. It only seems to affect 32bit debug builds on Solaris 11 so far... ;-( ---- Bye, Roland -- __ . . __ (o.\ \/ /.o) [email protected] \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL +49 641 3992797 (;O/ \/ \O;) _______________________________________________ ast-developers mailing list [email protected] https://mailman.research.att.com/mailman/listinfo/ast-developers
