SQL Lite 3 in nekoware breaks firefox

IRIX and IRIX software discussion including open source and commerical offerings.
Forum rules
Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.
User avatar
canavan
Posts: 754
Joined: Mon Jul 21, 2003 6:19 am

Re: SQL Lite 3 in nekoware breaks firefox

Unread postby canavan » Thu Mar 01, 2012 4:01 pm

Basically, I don't see how Firefox2 could possibly be working with sqlite above 3.4.2, since it relies on functions that are, quite simply, gone; Pentium's problem should affect anyone using Nekoware Firefox and the beta sqlite.
It turns out I forgot about that a long time ago, since I have put a wrapper script for the wrapper script earlier in the PATH that just works around this nonsense by forcing firefox to just use the libsqlite3.so that it was compiled against and that was shipped with it.. One should assume that the original wrapper script would have been more than enough, given that a proper RPATH should do the trick.

Code: Select all

#!/bin/sh
#Tag 0x100013
(cd /tmp; _RLDN32_LIST=/usr/nekoware/lib/firefox-2.0.0.22pre/libsqlite3.so:/usr/lib32/libC.so:DEFAULT   /usr/nekoware/bin/firefox &)

NCommander
Posts: 39
Joined: Thu Feb 23, 2012 8:53 am

Re: SQL Lite 3 in nekoware breaks firefox

Unread postby NCommander » Thu Mar 01, 2012 11:18 pm

I did some debugging with this last night. If sqlite's libs are removed from /usr/nekoware/lib, firefox will use its internal lib in /usr/nekoware/lib/firefox*/libsqlite.so. I wasn't able to influence firefox to prefer that lib over the system libs; I suspect there is a stray rpath (which are evil and cause lots of trouble) in a dependent library thats causing this problem as rpaths cause LD_LIBRARY*_PATH to be ignored. I'll trace firefox's excution tomorrow if I can and see if I can find the stray lib ...

hamei
Posts: 10000
Joined: Tue Feb 24, 2004 4:10 pm
Location: over the rainbow

Re: SQL Lite 3 in nekoware breaks firefox

Unread postby hamei » Fri Mar 02, 2012 5:36 am

Baseline :

sqlite3 3.7.10 - SQL database engine

in firefox, < about: >

Build identifier: Mozilla/5.0 (X11; U; IRIX64 IP35; en-US; rv:1.8.1.22pre) Gecko/2009051212 Firefox/2.0.0.22pre

about: buildconfig

Build platform
target
mips-sgi-irix6.5

Build tools
Compiler Version Compiler flags
c99 N/A -O2 -mips4 -n32 -INLINE -woff 1174 -woff 3262 -G 4 -n32
CC N/A -LANG:exceptions=OFF -O2 -mips4 -n32 -Zf,_245 -INLINE -woff 1110,1171,1201,1355,3201 -woff 3262 -G 4 -n32 -I/usr/nekoware/include -I/usr/nekoware/include/glib-1.2 -I/usr/nekoware/lib/glib/include

Configure arguments
--enable-application=browser --prefix=/usr/nekoware --enable-application=browser --enable-optimize=-O2 --disable-debug --enable-static --disable-shared --disable-tests --enable-default-toolkit=gtk --enable-freetype2 --disable-accessibility --enable-official-branding


This is a version that I believe nekonoko built. Not sure if it's in /current or if it is one in his /contribs section

This firefox does not show any disastrous behavior that can be attributed to sqlite3.

NCommander
Posts: 39
Joined: Thu Feb 23, 2012 8:53 am

Re: SQL Lite 3 in nekoware breaks firefox

Unread postby NCommander » Fri Mar 02, 2012 3:23 pm

hamei wrote:Baseline :

sqlite3 3.7.10 - SQL database engine

in firefox, < about: >

Build identifier: Mozilla/5.0 (X11; U; IRIX64 IP35; en-US; rv:1.8.1.22pre) Gecko/2009051212 Firefox/2.0.0.22pre

about: buildconfig

Build platform
target
mips-sgi-irix6.5

Build tools
Compiler Version Compiler flags
c99 N/A -O2 -mips4 -n32 -INLINE -woff 1174 -woff 3262 -G 4 -n32
CC N/A -LANG:exceptions=OFF -O2 -mips4 -n32 -Zf,_245 -INLINE -woff 1110,1171,1201,1355,3201 -woff 3262 -G 4 -n32 -I/usr/nekoware/include -I/usr/nekoware/include/glib-1.2 -I/usr/nekoware/lib/glib/include

