From: Eugene Prokopiev <prokopiev@stc.donpac.ru> To: ALT Devel discussion list <devel@lists.altlinux.org> Subject: Re: [devel] How to generate core and backtrace files Date: Fri, 15 Jun 2007 00:03:54 +0400 Message-ID: <46719F2A.5090105@stc.donpac.ru> (raw) In-Reply-To: <20070614191825.GC4890@procyon.home> Sergey Vlasov пишет: > On Thu, Jun 14, 2007 at 10:43:35PM +0400, Eugene Prokopiev wrote: > >>>Если всё настроить правильно, core создаётся при падении проги. >> >>Т.е. запускать ее под gdb не нужно? > > > Наоборот - если падение воспроизводится под gdb, нет никакой > необходимости ловить core, достаточно просто запустить под gdb и > дождаться SIGSEGV, после чего делать то же самое, что потом пришлось > бы делать с core. > > Кстати, может быть полезно попробовать запустить программу под > valgrind - в некоторых случаях он может обнаружить проблему ближе к > точке, где на самом деле находится ошибка. Беда в том, что я совершенно не понимаю, что происходит, и как ловить и устранять проблему Backtrace просил апстрим >>Необходимо и достаточно откомпилить >>прогу с включенной отладкой (т.е. собрать пакет с --enable debug), > > > На самом деле core прекрасно создаётся и без этого, только в этом > случае от него мало пользы. > > >>сказать ulimit -c 10000000000 и sysctl -w kernel.core_pattern=core? >> >>Не создается :( > > > Программа при своей работе не меняет текущий каталог и не занимается > перехватом SIGSEGV? Она меняет uid/gid, наверное и каталог тоже, а SIGSEGV перехватывает вряд ли. Похоже, единственный осмысленный для меня выход - выделить VE с воспроизводящейся в нем проблемой и упрашивать апстрим посмотреть не нее поближе ... -- С уважением, Прокопьев Евгений
next prev parent reply other threads:[~2007-06-14 20:03 UTC|newest] Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-06-14 15:11 Eugene Prokopiev 2007-06-14 15:41 ` Led 2007-06-14 15:45 ` Pavlov Konstantin 2007-06-14 16:06 ` Eugene Prokopiev 2007-06-14 16:01 ` Eugene Prokopiev 2007-06-14 16:12 ` Andrey Rahmatullin 2007-06-14 17:47 ` Eugene Prokopiev 2007-06-14 17:51 ` Andrey Rahmatullin 2007-06-14 18:43 ` Eugene Prokopiev 2007-06-14 18:45 ` Andrey Rahmatullin 2007-06-14 19:18 ` Sergey Vlasov 2007-06-14 20:03 ` Eugene Prokopiev [this message] 2007-06-15 8:41 ` Sergey Vlasov 2007-06-15 2:00 ` Hihin Ruslan 2007-06-15 17:29 ` Alexey I. Froloff 2007-06-16 14:49 ` [devel] [JT] " Ivan Fedorov 2007-06-17 11:33 ` Денис Смирнов 2007-06-14 18:41 ` [devel] " Sergey Vlasov 2007-06-14 16:18 ` Led 2007-06-14 18:32 ` Eugene Prokopiev 2007-06-14 21:15 ` Led 2007-06-14 18:35 ` Sergey Vlasov 2007-06-15 8:57 ` Eugene Prokopiev 2007-06-18 19:24 ` Michael Shigorin
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=46719F2A.5090105@stc.donpac.ru \ --to=prokopiev@stc.donpac.ru \ --cc=devel@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Team development discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \ devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru public-inbox-index devel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git