Subject Re: [firebird-support] linux embedding statically linking to firebird libfbstatic.a
Author Todd Fisher
Ann,
I think you are right! It does seem to be how I'm compiling my code
compared to how firebird is compiled. I just recompiled ibpp adding
the following flags and now my app does not crash:

-p -pipe -MMD -ggdb -Wno-switch

I'll run my app through valgrind and see if there are any more errors.
If not this is wonderful breakthrough for me :-)

Thank you so much for pointing me in the right direction.

-Todd

On Apr 2, 2005 12:59 PM, Ann W. Harrison <aharrison@...> wrote:
> Todd Fisher wrote:
> > I did some more digging into this problem. It looks like the problem
> > is in getDefaultMemoryPool
> >
>
> Todd,
>
> I haven't put much time into your traces etc. but you may have run
> into a peculiarity of shared code. The calling sequence for the memory
> allocator is different when compiled for debugging than when compiled
> without the debugging switches and so mixing modules that were compiled
> differently will give you that sort of crash.
>
>
> Regards,
>
>
> Ann
>
>
> ________________________________
> 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.