bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: nested bash defined functions leads to segmentation fault


From: Bradley Dean
Subject: Re: nested bash defined functions leads to segmentation fault
Date: Mon, 25 Aug 2003 17:01:11 +1000
User-agent: Mutt/1.2.5.1i

On Fri, Aug 22, 2003 at 05:29:57PM -0400, cpr@cwru.edu wrote:
> > Description:
> >         Segementation fault caused by calling more than two defined
> > functions inside
> >         of a defined function.
> >  
> >         Example:
> >         function a { echo a }
> 
> This is a syntax error unless the `}' is preceded by a semicolon.

Yes indeed - sorry, type in the email rather then error in the script I was
running. :)

> >         function b { a; a; }
> >         Works fine, but:
> > 
> >         function b { a; a; a; }
> >         Will segfault
> 
> I can't reproduce it, at least not with any version of bash-2.05.  (I
> don't have any bash-2.04 binaries handy.)  A stack traceback from the
> core dump would be helpful.

Hmm, don't control the bash binary on this server so I can't recompile for
dbx, however is a trace:

Tracing process /proc/8238
sigprocmask (1, 0x0, 0x11ffffc78) = 0
open ("/dev/tty", O_RDWR|O_NONBLOCK, 03777776170) = 5
close (5) = 0
getuid () = 22127
getgid () = 107
getuid () = 22127
getgid () = 107
gettimeofday (0x11ffffbc8, 0x0) = 0
ioctl (0, 0x40067408<Out,TIOCGETP,6>, 11ffffbd8) = 0
ioctl (1, 0x40067408<Out,TIOCGETP,6>, 11ffffbd8) = 0
getdtablesize () = 4096
getdtablesize () = 4096
sigaction (SIGCHLD, {{0x0,0x0,0}}, {{0x1,0x0,}}) = 0
sigaction (SIGCHLD, {{0x0,0x0,0}}, {{0x0,0x0,0}}) = 0
sigaction (SIGINT, {{0x0,0x0,0}}, {{0x0,0x0,0}}) = 0
sigaction (SIGINT, {{0x0,0x0,0}}, {{0x0,0x0,0}}) = 0
sigaction (SIGQUIT, {{0x0,0x0,0}}, {{0x0,0x0,0}}) = 0
sigaction (SIGQUIT, {{0x0,0x0,0}}, {{0x0,0x0,0}}) = 0
sigaction (SIGTERM, {{0x0,0x0,0}}, {{0x0,0x0,0}}) = 0
sigaction (SIGTERM, {{0x0,0x0,0}}, {{0x0,0x0,0}}) = 0
sigaction (SIGHUP, {{0x120057b4c,0x63807efb,0}}, {{0x0,0x0,0}}) = 0
sigaction (SIGINT, {{0x120057b4c,0x63807efb,0}}, {{0x0,0x0,0}}) = 0
sigaction (SIGILL, {{0x120057b4c,0x63807efb,0}}, {{0x0,0x0,0}}) = 0
sigaction (SIGTRAP, {{0x120057b4c,0x63807efb,0}}, {{0x0,0x0,0}}) = 0
sigaction (SIGABRT, {{0x120057b4c,0x63807efb,0}}, {{0x0,0x0,0}}) = 0
sigaction (SIGEMT, {{0x120057b4c,0x63807efb,0}}, {{0x0,0x0,0}}) = 0
sigaction (SIGFPE, {{0x120057b4c,0x63807efb,0}}, {{0x0,0x0,0}}) = 0
sigaction (SIGBUS, {{0x120057b4c,0x63807efb,0}}, {{0x0,0x0,0}}) = 0
sigaction (SIGSEGV, {{0x120057b4c,0x63807efb,0}}, {{0x0,0x0,0}}) = 0
sigaction (SIGSYS, {{0x120057b4c,0x63807efb,0}}, {{0x0,0x0,0}}) = 0
sigaction (SIGPIPE, {{0x120057b4c,0x63807efb,0}}, {{0x0,0x0,0}}) = 0
sigaction (SIGALRM, {{0x120057b4c,0x63807efb,0}}, {{0x0,0x0,0}}) = 0
sigaction (SIGTERM, {{0x120057b4c,0x63807efb,0}}, {{0x0,0x0,0}}) = 0
sigaction (SIGXCPU, {{0x120057b4c,0x63807efb,0}}, {{0x0,0x0,0}}) = 0
sigaction (SIGXFSZ, {{0x120057b4c,0x63807efb,0}}, {{0x0,0x0,0}}) = 0
sigaction (SIGVTALRM, {{0x120057b4c,0x63807efb,0}}, {{0x0,0x0,0}}) = 0
sigaction (SIGABRT, {{0x120057b4c,0x63807efb,0}}, {{0x0,0x0,0}}) = 0
sigaction (SIGUSR1, {{0x120057b4c,0x63807efb,0}}, {{0x120057b4c,0x63807efb,0}}) 
= 0
sigaction (SIGUSR2, {{0x120057b4c,0x63807efb,0}}, {{0x0,0x0,0}}) = 0
sigaction (SIGQUIT, {{0x1,0x0,0}}, {{0x12005776c,0x0,0}}) = 0
sigaction (SIGINT, {{0x120057c60,0x0,0}}, {{0x0,0x0,0}}) = 0
sigaction (SIGTERM, {{0x1,0x0,0}}, {{0x120057b4c,0x0,0}}) = 0
sigaction (SIGINT, {{0x120057c60,0x0,0}}, {{0x120057b4c,0x0,0}}) = 0
sigaction (SIGTSTP, {{0x1,0x0,0}}, {{0x120057c60,0x0,0}}) = 0
sigaction (SIGTTOU, {{0x1,0x0,0}}, {{0x0,0x0,0}}) = 0
sigaction (SIGTTIN, {{0x1,0x0,0}}, {{0x0,0x0,0}}) = 0
sigaction (SIGWINCH, {{0x120044de8,0x0,0}}, {{0x120044f04,0x0,0}}) = 0
gethostname ("\032", 255) = 0
stat ("/etc/sia/siainitgood", 0x11ffff9e8) = 0 [ , <8.20480.15237 -rwx------ 1 
root system 0 1056153730,1056153730,1056153730> ]
stat ("/etc/sia/matrix.conf", 0x3ffc0098fd8) = 0 [ , <8.20480.15267 -rw-r--r-- 
1 root bin 2182 1061795158,1056153730,1056153730> ]
open ("/etc/sia/matrix.conf", O_RDONLY, 0666) = 5
fstat (5, 0x11ffff4c0) = 0 [ , <8.20480.15267 -rw-r--r-- 1 root bin 2182 
1061795158,1056153730,1056153730> ]
ioctl (5, 0x40067408<Out,TIOCGETP,6>, 11ffff498) = -1 (Not a typewriter)
read (5, 0x40031008, 8192) = 2182 [, "# \n# 
***********************************"..., ]
read (5, 0x40031008, 8192) = 0 [, "", ]
close (5) = 0
obreak (0x140044340) = 0
open ("/etc/passwd.pag", O_RDONLY, 00) = 5
open ("/etc/passwd.dir", O_RDONLY, 00) = 6
fstat (5, 0x11ffff908) = 0 [ , <8.20480.2664 -rw-r--r-- 1 root system 63488 
1061795158,1060911333,1060911333> ]
read (5, 0x1ffff8f0, 4) = 4 [, 0x11ffff8f0, ]
lseek (5, 0, SEEK_SET) = 0
fstat (6, 0x11ffff908) = 0 [ , <8.20480.2672 -rw-r--r-- 1 root system 4096 
1061795158,1059320069,1059320069> ]
flock ( 6,  ‹@share ) = 0
lseek (6, 0, SEEK_SET) = 0
read (6, 0x40036450, 4096) = 4096 [, 0x140036450, ]
lseek (5, 32768, SEEK_SET) = 32768
read (5, 0x40036048, 1024) = 1024 [, 0x140036048, ]
flock ( 6,  ‹@unlock ) = 0
lseek (5, 0, SEEK_CUR) = 33792
lseek (6, 0, SEEK_CUR) = 4096
close (6) = 0
close (5) = 0
stat ("/home/usr/asis/bjdean", 0x11ffffa28) = 0 [ , <8.19459.38613 drwxr-xr-x 
11 bjdean asis 1024 1061795141,1061795066,1061795066> ]
stat (".", 0x11ffff9d8) = 0 [ , <8.19459.38613 drwxr-xr-x 11 bjdean asis 1024 
1061795141,1061795066,1061795066> ]
getpid () = 8238
getpid () = 8238
stat (".", 0x11ffff9a0) = 0 [ , <8.19459.38613 drwxr-xr-x 11 bjdean asis 1024 
1061795141,1061795066,1061795066> ]
stat ("/servers/web/bin/bash", 0x11ffff8c0) = -1 (No such file or directory)
stat ("/bin/bash", 0x11ffff8c0) = -1 (No such file or directory)
stat ("/usr/bin/bash", 0x11ffff8c0) = -1 (No such file or directory)
stat ("/usr/local/bin/bash", 0x11ffff8c0) = 0 [ , <8.20483.25036 -rwxr-xr-x 1 
root system 1802240 1061795158,958979369,964135403> ]
getgroups (32, 0x140033e40) = 4
stat ("/usr/local/bin/bash", 0x11ffff900) = 0 [ , <8.20483.25036 -rwxr-xr-x 1 
root system 1802240 1061795158,958979369,964135403> ]
getpgrp () = 28658
dup (2) = 5
getdtablesize () = 4096
fcntl (255, F_GETFD, 536869528) = -1 (Bad file number)
dup2 (5, 255) = 255
close (5) = 0
ioctl (255, 0x40067408<Out,TIOCGETP,6>, 11ffffa88) = 0
ioctl (255, 0x40047477<Out,TIOCGPGRP,4>, 11ffffa98) = 0
getpid () = 8238
setpgid (0, 8238) = 0
sigprocmask (1, 0x3a0000, 0x11ffffa98) = 0
ioctl (255, 0x40067408<Out,TIOCGETP,6>, 11ffffa58) = 0
ioctl (255, 0x80047476<In,TIOCSPGRP,4>, 11ffffa68) = 0
sigprocmask (3, 0x0, 0x0) = 3801088
fcntl (255, F_SETFD, 1) = 0
sigaction (SIGCHLD, {{0x120043a04,0x0,0}}, {{0x120045210,0x0,}}) = 0
ioctl (255, 0x40067408<Out,TIOCGETP,6>, 11ffffa78) = 0
ioctl (255, 0x402c7413<Out,TIOCGETA,44>, 140025d50) = 0
open ("/home/usr/asis/bjdean/.bashrc", O_RDONLY, 00) = -1 (No such file or 
directory)
fcntl (0, F_GETFL, 0) = 2
stat ("/var/spool/mail/bjdean", 0x11ffffad8) = -1 (No such file or directory)
gettimeofday (0x11ffffbb8, 0x0) = 0
open ("/home/usr/asis/bjdean/.bash_history", O_RDONLY, 0666) = 5
fstat (5, 0x11ffffb08) = 0 [ , <8.19459.38617 -rw-r--r-- 1 bjdean asis 8533 
1061795064,1061795064,1061795064> ]
read (5, 0x40031000, 8533) = 8533 [, "./tcpserver localhost 50000 
/usr/local/b"..., ]
close (5) = 0
stat ("/home/usr/asis/bjdean/.bash_history", 0x11ffffb90) = 0 [ , 
<8.19459.38617 -rw-r--r-- 1 bjdean asis 8533 1061795158,1061795064,1061795064> ]
open ("/home/usr/asis/bjdean/.bash_history", O_RDONLY, 0666) = 5
fstat (5, 0x11ffffb20) = 0 [ , <8.19459.38617 -rw-r--r-- 1 bjdean asis 8533 
1061795158,1061795064,1061795064> ]
read (5, 0x40031000, 8533) = 8533 [, "./tcpserver localhost 50000 
/usr/local/b"..., ]
close (5) = 0
obreak (0x140052340) = 0
ioctl (255, 0x40067408<Out,TIOCGETP,6>, 11ffffba8) = 0
ioctl (255, 0x402c7413<Out,TIOCGETA,44>, 140025d50) = 0
sigaction (SIGINT, {{0x120057c60,0x0,0}}, {{0x1200203ac,0x0,}}) = 0
gettimeofday (0x11fffec98, 0x0) = 0
sigprocmask (1, 0x280000, 0x11fffec30) = 0
sigprocmask (3, 0x0, 0x0) = 2621440
sigprocmask (1, 0x3a0000, 0x11fffec08) = 0
ioctl (255, 0x40067408<Out,TIOCGETP,6>, 11fffebc8) = 0
ioctl (255, 0x80047476<In,TIOCSPGRP,4>, 11fffebd8) = 0
sigprocmask (3, 0x0, 0x0) = 3801088
sigaction (SIGINT, {{0x120057c60,0x0,0}}, {{0x120045210,0x0,}}) = 0
open ("/home/usr/asis/bjdean/.termcap", O_RDONLY, 0752) = -1 (No such file or 
directory)
open ("/etc/termcap", O_RDONLY, 0752) = 5
read (5, 0x1fffe748, 1024) = 1024 [, 
"#\n#*************************************"..., ]
read (5, 0x1fffe748, 1024) = 1024 [, "f California, Berkeley,\t*\n#*   and from 
"..., ]
read (5, 0x1fffe748, 1024) = 1024 [, 
"|dumb|un|unknown:\\n\t:am:co#80:do=^J:\nsw|"..., ]
read (5, 0x1fffe748, 1024) = 1024 [, 
"\t:sf=\ED:sr=\EM:\\n\t:ce=\E[K:cl=\E[H\E[J:"..., ]
read (5, 0x1fffe748, 1024) = 1024 [, 
"2=\EOQ:k3=\EOR:k4=\EOS:pt:sf=\n:sr=\EM:\"..., ]
close (5) = 0
ioctl (0, 0x40087468<Out,TIOCGWINSZ,8>, 11fffeb88) = 0
ioctl (0, 0x40087468<Out,TIOCGWINSZ,8>, 11fffeb50) = 0
ioctl (0, 0x80087467<In,TIOCSWINSZ,8>, 11fffeb50) = 0
ioctl (0, 0x40067408<Out,TIOCGETP,6>, 11fffeb18) = 0
ioctl (0, 0x402c7413<Out,TIOCGETA,44>, 11fffeb98) = 0
stat ("/home/usr/asis/bjdean/.inputrc", 0x11fffeb28) = -1 (No such file or 
directory)
sigprocmask (1, 0x2, 0x140025218) = 0
ioctl (0, 0x40087468<Out,TIOCGWINSZ,8>, 11fffeb70) = 0
ioctl (0, 0x80087467<In,TIOCSWINSZ,8>, 11fffeb70) = 0
ioctl (0, 0x40067408<Out,TIOCGETP,6>, 11fffeb38) = 0
ioctl (0, 0x402c7413<Out,TIOCGETA,44>, 11fffebc0) = 0
ioctl (0, 0x40067408<Out,TIOCGETP,6>, 11fffeb38) = 0
ioctl (0, 0x802c7415<In,TIOCSETAW,44>, 11fffebc0) = 0
sigprocmask (3, 0x0, 0x0) = 2
sigaction (SIGINT, {{0x1200a5520,0x0,0}}, {{0x11fffece0,0x0,SA_RESTART}}) = 0
sigaction (SIGTERM, {{0x1200a5520,0x0,0}}, {{0x120057c60,0x0,0}}) = 0
sigaction (SIGTERM, {{0x1,0x0,0}}, {{0x11fffebc0,0x0,}}) = 0
sigaction (SIGQUIT, {{0x1200a5520,0x0,0}}, {{0x1,0x0,0}}) = 0
sigaction (SIGQUIT, {{0x1,0x0,0}}, {{0x1200a5520,0x0,0}}) = 0
sigaction (SIGALRM, {{0x1200a5520,0x0,0}}, {{0x1200a5520,0x0,0}}) = 0
sigaction (SIGTSTP, {{0x1200a5520,0x0,0}}, {{0x1,0x0,0}}) = 0
sigaction (SIGTSTP, {{0x1,0x0,0}}, {{0x120057b4c,0x0,0}}) = 0
sigaction (SIGTTOU, {{0x1200a5520,0x0,0}}, {{0x1,0x0,0}}) = 0
sigaction (SIGTTOU, {{0x1,0x0,0}}, {{0x1200a5520,0x0,0}}) = 0
sigaction (SIGTTIN, {{0x1200a5520,0x0,0}}, {{0x1,0x0,0}}) = 0
sigaction (SIGTTIN, {{0x1,0x0,0}}, {{0x1200a5520,0x0,0}}) = 0
sigaction (SIGWINCH, {{0x1200a5618,0x0,0}}, {{0x1,0x0,0}}) = 0
write (2, 0x14002c008, 24) = 24
read (0, 0x1fffeba8, 1) = 1 [, "f", ]
write (2, 0x14002c008, 1) = 1
read (0, 0x1fffeba8, 1) = 1 [, "u", ]
write (2, 0x14002c008, 1) = 1
read (0, 0x1fffeba8, 1) = 1 [, "n", ]
write (2, 0x14002c008, 1) = 1
read (0, 0x1fffeba8, 1) = 1 [, "c", ]
write (2, 0x14002c008, 1) = 1
read (0, 0x1fffeba8, 1) = 1 [, "t", ]
write (2, 0x14002c008, 1) = 1
read (0, 0x1fffeba8, 1) = 1 [, "i", ]
write (2, 0x14002c008, 1) = 1
read (0, 0x1fffeba8, 1) = 1 [, "o", ]
write (2, 0x14002c008, 1) = 1
read (0, 0x1fffeba8, 1) = 1 [, "n", ]
write (2, 0x14002c008, 1) = 1
read (0, 0x1fffeba8, 1) = 1 [, " ", ]
write (2, 0x14002c008, 1) = 1
read (0, 0x1fffeba8, 1) = 1 [, "a", ]
write (2, 0x14002c008, 1) = 1
read (0, 0x1fffeba8, 1) = 1 [, " ", ]
write (2, 0x14002c008, 1) = 1
read (0, 0x1fffeba8, 1) = 1 [, "{", ]
write (2, 0x14002c008, 1) = 1
read (0, 0x1fffeba8, 1) = 1 [, " ", ]
write (2, 0x14002c008, 1) = 1
read (0, 0x1fffeba8, 1) = 1 [, "e", ]
write (2, 0x14002c008, 1) = 1
read (0, 0x1fffeba8, 1) = 1 [, "c", ]
write (2, 0x14002c008, 1) = 1
read (0, 0x1fffeba8, 1) = 1 [, "h", ]
write (2, 0x14002c008, 1) = 1
read (0, 0x1fffeba8, 1) = 1 [, "o", ]
write (2, 0x14002c008, 1) = 1
read (0, 0x1fffeba8, 1) = 1 [, " ", ]
write (2, 0x14002c008, 1) = 1
read (0, 0x1fffeba8, 1) = 1 [, "a", ]
write (2, 0x14002c008, 1) = 1
read (0, 0x1fffeba8, 1) = 1 [, ";", ]
write (2, 0x14002c008, 1) = 1
read (0, 0x1fffeba8, 1) = 1 [, " ", ]
write (2, 0x14002c008, 1) = 1
read (0, 0x1fffeba8, 1) = 1 [, "}", ]
write (2, 0x14002c008, 1) = 1
read (0, 0x1fffeba8, 1) = 1 [, " ", ]
write (2, 0x14002c008, 1) = 1
read (0, 0x1fffeba8, 1) = 1 [, ";", ]
write (2, 0x14002c008, 1) = 1
read (0, 0x1fffeba8, 1) = 1 [, " ", ]
write (2, 0x14002c008, 1) = 1
read (0, 0x1fffeba8, 1) = 1 [, "f", ]
write (2, 0x14002c008, 1) = 1
read (0, 0x1fffeba8, 1) = 1 [, "u", ]
write (2, 0x14002c008, 1) = 1
read (0, 0x1fffeba8, 1) = 1 [, "n", ]
write (2, 0x14002c008, 1) = 1
read (0, 0x1fffeba8, 1) = 1 [, "c", ]
write (2, 0x14002c008, 1) = 1
read (0, 0x1fffeba8, 1) = 1 [, "t", ]
write (2, 0x14002c008, 1) = 1
read (0, 0x1fffeba8, 1) = 1 [, "i", ]
write (2, 0x14002c008, 1) = 1
read (0, 0x1fffeba8, 1) = 1 [, "o", ]
write (2, 0x14002c008, 1) = 1
read (0, 0x1fffeba8, 1) = 1 [, "n", ]
write (2, 0x14002c008, 1) = 1
read (0, 0x1fffeba8, 1) = 1 [, " ", ]
write (2, 0x14002c008, 1) = 1
read (0, 0x1fffeba8, 1) = 1 [, "b", ]
write (2, 0x14002c008, 1) = 1
read (0, 0x1fffeba8, 1) = 1 [, " ", ]
write (2, 0x14002c008, 1) = 1
read (0, 0x1fffeba8, 1) = 1 [, "{", ]
write (2, 0x14002c008, 1) = 1
read (0, 0x1fffeba8, 1) = 1 [, " ", ]
write (2, 0x14002c008, 1) = 1
read (0, 0x1fffeba8, 1) = 1 [, "a", ]
write (2, 0x14002c008, 1) = 1
read (0, 0x1fffeba8, 1) = 1 [, ";", ]
write (2, 0x14002c008, 1) = 1
read (0, 0x1fffeba8, 1) = 1 [, " ", ]
write (2, 0x14002c008, 1) = 1
read (0, 0x1fffeba8, 1) = 1 [, "a", ]
write (2, 0x14002c008, 1) = 1
read (0, 0x1fffeba8, 1) = 1 [, ";", ]
write (2, 0x14002c008, 1) = 1
read (0, 0x1fffeba8, 1) = 1 [, " ", ]
write (2, 0x14002c008, 1) = 1
read (0, 0x1fffeba8, 1) = 1 [, "a", ]
write (2, 0x14002c008, 1) = 1
read (0, 0x1fffeba8, 1) = 1 [, ";", ]
write (2, 0x14002c008, 1) = 1
read (0, 0x1fffeba8, 1) = 1 [, " ", ]
write (2, 0x14002c008, 1) = 1
read (0, 0x1fffeba8, 1) = 1 [, "}", ]
write (2, 0x14002c008, 1) = 1
read (0, 0x1fffeba8, 1) = 1 [, " ", ]
write (2, 0x14002c008, 1) = 1
read (0, 0x1fffeba8, 1) = 1 [, ";", ]
write (2, 0x14002c008, 1) = 1
read (0, 0x1fffeba8, 1) = 1 [, " ", ]
write (2, 0x14002c008, 1) = 1
read (0, 0x1fffeba8, 1) = 1 [, "b", ]
write (2, 0x14002c008, 1) = 1
read (0, 0x1fffeba8, 1) = 1 [, "\r", ]
write (2, 0x14002c008, 1) = 1
sigprocmask (1, 0x2, 0x140025218) = 0
ioctl (0, 0x40067408<Out,TIOCGETP,6>, 11fffeb88) = 0
ioctl (0, 0x802c7415<In,TIOCSETAW,44>, 140026be0) = 0
sigprocmask (3, 0x0, 0x0) = 2
sigaction (SIGINT, {{0x120057c60,0x0,0}}, {{0x11fffed60,0x0,0}}) = 0
sigaction (SIGTERM, {{0x1,0x0,0}}, {{0x1200a5520,0x0,0}}) = 0
sigaction (SIGQUIT, {{0x1,0x0,0}}, {{0x1,0x0,0}}) = 0
sigaction (SIGALRM, {{0x120057b4c,0x63807efb,0}}, {{0x1,0x0,0}}) = 0
sigaction (SIGTSTP, {{0x1,0x0,0}}, {{0x1200a5520,0x0,0}}) = 0
sigaction (SIGTTOU, {{0x1,0x0,0}}, {{0x1,0x0,0}}) = 0
sigaction (SIGTTIN, {{0x1,0x0,0}}, {{0x1,0x0,0}}) = 0
sigaction (SIGWINCH, {{0x120044de8,0x0,0}}, {{0x1,0x0,0}}) = 0
sigaction (SIGINT, {{0x120057c60,0x0,0}}, {{0x120083c80,0x0,0}}) = 0
write (1, 0x14002e808, 2) = 2
write (1, 0x14002e808, 2) = 2
SIGNAL [11 SIGSEGV]
stat ("/home/usr/asis/bjdean/.bash_history", 0x11ffff240) = 0 [ , 
<8.19459.38617 -rw-r--r-- 1 bjdean asis 8533 1061795158,1061795064,1061795064> ]
open ("/home/usr/asis/bjdean/.bash_history", O_WRONLY|O_APPEND, 0600) = 5
write (5, "function a { echo a; } ; function b { a;"..., 53) = 53
close (5) = 0
open ("/home/usr/asis/bjdean/.bash_history", O_RDONLY, 0666) = 5
fstat (5, 0x11ffff1a8) = 0 [ , <8.19459.38617 -rw-r--r-- 1 bjdean asis 8586 
1061795158,1061795166,1061795166> ]
read (5, 0x4004e000, 8586) = 8586 [, "./tcpserver localhost 50000 
/usr/local/b"..., ]
close (5) = 0
open ("/home/usr/asis/bjdean/.bash_history", O_WRONLY|O_TRUNC, 0600) = 5
write (5, "./tcpserver localhost 50000 /usr/local/b"..., 8531) = 8531
close (5) = 0
sigprocmask (1, 0x3a0000, 0x11ffff268) = 1669365499
ioctl (255, 0x40067408<Out,TIOCGETP,6>, 11ffff228) = 0
ioctl (255, 0x80047476<In,TIOCSPGRP,4>, 11ffff238) = 0
sigprocmask (3, 0x63807efb, 0x0) = 1673166587
setpgid (0, 28658) = 0
sigaction (SIGSEGV, {{0x0,0x0,0}}, {{0x12004597c,0x0,0}}) = 0
getpid () = 8238
kill (8238, 11) = 0
sigreturn (0x11ffff2b8) = 0 (Error 0)
SIGNAL [11 SIGSEGV]
EXIT [signal=11]

-- 
Melbourne University ITSAD SDI - Campus Wide Info Systems Group (CWIS)
Email: bjdean@unimelb.edu.au Phone: +61-3-83443997 Mobile: +61-413014395

Australian Intervarsity Choral Societies Association - Secretary
Email: secretary@aicsa.org.au   Web: http://www.aicsa.org.au




reply via email to

[Prev in Thread] Current Thread [Next in Thread]