Crash when running app built in 10.3.7 on 10.2.8

"drumminj" <[email protected]>
Newsgroups gmane.comp.mozilla.devel.macosx
Organization http://groups.google.com
Message-ID <[email protected]>
Hi, all. I'm working on an embedded application which should support
10.2+.  All of my development has been done on 10.3.x.

When I take my executable(which runs fine on 10.3) to a 10.2 machine, I
get a crash when handling my first draw message after loading the first
URI.  For some reason the app can't find the appropriate library for
PR_Reallocate.  Is there something special I need to do in the build
for this to work properly both in 10.2 and 10.3 and above?  It seems
that the mozilla application itself has no issues with this, so I'm not
sure what I'm missing.  Any help greatly appreciated.

The error and callstack look as follows:


dyld: /Volumes/Source/MyApp.app/Contents/MacOS/MyApp Undefined symbols:
/Volumes/Source/MyApp.app/Contents/MacOS/components/libgfx_mac.dylib
undefined reference to _PR_Realloc expected to be defined in Carbon


Program received signal SIGTRAP, Trace/breakpoint trap.
0x8fe01220 in __dyld_halt ()
(gdb) bt
#0  0x8fe01220 in __dyld_halt ()
#1  0x8fe09bd8 in __dyld_check_and_report_undefineds ()
#2  0x8fe10654 in __dyld_link_in_need_modules ()
#3  0x8fe10270 in __dyld_bind_lazy_symbol_reference ()
#4  0x8fe00e60 in __dyld_stub_binding_helper_interface ()
#5  0x049ae270 in nsRegionMac::GetRects(nsRegionRectSet**) ()
#6  0x0541eb54 in ConvertNativeRegionToAppRegion(nsIRegion*, nsRegion*,
nsIDeviceContext*) ()
#7  0x0541edf4 in nsViewManager::Refresh(nsView*, nsIRenderingContext*,
nsIRegion*, unsigned) ()
#8  0x05421e94 in nsViewManager::DispatchEvent(nsGUIEvent*,
nsEventStatus*) ()
#9  0x0541a898 in HandleEvent(nsGUIEvent*) ()
#10 0x04a3a1ec in nsWindow::DispatchEvent(nsGUIEvent*, nsEventStatus&)
()
#11 0x04a3a2b0 in nsWindow::DispatchWindowEvent(nsGUIEvent&,
nsEventStatus&) ()
#12 0x04a39d44 in nsWindow::UpdateWidget(nsRect&, nsIRenderingContext*)
()
#13 0x04a39e5c in nsWindow::UpdateWidget(nsRect&, nsIRenderingContext*)
()
#14 0x04a39e5c in nsWindow::UpdateWidget(nsRect&, nsIRenderingContext*)
()
#15 0x04a39544 in nsWindow::PaintUpdateRectProc(unsigned short,
OpaqueRgnHandle*, Rect const*, void*) ()
#16 0x04a39958 in nsWindow::HandleUpdateEvent(OpaqueRgnHandle*) ()
#17 0x04a21a7c in nsMacEventHandler::UpdateEvent() ()
#18 0x04a20410 in nsMacEventHandler::HandleOSEvent(EventRecord&) ()
#19 0x04a28818 in nsMacWindow::DispatchEvent(void*, int*) ()
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.