Subject | Re: [firebird-support] linux embedding statically linking to firebird libfbstatic.a |
---|---|
Author | Todd Fisher |
Post date | 2005-04-02T01:07:57Z |
I did some more digging into this problem. It looks like the problem
is in getDefaultMemoryPool
The crash is happening in the file: src/common/config/config.cpp:134
the first call to getDefaultMemoryPool. I at verified that not
calling getDefaultMemoryPool to alloc memory at least got my
application started. Next i'm going to dig a little deeper yet and
see what's going wrong in getDefaultMemoryPool, the problem i'm having
is gdb freaks out when i get getDefaultMemoryPool complaining it can't
find alloc.h :-(
So, this problem is most likely in firebird, memory pool. I'd would
be nice to get a high level understanding of how the memory pool for
firebird works. I think it might help me figure out why this code is
causing segfaults. Also, noticed in valgrind there appears to be
memory that is read in freed regions, when running my app linked
against the libfbclient.so, those might be related to the problems i'm
having when statically linking ibpp to libfbstatic.a
-Todd
is in getDefaultMemoryPool
The crash is happening in the file: src/common/config/config.cpp:134
the first call to getDefaultMemoryPool. I at verified that not
calling getDefaultMemoryPool to alloc memory at least got my
application started. Next i'm going to dig a little deeper yet and
see what's going wrong in getDefaultMemoryPool, the problem i'm having
is gdb freaks out when i get getDefaultMemoryPool complaining it can't
find alloc.h :-(
So, this problem is most likely in firebird, memory pool. I'd would
be nice to get a high level understanding of how the memory pool for
firebird works. I think it might help me figure out why this code is
causing segfaults. Also, noticed in valgrind there appears to be
memory that is read in freed regions, when running my app linked
against the libfbclient.so, those might be related to the problems i'm
having when statically linking ibpp to libfbstatic.a
-Todd
On Mar 25, 2005 4:18 AM, Olivier Mascia <om@...> wrote:
> Le 24-mars-05, à 21:41, Todd Fisher a écrit :
>
> > Interesting, I guess it is probably a bug in gmail or something I'm
> > doing wrong... Anyways, I'll just paste it in the mail since it's all
> > text anyway. Sorry about the trouble before :-(
>
> The list system drops attachments, except pure text attachments
> identified as alternative text forms.
> It is always better to embed text attachments in the message here.
>
> Todd, regarding your issue, if at some point ibpp library might be
> suspected of being part of your problem (not that I think so, looking
> at the trace), wake me up.
>
> --
> Olivier Mascia
>
>
>
>
>
> Yahoo! Groups Sponsor
>
> ADVERTISEMENT
>
>
> ________________________________
> Yahoo! Groups Links
>
>
> To visit your group on the web, go to:
> http://groups.yahoo.com/group/firebird-support/
>
> To unsubscribe from this group, send an email to:
> firebird-support-unsubscribe@yahoogroups.com
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.