[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gdb backtrace for g++ programs showing ?? symbol
From: |
Paul Pluzhnikov |
Subject: |
Re: gdb backtrace for g++ programs showing ?? symbol |
Date: |
Tue, 26 Feb 2008 23:21:02 -0800 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Jumbo Shrimp, linux) |
naam.yaad.nahin@gmail.com writes:
> On Feb 25, 4:07 am, Paul Pluzhnikov <ppluzhnikov-...@gmail.com> wrote:
>> You should at least post the gdb backtrace -- it may not give you any
>> clues, but may give someone else a good idea of what you are seeing.
>
> Here is the (big) backtrace (with some names changed):
>
> #0 0x0837e037 in allocator<char>::deallocate (this=0x28780cc, p=0x83b4704
> "\213]üÉÃ\215v")
> at /opt/ospace/2.1.6/LinuxIA32AS2.1/ospace/osstd/allocate.h:214
> #1 0x0837d7dc in basic_string<char, char_traits_char,
> allocator<char>>::deallocate (this=0x28780c0)
> at /users/libuser/ospace/2.1.6/LinuxIA32AS2.1/ospace/osstd/allocate.h:214
> #2 0x0837ca2a in basic_string<char, char_traits_char,
> allocator<char>>::~basic_string (this=0x28780c0, __in_chrg=2)
> at /opt/ospace/2.1.6/LinuxIA32AS2.1/ospace/osstd/basic.h:717
> #3 0x083b4c62 in otl_tmpl_select_stream<otl_exc, otl_conn, otl_cur, otl_var,
> otl_sel, otl_oracle_date>::rewind (this=0x8607ab8) at inc/otlv4.h:5409
> #4 0x00156501 in ?? () from /usr/lib/libstdc++-libc6.2-2.so.3
> #5 0x00156752 in ?? () from /usr/lib/libstdc++-libc6.2-2.so.3
> #6 0x00156c3f in __rethrow () from /usr/lib/libstdc++-libc6.2-2.so.3
> #7 0x083b4704 in otl_tmpl_cursor<otl_exc, otl_conn, otl_cur, otl_var>::exec
> (this=0x8655e48, iters=1, rowoff=0) at inc/otlv4.h:4153
...
> I am using a library called OTL (database library available at
> http://otl.sourceforge.net/) as well as a library called ospace (an
> STL replacement). The SIGSEGV happens because the pointer is not
> correct at deallocate() in frame #0.
Did you compile the OTL and ospace libraries yourself, and with
the same version of g++ you used for the rest of the application?
If you are using pre-compiled binaries, chances are there is a g++
version mis-match, which causes your difficulty.
I don't see any other explanation, and nobody else chimed in :-(
You might want to try building all of this with g++-3.4.6, which
is a much more recent and stable version.
Cheers,
--
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.
- Re: gdb backtrace for g++ programs showing ?? symbol, (continued)
- Re: gdb backtrace for g++ programs showing ?? symbol, Jeff Schwab, 2008/02/23
- Re: gdb backtrace for g++ programs showing ?? symbol, Paul Pluzhnikov, 2008/02/23
- Re: gdb backtrace for g++ programs showing ?? symbol, Paul Pluzhnikov, 2008/02/23
- Re: Re: gdb backtrace for g++ programs showing ?? symbol, Naam Nahin, 2008/02/24
- Message not available
- Re: gdb backtrace for g++ programs showing ?? symbol, Paul Pluzhnikov, 2008/02/24
- Re: gdb backtrace for g++ programs showing ?? symbol, naam . yaad . nahin, 2008/02/24
- Re: gdb backtrace for g++ programs showing ?? symbol, Paul Pluzhnikov, 2008/02/24
- Re: gdb backtrace for g++ programs showing ?? symbol, naam . yaad . nahin, 2008/02/25
- Re: gdb backtrace for g++ programs showing ?? symbol,
Paul Pluzhnikov <=
- Re: gdb backtrace for g++ programs showing ?? symbol, naam . yaad . nahin, 2008/02/28