Re: lug-bg: pechelene ma miasto
- Subject: Re: lug-bg: pechelene ma miasto
- From: sheib@xxxxxxxxxxxxxxxxx (sheib)
- Date: Sun, 21 Apr 2002 00:32:30 +0300 (EEST)
Predi da triesh tezi "neshta", e dobre da razberesh zashto se
"poiaviavat". Ako polzvash gdb/dbx shte znaesh kakvo da pravish.
Ako ne znaesh koia programa codedumpva, vish v samia core fail
ili s 'file <core_file>'.
Sled tova:
# gdb -c <core_file> <crashed_program>
Namirash kyde e crashvano, tyrsish 'up' i 'down' po stacka i s 'bt'
backtracevash do izgyrmialata funkcia/reg. Ta chak togava ako ne izglejda
podozrielno trii.
/s
On Sat, 20 Apr 2002 zimage@xxxxxxxxx wrote:
> On Sat, Apr 20, 2002 at 08:57:31PM +0200, Victor Senderov wrote:
> > Òîâà ñ òèÿ core ôàéëîâå èìà ëè íà÷èí äà ñå àâòîìàòèçèðà? Ïúðâîíà÷àëíî, çàùî
> > âúîáùå òîëêîâà ìíîãî ñå ïîÿâÿâàò!!! Íå ìîæå ëè, êîãàòî åäíà ïðîãðàìà çàáèå äà
> > íÿìà òàêîâà çàïúëâàùî äèñêà ïîâåäåíèå!!! :)) Âñåêè ïúò, êîãàòî ñè áðàóçâàì
> > äèñêà èìàì ïîíå ïî 4-5 â ðàçëè÷íè äèðåêòîðèè...
>
> Èìà 2 âàðèàíòà - èëè ñ íÿêàêúâ find êàòî:
> # find / -type f -name core -exec rm -rf {} \;
> Èëè ïúê ìîæå äà ñè ñëîæèø â profile:
> # ulimit -c 0
> Êîåòî ñå ïðåäïîëàãà äà çàáðàíè ñúçäàâàíåòî èì...
> Íå å íàäîáðå àêî ñå ïîÿâÿâàò òîëêîâà ìíîãî - çíà÷è ãîëÿìî êðàøâàíå ïàäà.
>
>
> --
> Theodor Milkov Administrator IP Networks
> Davidov Electric Ltd. Phone: +359 (2) 730158
> PGP: http://www.zimage.delbg.com/zimage.asc
> ===========================================================================
> A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
> http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
>
===========================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
|