Gyimesi Laszlo wrote:
> Szervusztok!
>
> Egy hosszabb shell-scriptet futtatok, és a képernyőn ezt látom:
>
> *** glibc detected *** double free or corruption (fasttop): 0x08063540 ***
>
> A script vége (utána már csak néhány sor comment van):
>
> ...
> F=zseb.ures
> if [ -s $F ]
> then cat <<! >>$EREDM
>
>
> Ures file-ok es konyvtarak
> --------------------------
>
> !
> cat $F >>$EREDM
> fi
>
>
>
> bash -x-szel futtatva:
>
> ...
> + F=zseb.ures
> + '[' -s zseb.ures ']'
>
>
> strace-szel:
>
> ...
> read(255, "\nF=zseb.ures\nif [ -s $F ]\nthen\tc"..., 2102) = 258
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> stat64("zseb.ures", {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> read(255, "", 2102) = 0
> exit_group(0) = ?
> Process 29295 detached
>
>
> A glibc-s hibaüzenet nem kerül stdout-ra és stderr-re, csak a
> képernyőre.
>
> Az interneten rengeteg találat van. Amit átnéztem, azok a hibák olyan
> csomagokban voltak, amelyek nálam fel sincsenek installálva.
>
> Teljesen új gép, etch van rajta. A script viszont egy másik gépen évek
> óta ment. Két hétig itt is, bár más paraméterrel.
>
> Merre menjek?
>
Az ujabb glib-ben levo malloc overflow protection uzeni. Amugy nem
ertem, mit akartal ezzel a scripttel...
--
Gabor HALASZ <[EMAIL PROTECTED]>
_________________________________________________
linux lista - [email protected]
http://mlf2.linux.rulez.org/mailman/listinfo/linux