tags:

views:

21

answers:

0

Hi,

I have developed two extensions bars using C++ on firefox 3.6 on mac osx 10.5. The extensions used some code which is common across both such as string library, std library etc...

Firefox crashes whenever I open with both the extensions on. I checked with individual extensions and observed no issues.

After analysing the stack trace, I was surprised to know that the calls to certain functions are going beyond the dylib files.

To make it more clear, my first extension has libA.dylib and second, libB.dylib, then I observed that some functions in libA.dylib referring into the implementation inside libB.dylib. I tried all possibilities like making libraries static, enclosing the common functions inside namespaces and other stuff. But still it is of no use.

I tried similar thing on Firefox on Windows, I was able to run well.

Is it something to do with the process architecture on mac?

Pls. help.

Regards

Sam.