From owner-freebsd-current Thu Oct 10 12:01:23 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA09268 for current-outgoing; Thu, 10 Oct 1996 12:01:23 -0700 (PDT) Received: from mail.tky007.tth.expo96.ad.jp (root@tky007.tth.expo96.ad.jp [133.246.32.58]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id MAA09263 for ; Thu, 10 Oct 1996 12:01:19 -0700 (PDT) Received: from tky007.tth.expo96.ad.jp (masafumi@localhost [127.0.0.1]) by mail.tky007.tth.expo96.ad.jp (8.7.6/3.4W4-SMTP) with ESMTP id DAA27224; Fri, 11 Oct 1996 03:59:47 +0900 (JST) Message-Id: <199610101859.DAA27224@mail.tky007.tth.expo96.ad.jp> To: jdp@polstra.com Cc: max@wide.ad.jp, current@freefall.freebsd.org From: Masafumi NAKANE/=?ISO-2022-JP?B?GyRCQ2Y6LDJtSjgbKEI=?= In-Reply-To: Your message of "Thu, 10 Oct 1996 10:48:06 -0700" References: <199610101748.KAA05145@austin.polstra.com> X-Mailer: Mew version 1.06 on Emacs 19.28.1, Mule 2.3 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Date: Fri, 11 Oct 1996 03:59:45 +0900 Sender: owner-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hi, Thanks John for precise description. However, it seems gdb is doing no good. ---------------------------------------------------------------------- gdb /usr/local/bin/kaffe GDB is free software and you are welcome to distribute copies of it under certain conditions; type "show copying" to see the conditions. There is absolutely no warranty for GDB; type "show warranty" for details. GDB 4.13 (i386-unknown-freebsd), Copyright 1994 Free Software Foundation, Inc... (gdb) run Starting program: /usr/local/bin/kaffe Program terminated with signal SIGBUS, Bus error. The program no longer exists. You can't do that without a process to debug (gdb) info registers The program has no registers now. (gdb) where No stack. (gdb) quit ---------------------------------------------------------------------- If I'm doing anything wrong, please let me know. (I use gdb only occasionally.) Although I have no idea if these would give you any interesting info, I also tried some other things. 1. Set a breakpoint at main() and ran the program: It died even before entering main(). 2. Ktrace'd the execution: I don't know which peace of info can be useful, but I found that the program dies after mmap call which occurs several steps after reading and mmapping libc.so.3.0. Please let me know if there is anything I can do to solve this problem. (I sure wish I were knowledgeable enough to hack things away myself.) Max