From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <4671665B.2050800@stc.donpac.ru> Date: Thu, 14 Jun 2007 20:01:31 +0400 From: Eugene Prokopiev User-Agent: Mozilla/5.0 (X11; U; Linux i686; ru-RU; rv:1.7.2) Gecko/20040808 X-Accept-Language: ru-ru, ru MIME-Version: 1.0 To: ALT Devel discussion list References: <46715AA0.4070208@stc.donpac.ru> <200706141841.57095.ledest@gmail.com> In-Reply-To: <200706141841.57095.ledest@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed X-DSPAM-Result: Whitelisted X-DSPAM-Processed: Thu Jun 14 20:05:37 2007 X-DSPAM-Confidence: 0.9899 X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 119,4671675173451621714798 X-DSPAM-Factors: 27, Received*Postfix+with, 0.01000, or, 0.01000, or, 0.01000, Content-Type*text+plain, 0.01000, User-Agent*ru-RU+rv, 0.01000, Received*ESMTP, 0.01000, Content-Transfer-Encoding*8bit, 0.01000, Received*lists.altlinux.org+Thu, 0.01000, v, 0.01000, To*Devel, 0.01000, User-Agent*X11+U, 0.01000, Received*Jun+2007, 0.01000, Date*14, 0.01000, User-Agent*U, 0.01000, db, 0.01000, db, 0.01000, Content-Type*plain, 0.01000, Received*devel, 0.01000, Received*devel+lists.altlinux.org, 0.01000, Eugene+Prokopiev, 0.01000, References*stc.donpac.ru, 0.01000, Received*lists.altlinux.org, 0.01000, User-Agent*1.7.2, 0.01000, Content-Type*plain+charset, 0.01000, From*Prokopiev, 0.01000, To*discussion+list, 0.01000, in, 0.01000 Content-Transfer-Encoding: quoted-printable Subject: Re: [devel] How to generate core and backtrace files X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.9rc1 Precedence: list Reply-To: ALT Devel discussion list List-Id: ALT Devel discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jun 2007 16:05:38 -0000 Archived-At: List-Archive: List-Post: Led =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > =D0=92 =D1=81=D0=BE=D0=BE=D0=B1=D1=89=D0=B5=D0=BD=D0=B8=D0=B8 =D0=BE=D1= =82 Thursday 14 June 2007 18:11:28 Eugene Prokopiev =D0=BD=D0=B0=D0=BF=D0= =B8=D1=81=D0=B0=D0=BB(=D0=B0): >=20 >>=D0=97=D0=B4=D1=80=D0=B0=D0=B2=D1=81=D1=82=D0=B2=D1=83=D0=B9=D1=82=D0=B5= ! >> >>=D0=AF =D0=BF=D1=80=D0=BE=D1=88=D1=83 =D0=BF=D1=80=D0=BE=D1=89=D0=B5=D0= =BD=D0=B8=D1=8F =D0=B7=D0=B0 =D0=B2=D0=BE=D0=BF=D1=80=D0=BE=D1=81=D1=8B =D1= =8F=D0=B2=D0=BD=D0=BE =D0=B8=D0=B7 FAQ, =D0=BD=D0=BE =D0=BD=D0=B0=D1=88=D0= =B5=D0=BB =D1=82=D0=BE=D0=BB=D1=8C=D0=BA=D0=BE >>http://www.freesource.info/wiki/AltLinux/Razrabotchiku/OtladkaIProfajjl= ing? >>v=3Dtk1&search=3Dcore, =D0=B0 =D0=BA=D1=80=D0=BE=D0=BC=D0=B5 =D1=82=D0=BE= =D0=B3=D0=BE =D0=BF=D0=BE=D0=BC=D0=BD=D1=8E, =D1=87=D1=82=D0=BE =D1=81 co= re files =D1=83 =D0=BD=D0=B0=D1=81 =D0=BF=D0=BE =D1=83=D0=BC=D0=BE=D0=BB=D1= =87=D0=B0=D0=BD=D0=B8=D1=8E >>=D0=BD=D0=B5 =D1=82=D0=B0=D0=BA =D0=BA=D0=B0=D0=BA =D1=83 =D0=B2=D1=81=D0= =B5=D1=85, =D0=BF=D0=BE=D1=82=D0=BE=D0=BC=D1=83 =D1=81=D0=BF=D1=80=D0=B0=D1= =88=D0=B8=D0=B2=D0=B0=D1=8E. =D0=A3 =D0=BC=D0=B5=D0=BD=D1=8F =D1=81=D1=82= =D0=B0=D0=B1=D0=B8=D0=BB=D1=8C=D0=BD=D0=BE =D0=B2=D0=BE=D1=81=D0=BF=D1=80= =D0=BE=D0=B8=D0=B7=D0=B2=D0=BE=D0=B4=D0=B8=D1=82=D1=81=D1=8F >>=D0=BF=D0=B0=D0=B4=D0=B5=D0=BD=D0=B8=D0=B5 >>callweaver =D0=B2 =D0=BE=D0=BF=D1=80=D0=B5=D0=B4=D0=B5=D0=BB=D0=B5=D0=BD= =D0=BD=D0=BE=D0=B9 =D1=81=D0=B8=D1=82=D1=83=D0=B0=D1=86=D0=B8=D0=B8. =D0=90= =D0=BF=D1=81=D1=82=D1=80=D0=B8=D0=BC =D0=BF=D0=BE =D1=8D=D1=82=D0=BE=D0=BC= =D1=83 =D0=BF=D0=BE=D0=B2=D0=BE=D0=B4=D1=83 =D0=B3=D0=BE=D0=B2=D0=BE=D1=80= =D0=B8=D1=82: >> >>If you have a core file please generate a backtrace (=E2=80=9Cgdb >>/path/to/callweaver core=E2=80=9D and type =E2=80=9Cbt=E2=80=9D at the = prompt. >> >>=D0=A1=D0=BE=D0=B1=D1=81=D1=82=D0=B2=D0=B5=D0=BD=D0=BD=D0=BE =D0=B2=D0=BE= =D0=BF=D1=80=D0=BE=D1=81: =D0=BA=D0=B0=D0=BA =D1=8D=D1=82=D0=BE =D1=81=D0= =B4=D0=B5=D0=BB=D0=B0=D1=82=D1=8C? callweaver =D1=83 =D0=BC=D0=B5=D0=BD=D1= =8F =D1=81=D0=BE=D0=B1=D0=B8=D1=80=D0=B0=D0=B5=D1=82=D1=81=D1=8F =D0=B2 >>hasher, =D0=BD=D0=BE =D0=BD=D0=B0 =D1=82=D0=BE=D0=B9 =D0=B6=D0=B5 =D0=BC= =D0=B0=D1=88=D0=B8=D0=BD=D0=B5, =D1=87=D1=82=D0=BE =D0=B8 =D1=82=D0=B5=D1= =81=D1=82=D0=B8=D1=80=D1=83=D0=B5=D1=82=D1=81=D1=8F. =D0=AF =D1=81=D0=B4=D0= =B5=D0=BB=D0=B0=D0=BB hsh-install >>~/hasher glibc-core-debug, =D0=B2 hsh-shell =D1=81=D0=B4=D0=B5=D0=BB=D0= =B0=D0=BB rpm -bb --enable debug >>callweaver.spec. =D0=94=D0=B0=D0=BB=D1=8C=D1=88=D0=B5 =D0=BD=D0=B5=D0=BF= =D0=BE=D0=BD=D1=8F=D1=82=D0=BD=D0=BE. =D0=9D=D1=83 =D0=BF=D0=BE=D1=81=D1=82= =D0=B0=D0=B2=D0=BB=D1=8E =D1=8F =D1=81=D0=BE=D0=B1=D1=80=D0=B0=D0=BD=D0=BD= =D1=8B=D0=B9 =D0=BF=D0=B0=D0=BA=D0=B5=D1=82. =D0=A7=D1=82=D0=BE >>=D1=81=D0=BA=D0=B0=D0=B7=D0=B0=D1=82=D1=8C LD_LIBRARY_PATH? =D0=93=D0=B4= =D0=B5 =D0=B2=D0=BA=D0=BB=D1=8E=D1=87=D0=B8=D1=82=D1=8C =D0=B3=D0=B5=D0=BD= =D0=B5=D1=80=D0=B0=D1=86=D0=B8=D1=8E core? >=20 >=20 > man bash > =D0=BD=D0=B0 =D0=BF=D1=80=D0=B5=D0=B4=D0=BC=D0=B5=D1=82 ulimit >=20 =D0=BF=D0=BE=D1=81=D0=BB=D0=B5 =D1=83=D1=81=D1=82=D0=B0=D0=BD=D0=BE=D0=B2= =D0=BA=D0=B8 =D1=81=D0=BE=D0=B1=D1=80=D0=B0=D0=BD=D0=BD=D0=BE=D0=B3=D0=BE= =D0=BF=D0=B0=D0=BA=D0=B5=D1=82=D0=B0: # ulimit -c 10000000000 # cp -a=20 /data/build/hasher-callweaver/chroot/usr/src/RPM/BUILD/callweaver-1.1.99.= 20070614/=20 . # cd callweaver-1.1.99.20070614 # LD_LIBRARY_PATH=3D/usr/lib/debug:$PWD gdb .libs/callweaver GNU gdb 6.6-alt1 (ALT Linux) Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you = are welcome to change it and/or distribute copies of it under certain=20 conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for detail= s. This GDB was configured as "x86_64-alt-linux"... Using host libthread_db library "/lib64/libthread_db.so.1". (gdb) run -vvvvvcd ... Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1092139328 (LWP 24377)] 0x00002afca9067cc4 in strncpy () from /lib64/libc.so.6 (gdb) quit The program is running. Exit anyway? (y or n) y =D0=98 =D0=B3=D0=B4=D0=B5 =D1=82=D0=B5=D0=BF=D0=B5=D1=80=D1=8C =D1=81=D0=B0= =D0=BC =D0=B4=D0=B0=D0=BC=D0=BF? =D0=92 =D1=82=D0=B5=D0=BA=D1=83=D1=89=D0= =B5=D0=BC =D0=BA=D0=B0=D1=82=D0=B0=D0=BB=D0=BE=D0=B3=D0=B5 =D0=BD=D0=B8=D1= =87=D0=B5=D0=B3=D0=BE =D0=BF=D0=BE=D0=B4=D0=BE=D0=B7=D1=80=D0=B8=D1=82=D0= =B5=D0=BB=D1=8C=D0=BD=D0=BE=D0=B3=D0=BE =D0=BD=D0=B5=D1=82. --=20 =D0=A1 =D1=83=D0=B2=D0=B0=D0=B6=D0=B5=D0=BD=D0=B8=D0=B5=D0=BC, =D0=9F=D1=80= =D0=BE=D0=BA=D0=BE=D0=BF=D1=8C=D0=B5=D0=B2 =D0=95=D0=B2=D0=B3=D0=B5=D0=BD= =D0=B8=D0=B9