From mozes at slackware.com Wed Mar 12 13:33:16 2008 From: mozes at slackware.com (Stuart Winter) Date: Wed, 12 Mar 2008 06:33:16 -0700 (PDT) Subject: [armedslack] Debugging C++ Message-ID: Hi Is anybody here good at debugging C++ ? I am building the linuxdoc-tools package and openjade keeps segfaulting: root at mutley:/tmp/build-linuxdoc-tools/OpenSP-1.5.2# gdb /usr/bin/jade GNU gdb 6.6 Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or 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. This GDB was configured as "arm-slackware-linux"... Using host libthread_db library "/lib/libthread_db.so.1". (gdb) run Starting program: /usr/bin/jade [Thread debugging using libthread_db enabled] [New process 24186] [New Thread 1073866496 (LWP 24186)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1073866496 (LWP 24186)] 0x403c0bbc in OpenSP::InputSourceOrigin::make () from /usr/lib/libosp.so.5 (gdb) I tried going back to the previous version of gcc, but that didn't make any difference, so I don't think it's that. I do think that the previous version of opensp was built against glibc 2.5. The version of opensp hasn't changed since the last successful build. I'll upload the latest armedslack tree if someone can help. -- Stuart Winter www.slackware.com/~mozes Experimental ARM Slackware distribution: www.armedslack.org