Discussion:
[ast-developers] Crash with /dev/file/flags... / was: Re: AT&T Software Technology ast alpha software download update
Roland Mainz
2013-09-27 01:16:50 UTC
Permalink
the AT&T Software Technology ast alpha 2013-09-26 source release
has been posted to the download site
http://www.research.att.com/sw/download/alpha/
the package names and md5 checksums are
INIT 95da0c907a6ed25a601c373e16a1862e
ast-base 0aed6c2cd6bccf0ec23120179a1dfc38
ast-open 529b4c33049de4100bc6f5ecaafa7722
ast-ksh d0762a194fe508641fa0706294236d3f
the md5 sums should match the ones listed on the download page
/dev/file/flags at xattr/$PWD doesn't work on Solaris 11/B145/AMD64/64bit:
-- snip --
$ ~/bin/ksh -c 'redirect {n}</dev/file/flags at xattr/$PWD '
Memory fault(coredump)
$ dbx ~/bin/ksh core
For information about new features see `help changes'
To remove this message, put `dbxenv suppress_startup_message 7.6' in your .dbxrc
Reading ksh
core file header read successfully
Reading ld.so.1
Reading libm.so.2
Reading libdl.so.1
Reading libsocket.so.1
Reading libnsl.so.1
Reading libmd.so.1
Reading libsecdb.so.1
Reading libc.so.1
Reading en_US.UTF-8.so.3
Reading methods_unicode.so.3
program terminated by signal SEGV (no mapping at the fault address)
0xfffffd7fff1bd092: strcpy+0x0df2: movb %cl,(%rdi)
Current function is pathdev
818 strcpy(canon, s);
(dbx) where
[1] strcpy(0x0, 0xfffffd7fff06eac1, 0x7f, 0xfffffd7fff1bd000, 0x52,
0xfffffd7fffdfeef4), at 0xfffffd7fff1bd092
=>[2] pathdev(dfd = -3041965, path = 0xfffffd7fff06ea70
"/dev/file/flags at xattr//home/test001/ksh93/ast_ksh_20130926/build_i386_64bit_debug",
canon = (nil), size = 82U, flags = 0, dev = 0xfffffd7fffdfeef4), line
818 in "pathcanon.c"
[3] pathopen(dfd = -3041965, path = 0xfffffd7fff06ea70
"/dev/file/flags at xattr//home/test001/ksh93/ast_ksh_20130926/build_i386_64bit_debug",
canon = (nil), size = 0, flags = 0, oflags = -2147483648, mode = 0),
line 166 in "pathopen.c"
[4] ast_openat(cwd = -3041965, path = 0xfffffd7fff06ea70
"/dev/file/flags at xattr//home/test001/ksh93/ast_ksh_20130926/build_i386_64bit_debug",
flags = 0, ... = 0xfffffd7fff0342e0, ...), line 424 in "intercept.c"
[5] ast_open(path = 0xfffffd7fff06ea70
"/dev/file/flags at xattr//home/test001/ksh93/ast_ksh_20130926/build_i386_64bit_debug",
flags = 536870912, ... = (nil), ...), line 757 in "intercept.c"
[6] sh_open(path = 0xfffffd7fff06ea70
"/dev/file/flags at xattr//home/test001/ksh93/ast_ksh_20130926/build_i386_64bit_debug",
flags = 536870912, ... = (nil), ...), line 548 in "io.c"
[7] sh_chkopen(name = 0xfffffd7fff06ea70
"/dev/file/flags at xattr//home/test001/ksh93/ast_ksh_20130926/build_i386_64bit_debug"),
line 590 in "io.c"
[8] sh_redirect(shp = 0x6cee88, iop = 0xfffffd7fff06e930, flag = 2),
line 1306 in "io.c"
[9] sh_exec(shp = 0x6cee88, t = 0xfffffd7fff06e8b0, flags = 5), line
1327 in "xec.c"
[10] exfile(shp = 0x6cee88, iop = 0xfffffd7fff0324d0, fno = -1),
line 610 in "main.c"
[11] sh_main(ac = 3, av = 0xfffffd7fffdffa68, userinit = (nil)),
line 382 in "main.c"
[12] main(argc = 3, argv = 0xfffffd7fffdffa68), line 45 in "pmain.c"
-- snip --

----

Bye,
Roland
--
__ . . __
(o.\ \/ /.o) roland.mainz at nrubsig.org
\__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer
/O /==\ O\ TEL +49 641 3992797
(;O/ \/ \O;)
Roland Mainz
2013-09-27 01:18:36 UTC
Permalink
Post by Roland Mainz
the AT&T Software Technology ast alpha 2013-09-26 source release
has been posted to the download site
http://www.research.att.com/sw/download/alpha/
the package names and md5 checksums are
INIT 95da0c907a6ed25a601c373e16a1862e
ast-base 0aed6c2cd6bccf0ec23120179a1dfc38
ast-open 529b4c33049de4100bc6f5ecaafa7722
ast-ksh d0762a194fe508641fa0706294236d3f
the md5 sums should match the ones listed on the download page
-- snip --
$ ~/bin/ksh -c 'redirect {n}</dev/file/flags at xattr/$PWD '
Memory fault(coredump)
$ dbx ~/bin/ksh core
For information about new features see `help changes'
To remove this message, put `dbxenv suppress_startup_message 7.6' in your .dbxrc
Reading ksh
core file header read successfully
Reading ld.so.1
Reading libm.so.2
Reading libdl.so.1
Reading libsocket.so.1
Reading libnsl.so.1
Reading libmd.so.1
Reading libsecdb.so.1
Reading libc.so.1
Reading en_US.UTF-8.so.3
Reading methods_unicode.so.3
program terminated by signal SEGV (no mapping at the fault address)
0xfffffd7fff1bd092: strcpy+0x0df2: movb %cl,(%rdi)
Current function is pathdev
818 strcpy(canon, s);
(dbx) where
[1] strcpy(0x0, 0xfffffd7fff06eac1, 0x7f, 0xfffffd7fff1bd000, 0x52,
0xfffffd7fffdfeef4), at 0xfffffd7fff1bd092
=>[2] pathdev(dfd = -3041965, path = 0xfffffd7fff06ea70
"/dev/file/flags at xattr//home/test001/ksh93/ast_ksh_20130926/build_i386_64bit_debug",
canon = (nil), size = 82U, flags = 0, dev = 0xfffffd7fffdfeef4), line
818 in "pathcanon.c"
[3] pathopen(dfd = -3041965, path = 0xfffffd7fff06ea70
"/dev/file/flags at xattr//home/test001/ksh93/ast_ksh_20130926/build_i386_64bit_debug",
canon = (nil), size = 0, flags = 0, oflags = -2147483648, mode = 0),
line 166 in "pathopen.c"
[4] ast_openat(cwd = -3041965, path = 0xfffffd7fff06ea70
"/dev/file/flags at xattr//home/test001/ksh93/ast_ksh_20130926/build_i386_64bit_debug",
flags = 0, ... = 0xfffffd7fff0342e0, ...), line 424 in "intercept.c"
[5] ast_open(path = 0xfffffd7fff06ea70
"/dev/file/flags at xattr//home/test001/ksh93/ast_ksh_20130926/build_i386_64bit_debug",
flags = 536870912, ... = (nil), ...), line 757 in "intercept.c"
[6] sh_open(path = 0xfffffd7fff06ea70
"/dev/file/flags at xattr//home/test001/ksh93/ast_ksh_20130926/build_i386_64bit_debug",
flags = 536870912, ... = (nil), ...), line 548 in "io.c"
[7] sh_chkopen(name = 0xfffffd7fff06ea70
"/dev/file/flags at xattr//home/test001/ksh93/ast_ksh_20130926/build_i386_64bit_debug"),
line 590 in "io.c"
[8] sh_redirect(shp = 0x6cee88, iop = 0xfffffd7fff06e930, flag = 2),
line 1306 in "io.c"
[9] sh_exec(shp = 0x6cee88, t = 0xfffffd7fff06e8b0, flags = 5), line
1327 in "xec.c"
[10] exfile(shp = 0x6cee88, iop = 0xfffffd7fff0324d0, fno = -1),
line 610 in "main.c"
[11] sh_main(ac = 3, av = 0xfffffd7fffdffa68, userinit = (nil)),
line 382 in "main.c"
[12] main(argc = 3, argv = 0xfffffd7fffdffa68), line 45 in "pmain.c"
-- snip --
The same happens with $ ksh -c 'redirect
{n}</dev/file/flags at nolinks/$PWD ' # ...

----

Bye,
Roland
--
__ . . __
(o.\ \/ /.o) roland.mainz at nrubsig.org
\__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer
/O /==\ O\ TEL +49 641 3992797
(;O/ \/ \O;)
Glenn Fowler
2013-09-27 01:32:08 UTC
Permalink
Post by Roland Mainz
the AT&T Software Technology ast alpha 2013-09-26 source release
has been posted to the download site
http://www.research.att.com/sw/download/alpha/
the package names and md5 checksums are
INIT 95da0c907a6ed25a601c373e16a1862e
ast-base 0aed6c2cd6bccf0ec23120179a1dfc38
ast-open 529b4c33049de4100bc6f5ecaafa7722
ast-ksh d0762a194fe508641fa0706294236d3f
the md5 sums should match the ones listed on the download page
-- snip --
$ ~/bin/ksh -c 'redirect {n}</dev/file/flags at xattr/$PWD '
its spelled wrong -- but such a minor infraction doesn't warrant a core dump

redirect {n}</dev/file/flags at ***@.
redirect {n}</dev/file/flags at xattr@$PWD

core dump will be eliminated in the next alpha

Loading...