Just to follow up, I managed to rebuild myself a debug XULRunner, and
get some more useful debugging output out of the `songbird` binary.
I've put the debug log up here:

http://whacked.net/songbird-debug.log

while I figure out what to make of it.  :-P
notable errors include many assertion failures attempting to
initialize nsScriptSecurityManager:
##!!! ASSERTION: Failed to initialize nsScriptSecurityManager:
'NS_SUCCEEDED(rv)', file
/export/home/stevel/sb/xulrunner/mozilla/caps/src/nsScriptSecurityManager.cpp,
line 3399

failure to load the Songbird database engine shared library:
nsNativeModuleLoader::LoadModule("/export/home/stevel/sb/trunk/compiled/dist/components/sbDBEngine_d.so")
- load FAILED, rv: 80004005, error:
    ld.so.1: songbird: fatal: relocation error: file
/export/home/stevel/sb/trunk/compiled/dist/components/sbDBEngine_d.so:
symbol __1cWCaseInsensitiveCompare6FpkHp0I_i_: referenced symbol not
found

The securitymanager stuff seems coincidentally related to the stack
trace I got in an earlier core dump related to securitymanager
initialisation failure as well.  (I only get a core dump on a first
run of xulrunner/songbird, but many thanks to Ginn Chen for pointing
me at b.m.o. 403466 which is my likely culprit)

cheers,
steve

On Sun, Jan 06, 2008 at 01:42:55AM -0800, Stephen Lau wrote:
> I made some progress here tonight.  I was able to build XULRunner 
> successfully, and after a few false starts, I was able to get Songbird 
> built successfully.  It appears to startup, but then exits pretty 
> quickly without ever drawing anything on the screen.
> 
> It creates and populates a ~/.songbird1 directory:
> [stevel at grommit:dist] 629$ find ~/.songbird1
> /export/home/stevel/.songbird1
> /export/home/stevel/.songbird1/z3l037ar.default
> /export/home/stevel/.songbird1/z3l037ar.default/prefs.js
> /export/home/stevel/.songbird1/z3l037ar.default/.parentlock
> /export/home/stevel/.songbird1/z3l037ar.default/xpti.dat
> /export/home/stevel/.songbird1/z3l037ar.default/compatibility.ini
> /export/home/stevel/.songbird1/z3l037ar.default/compreg.dat
> /export/home/stevel/.songbird1/z3l037ar.default/mimeTypes.rdf
> /export/home/stevel/.songbird1/z3l037ar.default/db
> /export/home/stevel/.songbird1/profiles.ini
> 
> but seems to die out somewhere.  I'm calling it a night for now - since 
> I can't figure out what's going on - but if anyone is curious and wants 
> to take a look at the truss output, I've put it up here:
> http://whacked.net/songbird.truss
> 
> Nothing jumps out at out me as being obviously wrong or being an 
> obviously failed call -- but I'd appreciate anyone's eyes that could help.
> 
> I built a release (non-debug) build, so obviously I'm not getting any 
> debug output.  I'll need to build a debug build (hopefully tomorrow) to 
> maybe see if I can narrow down from there.
> 
> cheers,
> steve
> 
> -- 
> stephen lau | stevel at opensolaris.org | www.whacked.net
> 
> _______________________________________________
> desktop-discuss mailing list
> desktop-discuss at opensolaris.org

-- 
stephen lau | steve at grommit.com | www.whacked.net | gpg 0x09E5CD21

Reply via email to