Configure arguments
--enable-application=browser --prefix=/usr/nekoware --enable-application=browser --enable-optimize=-O2 --disable-debug --enable-static --disable-shared --disable-tests --enable-default-toolkit=gtk --enable-freetype2 --disable-accessibility --enable-official-branding


This is a version that I believe nekonoko built. Not sure if it's in /current or if it is one in his /contribs section

This firefox does not show any disastrous behavior that can be attributed to sqlite3.


Debugging last night makes me think its not with firefox itself, but another library that links against sqlite3 and then was built against the new one with the silent ABI break. I didn't get very far located which firefox rdepend broke though.

User avatar
pentium
Posts: 4378
Joined: Mon Aug 28, 2006 6:29 pm
Location: Kamloops, BC

Re: SQL Lite 3 in nekoware breaks firefox

Unread postby pentium » Fri Mar 02, 2012 9:38 pm

If you need access back into the system for additional debugging, just ask. I got SSH working now so you should be able to get remote X working too.
:Crimson: :Onyx: :O2000: :O200: :O200: :PI: :PI: :Indigo: :Indigo: :Indigo: :Octane: :O2: :1600SW: :Indigo2: :Indigo2: :Indigo2IMP: :Indigo2IMP: :Indy: :Indy: :Indy: :Cube:

Image <-------- A very happy forum member.

hamei
Posts: 10000
Joined: Tue Feb 24, 2004 4:10 pm
Location: over the rainbow

Re: SQL Lite 3 in nekoware breaks firefox

Unread postby hamei » Fri Mar 02, 2012 11:01 pm

pentium wrote: I got SSH working now so you should be able to get remote X working too.

Did you get all of nekoware installed, like you were trying to do, pent ? I've never thought that was the wisest thing to do ....

User avatar
pentium
Posts: 4378
Joined: Mon Aug 28, 2006 6:29 pm
Location: Kamloops, BC

Re: SQL Lite 3 in nekoware breaks firefox

Unread postby pentium » Mon Mar 05, 2012 7:16 pm

hamei wrote:
pentium wrote: I got SSH working now so you should be able to get remote X working too.

Did you get all of nekoware installed, like you were trying to do, pent ? I've never thought that was the wisest thing to do ....

Yeah, I got that done. Sure gives you one hell of a selection.
:Crimson: :Onyx: :O2000: :O200: :O200: :PI: :PI: :Indigo: :Indigo: :Indigo: :Octane: :O2: :1600SW: :Indigo2: :Indigo2: :Indigo2IMP: :Indigo2IMP: :Indy: :Indy: :Indy: :Cube:

Image <-------- A very happy forum member.

hamei
Posts: 10000
Joined: Tue Feb 24, 2004 4:10 pm
Location: over the rainbow

Re: SQL Lite 3 in nekoware breaks firefox

Unread postby hamei » Mon Mar 05, 2012 9:23 pm

pentium wrote:
hamei wrote:Did you get all of nekoware installed, like you were trying to do, pent ?

Yeah, I got that done. Sure gives you one hell of a selection.

Yes, it does ... but I've never been a fan of a bunch of stuff that you don't need. In this case, you may have something interfering with your firefox. Tardist testing for nekoware does not have the massive user base that BeOS did .... we're liable to miss a few software incompatibilities..

User avatar
pentium
Posts: 4378
Joined: Mon Aug 28, 2006 6:29 pm
Location: Kamloops, BC

Re: SQL Lite 3 in nekoware breaks firefox

Unread postby pentium » Wed Mar 07, 2012 7:21 pm

I didn't install all of it. :P
I only made it so I could pick and choose what I wanted, without being yelled at constantly because I was missing additional files.
:Crimson: :Onyx: :O2000: :O200: :O200: :PI: :PI: :Indigo: :Indigo: :Indigo: :Octane: :O2: :1600SW: :Indigo2: :Indigo2: :Indigo2IMP: :Indigo2IMP: :Indy: :Indy: :Indy: :Cube:

Image <-------- A very happy forum member.

User avatar
recondas
Moderator
Moderator
Posts: 5285
Joined: Sun Jun 06, 2004 5:55 pm
Location: NC - USA

Re: SQL Lite 3 in nekoware breaks firefox

Unread postby recondas » Wed Mar 07, 2012 7:35 pm

How are you using SGL Lite 3 - does it work OK aside from the problem with FF?
***********************************************************************
Welcome to ARMLand - 0/0x0d00
running...(sherwood-root 0607201829)
* InfiniteReality/Reality Software, IRIX 6.5 Release *
***********************************************************************


Return to “IRIX and Software”

Who is online

Users browsing this forum: No registered users and 0 guests