From owner-freebsd-hackers Tue May 6 13:20:15 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id NAA02528 for hackers-outgoing; Tue, 6 May 1997 13:20:15 -0700 (PDT) Received: from hda.hda.com (hda-bicnet.bicnet.net [207.198.1.121]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id NAA02519 for ; Tue, 6 May 1997 13:20:09 -0700 (PDT) Received: (from dufault@localhost) by hda.hda.com (8.8.5/8.8.5) id QAA13068 for hackers@freebsd.org; Tue, 6 May 1997 16:18:49 -0400 (EDT) From: Peter Dufault Message-Id: <199705062018.QAA13068@hda.hda.com> Subject: g++ shared library segfaults To: hackers@freebsd.org Date: Tue, 6 May 1997 16:18:49 -0400 (EDT) X-Mailer: ELM [version 2.4ME+ PL25 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Does anyone who uses g++ and shared libraries care to speculate about this shared library crash in ptolemy? The alpha release of ptolemy is working fine in a static version, but trying to build a shared library version is producing this traceback, and I expect this is a configuration issue on my end. It seems to happen at the transition from the ptolemy shared library to the g++ shared library. I'll build a debug version of stdc++ but in the mean time maybe someone has seen something like this. Program received signal SIGSEGV, Segmentation fault. 0x850bb84 in fstreambase::open () (gdb) where #0 0x850bb84 in fstreambase::open () #1 0x51081 in pt_ofstream::open (this=0x82cf354, name=0x15b0 "pigiLog.pt", mode=2, prot=436) at ../../src/kernel/pt_fstream.cc:69 #2 0x82b8607 in KcInitLog (file=0x15b0 "pigiLog.pt") at ../../src/pigilib/kernelCalls.cc:86 #3 0x160b in main (argc=10, argv=0xefbfd48c) at ../../src/pigiRpc/pigiMain.cc:75 (gdb) -- Peter Dufault (dufault@hda.com) Realtime Machine Control and Simulation HD Associates, Inc. Voice: 508 433 6936