Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jun 1999 15:29:53 +0100
From:      Josef Karthauser <joe@pavilion.net>
To:        hackers@freebsd.org
Subject:   Wierd behavour from G++28!
Message-ID:  <19990608152953.L14211@pavilion.net>

next in thread | raw e-mail | index | archive | help
Strange.

I'm having a wierd time trying to get a package called Swish++ working.
It's a C++/STL based program, which the author recommends compiling up
with Gcc2.8 or higher.

So... I've installed gcc-2.8.1 && glibstdc++-2.8.1.1, and compiled it
up.  Strangely however, the 'search' part of it core dumps in an
unexpected way.

gandalf% ./search
Segmentation fault (core dumped)
gandalf% gdb search search.core 
GNU gdb 4.18
Copyright 1998 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 "i386-unknown-freebsd"...
Core was generated by `search'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libm.so.2...done.
Reading symbols from /usr/lib/libc.so.3...done.
Reading symbols from /usr/libexec/ld-elf.so.1...done.
#0  0x8052c0f in ostream::flush () at /usr/include/ctype.h:149
149     }
(gdb) bt
#0  0x8052c0f in ostream::flush () at /usr/include/ctype.h:149
#1  0x8052912 in ostream::operator<< () at /usr/include/ctype.h:149
#2  0x804995f in main (argc=1, argv=0xbfbfdb54) at search.c:219
(gdb) l


What gives?  It looks like a library thing.

Can anyone put me on the right track please?

Joe
-- 
Josef Karthauser	FreeBSD: How many times have you booted today?
Technical Manager	Viagra for your server (http://www.uk.freebsd.org)
Pavilion Internet plc.  [joe@pavilion.net, joe@uk.freebsd.org, joe@tao.org.uk]


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990608152953.L14211>