From: Eugene Prokopiev <prokopiev@stc.donpac.ru> To: Devel@lists.altlinux.org Subject: [devel] Readable backtrace from core file Date: Fri, 22 Jun 2007 23:54:00 +0400 Message-ID: <467C28D8.9090803@stc.donpac.ru> (raw) Здравствуйте! Приходится возвращаться к уже обсуждавшемуся вопросу, т.к. я все-таки не понимаю чего-то фундаметального и простого. Собственно, потребовалось еще раз получить backtrace (и на этот раз устраивать помойку в VE не поможет - воспроизведется только на рабочей машине). Собрал пакет с --enable debug, получил core, но вывод bt и bt full оказался совершенно бесполезен. Тогда я попробовал повторить на более простом примере: $ cat coredump.c main() { int p = *((int*)0); } $ gcc -g -o coredump coredump.c $ ulimit -c unlimited $ ./coredump Segmentation fault (core dumped) $ gdb --core=core ... Core was generated by `./coredump'. Program terminated with signal 11, Segmentation fault. #0 0x0000000000400431 in ?? () (gdb) bt #0 0x0000000000400431 in ?? () #1 0x0000000000000000 in ?? () (gdb) bt full #0 0x0000000000400431 in ?? () No symbol table info available. #1 0x0000000000000000 in ?? () No symbol table info available. Что я делаю неправильно? И еще: на рабочей машине не жалко устроить помойку в чруте хашера, но как там получить права рута, чтобы сделать make install? Пробовал поставить туда su и извне хашера разрешить выполнять его всем, получил: $ hsh-shell build/hasher-callweaver [builder@pbx .in]$ su - su: problem establishing environment [builder@pbx .in]$ su su: problem establishing environment [builder@pbx .in]$ -- С уважением, Прокопьев Евгений
next reply other threads:[~2007-06-22 19:54 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-06-22 19:54 Eugene Prokopiev [this message] 2007-06-22 21:03 ` Motsyo Gennadi aka Drool 2007-06-23 9:12 ` Eugene Prokopiev 2007-06-23 9:20 ` Eugene Prokopiev 2007-06-23 10:53 ` Ivan Fedorov 2007-06-23 15:52 ` Dmitry V. Levin 2007-07-06 5:31 ` Eugene Prokopiev
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=467C28D8.9090803@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