OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003876 [thunderbird] regular use major always 2009-09-02 16:50 2010-01-24 11:22
Reporter rbi View Status public  
Assigned To wbonnet
Priority normal Resolution fixed  
Status closed  
Summary 0003876: thunderbird 2.0.0.23 and libsqlite3 issue?
Description thunderbird 2.0.0.23,REV=2009.08.22 was crashing for me on solaris 10 sparc,
when trying to read certain messages (not all of them), with:

ld.so.1: thunderbird-bin: fatal: relocation error: \
file /opt/csw/mozilla/thunderbird/lib/components/libstoragecomps.so: \
symbol sqlite3_os_switch: referenced symbol not found

In fact the symbol doesn't exist in /opt/csw/lib/libsqlite3.so.0.8.6
CSWsqlite3rt , probably because, as stated in:
    http://www.sqlite.org/34to35.html [^] :
       1. The undocumented sqlite3_os_switch() interface has been removed.
so installing the new sqlite3 from testing didn't help.
Additional Information Workaround: I realized that a sqlite3 library is distributed in
/opt/csw/mozilla/thunderbird/lib/libsqlite3.so

but TB in libstoragecomps.so looks only for libsqlite3.so.0
so it doesn`t use that version,
even if it searches /opt/csw/mozilla/thunderbird/lib before /opt/csw/lib ,
and loads it from /opt/csw/lib/libsqlite3.so.0 .

The problem is solved creating a link in:
/opt/csw/mozilla/thunderbird/lib # ln -s libsqlite3.so libsqlite3.so.0

(in other words TB 2.0.0.23 depends on CSWsqlite3rt but cannot use its
most recent versions?)

Can you explain this issue, and what is the correct solution? Thanks!
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0006654)
rbi (reporter)
2009-09-02 22:00

To confirm that the problem is always reproducible,
in the sense that it happens always but only for a certain class of messages,
I think I can say that in my case TB 2.0.0.23,
without the workaround of the logical link, crashes (exits)
at least for all messages containing an URL http://... [^] in the body.
while it displays the others without problems.
So sqlite3 would be dinamically loaded only when reading such messages.
When it is loaded, it must find a version of the library
containing the symbol sqlite3_os_switch .
(0006676)
wbonnet (manager)
2009-09-06 11:14

Packages currently in testing solve this issue (thunderbird-2.0.0.23,REV=2009.09.06-SunOS5.8)

I have not yet finished to analyze the reasons of the regression between version 2.0.0.22 and .23. Both were using the same parameters (use sqlite embedded in TB which has the symbol).

To fix the problem i have activated the use of "system-sqlite" (this CSWsqlite3_rt libs in all cases) and I removed the call to the function sqlite_os_switch according to recommendation from sqlite.org

Issue will be closed when packages will hit the mirrors
(0007330)
wbonnet (manager)
2010-01-24 11:22

Fix is now publish to current


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker