Package: posh
Version: 0.4.7
Severity: important

I ran into interesting error. See strace for more. The call sequence
was

   bash:~/vc# <where PS1 is colored prompt>
   # <switch to posh; run under strace>
   # PS1="$PWD# "
   /root/vc# cd tmp

Never mind, that the PS1 setting is not dynamically tracked under posh.
There is no "~/vc/tmp" directory to "cd" to, thus segmentation
fault

- -

execve("/bin/posh", ["/bin/posh"], [/* 59 vars */]) = 0
uname({sys="Linux", node="cante", ...}) = 0
brk(0)                                  = 0x8063000
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xa7f49000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xa7f48000
open("tls/i686/cmov/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or 
directory)
open("tls/i686/libc.so.6", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("tls/cmov/libc.so.6", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("tls/libc.so.6", O_RDONLY)         = -1 ENOENT (No such file or directory)
open("i686/cmov/libc.so.6", O_RDONLY)   = -1 ENOENT (No such file or directory)
open("i686/libc.so.6", O_RDONLY)        = -1 ENOENT (No such file or directory)
open("cmov/libc.so.6", O_RDONLY)        = -1 ENOENT (No such file or directory)
open("libc.so.6", O_RDONLY)             = -1 ENOENT (No such file or directory)
open("/usr/lib/python2.4/config/tls/i686/cmov/libc.so.6", O_RDONLY) = -1 ENOENT 
(No such file or directory)
stat64("/usr/lib/python2.4/config/tls/i686/cmov", 0xafd5b7a4) = -1 ENOENT (No 
such file or directory)
open("/usr/lib/python2.4/config/tls/i686/libc.so.6", O_RDONLY) = -1 ENOENT (No 
such file or directory)
stat64("/usr/lib/python2.4/config/tls/i686", 0xafd5b7a4) = -1 ENOENT (No such 
file or directory)
open("/usr/lib/python2.4/config/tls/cmov/libc.so.6", O_RDONLY) = -1 ENOENT (No 
such file or directory)
stat64("/usr/lib/python2.4/config/tls/cmov", 0xafd5b7a4) = -1 ENOENT (No such 
file or directory)
open("/usr/lib/python2.4/config/tls/libc.so.6", O_RDONLY) = -1 ENOENT (No such 
file or directory)
stat64("/usr/lib/python2.4/config/tls", 0xafd5b7a4) = -1 ENOENT (No such file 
or directory)
open("/usr/lib/python2.4/config/i686/cmov/libc.so.6", O_RDONLY) = -1 ENOENT (No 
such file or directory)
stat64("/usr/lib/python2.4/config/i686/cmov", 0xafd5b7a4) = -1 ENOENT (No such 
file or directory)
open("/usr/lib/python2.4/config/i686/libc.so.6", O_RDONLY) = -1 ENOENT (No such 
file or directory)
stat64("/usr/lib/python2.4/config/i686", 0xafd5b7a4) = -1 ENOENT (No such file 
or directory)
open("/usr/lib/python2.4/config/cmov/libc.so.6", O_RDONLY) = -1 ENOENT (No such 
file or directory)
stat64("/usr/lib/python2.4/config/cmov", 0xafd5b7a4) = -1 ENOENT (No such file 
or directory)
open("/usr/lib/python2.4/config/libc.so.6", O_RDONLY) = -1 ENOENT (No such file 
or directory)
stat64("/usr/lib/python2.4/config", {st_mode=S_IFDIR|0755, st_size=408, ...}) = 0
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=80193, ...}) = 0
mmap2(NULL, 80193, PROT_READ, MAP_PRIVATE, 3, 0) = 0xa7f34000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/cmov/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260O\1"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1266832, ...}) = 0
mmap2(NULL, 1276892, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0xa7dfc000
mmap2(0xa7f2a000, 32768, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x12d) = 0xa7f2a000
mmap2(0xa7f32000, 7132, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xa7f32000
close(3)                                = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xa7dfb000
mprotect(0xa7f2a000, 20480, PROT_READ)  = 0
set_thread_area({entry_number:-1 -> 6, base_addr:0xa7dfb6c0, limit:1048575, 
seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, 
useable:1}) = 0
munmap(0xa7f34000, 80193)               = 0
brk(0)                                  = 0x8063000
brk(0x8084000)                          = 0x8084000
rt_sigaction(SIGINT, {SIG_IGN}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {0x80582b0, [], SA_INTERRUPT}, NULL, 8) = 0
rt_sigaction(SIGQUIT, {SIG_IGN}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGQUIT, {0x80582b0, [], SA_INTERRUPT}, NULL, 8) = 0
rt_sigaction(SIGTERM, {SIG_IGN}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGTERM, {0x80582b0, [], SA_INTERRUPT}, NULL, 8) = 0
rt_sigaction(SIGHUP, {SIG_IGN}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGHUP, {0x80582b0, [], SA_INTERRUPT}, NULL, 8) = 0
access("/tmp", W_OK|X_OK)               = 0
stat64("/tmp", {st_mode=S_IFDIR|0777, st_size=232, ...}) = 0
getpid()                                = 21749
stat64("/root/vc", {st_mode=S_IFDIR|0755, st_size=224, ...}) = 0
stat64(".", {st_mode=S_IFDIR|0755, st_size=224, ...}) = 0
lstat64("/root", {st_mode=S_IFDIR|0755, st_size=3504, ...}) = 0
lstat64("/root/vc", {st_mode=S_IFDIR|0755, st_size=224, ...}) = 0
getppid()                               = 21748
geteuid32()                             = 0
getuid32()                              = 0
getgid32()                              = 0
getegid32()                             = 0
fstat64(0, {st_mode=S_IFCHR|0600, st_rdev=makedev(4, 1), ...}) = 0
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(2, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
fstat64(0, {st_mode=S_IFCHR|0600, st_rdev=makedev(4, 1), ...}) = 0
fcntl64(0, F_GETFL)                     = 0x8002 (flags O_RDWR|O_LARGEFILE)
rt_sigaction(SIGCHLD, {SIG_IGN}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGCHLD, {SIG_DFL}, NULL, 8) = 0
open("/dev/tty", O_RDWR)                = 3
fcntl64(3, F_DUPFD, 10)                 = 10
fcntl64(10, F_SETFD, FD_CLOEXEC)        = 0
ioctl(10, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
close(3)                                = 0
write(2, "\\[\\033[00;36m\\]\\u\\[\\033[00;33m\\]"..., 52) = 52
read(0, "P", 1)                         = 1
read(0, "S", 1)                         = 1
read(0, "1", 1)                         = 1
read(0, "=", 1)                         = 1
read(0, "\"", 1)                        = 1
read(0, "$", 1)                         = 1
read(0, "P", 1)                         = 1
read(0, "W", 1)                         = 1
read(0, "D", 1)                         = 1
read(0, " ", 1)                         = 1
read(0, "\"", 1)                        = 1
read(0, "\n", 1)                        = 1
write(2, "/root/vc ", 9)                = 9
read(0, "c", 1)                         = 1
read(0, "d", 1)                         = 1
read(0, " ", 1)                         = 1
read(0, "t", 1)                         = 1
read(0, "m", 1)                         = 1
read(0, "p", 1)                         = 1
read(0, "\n", 1)                        = 1
lstat64("/root", {st_mode=S_IFDIR|0755, st_size=3504, ...}) = 0
lstat64("/root/vc", {st_mode=S_IFDIR|0755, st_size=224, ...}) = 0
lstat64("/root/vc/tmp", 0xafd5bbdc)     = -1 ENOENT (No such file or directory)
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++



-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.16-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ISO-8859-1) (ignored: LC_ALL set to en_US)

Versions of packages posh depends on:
ii  debconf [debconf-2.0]         1.5.0      Debian configuration management sy
ii  libc6                         2.3.6-7    GNU C Library: Shared libraries

posh recommends no packages.

-- debconf information excluded


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to