[so] [Tema1][Linux]Bad address
mihai chiritescu
mihaichiritescu at gmail.com
Tue Mar 31 12:17:33 EEST 2009
Salut,
Cand redirectez o cantitate mai "mare" de caractere intr-un fisier si apoi
imediat incerc sa afisez fisierul imi da
eroarea: "bash: cat: Bad address". Ciudat este ca daca mai incerc odata sa
afisez fisierul il afiseaza corect.
Exmeplu:
> echo
"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
> cat a.out
bash: cat: Bad address
Eu cand apelez functia execvp, fiecare argument al lui echo (in cazul asta)
are alocat cate 1000 de caractere deci nu ar trebui sa fie problema de
alocare..
Are cineva vrea explicatie?
Multumesc,
Chiritescu Paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cursuri.cs.pub.ro/pipermail/so/attachments/20090331/6f3db37e/attachment.htm>
More information about the so
mailing list