Re: [Sqlrelay-discussion] sqlrelay on solaris - "std::bad_alloc"
Brought to you by:
mused
|
From: David M. <dav...@fi...> - 2009-04-29 14:09:37
|
Hi Renat, I never figured out an exact cause for this. I've seen it before in my life, but I can't remember where. I know that it occurs if you're out of memory, or if there's an odd mismatch of libraries, usually if code is compiled against libstdc++ version X but then at runtime gets linked against libstdc++ version X-1. I'd look through the gcc toolchain on your solaris machine and see what libstdc++ it came with. You may find that there's a different version of libstdc++ in /usr/lib, /lib, /usr/local/lib, etc. In that case, the code would be getting compiled against the one up inside of the toolchain, but linked against a different one. I think I've also seen it where more than 1 version of SQL Relay or Rudiments is installed and the code gets compiled against 1 version but then linked against another at runtime. Check to see if you have more than 1 version of either of those on the system as well. Dave dav...@fi... On Fri, 2009-04-24 at 17:22 +0400, Renat Sabitov wrote: > Chris пишет: > > David Muse wrote: > >> Weird. I think that error usually means that a C++ "new" operator > >> failed. I think it usually happens if you compile against 1 version of > >> a library but then run against a different, incompatible version. > > > > Could it be a mix of tools causing it? gcc for compiling, gnu make, but > > the solaris ld tool. > > Have you solved this problem? We've got this error on solaris but > haven't fix it yet. > > -- > Renat Sabitov e-mail: sr...@st... > Stack Soft jid: sr...@ja... > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensign option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Sqlrelay-discussion mailing list > Sql...@li... > https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion > & )n,)bxmך'( __________________________________________________ D O T E A S Y - "Join the web hosting revolution!" http://www.doteasy.com |