From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id AAA27738; Sun, 20 Oct 2002 00:15:18 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id AAA28907 for ; Sun, 20 Oct 2002 00:15:17 +0200 (MET DST) Received: from mail.eecs.harvard.edu (bowser.eecs.harvard.edu [140.247.60.24]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g9JMFGD05404 for ; Sun, 20 Oct 2002 00:15:16 +0200 (MET DST) Received: by mail.eecs.harvard.edu (Postfix, from userid 32018) id 4FA3854C6BF; Sat, 19 Oct 2002 18:15:15 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mail.eecs.harvard.edu (Postfix) with ESMTP id 4D82454C6B2 for ; Sat, 19 Oct 2002 18:15:15 -0400 (EDT) Date: Sat, 19 Oct 2002 18:15:15 -0400 (EDT) From: Lex Stein To: caml-list@inria.fr Subject: [Caml-list] debugger losing contact with debuggee process In-Reply-To: <200210191216.47164.erayo@cs.bilkent.edu.tr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hello, A process I am debugging has a bus error and crashes. When it crashes, it loses contact with ocaml_debug. The output looks something like this: calling db->put with db=3c8c0 txn=0 flags=0 Invalid argument (error number 22) BDB: aborting transaction Lost connection with process 3531 (active process) between time 290000 and time 300000 Trying to recover... Time : 290000 - pc : 59612 - module Printf 186 <|b|>let res = Buffer.contents dest in The debugger loses contact with the debuggee process because the debuggee has a bus error and terminates. The information provided by ocamldebug above isn't very helpful. How do I get a backtrace at the time of the bus error ? Something along the lines of a bactrace on a core dump file would be great. How does one get this information using ocamldebug ? Sincerely, Lex [ I posted this question to the ocaml_beginners list. After receiving no replies on that list after 12hours, I conclude that the people on that list don't have the experience with ocamldebug to answer the question and am posting it to this list. ] ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners